/* ============================================
   DESIGN SYSTEM - V2 (premium purple pastel)
   ============================================ */
:root {
  --violet-50: #FAF7FF;
  --violet-100: #F3EDFF;
  --violet-200: #E5D8FF;
  --violet-300: #D0B7FF;
  --violet-400: #B794F6;
  --violet-500: #8B5CF6;
  --violet-600: #6C3AED;
  --violet-700: #5B21B6;
  --violet-800: #4C1D95;
  --violet-900: #2E1065;

  --pastel-lavender: #F5F0FF;
  --pastel-lilac: #EFE5FF;
  --pastel-rose: #FFF0F8;
  --pastel-mint: #EFFCF6;
  --pastel-peach: #FFF5EC;

  --ink-50: #F8FAFC;
  --ink-100: #F1F5F9;
  --ink-200: #E2E8F0;
  --ink-300: #CBD5E1;
  --ink-400: #94A3B8;
  --ink-500: #64748B;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1E293B;
  --ink-900: #0F172A;
  --ink-950: #020617;

  --white: #FFFFFF;
  --green-500: #10B981;
  --orange-500: #F59E0B;
  --red-500: #EF4444;
  --blue-500: #3B82F6;
  --pink-500: #EC4899;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --container-max: 1200px;
  --container-px: 40px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-violet: 0 20px 50px -10px rgba(108, 58, 237, 0.35);
  --shadow-violet-sm: 0 4px 14px rgba(108, 58, 237, 0.25);
  --shadow-violet-lg: 0 24px 60px -10px rgba(108, 58, 237, 0.45);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
ul, li { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
strong { font-weight: 600; color: var(--ink-900); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet-500), var(--violet-700));
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(108, 58, 237, 0.5);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

.btn-primary {
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-primary:hover {
  background: var(--violet-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-violet);
}

.btn-ghost {
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--ink-200);
}
.btn-ghost:hover {
  background: var(--violet-50);
  border-color: var(--violet-200);
  color: var(--violet-700);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--ink-900);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
}
.nav.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--ink-200);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  color: var(--white);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 17px;
  box-shadow: var(--shadow-violet-sm);
}
.logo-text { color: var(--ink-900); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 9px;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}
.nav-link:hover { color: var(--violet-700); background: var(--violet-50); }
.nav-item.active .nav-link { color: var(--violet-700); background: var(--violet-50); }
.nav-item.active .nav-link svg { transform: rotate(180deg); }
.nav-link svg { transition: transform 0.3s var(--ease-out); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-700); transition: color 0.2s; }
.nav-login:hover { color: var(--violet-700); }

/* ============================================
   MEGA MENU
   ============================================ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--ink-100);
  box-shadow: 0 24px 48px rgba(15,23,42,0.12);
  overflow: hidden;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), height 0.45s var(--ease-out);
}
.mega-menu.open { opacity: 1; pointer-events: auto; }

.mega-panel {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-px);
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.mega-panel.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
  left: 0;
}

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

.mega-card {
  padding: 26px;
  border-radius: 16px;
  background: var(--ink-50);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.mega-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--violet-50), var(--white));
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.mega-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mega-card:hover::before { opacity: 1; }
.mega-card > * { position: relative; z-index: 1; }

.mega-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-out);
}
.mega-card:hover .mega-icon { transform: scale(1.08) rotate(-3deg); }
.mega-icon-violet { background: var(--violet-100); color: var(--violet-600); }
.mega-icon-blue { background: #DBEAFE; color: var(--blue-500); }
.mega-icon-green { background: #D1FAE5; color: var(--green-500); }
.mega-icon-pink { background: #FCE7F3; color: var(--pink-500); }
.mega-icon-orange { background: #FED7AA; color: var(--orange-500); }

.mega-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--ink-900); }
.mega-card p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }

.mega-arrow {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 16px;
  color: var(--ink-400);
  transition: all 0.3s var(--ease-out);
}
.mega-card:hover .mega-arrow { color: var(--violet-600); transform: translate(3px, -3px); }

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  margin-top: 28px;
  background: var(--violet-50);
  border-radius: 14px;
}
.mega-footer-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-600);
  margin-right: 14px;
}
.mega-footer p { display: inline; font-size: 14px; color: var(--ink-700); }
.mega-footer-cta { font-size: 14px; font-weight: 500; color: var(--ink-900); transition: color 0.2s; }
.mega-footer-cta:hover { color: var(--violet-600); }

.mega-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
}
.mega-overview {
  background: linear-gradient(135deg, var(--violet-50), var(--white));
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--violet-100);
}
.mega-overview-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet-600);
  margin-bottom: 14px;
}
.mega-overview h3 { font-size: 26px; margin-bottom: 12px; color: var(--ink-900); }
.mega-overview p { font-size: 14px; color: var(--ink-600); line-height: 1.6; margin-bottom: 22px; }
.mega-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  transition: gap 0.3s var(--ease-out);
}
.mega-overview-link:hover { gap: 10px; color: var(--violet-600); }

.mega-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-radius: 12px;
  transition: all 0.25s var(--ease-out);
  border: 1px solid transparent;
}
.mega-link-card h5 { font-size: 15px; font-weight: 500; color: var(--ink-900); }
.mega-link-card .mega-arrow {
  position: static;
  font-size: 16px;
  color: var(--ink-300);
  transition: all 0.25s var(--ease-out);
}
.mega-link-card:hover {
  background: var(--violet-50);
  border-color: var(--violet-100);
}
.mega-link-card:hover .mega-arrow { color: var(--violet-600); transform: translateX(4px); }

.mega-list { display: flex; flex-direction: column; gap: 4px; }
.mega-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-800);
  transition: all 0.25s var(--ease-out);
}
.mega-list-item .mega-arrow {
  position: static;
  color: var(--ink-300);
  transition: all 0.25s var(--ease-out);
}
.mega-list-item:hover {
  background: var(--violet-50);
  padding-left: 28px;
  color: var(--violet-700);
}
.mega-list-item:hover .mega-arrow { color: var(--violet-600); transform: translateX(4px); }

.mega-feature {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  border-radius: 16px;
  padding: 38px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mega-feature::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  border-radius: 50%;
}
.mega-feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCD34D;
  margin-bottom: 14px;
  position: relative;
}
.mega-feature h3 { font-size: 26px; line-height: 1.2; margin-bottom: 14px; position: relative; }
.mega-feature p { font-size: 14px; opacity: 0.85; margin-bottom: 24px; position: relative; }
.mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  background: rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  cursor: pointer;
}
.mega-feature-cta:hover { background: rgba(255,255,255,0.25); gap: 10px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF7FF 0%, #F5F0FF 50%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.hero-blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--violet-300), transparent 70%);
  top: -180px; left: -120px;
  animation: blobFloat 11s ease-in-out infinite;
}
.hero-blob-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #FBCFE8, transparent 70%);
  top: 100px; right: -200px;
  animation: blobFloat2 13s ease-in-out infinite;
}
.hero-blob-3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #C7D2FE, transparent 70%);
  bottom: -120px; left: 30%;
  animation: blobFloat3 9s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.94); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 30px) scale(1.08); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.12); }
}

/* Hero spotlight (cursor follow) */
.hero-spotlight {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(124, 58, 237, 0.22), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
  transition: opacity 0.4s;
}
@media (prefers-reduced-motion: reduce) { .hero-spotlight { display: none; } }

/* Hero decorative SVG layer */
.hero-deco {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 60%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 60%, transparent);
}
.hero-deco-shapes circle,
.hero-deco-shapes rect,
.hero-deco-shapes polygon {
  animation: decoFloat 8s ease-in-out infinite;
}
.hero-deco-shapes > *:nth-child(2) { animation-duration: 10s; animation-delay: -1s; }
.hero-deco-shapes > *:nth-child(3) { animation-duration: 12s; animation-delay: -3s; }
.hero-deco-shapes > *:nth-child(4) { animation-duration: 9s; animation-delay: -2s; }
.hero-deco-shapes > *:nth-child(5) { animation-duration: 11s; animation-delay: -4s; }
.hero-deco-shapes > *:nth-child(6) { animation-duration: 13s; animation-delay: -5s; }
.hero-deco-shapes > *:nth-child(7) { animation-duration: 7s; animation-delay: -2.5s; }
@keyframes decoFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -14px); }
}

/* Hero orbits around dashboard */
.hero-orbits {
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.orbit-rings {
  transform-origin: 400px 400px;
  animation: orbitSpin 60s linear infinite;
}
.orbit-nodes {
  transform-origin: 400px 400px;
  animation: orbitSpin 24s linear infinite;
}
.orbit-node { filter: drop-shadow(0 0 6px currentColor); }
.orbit-node.n2 { color: #EC4899; }
.orbit-node.n3 { color: #10B981; }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero starfield canvas */
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) {
  .orbit-rings, .orbit-nodes,
  .hero-deco-shapes circle, .hero-deco-shapes rect, .hero-deco-shapes polygon { animation: none !important; }
  .hero-stars { display: none; }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,58,237,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-visual { margin-top: -8px; }

.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--violet-200);
  border-radius: 999px;
  font-size: 13px;
  color: var(--violet-700);
  font-weight: 500;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(108,58,237,0.06);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet-500);
  position: relative;
  box-shadow: 0 0 0 4px rgba(108,58,237,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.hero-title {
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.hero-title em {
  background: linear-gradient(120deg, #7c3aed 0%, #ec4899 35%, #6366f1 70%, #7c3aed 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.05em;
  animation: titleShift 9s ease-in-out infinite;
  padding-right: 0.12em;
  margin-right: -0.04em;
  display: inline-block;
}
@keyframes titleShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) { .hero-title em { animation: none; } }

.hero-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-600);
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-subtitle strong { color: var(--violet-700); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta-item strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.hero-meta-item span {
  font-size: 12px;
  color: var(--ink-500);
}
.hero-meta-divider {
  width: 1px; height: 32px;
  background: var(--ink-200);
}

/* Hero Visual / Dashboard */
.hero-visual { position: relative; perspective: 1500px; }

.dashboard-mock {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.4s var(--ease-out);
}
.hero-visual:hover .dashboard-mock { transform: rotateY(-3deg) rotateX(2deg); }

.dashboard-window {
  background: var(--white);
  border-radius: 18px;
  box-shadow:
    0 32px 80px -20px rgba(108, 58, 237, 0.35),
    0 8px 32px rgba(15,23,42,0.08);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}

.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
}
.chrome-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink-300);
}
.chrome-dot:nth-child(1) { background: #FF5F57; }
.chrome-dot:nth-child(2) { background: #FFBD2E; }
.chrome-dot:nth-child(3) { background: #28CA42; }
.chrome-url {
  margin-left: 16px;
  font-size: 11px;
  color: var(--ink-500);
  background: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  flex: 1;
  text-align: center;
  font-family: 'SF Mono', monospace;
}

.dashboard-body { display: grid; grid-template-columns: 140px 1fr; min-height: 360px; }

.dashboard-sidebar {
  background: linear-gradient(180deg, var(--ink-50), var(--white));
  border-right: 1px solid var(--ink-100);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--ink-500);
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.sidebar-item.active {
  background: var(--violet-100);
  color: var(--violet-700);
  font-weight: 600;
}
.sidebar-item.pulse {
  background: rgba(108, 58, 237, 0.06);
  animation: sidebarPulse 1.6s ease-out;
}
@keyframes sidebarPulse {
  0% { background: rgba(108, 58, 237, 0); }
  30% { background: rgba(108, 58, 237, 0.1); }
  100% { background: rgba(108, 58, 237, 0); }
}

.dashboard-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dashboard-title { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.dashboard-subtitle { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.dashboard-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  background: #D1FAE5;
  color: #065F46;
  border-radius: 999px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat-card {
  padding: 12px;
  background: var(--ink-50);
  border-radius: 10px;
  border: 1px solid var(--ink-100);
}
.stat-card .stat-label { font-size: 10px; color: var(--ink-500); margin-bottom: 4px; }
.stat-card .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.stat-card .stat-trend {
  font-size: 10px;
  margin-top: 2px;
  font-weight: 500;
}
.stat-trend.up { color: var(--green-500); }

.dashboard-chart {
  flex: 1;
  background: linear-gradient(135deg, var(--violet-50), var(--white));
  border-radius: 12px;
  border: 1px solid var(--violet-100);
  padding: 12px;
  position: relative;
  min-height: 130px;
}
.dashboard-chart svg { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: drawLine 3s 0.5s var(--ease-out) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  transform: translate3d(var(--fx, 0px), calc(var(--fy, 0px) + var(--bob, 0px)), 0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 4;
}
.float-card-1 {
  top: -28px; left: -42px;
  animation: bobCard 5s ease-in-out infinite;
  animation-delay: -2.5s;
}
.float-card-2 {
  bottom: -28px; right: -32px;
  animation: bobCard 6s ease-in-out infinite;
}
@keyframes bobCard {
  0%, 100% { --bob: 0px; }
  50% { --bob: -10px; }
}
@property --bob {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
.float-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon.green { background: #D1FAE5; color: #065F46; }
.float-icon.violet { background: var(--violet-100); color: var(--violet-700); }
.float-title { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.float-meta { font-size: 11px; color: var(--ink-500); margin-top: 1px; }

.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-indicator span {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.scroll-arrow {
  width: 1px; height: 32px;
  background: var(--ink-300);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--violet-600);
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ============================================
   SECTION SHARED
   ============================================ */
section { position: relative; }
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet-600);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--violet-100);
  border-radius: 999px;
}
.section-eyebrow.light {
  background: rgba(255,255,255,0.1);
  color: #C4B5FD;
}
.section-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink-900);
  margin-bottom: 18px;
}
.section-title.light { color: var(--white); }
.section-title em {
  background: linear-gradient(135deg, var(--violet-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
}
.section-title.light em {
  background: linear-gradient(135deg, #C4B5FD, #FBCFE8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-600);
  line-height: 1.55;
}
.section-header.light .section-lead { color: rgba(255,255,255,0.75); }

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust {
  padding: 36px 0 36px;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}
.trust-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.trust-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.trust-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: trustScroll 36s linear infinite;
}
@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.3s;
}
.trust-logo:hover { color: var(--violet-700); }
.tl-icon {
  font-size: 22px;
  color: var(--violet-500);
}
.trust-logo-svg {
  height: 36px;
  width: auto;
  color: #7B6B9D;
  opacity: 0.65;
  transition: color 0.4s, opacity 0.4s, transform 0.4s;
  flex-shrink: 0;
}
.trust-logo-svg:hover {
  color: var(--violet-600);
  opacity: 1;
  transform: scale(1.05);
}
.trust-marquee:hover .trust-track {
  animation-duration: 72s;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--pastel-lavender), transparent),
    linear-gradient(180deg, #FFFFFF 0%, var(--pastel-lilac) 60%, #FFFFFF 100%);
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  top: 10%; right: 5%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(196,181,253,0.3), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.problem-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 36px;
  border: 1px solid var(--violet-100);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(108,58,237,0.06);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--violet-500), var(--pink-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--violet-300);
  box-shadow: var(--shadow-violet);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-stat {
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: baseline;
  background: linear-gradient(135deg, var(--violet-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.problem-stat-suffix-pre,
.problem-stat-suffix {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, var(--violet-600), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
}
.problem-stat-suffix-pre { margin-right: 2px; }
.problem-stat-suffix { margin-left: 4px; }
.problem-stat-suffix-pre { margin-right: 4px; }
.problem-card h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 56px 0;
  background: var(--white);
  position: relative;
}
/* ===== HOW IT WORKS — VERTICAL TIMELINE (6 steps) ===== */
.how-timeline {
  position: relative;
  padding: 60px 0 40px;
  margin-top: 24px;
}
.how-spine {
  position: absolute;
  left: 50%; top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(124, 58, 237, 0) 0%,
    rgba(124, 58, 237, 0.18) 8%,
    rgba(124, 58, 237, 0.18) 92%,
    rgba(124, 58, 237, 0) 100%);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 4px;
}
.how-spine-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: var(--spine-progress, 0%);
  background: linear-gradient(180deg, #A78BFA 0%, #7C3AED 50%, #EC4899 100%);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.45);
  transition: height 0.1s linear;
}
.how-spine-pulse {
  position: absolute;
  left: 50%;
  top: var(--spine-progress, 0%);
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EC4899, #7C3AED);
  box-shadow: 0 0 24px 4px rgba(124, 58, 237, 0.65), 0 0 0 6px rgba(236, 72, 153, 0.18);
  opacity: 0;
  transition: top 0.1s linear, opacity 0.4s;
}
.how-timeline.has-progress .how-spine-pulse { opacity: 1; }

.how-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 36px;
  padding: 30px 0;
  z-index: 1;
}
.how-row[data-side="left"] .how-card    { grid-column: 1; text-align: left; }
.how-row[data-side="left"] .how-marker  { grid-column: 2; }
.how-row[data-side="left"] .how-illust  { grid-column: 3; }
.how-row[data-side="right"] .how-illust { grid-column: 1; }
.how-row[data-side="right"] .how-marker { grid-column: 2; }
.how-row[data-side="right"] .how-card   { grid-column: 3; text-align: left; }

/* Connector arm from spine marker to card */
.how-row::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(124, 58, 237, 0.05));
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.4s, width 0.5s var(--ease-out);
  z-index: 2;
}
.how-row[data-side="left"]::before { right: calc(50% + 32px); background: linear-gradient(-90deg, rgba(124, 58, 237, 0.4), rgba(124, 58, 237, 0.05)); }
.how-row[data-side="right"]::before { left: calc(50% + 32px); }
.how-row.is-active::before { opacity: 1; }
.how-row.is-passed::before { opacity: 0.4; }

.how-card {
  position: relative;
  background: white;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;
}
.how-row[data-side="left"]  .how-card { transform: translate(-20px, 20px); margin-left: auto; }
.how-row[data-side="right"] .how-card { transform: translate(20px, 20px); margin-right: auto; }
.how-row.is-active .how-card {
  opacity: 1;
  transform: translate(0, 0) !important;
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.18), 0 4px 12px rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.28);
}
.how-row.is-passed .how-card {
  opacity: 0.62;
  transform: translate(0, 0) !important;
}

/* Watermark step number behind card */
.how-card::before {
  content: attr(data-step-num);
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 168px;
  font-weight: 400;
  line-height: 1;
  bottom: -36px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  transition: opacity 0.4s;
  opacity: 0;
}
.how-row.is-active .how-card::before { opacity: 1; }
.how-row[data-side="left"]  .how-card::before { right: -10px; }
.how-row[data-side="right"] .how-card::before { left: -10px; }

/* Active accent stripe */
.how-card::after {
  content: '';
  position: absolute;
  top: 16%;
  bottom: 16%;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7C3AED, #EC4899);
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.how-row[data-side="left"]  .how-card::after { right: 0; transform-origin: top; }
.how-row[data-side="right"] .how-card::after { left: 0; transform-origin: top; }
.how-row.is-active .how-card::after { opacity: 1; transform: scaleY(1); }

.how-card-tag {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7C3AED;
  background: linear-gradient(120deg, #7C3AED, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.how-card-tag::before {
  content: '';
  width: 18px; height: 2px;
  background: linear-gradient(90deg, #7C3AED, #EC4899);
  border-radius: 2px;
  -webkit-text-fill-color: initial;
  display: inline-block;
}

/* "Now playing" indicator on active card */
.how-card-now {
  display: none;
  position: absolute;
  top: 18px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: white;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35);
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.how-card-now::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  animation: nowPulse 1.4s ease-in-out infinite;
}
@keyframes nowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.how-row[data-side="left"]  .how-card-now { right: 22px; }
.how-row[data-side="right"] .how-card-now { right: 22px; }
.how-row.is-active .how-card-now { display: inline-flex; }
.how-row.is-passed .how-card-now { display: none; }

.how-card:hover {
  transform: translate(0, -4px) !important;
  box-shadow: 0 28px 60px rgba(124, 58, 237, 0.2), 0 4px 14px rgba(124, 58, 237, 0.1);
}
.how-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.how-card p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}
.how-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(124, 58, 237, 0.06);
  color: #6D28D9;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.how-marker {
  grid-column: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: #7C3AED;
  font-size: 22px;
  font-weight: 400;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.how-marker-num { position: relative; z-index: 1; transition: opacity 0.3s; }
.how-marker-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.3);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
/* Outer glow halo on active */
.how-marker::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.how-row.is-active .how-marker::before { opacity: 1; }
/* Checkmark on passed marker */
.how-marker::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}
.how-row.is-passed .how-marker::after { opacity: 1; }
.how-row.is-passed .how-marker-num { opacity: 0; }
.how-row.is-active .how-marker {
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  border-color: transparent;
  color: white;
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-sans);
  box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.12), 0 16px 36px rgba(124, 58, 237, 0.4);
  transform: scale(1.08);
}
.how-row.is-active .how-marker-ring {
  opacity: 1;
  transform: scale(1.18);
  animation: markerRing 2.4s ease-out infinite;
}
.how-row.is-passed .how-marker {
  background: linear-gradient(135deg, #C4B5FD, #DDD6FE);
  border-color: transparent;
  color: white;
}
@keyframes markerRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.how-illust {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.5s, border-color 0.4s;
  background:
    radial-gradient(circle at 30% 20%, rgba(196, 181, 253, 0.35), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(251, 207, 232, 0.4), transparent 60%),
    linear-gradient(135deg, #FAF7FF, #F5F0FF);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.how-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent 70%);
  pointer-events: none;
}
.how-illust::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  top: -20px; right: -20px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.how-row.is-active .how-illust::after { opacity: 1; }
.how-row[data-side="left"]  .how-illust { margin-right: auto; transform: translate(20px, 20px); }
.how-row[data-side="right"] .how-illust { margin-left: auto; transform: translate(-20px, 20px); }
.how-row.is-active .how-illust,
.how-row.is-passed .how-illust {
  opacity: 1;
  transform: translate(0, 0) !important;
}
.how-row.is-active .how-illust {
  box-shadow: 0 24px 56px rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.22);
}
.how-row.is-passed .how-illust {
  opacity: 0.65;
}
.how-illust svg {
  position: relative;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
  transition: transform 0.6s var(--ease-out);
}
.how-row.is-active .how-illust svg {
  animation: illustBob 4s ease-in-out infinite;
}
@keyframes illustBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .how-row.is-active .how-illust svg { animation: none; }
}

@media (max-width: 880px) {
  .how-timeline { max-width: 540px; margin-left: auto; margin-right: auto; }
  .how-spine { left: 32px; }
  .how-row,
  .how-row[data-side="left"],
  .how-row[data-side="right"] {
    grid-template-columns: 64px 1fr;
    grid-template-areas: 'marker card' 'marker illust';
    gap: 16px 20px;
    text-align: left !important;
  }
  .how-row .how-marker { grid-area: marker; grid-column: 1; align-self: start; }
  .how-row .how-card,
  .how-row[data-side="left"] .how-card,
  .how-row[data-side="right"] .how-card {
    grid-area: card; grid-column: 2; text-align: left !important; max-width: none;
    margin: 0 !important;
    transform: translateY(20px) !important;
  }
  .how-row[data-side="left"] .how-card-meta,
  .how-row[data-side="right"] .how-card-meta { justify-content: flex-start; }
  .how-row .how-illust,
  .how-row[data-side="left"] .how-illust,
  .how-row[data-side="right"] .how-illust {
    grid-area: illust; grid-column: 2; max-width: 200px;
    margin: 0 !important;
    transform: translateY(20px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-card, .how-illust { opacity: 1 !important; transform: none !important; }
  .how-spine-fill { height: 100% !important; }
  .how-marker-ring { animation: none !important; }
}

/* ============================================
   FEATURES (Why RecruItzen)
   ============================================ */
.features {
  padding: 56px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--pastel-lavender) 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.features-bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,181,253,0.4), transparent 70%);
  border-radius: 50%;
  top: 30%; left: -200px;
  filter: blur(60px);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 22px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(60px);
}
.feature-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--violet-50) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--violet-300);
  box-shadow: var(--shadow-violet);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(108,58,237,0.25);
  transition: transform 0.4s var(--ease-out);
}
.feature-card:hover .feature-icon-wrap {
  transform: rotate(-6deg) scale(1.08);
}
.feature-icon {
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-700);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--violet-100);
  color: var(--violet-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.feature-stat-num { font-weight: 700; }

/* ============================================
   PLATFORM
   ============================================ */
.platform {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--white), var(--pastel-lavender) 100%);
  position: relative;
}
.platform-sticky { padding: 0 0 80px; }
.platform-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: stretch;
  --platform-h: 520px;
}
.platform-tabs {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: var(--platform-h, 520px);
}
.platform-tabs .platform-tab { flex: 1; }
.platform-tabs .tab-pill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--white), var(--violet-50));
  border: 1px solid var(--violet-300);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(108,58,237,0.15);
  pointer-events: none;
  z-index: 0;
  will-change: transform, height;
}
.platform-tab {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: transparent;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
}
.platform-tab.active {
  border-color: transparent;
  background: transparent;
  transform: translateX(8px);
}
.platform-tab:not(.active) { background: var(--white); }
.platform-tab:hover:not(.active) {
  border-color: var(--violet-200);
  background: var(--violet-50);
}
.tab-number {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-400);
  flex-shrink: 0;
}
.platform-tab.active .tab-number { color: var(--violet-600); }
.platform-tab h4 { font-size: 17px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px; }
.platform-tab p { font-size: 14px; color: var(--ink-600); line-height: 1.5; }

.platform-visual {
  position: sticky;
  top: 100px;
  height: var(--platform-h, 520px);
}
.platform-screen {
  height: 100%;
}
.platform-screen .screen-mock {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.platform-screen {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.platform-screen.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.screen-mock {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 32px 80px -20px rgba(108,58,237,0.3),
    0 8px 24px rgba(15,23,42,0.06);
}
.screen-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(180deg, var(--ink-50), var(--white));
  border-bottom: 1px solid var(--ink-100);
}
.screen-title { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.screen-actions { display: flex; gap: 8px; }
.screen-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--violet-600);
  color: var(--white);
  border-radius: 999px;
}
.screen-pill.ghost {
  background: var(--white);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
}

/* Jobs table */
.screen-table { padding: 14px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.screen-table table { flex: 1; }
.screen-interview { flex: 1; min-height: 0; }
.screen-calendar { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.screen-calendar .cal-grid { flex: 1; height: auto; }
.screen-analytics { flex: 1; display: flex; flex-direction: column; min-height: 0; gap: 12px; }
.screen-analytics .analytics-row { margin-bottom: 0; }
.screen-analytics .analytics-grid { flex: 1; min-height: 0; }
.screen-analytics .analytics-chart-wrap { min-height: 0; }
.screen-analytics .analytics-bars { min-height: 100px; }
.screen-analytics .analytics-side { min-height: 0; overflow: hidden; }
.table-header,
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 13px;
}
.table-header { font-weight: 600; color: var(--ink-500); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.table-row { color: var(--ink-700); transition: background 0.2s; }
.table-row:hover { background: var(--violet-50); }
.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
  display: inline-block;
}
.status-pill.open { background: #D1FAE5; color: #065F46; }
.status-pill.draft { background: #FEF3C7; color: #92400E; }
.status-pill.closed { background: var(--ink-100); color: var(--ink-600); }

/* Interview screen — live with video tiles, audio bars, captions */
.screen-interview { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 18px; }
.interview-video {
  background: linear-gradient(135deg, #1E1B4B, #312E81);
  border-radius: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 260px;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  flex: 1;
}
.video-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-tile.candidate { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.video-tile.panelist { background: linear-gradient(135deg, #EC4899, #FBCFE8); }
.tile-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #7C3AED;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.tile-avatar.alt { color: #EC4899; }
.tile-name {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.tile-tag { font-size: 9px; opacity: 0.7; font-weight: 500; }
.video-pulse {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90px; height: 90px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  animation: videoPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes videoPulse {
  0% { transform: scale(0.55); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.audio-bars {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.audio-bars span {
  display: block;
  width: 3px;
  height: 30%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: audioWave 1s ease-in-out infinite;
}
.audio-bars span:nth-child(1) { animation-delay: 0s; }
.audio-bars span:nth-child(2) { animation-delay: 0.12s; }
.audio-bars span:nth-child(3) { animation-delay: 0.24s; }
.audio-bars span:nth-child(4) { animation-delay: 0.18s; }
.audio-bars span:nth-child(5) { animation-delay: 0.06s; }
.audio-bars.muted span { animation: none; height: 18%; opacity: 0.45; }
@keyframes audioWave {
  0%, 100% { height: 22%; }
  50%      { height: 100%; }
}
.caption-strip {
  margin: 10px;
  margin-top: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-height: 30px;
}
.caption-speaker { font-weight: 700; color: #FBCFE8; flex-shrink: 0; }
.caption-text {
  font-style: italic;
  opacity: 0.92;
  transition: opacity 0.4s;
}
.screen-pill.rec {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.rec-dot, .live-mini-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #DC2626;
  animation: recBlink 1.2s ease-in-out infinite;
}
.live-mini-dot { background: #10B981; animation-delay: -0.4s; }
@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.interview-side { display: flex; flex-direction: column; gap: 8px; }
.rubric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--violet-50);
  border-radius: 10px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
}
.rubric-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.rubric-item.is-scoring::before { opacity: 1; }
.rubric-item.is-scoring { background: rgba(124, 58, 237, 0.08); }
.rubric-item span { color: var(--ink-700); position: relative; }
.rubric-item strong { color: var(--violet-700); font-weight: 700; position: relative; font-variant-numeric: tabular-nums; }
.rubric-summary {
  margin-top: auto;
  padding: 14px;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-700));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rubric-summary span { font-size: 11px; opacity: 0.85; }
.rubric-summary strong { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rubric-summary [data-rubric-total] { color: white; }

/* Calendar — week view, normalized height */
.screen-calendar { padding: 22px; }
.cal-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 500;
}
.cal-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.cal-swatch {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
}
.cal-swatch.confirmed { background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); }
.cal-swatch.tentative { background: linear-gradient(135deg, #FBCFE8, #EC4899); }
.cal-swatch.open { background: var(--ink-100); border: 1px dashed var(--ink-300); }
.cal-grid {
  display: grid;
  grid-template-columns: 56px repeat(5, 1fr);
  gap: 6px;
  height: 240px;
}
.cal-time-col, .cal-day-col {
  display: grid;
  grid-template-rows: 22px repeat(4, 1fr);
  gap: 6px;
}
.cal-day {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-time {
  font-size: 9.5px;
  color: var(--ink-400);
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
}
.cal-slot {
  background: var(--ink-50);
  border: 1px dashed transparent;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 8px;
  font-size: 10px;
  color: var(--ink-400);
  font-weight: 600;
  gap: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cal-slot:not(.booked) {
  border-color: var(--ink-200);
}
.cal-slot.booked {
  border: none;
  color: white;
}
.cal-slot.booked.confirmed {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
  box-shadow: 0 4px 10px rgba(108, 58, 237, 0.25);
}
.cal-slot.booked.tentative {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.85), rgba(251, 207, 232, 0.85));
  color: white;
}
.cal-slot.booked > span:first-child { font-weight: 700; font-size: 10.5px; }
.cal-slot-meta { font-size: 9px; opacity: 0.85; font-weight: 500; }
.cal-slot.pulse-now::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #BBF7D0;
  box-shadow: 0 0 0 0 rgba(187, 247, 208, 0.7);
  animation: nowDot 1.6s ease-out infinite;
}
@keyframes nowDot {
  0% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(187, 247, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(187, 247, 208, 0); }
}
.cal-slot.booked:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(108, 58, 237, 0.3); }

/* Analytics screen — richer with funnel + source mix */
.screen-analytics { padding: 20px; }
.analytics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.analytics-metric {
  padding: 12px 14px;
  background: var(--violet-50);
  border-radius: 12px;
  border: 1px solid var(--violet-100);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.m-label { font-size: 10px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.m-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}
.m-suf { font-size: 13px; font-weight: 700; color: var(--ink-700); margin-left: 2px; }
.m-trend { font-size: 11px; font-weight: 700; }
.m-trend.up { color: #10B981; }
.m-trend.down { color: #10B981; }
.analytics-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.analytics-chart-wrap {
  background: linear-gradient(180deg, var(--violet-50), var(--white));
  border: 1px solid var(--violet-100);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.analytics-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.chart-meta { font-size: 10px; color: var(--ink-400); display: block; margin-top: 2px; }
.chart-legend { font-size: 10px; color: var(--ink-500); display: inline-flex; align-items: center; gap: 12px; }
.legend-swatch {
  display: inline-block; width: 10px; height: 10px; border-radius: 2px;
  margin-right: 4px; vertical-align: -1px;
}
.legend-swatch.v { background: linear-gradient(180deg, var(--violet-400), var(--violet-700)); }
.legend-swatch.p { background: linear-gradient(180deg, #FBCFE8, #EC4899); }
.analytics-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  height: 130px;
  padding: 8px 4px 22px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--violet-400), var(--violet-700));
  border-radius: 6px 6px 2px 2px;
  position: relative;
  height: 0;
  transition: height 1s var(--ease-out);
  align-self: flex-end;
  min-width: 14px;
}
.platform-screen.active .bar { height: var(--h); }
.bar .bar-stack {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--h2, 40%);
  background: linear-gradient(180deg, #FBCFE8, #EC4899);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.92;
}
.bar-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--ink-500);
  font-weight: 600;
}
.analytics-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.analytics-card {
  background: white;
  border: 1px solid var(--violet-100);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.funnel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  color: var(--ink-700);
  font-weight: 600;
  margin-top: 4px;
}
.funnel-row strong { font-variant-numeric: tabular-nums; color: var(--ink-900); }
.funnel-bar {
  height: 5px;
  border-radius: 4px;
  background: var(--ink-50);
  overflow: hidden;
}
.funnel-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.analytics-pies { gap: 4px; }
.pie-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 3px 0;
}
.pie-dot { width: 8px; height: 8px; border-radius: 50%; }
.pie-dot.v { background: #7C3AED; }
.pie-dot.p { background: #EC4899; }
.pie-dot.g { background: #10B981; }
.pie-dot.o { background: #F59E0B; }
.pie-name { color: var(--ink-700); font-weight: 500; }
.pie-pct { font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }

/* ============================================
   STATS - dark gradient
   ============================================ */
.stats {
  padding: 72px 0;
  background: linear-gradient(135deg, #0F0628 0%, #1A0B3D 50%, #2E1065 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.stats-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.4), transparent 70%);
  top: -200px; left: -100px;
}
.stats-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.3), transparent 70%);
  bottom: -100px; right: -50px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  padding: 48px 0;
}
.stat-block { text-align: center; }
.stat-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}
.stat-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-number {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  background: linear-gradient(135deg, #C4B5FD, #FBCFE8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.stat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 56px 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 22px;
  padding: 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--violet-300);
  box-shadow: var(--shadow-violet);
}
.testimonial-card.featured {
  background: linear-gradient(135deg, var(--violet-700), var(--violet-900));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-violet-lg);
}
.testimonial-rating {
  font-size: 16px;
  color: #FBBF24;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}
.testimonial-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  margin-bottom: 28px;
}
.testimonial-card.featured p { color: rgba(255,255,255,0.95); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15px;
}
.testimonial-card.featured .author-avatar { color: var(--violet-900); }
.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}
.author-title {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 2px;
}
.testimonial-card.featured .author-name { color: var(--white); }
.testimonial-card.featured .author-title { color: rgba(255,255,255,0.7); }

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: 56px 0 72px;
  background: var(--white);
}
.cta-card {
  background: linear-gradient(135deg, #2E1065 0%, #4C1D95 50%, #6C3AED 100%);
  border-radius: 32px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.4), transparent 70%);
  top: -150px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 70%);
  bottom: -150px; right: -100px;
}
.cta-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink-950);
  color: var(--ink-300);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  color: var(--ink-400);
  max-width: 260px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--violet-600);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-400);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-container,
  .platform-grid,
  .mega-split { grid-template-columns: 1fr; }
  .platform-tabs { position: static; }
  .platform-visual { position: static; }
  .features-grid,
  .problem-grid,
  .testimonials-grid,
  .how-flow,
  .mega-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-divider { display: none; }
  .how-line { display: none; }
}
@media (max-width: 768px) {
  :root { --container-px: 20px; }
  .nav-links { display: none; }
  .hero { padding-top: 100px; padding-bottom: 60px; }
  .hero-meta { gap: 14px; }
  .hero-meta-divider { display: none; }
  .features-grid,
  .problem-grid,
  .testimonials-grid,
  .how-flow,
  .mega-grid-4,
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .cta-card { padding: 56px 28px; }
  .float-card-1, .float-card-2 { display: none; }
  .dashboard-mock { transform: none; }
  .dashboard-body { grid-template-columns: 60px 1fr; }
  .sidebar-item span,
  .sidebar-item:not(.active) { font-size: 0; }
}

/* ============================================
   PHASE 12: TESTIMONIALS, CTA, FOOTER ENRICHMENT
   ============================================ */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 110px;
  line-height: 1;
  color: rgba(124, 58, 237, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.testimonial-card.featured .quote-mark { color: rgba(255, 255, 255, 0.18); }
.author-avatar {
  box-shadow: 0 8px 22px rgba(108, 58, 237, 0.18), inset 0 0 0 2px white;
}
.author-logo {
  height: 22px;
  width: auto;
  margin-left: auto;
  opacity: 0.6;
  color: var(--ink-500);
  transition: opacity 0.3s;
}
.testimonial-card:hover .author-logo { opacity: 1; }
.testimonial-card.featured .author-logo { color: rgba(255, 255, 255, 0.7); }

.cta-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-trust-label,
.cta-trust-suffix {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
.cta-trust-strip img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.cta-trust-strip img:hover { opacity: 1; }

.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 36px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 18px;
  margin-bottom: 56px;
}
.footer-news-text h4 {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-news-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}
.newsletter-form input {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--ink-200);
  background: white;
  outline: none;
  min-width: 240px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form input:focus {
  border-color: var(--violet-400);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* ============================================
   PHASE 10: GLOBE SECTION
   ============================================ */
.globe-section {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(28, 16, 68, 0.97), rgba(45, 25, 95, 0.97));
  color: white;
  position: relative;
  overflow: hidden;
}
.globe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.4), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3), transparent 50%);
  pointer-events: none;
}
.globe-section .section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}
.globe-section .section-eyebrow {
  color: #C4B5FD;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.3);
}
.globe-section .section-title { color: white; font-size: clamp(36px, 5vw, 56px); }
.globe-section .section-title em {
  background: linear-gradient(120deg, #C4B5FD, #FBCFE8, #C4B5FD);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShift 9s ease-in-out infinite;
}
.globe-section .section-lead { color: rgba(255, 255, 255, 0.7); }

.globe-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}
.globe-map {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.3));
}
.globe-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.pin-dot {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FBCFE8, #EC4899);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.7);
  z-index: 2;
}
.pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #EC4899;
  animation: pinPulse 2.4s ease-out infinite;
}
.pin:nth-child(2n) .pin-dot { background: linear-gradient(135deg, #C4B5FD, #7C3AED); box-shadow: 0 0 12px rgba(124, 58, 237, 0.7); }
.pin:nth-child(2n) .pin-ring { border-color: #7C3AED; }
.pin:nth-child(3n) .pin-dot { background: linear-gradient(135deg, #BBF7D0, #10B981); box-shadow: 0 0 12px rgba(16, 185, 129, 0.7); }
.pin:nth-child(3n) .pin-ring { border-color: #10B981; }
.pin:nth-child(1) .pin-ring { animation-delay: 0s; }
.pin:nth-child(2) .pin-ring { animation-delay: -0.3s; }
.pin:nth-child(3) .pin-ring { animation-delay: -0.6s; }
.pin:nth-child(4) .pin-ring { animation-delay: -0.9s; }
.pin:nth-child(5) .pin-ring { animation-delay: -1.2s; }
.pin:nth-child(6) .pin-ring { animation-delay: -1.5s; }
.pin:nth-child(7) .pin-ring { animation-delay: -1.8s; }
.pin:nth-child(8) .pin-ring { animation-delay: -2.1s; }
.pin:nth-child(9) .pin-ring { animation-delay: -0.2s; }
.pin:nth-child(10) .pin-ring { animation-delay: -0.5s; }
.pin:nth-child(11) .pin-ring { animation-delay: -0.8s; }
.pin:nth-child(12) .pin-ring { animation-delay: -1.1s; }
.pin:nth-child(13) .pin-ring { animation-delay: -1.4s; }
.pin:nth-child(14) .pin-ring { animation-delay: -1.7s; }
@keyframes pinPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(3.6); opacity: 0; }
}

.globe-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.globe-card {
  position: absolute;
  background: rgba(48, 28, 100, 0.7);
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  pointer-events: auto;
  box-shadow: 0 12px 32px rgba(28, 16, 68, 0.4);
}
.globe-card-1 { top: 8%; left: 4%; }
.globe-card-2 { top: 12%; right: 4%; }
.globe-card-3 { bottom: 12%; left: 30%; }
.globe-card-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-style: italic;
  background: linear-gradient(135deg, #FBCFE8, #C4B5FD);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.globe-card-suffix { font-size: 28px; }
.globe-card-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .globe-card-1, .globe-card-2, .globe-card-3 {
    position: relative;
    inset: auto;
    margin: 8px auto;
    display: inline-block;
  }
  .globe-cards { position: static; display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .pin-ring { animation: none; }
}

/* ============================================
   PHASE 8: MAGNETIC BUTTONS
   ============================================ */
.btn-magnetic {
  transform: translate(var(--bx, 0px), var(--by, 0px));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, background 0.3s;
  will-change: transform;
}
.btn-magnetic:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35), 0 0 0 4px rgba(124, 58, 237, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .btn-magnetic { transform: none !important; }
}

/* ============================================
   PHASE 7: TILT + HALO CARDS
   ============================================ */
.tilt {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
  will-change: transform;
  position: relative;
  isolation: isolate;
}
.tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(124, 58, 237, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}
.tilt:hover::after { opacity: 1; }
.tilt > * { position: relative; z-index: 2; }

/* Per-feature accent gradients */
.feature-card {
  --accent-from: var(--violet-300);
  --accent-to: var(--violet-600);
}
.feature-card:nth-child(1) { --accent-from: #C4B5FD; --accent-to: #7C3AED; }
.feature-card:nth-child(2) { --accent-from: #FBCFE8; --accent-to: #EC4899; }
.feature-card:nth-child(3) { --accent-from: #BBF7D0; --accent-to: #10B981; }
.feature-card:nth-child(4) { --accent-from: #C7D2FE; --accent-to: #6366F1; }
.feature-card:nth-child(5) { --accent-from: #FED7AA; --accent-to: #F97316; }
.feature-card:nth-child(6) { --accent-from: #DDD6FE; --accent-to: #8B5CF6; }

.feature-card .feature-icon {
  position: relative;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to)) !important;
  color: white !important;
}
.feature-card .feature-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-from), transparent 70%);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.3s, transform 0.3s;
}
.feature-card:hover .feature-icon::before {
  opacity: 0.85;
  transform: scale(1.2);
}

/* Big-stat counting glow */
[data-bigstat].counting {
  text-shadow: 0 0 38px rgba(124, 58, 237, 0.45);
}
[data-bigstat] {
  transition: text-shadow 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; }
  .tilt::after { transition: none; }
}

/* ============================================
   PHASE 5: PARTICLE SYSTEMS + DECORATION
   ============================================ */
.cta-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  mix-blend-mode: screen;
}
.cta-orbits {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  animation: ctaOrbitsSpin 80s linear infinite;
}
@keyframes ctaOrbitsSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-shape {
  position: absolute;
  display: block;
}
.cta-shape.s1 {
  top: 14%; left: 8%;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: shapeFloat 6s ease-in-out infinite;
}
.cta-shape.s2 {
  top: 60%; left: 92%;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  animation: shapeFloat 7s ease-in-out infinite -2s;
}
.cta-shape.s3 {
  top: 80%; left: 12%;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid rgba(255,255,255,0.4);
  animation: shapeFloat 8s ease-in-out infinite -3s;
}
.cta-shape.s4 {
  top: 20%; left: 84%;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  transform: rotate(15deg);
  animation: shapeFloat 5.5s ease-in-out infinite -1s;
}
@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) rotate(45deg); }
  50% { transform: translate(0, -16px) rotate(60deg); }
}
.cta-shape.s2 { animation-name: shapeFloatRound; }
.cta-shape.s3 { animation-name: shapeFloatTri; }
.cta-shape.s4 { animation-name: shapeFloatRect; }
@keyframes shapeFloatRound {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -14px); }
}
@keyframes shapeFloatTri {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -18px); }
}
@keyframes shapeFloatRect {
  0%, 100% { transform: translate(0, 0) rotate(15deg); }
  50% { transform: translate(0, -16px) rotate(30deg); }
}

/* How-it-works traveling particle */
.how-particle-svg {
  position: absolute;
  top: 60px; left: 0;
  width: 100%;
  height: 20px;
  pointer-events: none;
  overflow: visible;
}
.how-particle {
  filter: drop-shadow(0 0 8px #A78BFA);
}
@media (prefers-reduced-motion: reduce) {
  .cta-orbits, .cta-shape { animation: none; }
  .how-particle { display: none; }
  .cta-particles { display: none; }
}

/* ============================================
   DASHBOARD LIVE DETAILS (Phase 4)
   ============================================ */
.dashboard-livebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(108, 58, 237, 0.06), rgba(236, 72, 153, 0.04));
  border: 1px solid rgba(108, 58, 237, 0.12);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-700);
  width: fit-content;
  position: relative;
}
.live-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  flex-shrink: 0;
}
.live-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.live-label {
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10px;
}
.live-stat {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 11px;
}
.avatar-stack {
  display: flex;
  margin-left: auto;
}
.avatar-stack .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: white;
  border: 2px solid white;
  margin-left: -7px;
}
.avatar-stack .av:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, #A78BFA, #6366F1); }
.av-2 { background: linear-gradient(135deg, #EC4899, #F472B6); }
.av-3 { background: linear-gradient(135deg, #10B981, #34D399); }
.av-4 { background: linear-gradient(135deg, #475569, #64748B); font-size: 8px; }

.chart-end-dot {
  filter: drop-shadow(0 0 4px #7C3AED);
}
.chart-end-dot-pulse {
  transform-origin: 400px 20px;
  animation: endDotPulse 2s ease-out infinite;
}
@keyframes endDotPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

.dashboard-ticker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 12px;
  border: 1px solid var(--ink-100);
}
.ticker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-600);
}
.ticker-row .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker-row .dot.violet { background: var(--violet-500); box-shadow: 0 0 0 3px rgba(108,58,237,0.15); }
.ticker-row .dot.mint { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.ticker-row .dot.peach { background: #F97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.ticker-text { flex: 1; font-weight: 500; color: var(--ink-700); }
.ticker-time { font-size: 10px; color: var(--ink-400); }

.dashboard-toast {
  position: absolute;
  right: 16px;
  bottom: 70px;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.12);
  min-width: 240px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  z-index: 5;
}
.dashboard-toast.show {
  animation: toastIn 4.2s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes toastIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.96); }
  10% { opacity: 1; transform: translateY(0) scale(1); }
  85% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.96); }
}
.toast-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-400), var(--violet-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-size: 12px; font-weight: 700; color: var(--ink-900); }
.toast-meta { font-size: 11px; color: var(--ink-500); }
.toast-badge {
  background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
  color: #047857;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .live-pulse, .chart-end-dot-pulse { animation: none; }
  .dashboard-toast.show { animation: none; opacity: 1; transform: none; }
}

/* ============================================
   PAGE MESH BACKGROUND (Phase 1)
   ============================================ */
.page-mesh {
  position: fixed; inset: 0; z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(60vw 60vh at 0% 0%, #E9D5FF 0%, transparent 55%),
    radial-gradient(50vw 50vh at 100% 30%, #FBE4F0 0%, transparent 55%),
    radial-gradient(55vw 55vh at 20% 80%, #D4F1E8 0%, transparent 55%),
    radial-gradient(45vw 45vh at 90% 100%, #FFE6D1 0%, transparent 55%),
    #FAF8FF;
  pointer-events: none;
  contain: paint;
}
/* Old animated blob layer — disabled for performance.
   The static radial-gradient stack on .page-mesh delivers the same look
   without 4 large blurred elements being re-composited on every frame. */
.mesh-blob { display: none; }
.page-grain { display: none; }

/* Make body let the mesh show through */
body { background: transparent; }
.hero { background: linear-gradient(180deg, rgba(250, 247, 255, 0.6) 0%, rgba(245, 240, 255, 0.4) 50%, rgba(255, 255, 255, 0.6) 100%); }
.problem,
.how,
.features,
.platform,
.testimonials {
  background: rgba(255, 255, 255, 0.72);
  contain: layout paint;
}
.problem::before { display: none; }
