/* ═══════════════════════════════════════════════════════════════
   ARVAAN CORE LOGIC — Global Design System
   Shared across ALL pages: tokens, reset, typography, nav, footer,
   utilities, animations, scroll-progress, scroll-top
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

/* ══════════════════════
   CSS TOKENS
══════════════════════ */
:root {
  /* Sleek Tech Palette */
  --blue-400: #60A5FA;
  --blue-500: #2563EB;
  --blue-600: #1D4ED8;
  --cyan-400: #06B6D4;
  --cyan-500: #0891B2;
  --violet-400: #8B5CF6;
  --violet-500: #6366F1;
  --violet-600: #4F46E5;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;

  --grad-primary: linear-gradient(135deg, var(--violet-600) 0%, var(--blue-500) 50%, var(--teal-400) 100%);
  --grad-cta:     linear-gradient(135deg, var(--blue-600) 0%, var(--violet-600) 100%);
  --grad-warm:    linear-gradient(135deg, #F43F5E 0%, #F59E0B 100%);
  --grad-green:   linear-gradient(135deg, var(--teal-500) 0%, var(--cyan-500) 100%);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Fira Code', 'Cascadia Code', monospace;

  --container-max: 1280px;
  --nav-height:    72px;
  --section-pad:   7rem 0;

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  22px;
  --radius-xl:  30px;
  --radius-full: 9999px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.35s;
  --dur-slow: 0.6s;

  /* Default Light theme variables */
  --bg:          #FAFAFA;
  --bg-2:        #FFFFFF;
  --bg-3:        #F4F4F5;
  --bg-4:        #E4E4E7;
  --surface:     rgba(0,0,0,0.03);
  --surface-2:   rgba(0,0,0,0.06);
  --border:      rgba(0,0,0,0.08);
  --border-2:    rgba(0,0,0,0.15);
  --border-blue: rgba(37,99,235,0.4);
  --text:        #09090B;
  --text-2:      #52525B;
  --text-3:      #71717A;
  --nav-bg:      rgba(250,250,250,0.85); 
  --nav-text:    #09090B;
  --nav-text-hov: var(--blue-600);
  --card-bg:     rgba(255,255,255,0.8);
  --card-hover:  rgba(255,255,255,1);
  --code-bg:     #18181B;
  --input-bg:    #FFFFFF;
  --shadow-card: 0 4px 20px -2px rgba(9,9,11,0.05), 0 0 3px rgba(9,9,11,0.02);
  --shadow-xl:   0 20px 40px -4px rgba(9,9,11,0.08), 0 0 4px rgba(9,9,11,0.04);
  --glow-blue:   0 0 40px rgba(37,99,235,0.1);
  --glow-cyan:   0 0 60px rgba(6,182,212,0.08);
  --hero-glow:   rgba(37,99,235,0.05);
  --glass-border: rgba(0,0,0,0.05);
}

/* Dark theme overrides */
[data-theme="dark"] {
  --bg:          #030508;
  --bg-2:        #090C15;
  --bg-3:        #101524;
  --bg-4:        #1A2237;
  --surface:     rgba(255,255,255,0.03);
  --surface-2:   rgba(255,255,255,0.06);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.15);
  --border-blue: rgba(99,102,241,0.4);
  --text:        #FAFAFA;
  --text-2:      #A1A1AA;
  --text-3:      #71717A;
  --nav-bg:      rgba(3,5,8,0.75); 
  --nav-text:    rgba(255, 255, 255, 0.85);
  --nav-text-hov: var(--teal-400);
  --card-bg:     rgba(255,255,255,0.02);
  --card-hover:  rgba(255,255,255,0.04);
  --code-bg:     #09090B;
  --input-bg:    rgba(255,255,255,0.05);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  --shadow-xl:   0 24px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  --glow-blue:   0 0 60px rgba(99,102,241,0.25);
  --glow-cyan:   0 0 80px rgba(45,212,191,0.2);
  --hero-glow:   rgba(99,102,241,0.15);
  --glass-border: rgba(255,255,255,0.08);
}

/* Explicit Light theme selector for clarity */
[data-theme="light"] {
  --bg:          #FAFAFA;
  --bg-2:        #FFFFFF;
  --bg-3:        #F4F4F5;
  --bg-4:        #E4E4E7;
  --surface:     rgba(0,0,0,0.03);
  --surface-2:   rgba(0,0,0,0.06);
  --border:      rgba(0,0,0,0.08);
  --border-2:    rgba(0,0,0,0.15);
  --border-blue: rgba(37,99,235,0.4);
  --text:        #09090B;
  --text-2:      #52525B;
  --text-3:      #71717A;
  --nav-bg:      rgba(250,250,250,0.85); 
  --nav-text:    #09090B;
  --nav-text-hov: var(--blue-600);
  --card-bg:     rgba(255,255,255,0.8);
  --card-hover:  rgba(255,255,255,1);
  --code-bg:     #18181B;
  --input-bg:    #FFFFFF;
  --shadow-card: 0 4px 20px -2px rgba(9,9,11,0.05), 0 0 3px rgba(9,9,11,0.02);
  --shadow-xl:   0 20px 40px -4px rgba(9,9,11,0.08), 0 0 4px rgba(9,9,11,0.04);
  --glow-blue:   0 0 40px rgba(37,99,235,0.1);
  --glow-cyan:   0 0 60px rgba(6,182,212,0.08);
  --hero-glow:   rgba(37,99,235,0.05);
  --glass-border: rgba(0,0,0,0.05);
}

/* ══════════════════════
   RESET
══════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-display); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
::selection { background: rgba(59,130,246,0.25); }

/* ══════════════════════
   SCROLL PROGRESS BAR
══════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-cta);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(6,182,212,0.6);
}

/* ══════════════════════
   PAGE TRANSITION
══════════════════════ */
.page-transition {
  animation: pageFadeIn 0.5s var(--ease-out) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════
   UTILITIES
══════════════════════ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.75rem; }
.section    { padding: var(--section-pad); }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.22);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
  animation: pulse-dot 2s infinite;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-sub { margin: 0 auto; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-blue);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(99,102,241,0.4); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  backdrop-filter: blur(12px);
}
.btn-outline:hover { background: var(--surface-2); border-color: var(--border-blue); transform: translateY(-2px); box-shadow: 0 8px 24px var(--hero-glow); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border: none;
  cursor: pointer;
  transition: gap 0.2s, color 0.2s;
}
.btn-ghost:hover { gap: 0.7rem; color: var(--cyan-500); }

/* ══════════════════════
   BADGES / TAGS
══════════════════════ */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}
.tag-blue   { color: var(--blue-400);   background: rgba(59,130,246,0.1);  border: 1px solid rgba(59,130,246,0.2); }
.tag-cyan   { color: var(--cyan-400);   background: rgba(6,182,212,0.1);   border: 1px solid rgba(6,182,212,0.2); }
.tag-purple { color: var(--purple-400); background: rgba(139,92,246,0.1);  border: 1px solid rgba(139,92,246,0.2); }
.tag-green  { color: var(--green-400);  background: rgba(16,185,129,0.1);  border: 1px solid rgba(16,185,129,0.2); }
.tag-orange { color: var(--orange-500); background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.2); }

/* ══════════════════════
   SCROLL ANIMATIONS
══════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left  { opacity: 0; transform: translateX(-48px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(48px);  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-scale { opacity: 0; transform: scale(0.9);        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring); }
.revealed { opacity: 1 !important; transform: none !important; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ══════════════════════
   KEYFRAMES
══════════════════════ */
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.65); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes ping {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes bar-grow { from { width: 0 !important; } }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════
   CANVAS BACKGROUND
══════════════════════ */
#hero-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════
   NAVBAR
══════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--nav-bg) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--border-2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.logo-accent { color: var(--cyan-400); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  transition: color var(--dur-base), background var(--dur-base);
  white-space: nowrap;
}
.nav-link:hover { color: var(--nav-text-hov); background: var(--surface); }
.nav-link.active { color: var(--text); background: var(--surface); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px; height: 2px;
  background: var(--grad-cta);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring);
}
.nav-link.active::after,
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 14px rgba(37,99,235,0.32);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(37,99,235,0.48); }

.theme-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--nav-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--dur-base), background var(--dur-base), border-color var(--dur-base);
}
.theme-btn:hover { color: var(--nav-text-hov); background: var(--surface-2); border-color: var(--border-2); }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-base);
}
.hamburger-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--nav-bg) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
  padding: 0.75rem 1.75rem 1.5rem;
  flex-direction: column;
  gap: 0.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  transition: color var(--dur-base), background var(--dur-base);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { color: var(--nav-text-hov); background: var(--surface); }
.mobile-cta { margin-top: 0.75rem; text-align: center; }

/* ══════════════════════
   FOOTER
══════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 250px;
  background: radial-gradient(ellipse at top, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.footer-body {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 0.6rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.social-btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-3px); }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--blue-400); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p, .footer-bottom span { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom-right { display: flex; gap: 1.5rem; }
.footer-bottom-right a { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer-bottom-right a:hover { color: var(--blue-400); }

/* ══════════════════════
   SCROLL TO TOP
══════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--grad-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s var(--ease-spring);
  pointer-events: none;
}
#scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#scroll-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 30px rgba(37,99,235,0.55); }

/* ══════════════════════
   PAGE HERO SHARED
══════════════════════ */
.page-hero {
  padding: calc(var(--nav-height) + 5.5rem) 0 5.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--text);
  transition: background 0.4s, color 0.4s;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top, var(--hero-glow, rgba(6,182,212,0.15)) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-eyebrow { margin-bottom: 1.25rem; }
.page-hero .section-tag {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--cyan-500);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.page-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════
   DIVIDER
══════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  margin: 0;
}

/* ══════════════════════
   CARDS — GENERIC
══════════════════════ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  backdrop-filter: blur(8px);
}
.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--glow-blue);
}

/* ══════════════════════
   STAT BADGE
══════════════════════ */
.stat-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.stat-badge-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-badge-label { font-size: 0.75rem; color: var(--text-2); font-weight: 500; text-align: center; }

/* ══════════════════════
   TRUSTED TICKER
══════════════════════ */
.ticker-section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.ticker-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.ticker-track { display: flex; gap: 2rem; animation: ticker-scroll 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { font-size: 0.875rem; font-weight: 600; color: var(--text-2); flex-shrink: 0; }
.ticker-dot  { color: var(--cyan-500); flex-shrink: 0; }

/* ══════════════════════
   LIGHT MODE OVERRIDES
══════════════════════ */
[data-theme="light"] .card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 20px rgba(59,130,246,0.08); }
[data-theme="light"] #hero-canvas { opacity: 0.5; }

/* ══════════════════════
   ACCESSIBILITY
══════════════════════ */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
  .ticker-track { animation: none; }
}

/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 1024px) {
  .footer-body { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  :root { --section-pad: 4.5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger-btn { display: flex; }
  .footer-body { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .footer-body { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { justify-content: center; }
}
