/* ============================================================
   COMPTRACK BY TAGHASH — Landing Page Styles
   Design direction: Black background, bold Barlow Condensed 
   oversized typography, editorial + premium feel
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --blue-bright: #379AFF;
  --blue-deep: #1536F1;
  --blue-mid: #2B6FD9;
  --blue-soft: #E7F1FF;
  --light-background: #FFFFFF;
  --light-background-soft: #F6FAFF;
  --light-background-section: #F2F7FD;
  --light-card: #FFFFFF;
  --light-card-hover: #F8FBFF;
  --light-border: #D8E6F5;
  --light-border-soft: #EDF3FA;
  --text-ink: #061A33;
  --text-ink-soft: #34506B;
  --text-ink-subtle: #6F8196;

  /* Backgrounds */
  --bg-black: #000000;
  --bg-surface: #0A0A0A;
  --bg-card: #0F0F0F;
  --bg-card-hover: #141414;
  --bg-border: #1C1C1C;
  --bg-divider: #222222;

  /* Text */
  --text-white: #FFFFFF;
  --text-primary: #E8E8E8;
  --text-muted: #666666;
  --text-subtle: #3A3A3A;

  /* Authorities */
  --sebi: #3b82f6;
  --rbi: #8b5cf6;
  --tax: #f97316;
  --lp: #10b981;
  --trustee: #14b8a6;
  --auditor: #6366f1;
  --pmla: #ec4899;

  /* Spacing */
  --container: 1280px;
  --nav-h: 72px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body[data-theme="light"] {
  --bg-black: var(--light-background);
  --bg-surface: var(--light-background-soft);
  --bg-card: var(--light-card);
  --bg-card-hover: var(--light-card-hover);
  --bg-border: var(--light-border);
  --bg-divider: var(--light-border-soft);
  --text-white: var(--text-ink);
  --text-primary: var(--text-ink);
  --text-muted: var(--text-ink-soft);
  --text-subtle: var(--text-ink-subtle);
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%);
}

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-white);
}

.section-headline-large {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-white);
}

.section-header {
  margin-bottom: 64px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(55, 154, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(55, 154, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--bg-border);
}

.btn-ghost:hover {
  color: var(--text-white);
  border-color: #333;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
  padding: 18px 40px;
  font-size: 14px;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--bg-border);
  background: rgba(0, 0, 0, 0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1;
}

.nav-logo-by {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
  align-self: flex-end;
  padding-bottom: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.theme-toggle-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  min-width: 122px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--bg-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.theme-toggle-option {
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(55, 154, 255, 0.3), rgba(21, 54, 241, 0.26));
  border: 1px solid rgba(127, 211, 255, 0.35);
  box-shadow: 0 8px 24px rgba(21, 54, 241, 0.16);
  transition: transform 0.28s var(--ease-out), background 0.28s ease, border-color 0.28s ease;
}

body[data-theme="dark"] .theme-toggle-option--dark,
body[data-theme="light"] .theme-toggle-option--light {
  color: var(--text-white);
}

body[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(127, 211, 255, 0.85), rgba(55, 154, 255, 0.55));
  border-color: rgba(55, 154, 255, 0.28);
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.nav-cta:hover {
  color: var(--text-white);
}

.nav-cta-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.nav-cta:hover .nav-cta-arrow {
  transform: translateX(3px);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-left: 40px;
  padding-right: 40px;
}

/* Split layout: text left | Spline right */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  flex: 1;
  min-height: calc(100vh - var(--nav-h) - 80px);
}

/* ── Spline Panel (right side) ────────────────────────────── */
.hero-spline-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* The canvas the runtime renders into.
   Spline scene is already designed with the cube at ~66% fill —
   let it render at its native scene size, no CSS scaling needed. */
#spline-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: absolute;
  inset: 0;
}

#spline-canvas.spline-loaded {
  opacity: 1;
}

/* Spline loading state */
.spline-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.spline-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(55, 154, 255, 0.15);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ambient orbs always behind */
.spline-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: orb-drift 20s ease-in-out infinite;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blue-bright), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-deep), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -8s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -14s;
  opacity: 0.06;
}

@keyframes orb-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.97);
  }
}

/* Ghost watermark */
.hero-ghost {
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(180px, 22vw, 340px);
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Hero content (left side in split) */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 6px var(--blue-bright);
  }

  50% {
    box-shadow: 0 0 18px var(--blue-bright), 0 0 30px rgba(55, 154, 255, 0.4);
  }
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

/* Sized to fit left half of split layout */
.hero-headline .line-1 {
  font-size: clamp(72px, 9vw, 140px);
  color: var(--text-white);
}

.hero-headline .line-2 {
  font-size: clamp(72px, 9vw, 140px);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.18);
}

.hero-headline .line-3 {
  font-size: clamp(72px, 9vw, 140px);
  background: linear-gradient(90deg, var(--blue-bright) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub-block {
  margin-bottom: 36px;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Trust strip */
.hero-trust {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 40px 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--bg-border) 0%, transparent 100%);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-indicator span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-subtle), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(0.7) translateY(-15px);
  }
}

/* ── TICKER ───────────────────────────────────────────────── */
.ticker-section {
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  background: var(--bg-surface);
  overflow: hidden;
  padding: 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-section:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
}

.ticker-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ticker-desc {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.ticker-sep {
  color: var(--blue-bright);
  font-size: 8px;
  padding: 0 10px;
  opacity: 0.5;
}

/* ── PROBLEM ──────────────────────────────────────────────── */
.problem-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--bg-border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-body {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.problem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--bg-border);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.tag:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

/* ── FEATURES ─────────────────────────────────────────────── */
.features-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--bg-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ZERO MISSED DEADLINES highlight card — full width row */
.feature-card--hero-stat {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0A0F1E 0%, #0A0A0A 100%);
  border-top: 1px solid rgba(55, 154, 255, 0.15);
}

.feature-card--hero-stat .feature-card-inner {
  flex-direction: row;
  align-items: center;
  gap: 48px;
  padding: 56px 64px;
}

.feat-zero-headline {
  display: flex;
  flex-direction: column;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.feat-zero-line {
  display: block;
}

.feat-zero-line-1 {
  font-size: clamp(52px, 6vw, 88px);
  color: var(--text-white);
}

.feat-zero-line-2 {
  font-size: clamp(52px, 6vw, 88px);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
}

.feat-zero-line-3 {
  font-size: clamp(52px, 6vw, 88px);
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card--hero-stat .feature-desc {
  font-size: 15px;
  line-height: 1.8;
  flex: 1;
}

/* Standard large cards span 2 columns */
.feature-card--large {
  grid-column: span 2;
}

.feature-card--right {
  grid-column: 2 / span 2;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-card-inner {
  padding: 48px;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(55, 154, 255, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-icon {
  color: var(--blue-bright);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 154, 255, 0.08);
  border: 1px solid rgba(55, 154, 255, 0.15);
  border-radius: 8px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.feature-authority-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: flex-start;
}

.badge-sebi {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--sebi);
}

.badge-rbi {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--rbi);
}

.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-white);
  line-height: 1.1;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
}

.feature-tags-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-tags-mini span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: 4px 10px;
  border: 1px solid var(--bg-border);
  border-radius: 2px;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--bg-border);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-left: auto;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--bg-border);
  position: relative;
  align-items: start;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  padding-top: 4px;
}

.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.step-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── WHO IT'S FOR ─────────────────────────────────────────── */
.who-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--bg-border);
}

.who-section .section-label {
  margin-bottom: 20px;
}

.who-section .section-headline {
  margin-bottom: 64px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.role-card {
  background: var(--bg-card);
  padding: 40px 32px;
  transition: background 0.3s ease;
}

.role-card:hover {
  background: var(--bg-card-hover);
}

.role-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-bright);
  border: 1px solid rgba(55, 154, 255, 0.3);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
  background: rgba(55, 154, 255, 0.06);
}

.role-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.role-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── REGULATORY ───────────────────────────────────────────── */
.regulatory-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--bg-border);
}

.regulatory-section .section-headline {
  margin-bottom: 64px;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.reg-block {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.reg-block:hover {
  background: var(--bg-card-hover);
}

.reg-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.reg-color--sebi {
  background: var(--sebi);
}

.reg-color--rbi {
  background: var(--rbi);
}

.reg-color--tax {
  background: var(--tax);
}

.reg-color--pmla {
  background: var(--pmla);
}

.reg-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
  margin-top: 8px;
}

.reg-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: 160px 0;
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA Spline placeholder */
.cta-spline-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  /* When Spline is added, this becomes a full-bleed container */
}

.cta-orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(55, 154, 255, 0.08) 0%, rgba(21, 54, 241, 0.05) 40%, transparent 70%);
  filter: blur(40px);
  animation: orb-drift 12s ease-in-out infinite;
}

.cta-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(140px, 18vw, 260px);
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.cta-inner>*:not(.cta-spline-placeholder):not(.cta-ghost) {
  position: relative;
  z-index: 2;
}

.cta-label {
  margin-bottom: 24px;
}

.cta-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 28px;
}

.cta-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-fine {
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-surface);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: 40px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-byline {
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.footer-byline strong {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-subtle);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-subtle);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 400px;
  }

  .hero-spline-panel {
    min-height: 400px;
    order: -1;
    /* scene on top on tablet */
  }

  .hero-content {
    padding: 40px 0 24px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card--hero-stat .feature-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
  }

  .feature-card--large {
    grid-column: span 2;
  }

  .feature-card--right {
    grid-column: 1 / span 2;
  }

  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 320px auto;
  }

  .hero-spline-panel {
    min-height: 320px;
    order: -1;
  }

  .hero-content {
    padding: 24px 0 16px;
  }

  .hero-headline .line-1,
  .hero-headline .line-2,
  .hero-headline .line-3 {
    font-size: clamp(56px, 15vw, 96px);
  }

  .hero-sub {
    white-space: normal;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--hero-stat .feature-card-inner {
    flex-direction: column;
    padding: 32px 24px;
  }

  .feature-card--large,
  .feature-card--right {
    grid-column: span 1;
  }

  .steps-list {
    margin-left: 0;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .reg-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-spline-placeholder {
    width: 300px;
    height: 300px;
  }
}

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

  .ticker-item {
    padding: 20px 24px;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
  }
}

body[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: #E2ECF7;
}

body[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
}

body[data-theme="light"] .theme-toggle-track {
  background: #F2F7FD;
  border-color: #D8E6F5;
}

body[data-theme="light"] .btn-ghost {
  background: #FFFFFF;
  color: #061A33;
  border-color: #CFE0F2;
}

body[data-theme="light"] .btn-ghost:hover {
  background: #F0FAFF;
  border-color: #1677FF;
  color: #1677FF;
}

body[data-theme="light"] .btn-outline-white {
  color: #061A33;
  border-color: #CFE0F2;
  background: #FFFFFF;
}

body[data-theme="light"] .btn-outline-white:hover {
  background: #F6FAFF;
  border-color: #1677FF;
  color: #1677FF;
}

body[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #1677FF 0%, #0057FF 100%);
  box-shadow: 0 12px 30px rgba(22, 119, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 18px 40px rgba(22, 119, 255, 0.34);
}

body[data-theme="light"] .hero-ghost,
body[data-theme="light"] .cta-ghost {
  -webkit-text-stroke: 1px rgba(55, 154, 255, 0.12);
}

body[data-theme="light"] .hero-headline .line-2,
body[data-theme="light"] .feat-zero-line-2 {
  -webkit-text-stroke: 1.5px rgba(6, 26, 51, 0.16);
}

body[data-theme="light"] .spline-spinner {
  border-color: rgba(55, 154, 255, 0.18);
}

body[data-theme="light"] .orb {
  opacity: 0.14;
}

body[data-theme="light"] .orb-1 {
  background: radial-gradient(circle, rgba(22, 119, 255, 0.14), transparent 70%);
}

body[data-theme="light"] .orb-2 {
  background: radial-gradient(circle, rgba(0, 87, 255, 0.08), transparent 70%);
}

body[data-theme="light"] .orb-3 {
  background: radial-gradient(circle, rgba(127, 211, 255, 0.2), transparent 70%);
}

body[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 82% 28%, rgba(22, 119, 255, 0.14), transparent 34%),
    radial-gradient(circle at 50% 90%, rgba(0, 87, 255, 0.06), transparent 40%),
    linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%);
}

body[data-theme="light"] .ticker-section,
body[data-theme="light"] .footer {
  background: #F6FAFF;
}

body[data-theme="light"] .problem-section {
  background: #FFFFFF;
}

body[data-theme="light"] .features-section,
body[data-theme="light"] .regulatory-section {
  background: #FFFFFF;
}

body[data-theme="light"] .how-section,
body[data-theme="light"] .who-section {
  background: #F6FAFF;
}

body[data-theme="light"] .cta-section {
  background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%);
}

body[data-theme="light"] .feature-card,
body[data-theme="light"] .role-card,
body[data-theme="light"] .reg-block {
  box-shadow: 0 18px 50px rgba(6, 26, 51, 0.06);
  border: 1px solid #D8E6F5;
}

body[data-theme="light"] .feature-card--hero-stat {
  background: linear-gradient(135deg, #FFFFFF 0%, #F6FAFF 100%);
  border: 1px solid #D8E6F5;
  box-shadow: 0 24px 80px rgba(6, 26, 51, 0.08);
}

body[data-theme="light"] .feature-icon,
body[data-theme="light"] .role-badge {
  background: #E7F1FF;
  border-color: #BBD7FF;
}

body[data-theme="light"] .feature-card-glow {
  background: radial-gradient(circle at 0% 0%, rgba(22, 119, 255, 0.12) 0%, transparent 60%);
}

body[data-theme="light"] .cta-orb {
  background: radial-gradient(circle at center, rgba(127, 211, 255, 0.18) 0%, rgba(55, 154, 255, 0.12) 40%, transparent 70%);
}

body[data-theme="light"] .scroll-indicator span {
  color: rgba(71, 98, 126, 0.72);
}

body[data-theme="light"] .scroll-line {
  background: linear-gradient(to bottom, rgba(135, 160, 184, 0.82), transparent);
}

body[data-theme="light"] .hero-headline .line-1,
body[data-theme="light"] .section-headline,
body[data-theme="light"] .section-headline-large,
body[data-theme="light"] .feature-title,
body[data-theme="light"] .role-title,
body[data-theme="light"] .reg-name,
body[data-theme="light"] .cta-headline,
body[data-theme="light"] .nav-logo-text,
body[data-theme="light"] .footer-col-title {
  color: #061A33;
}

body[data-theme="light"] .hero-headline .line-3,
body[data-theme="light"] .feat-zero-line-3 {
  background: linear-gradient(90deg, #1677FF 0%, #0057FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body[data-theme="light"] .hero-sub,
body[data-theme="light"] .problem-body,
body[data-theme="light"] .feature-desc,
body[data-theme="light"] .step-body,
body[data-theme="light"] .role-desc,
body[data-theme="light"] .reg-note,
body[data-theme="light"] .cta-body,
body[data-theme="light"] .footer-tagline,
body[data-theme="light"] .footer-col a {
  color: #34506B;
}

body[data-theme="light"] .ticker-num {
  color: #061A33;
}

body[data-theme="light"] .ticker-desc,
body[data-theme="light"] .footer-copy,
body[data-theme="light"] .footer-legal a,
body[data-theme="light"] .footer-byline,
body[data-theme="light"] .cta-fine,
body[data-theme="light"] .trust-label {
  color: #6F8196;
}

body[data-theme="light"] .ticker-sep,
body[data-theme="light"] .section-label,
body[data-theme="light"] .step-number,
body[data-theme="light"] .nav-cta,
body[data-theme="light"] .nav-links a:hover,
body[data-theme="light"] .footer-col a:hover,
body[data-theme="light"] .footer-legal a:hover {
  color: #1677FF;
}

body[data-theme="light"] .nav-links a {
  color: #34506B;
}

body[data-theme="light"] .theme-toggle-thumb {
  background: #1677FF;
  border-color: #1677FF;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.22);
}

body[data-theme="light"] .problem-grid {
  align-items: center;
}

body[data-theme="light"] .problem-right {
  background: #F6FAFF;
  border: 1px solid #D8E6F5;
  border-radius: 24px;
  padding: 36px;
}

body[data-theme="light"] .tag,
body[data-theme="light"] .feature-tags-mini span {
  background: #FFFFFF;
  border-color: #D8E6F5;
  color: #34506B;
}

body[data-theme="light"] .tag:hover,
body[data-theme="light"] .feature-tags-mini span:hover {
  border-color: #1677FF;
  color: #1677FF;
  background: #E7F1FF;
}

body[data-theme="light"] .step-item,
body[data-theme="light"] .ticker-section,
body[data-theme="light"] .footer-top,
body[data-theme="light"] .regulatory-section,
body[data-theme="light"] .cta-section,
body[data-theme="light"] .problem-section,
body[data-theme="light"] .features-section,
body[data-theme="light"] .how-section,
body[data-theme="light"] .who-section {
  border-color: #D8E6F5;
}

body[data-theme="light"] .trust-divider {
  background: linear-gradient(90deg, #D8E6F5 0%, transparent 100%);
}
