/* ============================================================
   styles.css — Shared stylesheet for inava.app / sbiz
   All pages link to this file via <link rel="stylesheet" href="/styles.css">
   Per-page component styles remain in each HTML's own <style> block.
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --bg-deep:     #f1f5f9;
  --border:      #e2e8f0;
  --border-gold: rgba(180,110,0,0.22);
  --text:        #0f172a;
  --muted:       #64748b;
  --subtle:      #94a3b8;
  --gold:        #b45309;
  --gold-light:  #fef3c7;
  --gold-mid:    rgba(180,83,9,0.08);
  --red:         #dc2626;
  --red-light:   #fef2f2;
  --green:       #059669;
  --green-light: #ecfdf5;
  --yellow:      #d97706;
  --navy:        #0f172a;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 15px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 64px;
  height: 64px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.brand-sub  { font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.nav-links  { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); text-decoration: none; transition: color 0.18s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold); color: #fff;
  padding: 9px 22px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background 0.18s;
}
.nav-cta:hover { background: #92400e; }

/* ── NAV DROPDOWNS ── */
.nav-item { position: relative; display: flex; align-items: center; height: 64px; }
.nav-dropdown-trigger { cursor: default; display: flex; align-items: center; gap: 3px; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  min-width: 210px;
  z-index: 300;
  padding: 6px 0;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--bg-alt); color: var(--text); }

/* ── SECTION LABEL (shared gold uppercase pattern) ── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--gold); }

/* ── EYEBROW (light-background variant) ── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--gold); }

/* ── SCREENSHOT FRAME ── */
.screenshot-frame {
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03), 0 20px 48px rgba(15,23,42,0.08);
}
.screenshot-frame img { display: block; width: 100%; height: auto; }

/* ── PULL QUOTE ── */
.pull-quote {
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  padding: 24px 28px; margin-top: 32px; border-radius: 0 4px 4px 0;
}
.pull-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-style: italic; line-height: 1.5; color: var(--navy);
}
.pull-quote-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 12px; }

/* ── COMPARISON TABLE MARKERS ── */
.check { color: #059669; font-weight: 700; }
.cross { color: #94a3b8; }

/* ── COHORT BOX (used in CTA sections) ── */
.cohort-box {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(251,191,36,0.3);
  padding: 22px 32px; margin-bottom: 36px; border-radius: 4px;
}
.cohort-box p { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.65; }
.cohort-box strong { color: #fbbf24; }

/* ── CTA BUTTONS (dark background variants) ── */
.btn-cta-primary {
  background: #fbbf24; color: var(--navy);
  padding: 14px 36px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background 0.18s; display: inline-block;
}
.btn-cta-primary:hover { background: #f59e0b; }
.btn-cta-ghost {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7); text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2); padding: 13px 28px;
  border-radius: 2px; transition: border-color 0.18s;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-note { margin-top: 24px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── FOOTER ── */
footer {
  padding: 28px 64px;
  background: #0a1120;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand { font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.footer-brand span { color: #fbbf24; }
.footer-tag  { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-link { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.06em; transition: color 0.18s; }
.footer-link:hover { color: rgba(255,255,255,0.6); }

/* ── ANIMATIONS ── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ticker  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse   { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── MOBILE — shared nav and footer breakpoints ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 11px; padding: 8px 14px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .footer-brand, .footer-tag, .footer-copy { text-align: center; }
}
