/* ===========================================================
   StittHub, LLC site styles
   Brand: dark theme, gold accent (matches stitt-hub.com blog)
   =========================================================== */

:root {
  --bg:        #15181e;   /* page background (dark) */
  --bg-elev:   #1c2029;   /* cards, header */
  --bg-elev-2: #232834;   /* hover / borders */
  --gold-1:    #f9ed32;   /* bright yellow (from logo) */
  --gold-2:    #fbb040;   /* amber (from logo) */
  --text:      #f4f6f9;
  --text-dim:  #aab2bd;
  --border:    #2c3340;
  --radius:    12px;
  --maxw:      1040px;
  --gold-grad: linear-gradient(135deg, var(--gold-1), var(--gold-2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 24, 30, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
}
.site-nav a {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.18s ease;
}
.site-nav a:hover { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-primary {
  background: var(--gold-grad);
  color: #1a1300;
  box-shadow: 0 6px 18px rgba(251, 176, 64, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(251, 176, 64, 0.28); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 8rem) 0;
  /* subtle gold glow + faint tech grid, evoking the blog's circuit-board feel */
  background:
    radial-gradient(60% 70% at 75% 0%, rgba(251, 176, 64, 0.10), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(249, 237, 50, 0.06), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  display: block;
  width: min(82%, 480px);
  height: auto;
  margin: 0 auto 2rem;
}
.eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: var(--gold-grad);
}

/* ---------- Apps ---------- */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 640px;
}
.app-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.app-card:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.app-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.app-desc { color: var(--text-dim); margin: 0.4rem 0 0.75rem; }
.app-platform {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.9rem;
}
.app-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.badge-soon {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--bg-elev-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 1rem;
}

/* ---------- Contact ---------- */
.section-contact { border-top: 1px solid var(--border); }
.contact-lead { color: var(--text-dim); max-width: 640px; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-brand {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.footer-meta { color: var(--text-dim); font-size: 0.9rem; }
.footer-blog a {
  color: var(--text-dim);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
.footer-blog a:hover { color: var(--gold-2); }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .brand-logo { height: 36px; }
  .site-nav { gap: 1.1rem; }
  .app-card { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
