/* ============================================================
   ATHANCE · athance.kiventra.com · Shared Stylesheet
   Extracted directly from app screenshots
   
   TRUE PALETTE:
   --gold:      #C9922A  (primary CTA, icons, accents)
   --gold-light:#D4A843  (hover states, highlights)
   --gold-dim:  #8B6420  (muted gold for borders)
   --bg:        #0A0E14  (page background, near-black)
   --surface:   #131A23  (cards, inputs)
   --surface-2: #1C2533  (elevated cards, hover)
   --border:    rgba(201,146,42,0.15) (default card border)
   --teal:      #2DD4BF  (logo accent only)
   --white:     #FFFFFF
   --muted:     rgba(255,255,255,0.45)
   --muted-2:   rgba(255,255,255,0.25)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --gold:       #C9922A;
  --gold-light: #D4A843;
  --gold-dim:   #8B6420;
  --gold-bg:    rgba(201,146,42,0.08);
  --gold-border:rgba(201,146,42,0.18);
  --bg:         #0A0E14;
  --bg-gradient-top: #0D2220;
  --surface:    #131A23;
  --surface-2:  #1C2533;
  --surface-3:  #232E3F;
  --border:     rgba(255,255,255,0.06);
  --teal:       #2DD4BF;
  --white:      #FFFFFF;
  --muted:      rgba(255,255,255,0.45);
  --muted-2:    rgba(255,255,255,0.22);
  --danger:     #EF4444;
  --success:    #22C55E;

  --font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --max-w:     1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── App-accurate background gradient (matches onboarding) ── */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,34,32,0.95) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201,146,42,0.12) 0%, transparent 65%),
    var(--bg);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(10,14,20,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Logo — matches app exactly: angular A mark + wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: #0A0E14 !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ── Shared section utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── Buttons — match app pill style ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #0A0E14;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg);
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Icon badge — matches app circular icon containers ── */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge-lg svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── NEW pill badge — matches app exactly ── */
.badge-new {
  display: inline-block;
  background: var(--gold);
  color: #0A0E14;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}

/* ── Footer ── */
footer {
  background: #070A0F;
  border-top: 1px solid var(--border);
  padding: 52px 32px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  max-width: 240px;
  line-height: 1.75;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-tagline {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-bottom a { color: var(--muted-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Mobile nav ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #0D1219;
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { margin-top: 8px; border-radius: 100px !important; text-align: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 20px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
