@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Design System */
:root {
  /* Colors */
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --magenta-500: #e91e63;
  --magenta-600: #d81b60;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--purple-600), var(--magenta-500));
  --gradient-secondary: linear-gradient(135deg, var(--blue-600), var(--purple-600));
  --gradient-surface: linear-gradient(135deg, var(--purple-50), var(--blue-50));
  --gradient-dark: linear-gradient(135deg, var(--purple-900), #1a1a2e);

  /* Semantic Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-light: #718096;

  --surface-white: #ffffff;
  --surface-light: var(--purple-50);
  --surface-pale: #f9f7ff;
  --surface-dark: #1a1a2e;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);

  /* Glass Effect */
  --glass-white: rgba(255, 255, 255, 0.8);
  --glass-dark: rgba(26, 26, 46, 0.8);
  --glass-blur: blur(12px) saturate(180%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --header-height: 64px;
  --section-spacing: 120px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --hero-bg-speed: 24s;
  --hero-ribbon-speed: 34s;
  --hero-spark-speed: 14s;
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  margin-bottom: 1em;
}

h3 {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  margin-bottom: 0.75em;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Container */
.container {
  width: min(var(--container-width), 100% - 48px);
  margin: 0 auto;
}

/* ========================================
   Navigation — Cresta-style shrink on scroll
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid transparent;
  border-radius: 0;
  position: relative;
  transition:
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Shrunk state on scroll */
.nav.shrunk {
  padding: 10px 20px 0;
}

.nav.shrunk .nav-inner {
  max-width: 1100px;
  height: 56px;
  border-radius: 980px;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06);
  padding: 0 28px;
}

.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 120px;
  height: 34px;
  flex-shrink: 0;
}

.nav-logo img {
  position: absolute;
  top: 0;
  left: 0;
  height: 34px;
  width: auto;
  transition: opacity 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.nav-logo .logo-dark {
  opacity: 1;
}

.nav-logo .logo-light {
  opacity: 0;
}

/* Desktop: nav-right wraps links + actions, positioned to fill nav */
.nav-right {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  justify-content: center;
  pointer-events: none;
}

.nav-right > * {
  pointer-events: auto;
}

.nav-right .nav-actions {
  position: absolute;
  right: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #7c3aed;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link-btn:hover {
  color: #7c3aed;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #000;
  padding: 10px 20px;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #262626;
}

/* ========================================
   Hero — Cresta-inspired, dark panel inside rounded container
   ======================================== */
.hero-outer {
  background: #fff;
  padding: 80px 32px 24px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 115px 48px 98px;
  background: #050014;
  overflow: hidden;
  border-radius: 48px;
  --blob-brightness: 1;
  --blob-opacity: 0.85;
}

/* Large morphing gradient blobs — Cresta-style */
.hero-blob {
  position: absolute;
  pointer-events: none;
  will-change: transform, border-radius;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  filter: blur(100px) brightness(var(--blob-brightness));
  opacity: var(--blob-opacity);
  mix-blend-mode: screen;
  transition: filter 1s cubic-bezier(0.4,0,0.2,1), opacity 1s cubic-bezier(0.4,0,0.2,1);
}

.hero-blob-a {
  width: 80%;
  height: 80%;
  top: -20%;
  left: -20%;
  background: rgba(124, 58, 237, 0.45);
  animation: morphA 16s linear infinite, driftA 22s linear infinite;
}

.hero-blob-b {
  width: 70%;
  height: 70%;
  top: -10%;
  right: -25%;
  background: rgba(168, 85, 247, 0.35);
  animation: morphB 19s linear infinite, driftB 24s linear infinite;
}

.hero-blob-c {
  width: 60%;
  height: 65%;
  bottom: -25%;
  left: 15%;
  background: rgba(147, 51, 234, 0.3);
  animation: morphC 21s linear infinite, driftC 26s linear infinite;
}

.hero.blob-boost {
  --blob-brightness: 1.35;
  --blob-opacity: 0.95;
}

/* Continuous shape morphing via border-radius — 8 keyframe steps for organic feel */
@keyframes morphA {
  0%    { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
  12.5% { border-radius: 50% 50% 45% 55% / 45% 55% 55% 45%; }
  25%   { border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%; }
  37.5% { border-radius: 45% 55% 55% 45% / 55% 35% 50% 50%; }
  50%   { border-radius: 30% 70% 70% 30% / 50% 40% 60% 50%; }
  62.5% { border-radius: 55% 45% 50% 50% / 40% 60% 45% 55%; }
  75%   { border-radius: 55% 45% 40% 60% / 35% 65% 35% 65%; }
  87.5% { border-radius: 48% 52% 52% 48% / 52% 48% 55% 45%; }
  100%  { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
}

@keyframes morphB {
  0%    { border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
  12.5% { border-radius: 42% 58% 48% 52% / 52% 48% 42% 58%; }
  25%   { border-radius: 35% 65% 55% 45% / 60% 40% 35% 65%; }
  37.5% { border-radius: 55% 45% 42% 58% / 50% 50% 52% 48%; }
  50%   { border-radius: 65% 35% 45% 55% / 45% 55% 65% 35%; }
  62.5% { border-radius: 48% 52% 55% 45% / 55% 45% 48% 52%; }
  75%   { border-radius: 45% 55% 60% 40% / 55% 45% 45% 55%; }
  87.5% { border-radius: 52% 48% 50% 50% / 48% 52% 50% 50%; }
  100%  { border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
}

@keyframes morphC {
  0%    { border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%; }
  12.5% { border-radius: 52% 48% 42% 58% / 58% 42% 48% 52%; }
  25%   { border-radius: 40% 60% 35% 65% / 65% 35% 55% 45%; }
  37.5% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  50%   { border-radius: 55% 45% 65% 35% / 35% 65% 50% 50%; }
  62.5% { border-radius: 45% 55% 50% 50% / 45% 55% 55% 45%; }
  75%   { border-radius: 45% 55% 45% 55% / 50% 50% 60% 40%; }
  87.5% { border-radius: 55% 45% 52% 48% / 55% 45% 48% 52%; }
  100%  { border-radius: 60% 40% 50% 50% / 50% 50% 40% 60%; }
}

/* Continuous position drift — large sweeping movements */
@keyframes driftA {
  0%    { transform: translate3d(0, 0, 0) scale(1); }
  16.6% { transform: translate3d(70px, 30px, 0) scale(1.06); }
  33.3% { transform: translate3d(20px, 60px, 0) scale(0.97); }
  50%   { transform: translate3d(-50px, 40px, 0) scale(1.04); }
  66.6% { transform: translate3d(-30px, -20px, 0) scale(0.95); }
  83.3% { transform: translate3d(40px, -30px, 0) scale(1.03); }
  100%  { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes driftB {
  0%    { transform: translate3d(0, 0, 0) scale(1); }
  16.6% { transform: translate3d(-60px, -40px, 0) scale(1.05); }
  33.3% { transform: translate3d(-20px, 30px, 0) scale(0.96); }
  50%   { transform: translate3d(50px, -25px, 0) scale(1.03); }
  66.6% { transform: translate3d(30px, 45px, 0) scale(0.97); }
  83.3% { transform: translate3d(-40px, 20px, 0) scale(1.06); }
  100%  { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes driftC {
  0%    { transform: translate3d(0, 0, 0) scale(1); }
  16.6% { transform: translate3d(45px, -45px, 0) scale(1.04); }
  33.3% { transform: translate3d(-35px, -15px, 0) scale(0.98); }
  50%   { transform: translate3d(-55px, 25px, 0) scale(1.05); }
  66.6% { transform: translate3d(15px, 50px, 0) scale(0.96); }
  83.3% { transform: translate3d(35px, 15px, 0) scale(1.02); }
  100%  { transform: translate3d(0, 0, 0) scale(1); }
}

.hero-mesh-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, rgba(5, 0, 20, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Center content */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Animated icons above headline */
.hero-morph {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: auto;
  margin-right: auto;
}

.hero-icon {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 18px rgba(168,85,247,0.4));
}

.hero-icon-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-icon-path,
.hero-icon-detail {
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  fill: rgba(124, 58, 237, 0.06);
}

/* Unique enter/leave transitions per icon */
/* 0 — Shield: slides up */
.hero-icon.enter-draw-up    { animation: iconEnterUp 1s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-icon.leave-fade-down  { animation: iconLeaveDown 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }

/* 1 — Bolt: scale pop */
.hero-icon.enter-draw-fast  { animation: iconEnterScale 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.hero-icon.leave-fade-scale { animation: iconLeaveScale 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }

/* 2 — Lock: rotate in */
.hero-icon.enter-draw-rotate { animation: iconEnterRotate 1s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-icon.leave-fade-rotate { animation: iconLeaveRotate 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }

/* 3 — Arrows: expand from center */
.hero-icon.enter-draw-scale  { animation: iconEnterExpand 0.9s cubic-bezier(0.34,1.4,0.64,1) forwards; }
.hero-icon.leave-fade-up     { animation: iconLeaveUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }

@keyframes iconEnterUp {
  0%   { opacity: 0; transform: translateY(18px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes iconLeaveDown {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(14px) scale(0.9); }
}
@keyframes iconEnterScale {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes iconLeaveScale {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.4); }
}
@keyframes iconEnterRotate {
  0%   { opacity: 0; transform: rotate(-90deg) scale(0.6); }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes iconLeaveRotate {
  0%   { opacity: 1; transform: rotate(0deg) scale(1); }
  100% { opacity: 0; transform: rotate(60deg) scale(0.6); }
}
@keyframes iconEnterExpand {
  0%   { opacity: 0; transform: scale(0); }
  70%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes iconLeaveUp {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(0.85); }
}

/* Headline */
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

/* Rotating word container */
.hero-word-wrap {
  display: inline-block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 320px;
  padding-right: 0.05em;
}

.hero-word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-word.exiting {
  opacity: 0;
  transform: translateY(-100%);
}

/* Tagline */
.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin: 0 auto 28px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #fff;
  color: #0a0a0a;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-btn-primary:hover {
  background: #f0ecfc;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.25);
}

.hero-btn-primary svg {
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover svg {
  transform: translateX(3px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Proof */
.hero-proof {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.hero-proof strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-outer {
    padding: 74px 16px 16px;
  }

  .hero {
    padding: 44px 20px 36px;
    border-radius: 24px;
  }

  .hero-word-wrap {
    min-width: 200px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-icon {
    width: 40px;
    height: 40px;
  }

  .hero-morph {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   Problems Section
   ======================================== */
.problems {
  padding: 180px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.problems::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
}

.problems-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: start;
}

/* Left Column */
.problems-left {
  position: sticky;
  top: 140px;
}

.problems-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7c3aed;
  margin-bottom: 24px;
}

.problems-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #7c3aed;
}

.problems-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0a0a0a;
  margin-bottom: 28px;
}

.problems-heading span {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problems-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #0a0a0a;
  margin-bottom: 40px;
  max-width: 420px;
}

.problems-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 400;
  color: #0a0a0a;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problems-link:hover {
  gap: 16px;
  color: #7c3aed;
  border-color: #7c3aed;
}

.problems-link svg {
  transition: transform 0.3s ease;
}

.problems-link:hover svg {
  transform: translateX(4px);
}

/* Right Column */
.problems-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.problems-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #e5e7eb 0%, rgba(124, 58, 237, 0.3) 50%, #e5e7eb 100%);
}

.problem-item {
  padding: 48px 0 48px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: problemFadeIn 0.6s ease forwards;
}

.problem-item:nth-child(1) { animation-delay: 0.1s; }
.problem-item:nth-child(2) { animation-delay: 0.2s; }
.problem-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes problemFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.problem-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.problem-item:hover::after {
  border-color: #7c3aed;
  background: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.problem-item:first-child {
  padding-top: 0;
}

.problem-item:first-child::after {
  top: 24px;
  transform: none;
}

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

.problem-item:last-child::after {
  top: auto;
  bottom: 24px;
  transform: none;
}

.problem-line {
  display: none;
}

.problem-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s ease;
}

.problem-item:hover .problem-label {
  color: #7c3aed;
}

.problem-value {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  line-height: 1;
  transition: all 0.3s ease;
}

.problem-item:hover .problem-value {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-detail {
  font-size: 0.95rem;
  color: #0a0a0a;
  line-height: 1.6;
  margin-top: 4px;
  max-width: 320px;
}

/* Responsive */
@media (max-width: 900px) {
  .problems {
    padding: 120px 0;
  }
  
  .problems-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  
  .problems-left {
    position: static;
    text-align: center;
  }
  
  .problems-eyebrow::before {
    display: none;
  }
  
  .problems-lead {
    max-width: none;
  }
  
  .problems-heading {
    font-size: 2rem;
  }
  
  .problems-right::before {
    left: 0;
  }
  
  .problem-item {
    padding-left: 32px;
  }
  
  .problem-item::after {
    left: -5px;
  }
  
  .problem-value {
    font-size: 2.25rem;
  }
}

/* Features Section */
.features {
  padding: calc(var(--section-spacing) * 1.5) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 246, 255, 1));
  position: relative;
  overflow: hidden;
}



.features::before {
  content: '';
  position: absolute;
  inset: auto 5% 10% 5%;
  height: 320px;
  background: radial-gradient(circle at top center, rgba(124, 58, 237, 0.25), transparent 65%);
  pointer-events: none;
  opacity: 0.6;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
  width: min(1400px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82));
  border-radius: 32px;
  padding: 64px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  text-align: left;
  backdrop-filter: blur(18px);
  padding: 0 32px;
  width: 100%;
}
.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 1px solid transparent;
  transition: border-color 0.35s ease;
  pointer-events: none;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: auto 14% 14% 14%;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.25), transparent 70%);
  opacity: 0.4;
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.25);
  border-color: transparent;
}

.feature-card:hover::before {
  border-color: transparent;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
}

.feature-card:nth-child(even) {
  align-items: flex-end;
  text-align: right;
}

.feature-card:nth-child(even) .feature-icon {
  align-self: flex-end;
}

.feature-card:nth-child(2)::after {
  background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.35), transparent 65%);
}

.feature-card:nth-child(3)::after {
  background: radial-gradient(circle at center, rgba(229, 62, 139, 0.35), transparent 65%);
}

.feature-card:nth-child(1)::after {
  background: radial-gradient(circle at 70% 20%, rgba(124, 58, 237, 0.35), transparent 65%);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
  font-size: clamp(1.65rem, 4vw, 1.95rem);
  color: var(--text-primary);
  line-height: 1.2;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  margin: 0 auto 24px;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

/* ZYPPLY ADVANTAGE SECTION */
.advantage-section {
  --adv-card-radius: 22px;
  --adv-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --adv-shadow-hover: 0 28px 60px rgba(15, 23, 42, 0.18);
  position: relative;
  padding: 120px 0 520px;
  background: #050014;
  color: white;
  border-radius: 0;
  margin: 0;
  clip-path: inset(0 48px round 40px);
}
.advantage-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.advantage-section .container {
  padding-inline: clamp(16px, 4vw, 80px);
}

.advantage-section::before {
  content: '';
  position: absolute;
  inset: 0 8% auto 8%;
  height: 260px;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.22), transparent 65%);
  pointer-events: none;
  opacity: 0.85;
  border-radius: 40px 40px 0 0;
}

.advantage-section .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
}

.advantage-logo {
  display: block;
  width: min(56px, 14vw);
  margin: 0 auto 20px;
  opacity: 0.95;
}

.advantage-section .section-title {
  font-size: clamp(3rem, 6vw, 4rem); /* Larger than other sections */
  margin-bottom: 12px;
}

.advantage-section .section-intro {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(248, 250, 252, 0.82);
}

.advantage-body {
  margin-top: 0;
  display: grid;
  gap: 48px;
}

.advantage-copy {
  max-width: 640px;
  padding-left: clamp(16px, 3vw, 48px);
}

.advantage-subtitle {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  color: #f8fafc;
  margin-bottom: 18px;
}

.advantage-desc {
  color: rgba(248, 250, 252, 0.75);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.advantage-metrics {
  display: grid;
  gap: 12px;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.98rem;
  grid-template-columns: 1fr;
}

.advantage-highlights {
  display: grid;
  gap: 16px;
  margin-left: clamp(0px, -3vw, -32px);
}

/* Spotlight Card Effect */
.spotlight-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.spotlight-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(168, 85, 247, 0.5),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-highlights:hover .spotlight-border {
  opacity: 1;
}

.spotlight-content {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: inherit;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    750px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(168, 85, 247, 0.075),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-highlights:hover .spotlight-card::before {
  opacity: 1;
}

.advantage-highlight {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Metallic Text Effect */
.advantage-highlight h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  background: linear-gradient(
    105deg,
    #9ca3af 0%,
    #f8fafc 15%,
    #c4b5fd 25%,
    #f8fafc 35%,
    #a78bfa 50%,
    #f8fafc 65%,
    #c4b5fd 75%,
    #f8fafc 85%,
    #9ca3af 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.advantage-highlight p {
  font-size: 0.95rem;
  line-height: 1.5;
  background: linear-gradient(
    105deg,
    rgba(156, 163, 175, 0.8) 0%,
    rgba(248, 250, 252, 0.95) 15%,
    rgba(196, 181, 253, 0.85) 25%,
    rgba(248, 250, 252, 0.95) 35%,
    rgba(167, 139, 250, 0.8) 50%,
    rgba(248, 250, 252, 0.95) 65%,
    rgba(196, 181, 253, 0.85) 75%,
    rgba(248, 250, 252, 0.95) 85%,
    rgba(156, 163, 175, 0.8) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 960px) {
  .advantage-body {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    margin-left: clamp(0px, -8vw, -64px);
  }

  .advantage-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .advantage-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}








/* Industries Section */

.industries {
  padding: var(--section-spacing) 0;
  background: var(--gradient-dark);
  color: white;
}

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

.industry-card {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    transparent
  );
  z-index: 1;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-content {
  position: relative;
  z-index: 2;
}

.industry-icon {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  color: white;
}

.industry-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.industry-card p {
  color: var(--purple-200);
}

.industry-card--large {
  grid-column: span 2;
  aspect-ratio: auto;
}

/* Escrow + HIW shared wrapper — owns the transitioning background */
.escrow-hiw-wrapper {
  background: #050014;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-hiw-wrapper.is-light {
  background: #f0ebfa;
}

/* Escrow System Section – Apple-Style Horizontal Carousel */
.escrow-section {
  padding: 120px 0 200px;
  background: transparent;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Light-mode overrides for escrow children ---- */
.is-light .escrow-section {
  color: #1a1a2e;
}

.is-light .escrow-headline { color: #1a1a2e; }
.is-light .escrow-tagline  { color: #4a4a6a; }

.is-light .escrow-badge {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.08);
}

.is-light .escrow-slide {
  background: #fff;
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.is-light .escrow-slide:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 4px 40px rgba(124, 58, 237, 0.1);
}

.is-light .escrow-slide-number { color: rgba(124, 58, 237, 0.2); }
.is-light .escrow-slide-title  { color: #1a1a2e; }
.is-light .escrow-slide-desc   { color: #5a5a7a; }

.is-light .escrow-slide-visual {
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(168,85,247,0.04) 100%);
}
.is-light .escrow-slide-visual::before {
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.1) 0%, transparent 70%);
}

.is-light .escrow-icon-wrap {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.2);
}
.is-light .escrow-icon-wrap svg { color: #7c3aed; }

.is-light .escrow-dot { background: rgba(124,58,237,0.2); }
.is-light .escrow-dot.active { background: #7c3aed; }

.escrow-section::before {
  display: none;
}

/* Section Divider Image */
.section-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: -1px 0;
}

.divider-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.escrow-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.escrow-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: 20px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.escrow-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background 0.3s;
}

.is-light .escrow-headline {
  background: linear-gradient(135deg, #1a1a2e 30%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.escrow-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto;
  transition: color 0.3s;
}

/* Horizontal Scroll Carousel */
.escrow-carousel-wrapper {
  position: relative;
}

.escrow-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px calc((100vw - min(88vw, 1100px)) / 2) 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.escrow-carousel::-webkit-scrollbar {
  display: none;
}

/* Individual Slides - Clean Card Style */
.escrow-slide {
  flex: 0 0 min(88vw, 1100px);
  min-height: 500px;
  scroll-snap-align: center;
  background: #0c0020;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-slide:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.15);
}

/* Slide-in Animations */
.slide-animate {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-animate-1,
.slide-animate-2,
.slide-animate-3 {
  transform: translateX(-40px);
}

.slide-animate-4 {
  transform: translateX(40px);
}

.slide-animate-1 { transition-delay: 0.1s; }
.slide-animate-2 { transition-delay: 0.2s; }
.slide-animate-3 { transition-delay: 0.35s; }
.slide-animate-4 { transition-delay: 0.25s; }

.escrow-slide.in-view .slide-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Reset delays on exit for snappier feel */
.escrow-slide:not(.in-view) .slide-animate {
  transition-delay: 0s;
}

.escrow-slide-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.escrow-slide-number {
  font-size: 4rem;
  font-weight: 400;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-slide-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.15;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-slide-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide Visual - Gradient Panel */
.escrow-slide-visual {
  flex: 0 0 380px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(124, 58, 237, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-slide-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.escrow-icon-wrap {
  width: 140px;
  height: 140px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  z-index: 1;
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.escrow-icon-wrap svg {
  width: 64px;
  height: 64px;
  color: #a78bfa;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carousel Navigation */
.escrow-carousel-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.escrow-carousel-dots {
  display: flex;
  gap: 10px;
}

.escrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
  cursor: pointer;
}

.escrow-dot.active {
  background: #a78bfa;
  transform: scale(1.2);
}

.escrow-scroll-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 900px) {
  .escrow-slide {
    flex-direction: column;
    min-height: auto;
  }
  
  .escrow-slide-content {
    padding: 50px 40px;
  }
  
  .escrow-slide-visual {
    flex: 0 0 260px;
    width: 100%;
  }
  
  .escrow-slide-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .escrow-slide {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }
  
  .escrow-slide-content {
    padding: 40px 30px;
    align-items: center;
  }
  
  .escrow-slide-visual {
    flex: 0 0 220px;
  }
  
  .escrow-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }
  
  .escrow-icon-wrap svg {
    width: 44px;
    height: 44px;
  }
  
  .escrow-icon-wrap svg {
    width: 56px;
    height: 56px;
  }
}

/* ========================================
   How It Works Section - Modern Cards
   ======================================== */
.how-section {
  padding: 140px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.how-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.how-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c3aed;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  animation: eyebrowPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.how-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0a0a0a;
  margin-bottom: 20px;
}

.headline-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-sub {
  font-size: 1.2rem;
  color: #0a0a0a;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Steps Grid */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* Step Card */
.how-step-card {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-step-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.how-step-card[data-step="2"] {
  transition-delay: 0.15s;
}

.how-step-card[data-step="3"] {
  transition-delay: 0.3s;
}

.step-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.how-step-card:hover .step-card-glow {
  opacity: 1;
}

.step-card-inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-step-card:hover .step-card-inner {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12);
}

/* Step Icon */
.step-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.step-icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.how-step-card:hover .step-icon-bg {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  transform: rotate(6deg) scale(1.05);
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 16px;
  stroke: #7c3aed;
  transition: transform 0.4s ease;
}

.how-step-card:hover .step-icon {
  transform: scale(1.1);
}

/* Step Number Badge */
.step-number-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.95rem;
  color: #0a0a0a;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Step Features */
.step-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 400;
  color: #475569;
}

.step-features svg {
  width: 16px;
  height: 16px;
  fill: #7c3aed;
  flex-shrink: 0;
}

/* Step Connector */
.step-connector {
  position: absolute;
  right: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}

.how-step-card.revealed .step-connector {
  opacity: 1;
}

.how-step-card:last-child .step-connector {
  display: none;
}

.step-connector svg {
  width: 24px;
  height: 24px;
  stroke: #d4d4d8;
  animation: connectorPulse 2s ease-in-out infinite;
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* CTA Link */
.how-cta {
  text-align: center;
  margin-top: 20px;
}

.how-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 18px 36px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 980px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.how-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.how-link:hover::before {
  opacity: 1;
}

.how-link span,
.how-link svg {
  position: relative;
  z-index: 1;
}

.how-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.35);
}

.how-link svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-link:hover svg {
  transform: translateX(6px);
}

/* Mobile */
@media (max-width: 900px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-connector {
    display: none !important;
  }
  
  .how-step-card[data-step="2"],
  .how-step-card[data-step="3"] {
    transition-delay: 0s;
  }
}

/* ========================================
   How It Works Section - Tennr-Style Vertical Layout
   ======================================== */
.hiw-section {
  padding: 0;
  padding-top: 120px;
  background: transparent;
  position: relative;
  /* 3 steps × 100vh so the section stays pinned while you scroll through each */
  /* Extra scroll height so the last step stays pinned longer */
  min-height: 350vh;
}

.hiw-section .hiw-container {
  position: sticky;
  top: calc(50vh - 260px);
  padding-bottom: 60px;
}

.hiw-section::before {
  display: none;
}

/* HIW light-mode text — already light-friendly, but ensure key elements transition */
.is-light .hiw-label { color: #7c3aed; }
.is-light .hiw-title { color: #1a1a2e; }
.is-light .hiw-item-number { color: rgba(124,58,237,0.25); }
.is-light .hiw-item-title { color: #1a1a2e; }
.is-light .hiw-item-description { color: #4a4a6a; }
.is-light .hiw-item-features li { color: #5a5a7a; }

.hiw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hiw-header {
  text-align: center;
  margin-bottom: 80px;
}

.hiw-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7c3aed;
  margin-bottom: 20px;
}

.hiw-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0a0a0a;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hiw-subtitle {
  font-size: 1.1rem;
  color: #0a0a0a;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Two-Column Layout */
.hiw-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  min-height: 520px;
}

/* Left: Accordion */
.hiw-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 480px;
}

.hiw-item {
  border-left: 3px solid #e2e8f0;
  padding: 24px 0 24px 32px;
  transition: border-color 0.4s ease;
  position: relative;
}

.hiw-item::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7c3aed 0%, #a855f7 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.hiw-item.active::before {
  transform: scaleY(1);
}

.hiw-item.active {
  border-left-color: transparent;
}

.hiw-item-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 28px;
  transition: color 0.3s ease;
}

.hiw-item.active .hiw-item-number {
  color: #7c3aed;
}

.hiw-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a0a0a;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.hiw-item.active .hiw-item-title {
  color: #0f172a;
}

.hiw-item-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  padding-left: 44px;
}

.hiw-item.active .hiw-item-content {
  grid-template-rows: 1fr;
}

.hiw-item-content > * {
  overflow: hidden;
}

.hiw-item-content-inner {
  padding-top: 16px;
}

.hiw-item-description {
  font-size: 1rem;
  color: #0a0a0a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hiw-item-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hiw-item-features li {
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Right: Visual Panel */
.hiw-visual-panel {
  position: sticky;
  top: 120px;
  height: 480px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hiw-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hiw-visual.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hiw-visual.leaving {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* Animation Container */
.hiw-animation {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px;
}

/* ========== Animation 1: Verify & Connect ========== */
.hiw-animation-verify {
  gap: 32px;
}

.verify-card {
  width: 140px;
  height: 180px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  animation: cardFloat 3s ease-in-out infinite;
}

.verify-card-2 {
  animation-delay: 0.5s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.verify-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-avatar-inner {
  width: 24px;
  height: 24px;
  background: #94a3b8;
  border-radius: 50%;
}

.verify-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.verify-line {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
}

.verify-line:first-child {
  width: 80%;
}

.verify-line:last-child {
  width: 60%;
}

.verify-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  animation: badgePop 0.6s ease-out 1s both;
}

.verify-badge svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.verify-card-2 .verify-badge {
  animation-delay: 1.5s;
}

@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.verify-connection {
  display: flex;
  align-items: center;
  position: relative;
}

.connection-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e2e8f0, #7c3aed, #e2e8f0);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: lineFlow 2s linear infinite;
}

@keyframes lineFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.connection-pulse {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #7c3aed;
  border-radius: 50%;
  animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

/* ========== Animation 2: Lock & Ship ========== */
.hiw-animation-lock {
  gap: 28px;
}

.lock-vault {
  position: relative;
}

.vault-body {
  width: 100px;
  height: 120px;
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
}

.vault-door {
  width: 60px;
  height: 80px;
  background: linear-gradient(180deg, #a855f7 0%, #7c3aed 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-handle {
  width: 20px;
  height: 20px;
  border: 3px solid #e9d5ff;
  border-radius: 50%;
  animation: handleSpin 4s linear infinite;
}

@keyframes handleSpin {
  0%, 80% { transform: rotate(0deg); }
  90%, 100% { transform: rotate(360deg); }
}

.vault-coins {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.coin {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #c4b5fd 0%, #a855f7 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
  animation: coinDrop 2s ease-in-out infinite;
}

.coin-2 { animation-delay: 0.3s; }
.coin-3 { animation-delay: 0.6s; }

@keyframes coinDrop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-12px); opacity: 0.8; }
}

.lock-arrow {
  color: #cbd5e1;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

.lock-arrow svg {
  width: 32px;
  height: 32px;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(8px); opacity: 1; }
}

.lock-package {
  position: relative;
}

.package-box {
  width: 90px;
  height: 70px;
  background: linear-gradient(180deg, #f3e8ff 0%, #e9d5ff 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(233, 213, 255, 0.5);
  animation: packageBounce 2s ease-in-out infinite;
}

.package-tape {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 12px;
  background: #6d28d9;
  transform: translateY(-50%);
}

.package-tape::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 100%;
  background: #6d28d9;
  height: 70px;
  top: -29px;
}

@keyframes packageBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-1deg); }
  75% { transform: translateY(-4px) rotate(1deg); }
}

.package-motion {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.motion-line {
  width: 16px;
  height: 3px;
  background: #a855f7;
  border-radius: 2px;
  animation: motionFade 0.8s ease-in-out infinite;
}

.motion-line:nth-child(2) { width: 12px; animation-delay: 0.1s; }
.motion-line:nth-child(3) { width: 8px; animation-delay: 0.2s; }

@keyframes motionFade {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-4px); }
}

/* ========== Animation 3: Confirm & Settle ========== */
.hiw-animation-settle {
  gap: 32px;
}

.settle-confirm {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
  animation: confirmPulse 2s ease-in-out infinite;
}

.confirm-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
}

@keyframes confirmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.confirm-ripple {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  animation: rippleExpand 2s ease-out infinite;
}

.confirm-ripple-2 {
  animation-delay: 0.5s;
}

@keyframes rippleExpand {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.settle-flow {
  width: 80px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.flow-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  animation: flowMove 1.5s ease-in-out infinite;
}

@keyframes flowMove {
  0% { left: -40%; }
  100% { left: 100%; }
}

.flow-dot {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #7c3aed;
  border-radius: 50%;
}

.settle-wallet {
  position: relative;
}

.wallet-body {
  width: 140px;
  height: 90px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
}

.wallet-balance {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
}

.balance-currency {
  font-size: 1rem;
  opacity: 0.7;
}

.balance-amount {
  font-size: 1.5rem;
  font-weight: 400;
  font-family: 'SF Mono', 'Fira Code', monospace;
  animation: balanceCount 3s ease-out infinite;
}

@keyframes balanceCount {
  0%, 30% { opacity: 0.5; }
  50%, 100% { opacity: 1; }
}

.wallet-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  animation: walletGlow 3s ease-in-out infinite;
}

@keyframes walletGlow {
  0%, 40% { opacity: 0; }
  50%, 70% { opacity: 0.4; }
  100% { opacity: 0; }
}

/* CTA */
.hiw-cta {
  text-align: center;
  margin-top: 64px;
}

.hiw-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 400;
  color: #7c3aed;
  text-decoration: none;
  padding: 16px 32px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.hiw-cta-link:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.hiw-cta-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hiw-cta-link:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 900px) {
  .hiw-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hiw-visual-panel {
    position: relative;
    top: 0;
    order: -1;
    height: 360px;
  }
  
  .hiw-item {
    padding: 20px 0 20px 24px;
  }
  
  .hiw-item-content {
    padding-left: 36px;
  }
}

@media (max-width: 600px) {
  .hiw-section {
    padding: 100px 0;
  }
  
  .hiw-header {
    margin-bottom: 48px;
  }
  
  .hiw-visual-panel {
    height: 280px;
  }
  
  .hiw-animation {
    transform: scale(0.7);
  }
  
  .hiw-item-title {
    font-size: 1.1rem;
  }
  
  .hiw-item-description {
    font-size: 0.95rem;
  }
}

/* CTA Section — rounded panel like hero, but smaller */
.cta-outer {
  background: #fff;
  padding: 280px 32px 24px;
}

.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0020, #1a0040, #2d1060, #1a0040, #0a0020);
  background-size: 400% 400%;
  animation: ctaGradient 12s ease infinite;
  color: white;
  border-radius: 36px;
  overflow: hidden;
}

@keyframes ctaGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-compact {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 2.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-subtext {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
}

.cta-inline-form {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-email {
  flex: 1;
  max-width: 390px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.cta-email:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

.cta-email::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-submit {
  padding: 20px 40px;
  background: #fff;
  border: none;
  border-radius: var(--radius-lg);
  color: #7c3aed;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cta-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: #fff;
  color: #1a1a2e;
  padding: 180px 0 90px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 150px;
  padding-bottom: 120px;
  margin-bottom: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.7;
  color: #0a0a0a;
  margin-top: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  color: #0a0a0a;
  transition: all 0.2s;
}

.social-link:hover {
  background: #7c3aed;
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1a2e;
  margin-bottom: 24px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-list a {
  font-size: 0.95rem;
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-list a:hover {
  color: #7c3aed;
}

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

.footer-copyright {
  font-size: 0.9rem;
  color: #0a0a0a;
}

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

.footer-legal a {
  font-size: 0.9rem;
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: #7c3aed;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .footer-brand {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-legal {
    gap: 20px;
  }
}

/* ========== VERIFIED SELLERS SECTION ========== */
.sellers-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
  overflow: hidden;
}

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

.sellers-header {
  text-align: center;
  margin-bottom: 48px;
}

.sellers-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.sellers-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.sellers-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.sellers-track-wrapper {
  position: relative;
  margin: 0 -24px;
  padding: 20px 0;
  overflow: hidden;
}

.sellers-track-wrapper::before,
.sellers-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.sellers-track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.sellers-track-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #faf8ff 0%, transparent 100%);
}

.sellers-track {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  width: max-content;
  animation: sellersScroll 40s linear infinite;
}

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

@keyframes sellersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.seller-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.06);
  transition: all 0.3s ease;
}

.seller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.2);
}

.seller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.seller-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.seller-verified-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 400;
  color: #059669;
  background: #d1fae5;
  border-radius: var(--radius-full);
}

.seller-verified-badge svg {
  width: 12px;
  height: 12px;
}

.seller-name {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.seller-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.seller-location svg {
  stroke: var(--text-light);
}

.seller-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.seller-tag {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--purple-700);
  background: var(--purple-50);
  border-radius: var(--radius-full);
}

.seller-stats {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.seller-stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sellers-cta {
  text-align: center;
  margin-top: 48px;
}

.sellers-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.sellers-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.sellers-cta-link svg {
  transition: transform 0.3s ease;
}

.sellers-cta-link:hover svg {
  transform: translateX(4px);
}

/* Sellers Section Responsive */
@media (max-width: 768px) {
  .sellers-section {
    padding: 80px 0;
  }
  
  .seller-card {
    flex: 0 0 280px;
  }
  
  .sellers-track-wrapper::before,
  .sellers-track-wrapper::after {
    width: 40px;
  }
}

/* ========================================
   Mobile Hamburger Menu — Cresta-style fullscreen
   ======================================== */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1200;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: absolute;
}
.nav-hamburger span:nth-child(1) { top: 15px; }
.nav-hamburger span:nth-child(2) { top: 21px; }
.nav-hamburger span:nth-child(3) { top: 27px; }

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile overlay — no longer needed visually but keep for click-to-close */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 1099;
}

@media (max-width: 768px) {
  /*
   * Remove backdrop-filter from nav-inner on mobile so it does NOT
   * create a containing block for position:fixed children.
   */
  .nav-inner {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: inherit;
    border: inherit;
    z-index: -1;
    transition: opacity 0.3s ease;
  }

  /* Hide nav-inner background when menu is open */
  .nav.mobile-menu-open .nav-inner::before {
    opacity: 0;
  }
  /* Keep logo + X button above the fullscreen drawer */
  .nav.mobile-menu-open {
    z-index: 1200;
  }
  .nav.mobile-menu-open .nav-inner {
    background: transparent;
  }
  .nav.mobile-menu-open .nav-logo {
    z-index: 1201;
    position: relative;
  }

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-overlay.open {
    display: block;
  }

  /* ── Full-screen takeover ── */
  .nav-links,
  .nav-actions,
  .nav-right {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 100px 24px 120px;
    gap: 0;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
  }

  .nav-links.open,
  .nav-actions.open,
  .nav-right.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* For pages with nav-right wrapper */
  .nav-right {
    gap: 0;
    justify-content: flex-start;
  }
  .nav-right .nav-actions {
    position: static;
  }
  .nav-right .nav-links,
  .nav-right .nav-actions {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Nav links — large Cresta-style rows */
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 4px;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a2e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 60px;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .nav-links a:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav-links a::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    opacity: 0.5;
  }
  .nav-links a:hover { color: #7c3aed; }

  /* Hide sign-in link, keep CTA as bottom button */
  .nav-link-btn {
    display: none;
  }

  /* CTA — full-width button pinned to bottom */
  .nav-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    min-height: 56px;
    text-align: center;
    border-radius: 14px;
    z-index: 1150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0.05s;
    /* Position it inside the padding area */
    bottom: 32px;
    left: 24px;
    right: 24px;
  }
  .nav-right.open .nav-cta,
  .nav-actions.open .nav-cta {
    opacity: 1;
    pointer-events: auto;
  }

  /* Shrunk state adjustments on mobile */
  .nav.shrunk {
    padding: 6px 12px 0;
  }
  .nav.shrunk .nav-inner {
    padding: 0 16px;
    max-width: 100%;
    border-radius: 0;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  /* Container overflow fix */
  .container {
    width: min(var(--container-width), 100% - 32px);
  }

  /* Hero mobile */
  .hero-outer {
    padding: 72px 16px 16px;
  }
  .hero {
    padding: 80px 24px 60px;
    border-radius: 32px;
  }
  .hero-center {
    padding: 0;
  }
  .hero-morph {
    margin-bottom: 16px;
  }
  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-ctas a, .hero-ctas button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Advantage section — fix clip-path */
  .advantage-section {
    clip-path: inset(0 16px round 24px);
  }
  .advantage-section .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .advantage-copy {
    padding-left: 0;
  }
  .advantage-subtitle {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .advantage-highlights {
    margin-left: 0;
  }

  /* Industries grid */
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .industry-card--large {
    grid-column: auto;
  }
  .industry-card {
    aspect-ratio: 3/2;
  }

  /* Escrow section */
  .escrow-section {
    padding: 80px 0 120px;
  }

  /* Sellers section */
  .sellers-section .section-header .section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .problems-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-card--large {
    grid-column: auto;
  }
  
  .trust-grid,
  .cta-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .trust-content {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .problems-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-track {
    display: none;
  }
  
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .cta-panel {
    padding: 40px 24px;
  }
  
  .trust-metrics {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
