/* ============================================================
   CODIIC — Design tokens
   ============================================================ */
:root {
  --navy-950: #07070c;
  --navy-900: #0a0a12;
  --navy-850: #0d0d17;
  --navy-800: #12121d;
  --navy-750: #161623;
  --surface: #111118;
  --surface-glass: rgba(255, 255, 255, 0.03);
  --border-hair: rgba(255, 255, 255, 0.08);
  --border-hair-2: rgba(255, 255, 255, 0.12);

  --purple-100: #EDE7FF;
  --purple-300: #C4B5FD;
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C5CFF;
  --purple-700: #6D3FF0;
  --purple-glow: rgba(124, 92, 255, 0.55);

  --text-primary: #F5F4F9;
  --text-secondary: #B7B3C6;
  --text-tertiary: #7B7791;
  --text-faint: #57536b;

  --green-400: #34D399;
  --red-400: #F87171;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --ease-premium: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 220ms;
  --dur-med: 400ms;
  --dur-slow: 900ms;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.18);

  --max-w: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy-950);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

/* focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-navy {
  position: absolute;
  inset: 0;
  background: var(--navy-950);
}

.bg-radial {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1400px;
  background: radial-gradient(circle at center, rgba(60, 40, 110, 0.35) 0%, rgba(30, 20, 60, 0.12) 40%, transparent 70%);
}

.bg-purple-glow {
  position: absolute;
  top: 280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.28) 0%, rgba(124, 92, 255, 0.08) 45%, transparent 75%);
  filter: blur(10px);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

.bg-fog {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at 30% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  opacity: 0.06;
  animation: fogDrift 34s ease-in-out infinite alternate;
}

@keyframes fogDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(4%, 2%) scale(1.05);
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(9, 9, 14, 0.35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur-med) var(--ease-premium),
    backdrop-filter var(--dur-med) var(--ease-premium),
    box-shadow var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium);
}

.site-header.scrolled {
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(139, 92, 246, 0.14);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-img {
  display: block;
  height: 50px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav a {
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color var(--dur-fast) ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-premium);
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.link-plain {
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--dur-fast) ease;
}

.link-plain:hover {
  color: var(--text-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-premium),
    box-shadow var(--dur-fast) var(--ease-premium),
    filter var(--dur-fast) var(--ease-premium);
}

.btn-primary {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6 0%, #6D3FF0 55%, #7C5CFF 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px rgba(124, 92, 255, 0.35);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%);
  opacity: 0.7;
  pointer-events: none;
}

.btn-primary:hover {
  transform: scale(1.03);
  background-position: 100% 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 34px rgba(124, 92, 255, 0.5);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
  padding: 13px 22px;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6, #6D3FF0);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35);
  flex-shrink: 0;
}

.btn-icon:hover {
  transform: scale(1.05);
}

/* ============================================================
   TYPOGRAPHY / SHARED
   ============================================================ */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin: 0 0 14px;
}

.eyebrow.center {
  text-align: center;
}

.section-heading {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.section-heading.center {
  text-align: center;
}

.hero-sub.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-premium),
    transform var(--dur-slow) var(--ease-premium);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero [data-reveal] {
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 170px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 820px;
  z-index: 1;
}

.hero-light {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 900px;
  pointer-events: none;
  z-index: -1;
}

.hero-light-layer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-light-layer.l1 {
  width: 900px;
  height: 600px;
  top: -100px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
}

.hero-light-layer.l2 {
  width: 650px;
  height: 450px;
  top: 20px;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.14) 0%, transparent 70%);
}

.hero-light-layer.l3 {
  width: 400px;
  height: 300px;
  top: 80px;
  background: radial-gradient(ellipse at center, rgba(196, 181, 253, 0.12) 0%, transparent 70%);
}

.hero-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  --stagger: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hair-2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--text-secondary);
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.08);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
  box-shadow: 0 0 10px 2px var(--purple-glow);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-heading {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--text-primary);
}

.hero-heading span {
  --stagger: 1;
  display: block;
}

.hero-heading span:nth-child(2) {
  --stagger: 2;
}

.hero-heading em {
  font-style: normal;
  background: linear-gradient(135deg, #C4B5FD, #8B5CF6 60%, #7C5CFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  --stagger: 3;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 40px;
}

.countdown {
  --stagger: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 78px;
  padding: 14px 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hair);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 92, 255, 0.05) inset;
}

.countdown-num {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--purple-300);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.countdown-sep {
  color: var(--text-faint);
  font-size: 22px;
  font-weight: 600;
  transform: translateY(-8px);
}

.hero-form {
  --stagger: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.input-glass {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hair-2);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  color: var(--text-tertiary);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.input-glass:focus-within {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.input-glass input {
  border: none;
  background: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14.5px;
  width: 100%;
  font-family: inherit;
}

.input-glass input::placeholder {
  color: var(--text-tertiary);
}

.trust-line {
  --stagger: 6;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.trust-line.center {
  justify-content: center;
}

.trust-line li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HORIZON */
.horizon {
  position: relative;
  width: 100%;
  height: 170px;
  margin-top: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.horizon-bloom {
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1500px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.55) 0%, rgba(124, 92, 255, 0.22) 35%, transparent 70%);
  filter: blur(40px);
  animation: horizonBreathe 12s ease-in-out infinite;
}

.horizon-core {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(196, 181, 253, 0.85) 0%, rgba(139, 92, 246, 0.35) 45%, transparent 75%);
  filter: blur(18px);
  animation: horizonBreathe 12s ease-in-out infinite;
  animation-delay: -1s;
}

.horizon-line {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.9) 45%, rgba(196, 181, 253, 0.9) 55%, transparent);
  box-shadow: 0 0 30px 4px rgba(139, 92, 246, 0.6);
}

@keyframes horizonBreathe {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

/* ============================================================
   DASHBOARD MOCKUP
   ============================================================ */
.dash-section {
  position: relative;
  z-index: 2;
  padding: 0 32px 0;
  margin-top: -40px;
}

.dashboard {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-hair-2);
  background: linear-gradient(180deg, rgba(20, 18, 32, 0.9), rgba(12, 11, 19, 0.94));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 92, 255, 0.06), 0 0 120px rgba(124, 92, 255, 0.10);
  backdrop-filter: blur(20px);
}

.dash-sidebar {
  border-right: 1px solid var(--border-hair);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.015);
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 0 8px 20px;
  border-bottom: 1px solid var(--border-hair);
  margin-bottom: 16px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

.dash-nav a i {
  display: flex;
  color: inherit;
  opacity: 0.8;
}

.dash-nav a:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.dash-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(124, 92, 255, 0.14));
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3) inset, 0 0 18px rgba(139, 92, 246, 0.18);
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid var(--border-hair);
}

.dash-user img {
  border-radius: 50%;
}

.dash-user strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-user span {
  font-size: 11px;
  color: var(--text-tertiary);
}

.dash-main {
  padding: 26px 26px 30px;
}

.dash-topbar {
  margin-bottom: 18px;
}

.dash-topbar h2 {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.dash-card {
  padding: 16px 16px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hair);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--dur-fast) var(--ease-premium), border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.dash-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 24px rgba(139, 92, 246, 0.12);
}

.dash-card-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.dash-card-value {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.dash-card-delta {
  font-size: 11.5px;
  font-weight: 600;
}

.dash-card-delta.up {
  color: var(--green-400);
}

.dash-card-delta.down {
  color: var(--red-400);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  margin-bottom: 16px;
}

.dash-panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hair);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  padding: 18px 18px 8px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 5px 10px;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-pill);
}

.panel-link {
  font-size: 12.5px;
  color: var(--purple-400);
  font-weight: 600;
}

.chart-wrap {
  position: relative;
  padding-left: 44px;
  padding-bottom: 22px;
}

.chart-svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}

.grid-lines line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.area-path {
  opacity: 0.9;
}

.line-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 1.8s var(--ease-premium) forwards;
  animation-delay: 0.3s;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5));
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-dot {
  fill: var(--navy-900);
  stroke: #C4B5FD;
  stroke-width: 2;
  opacity: 0;
  animation: dotIn 0.5s var(--ease-premium) forwards;
}

.chart-dot:nth-of-type(1) {
  animation-delay: 0.4s;
}

.chart-dot:nth-of-type(2) {
  animation-delay: 0.7s;
}

.chart-dot:nth-of-type(3) {
  animation-delay: 1.0s;
}

.chart-dot:nth-of-type(4) {
  animation-delay: 1.3s;
}

.chart-dot:nth-of-type(5) {
  animation-delay: 1.6s;
}

.chart-dot-active {
  fill: #C4B5FD;
  filter: drop-shadow(0 0 6px rgba(196, 181, 253, 0.9));
}

@keyframes dotIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chart-tooltip {
  opacity: 0;
  animation: dotIn 0.5s var(--ease-premium) forwards;
  animation-delay: 1.8s;
}

.tt-val {
  fill: #F5F4F9;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.tt-date {
  fill: #8B87A0;
  font-size: 9px;
  font-family: 'Inter', sans-serif;
}

.chart-glint circle {
  fill: #fff;
  filter: blur(1px) drop-shadow(0 0 6px #C4B5FD);
  opacity: 0.9;
}

.chart-x-axis {
  display: flex;
  justify-content: space-between;
  padding-left: 44px;
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: -14px;
}

.chart-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-faint);
}

.top-products {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
}

.top-products li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-radius: var(--radius-xs);
  transition: background var(--dur-fast) ease;
}

.top-products li:hover {
  background: rgba(255, 255, 255, 0.035);
}

.prod-thumb {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(124, 92, 255, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--purple-300);
}

.prod-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.prod-info strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-info span {
  font-size: 11px;
  color: var(--text-tertiary);
}

.prod-delta {
  font-size: 11.5px;
  font-weight: 600;
}

.prod-delta.up {
  color: var(--green-400);
}

.dash-stats-bottom {
  margin-bottom: 0;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 130px 32px 40px;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.brand-mark {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  opacity: 0.4;
  transition: opacity var(--dur-med) ease, transform var(--dur-med) var(--ease-premium);
}

.brand-mark:hover {
  opacity: 1;
  transform: scale(1.03);
  color: var(--text-secondary);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 130px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.feature-card {
  position: relative;
  padding: 30px 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hair);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-premium), border-color var(--dur-med) ease, box-shadow var(--dur-med) ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.14);
}

.feature-card:hover .card-sheen {
  transform: translateX(140%);
}

.card-sheen {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(0%);
  transition: transform 1.1s var(--ease-premium);
  pointer-events: none;
}

.feature-icon-ring {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(139, 92, 246, 0.35), rgba(109, 63, 240, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--purple-200, #D6CCFF);
  margin-bottom: 20px;
}

.feature-icon-ring i {
  display: flex;
  color: #E4DBFF;
}

.feature-icon-ring .pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.35);
  animation: iconPulse 5s ease-out infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 130px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-left .eyebrow {
  margin-bottom: 12px;
}

.contact-left .section-heading {
  font-size: 38px;
  margin-bottom: 14px;
}

.contact-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 0 28px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.contact-detail-label {
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail a,
.contact-detail span:last-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-detail a {
  transition: color var(--dur-fast) ease;
}

.contact-detail a:hover {
  color: var(--purple-300);
}

.envelope-wrap {
  position: relative;
  width: 260px;
  height: 220px;
  margin: 44px auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.envelope-rings {
  position: absolute;
  inset: 0;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.28);
  transform: translate(-50%, -50%);
}

.ring.r1 {
  width: 170px;
  height: 170px;
  animation: ringSpin 22s linear infinite;
}

.ring.r2 {
  width: 220px;
  height: 220px;
  border-color: rgba(139, 92, 246, 0.16);
  animation: ringSpin 32s linear infinite reverse;
}

.ring.r3 {
  width: 260px;
  height: 180px;
  border-color: rgba(196, 181, 253, 0.12);
  animation: ringSpin 40s linear infinite;
}

@keyframes ringSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.envelope-svg {
  position: relative;
  width: 180px;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.45));
  animation: envFloat 6s ease-in-out infinite;
}

@keyframes envFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.envelope-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #C4B5FD;
  box-shadow: 0 0 8px 2px rgba(196, 181, 253, 0.7);
  opacity: 0.7;
  animation: particleFloat 7s ease-in-out infinite;
}

.envelope-particles span:nth-child(1) {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.envelope-particles span:nth-child(2) {
  top: 70%;
  left: 15%;
  animation-delay: 1.2s;
}

.envelope-particles span:nth-child(3) {
  top: 20%;
  left: 80%;
  animation-delay: 2.1s;
}

.envelope-particles span:nth-child(4) {
  top: 80%;
  left: 78%;
  animation-delay: 3s;
}

.envelope-particles span:nth-child(5) {
  top: 45%;
  left: 5%;
  animation-delay: 4s;
}

.envelope-particles span:nth-child(6) {
  top: 50%;
  left: 92%;
  animation-delay: 5s;
}

@keyframes particleFloat {

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

  50% {
    transform: translateY(-14px);
    opacity: 0.9;
  }
}

.contact-right {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hair-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-glass {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hair-2);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field-glass:focus-within {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.field-glass input,
.field-glass textarea {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14.5px;
  padding: 22px 16px 10px;
  resize: none;
}

.field-glass textarea {
  padding-top: 24px;
}

.field-glass span {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 14.5px;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: transform var(--dur-fast) var(--ease-premium), font-size var(--dur-fast) ease, color var(--dur-fast) ease, top var(--dur-fast) ease;
}

.field-glass input:focus+span,
.field-glass input:not(:placeholder-shown)+span,
.field-glass textarea:focus+span,
.field-glass textarea:not(:placeholder-shown)+span {
  top: 8px;
  font-size: 11px;
  color: var(--purple-300);
}

.field-glass.sm input {
  padding: 13px 16px;
}

.field-glass.sm span {
  display: none;
}

/* ============================================================
   WAITLIST CTA
   ============================================================ */
.waitlist-section {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 140px;
}

.waitlist-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.28) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.waitlist-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hair-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  animation: cardFloat 8s ease-in-out infinite;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.waitlist-card .hero-form {
  justify-content: center;
  margin-top: 28px;
  margin-bottom: 18px;
}

.waitlist-card .hero-sub {
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 32px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), transparent);
  margin-bottom: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 230px;
  margin: 14px 0 20px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hair);
  color: var(--text-tertiary);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.social-row a:hover {
  color: var(--purple-300);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  transition: color var(--dur-fast) ease;
}

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

.footer-newsletter p {
  font-size: 13.5px;
  color: var(--text-tertiary);
  margin: 0 0 14px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .field-glass {
  flex: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-hair);
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px) {
  .dashboard {
    grid-template-columns: 190px 1fr;
  }

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

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

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

@media (max-width:860px) {
  .main-nav {
    display: none;
  }

  .hero-heading {
    font-size: 44px;
  }

  .section-heading {
    font-size: 32px;
  }

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

  .dash-sidebar {
    display: none;
  }

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

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

  .envelope-wrap {
    margin: 44px auto 0;
  }

  .brand-row {
    gap: 28px;
  }
}

@media (max-width:640px) {
  .header-inner {
    padding: 0 18px;
  }

  .hero {
    padding: 150px 18px 0;
  }

  .hero-heading {
    font-size: 34px;
  }

  .countdown-unit {
    width: 64px;
    padding: 10px 0;
  }

  .countdown-num {
    font-size: 22px;
  }

  .input-glass {
    width: 220px;
  }

  .hero-form {
    flex-direction: column;
    width: 100%;
  }

  .input-glass {
    width: 100%;
  }

  .btn-block,
  .hero-form .btn-primary {
    width: 100%;
  }

  .dash-main {
    padding: 18px;
  }

  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .waitlist-card {
    padding: 40px 24px;
  }
}