/* ================================================================
   MYROPAY MARKETING SITE — DESIGN SYSTEM v1.1
   Aesthetic: Refined light-mode financial tech — Purple theme
   Fonts: Bricolage Grotesque (display) + DM Sans (body) + DM Mono
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ──────────────────────────────────────────────── */
:root {
  /* Brand — Purple palette */
  --brand:       #7C3AED;
  --brand-light: #A78BFA;
  --brand-mid:   #6D28D9;
  --brand-dark:  #5B21B6;
  --brand-pale:  #F3E8FF;
  --indigo:      #8B5CF6;
  --violet:      #A78BFA;
  --teal:        #C4B5FD;
  --green:       #10B981;
  --orange:      #F59E0B;
  --red:         #EF4444;
  --purple:      #8B5CF6;

  /* Neutrals */
  --white:  #FFFFFF;
  --gray-0: #F9FAFB;
  --gray-1: #F3F4F6;
  --gray-2: #E5E7EB;
  --gray-3: #D1D5DB;
  --gray-4: #9CA3AF;
  --gray-5: #6B7280;
  --gray-6: #4B5563;
  --gray-7: #374151;
  --gray-8: #1F2937;
  --gray-9: #0F0A1A;
  --black:  #030712;

  /* Surfaces */
  --bg:       #FAFAFF;
  --bg-card:  #FFFFFF;
  --bg-soft:  #F5F0FF;
  --bg-muted: #F8F7FC;

  /* Borders */
  --border:   #E8E0F0;
  --border-s: rgba(124, 58, 237, 0.12);

  /* Shadows — purple-tinted */
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(124,58,237,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(124,58,237,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(124,58,237,.14), 0 4px 12px rgba(0,0,0,.07);
  --shadow-xl: 0 20px 60px rgba(124,58,237,.16), 0 8px 24px rgba(0,0,0,.08);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing scale */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --r-xl: 18px; --r-2xl: 24px; --r-3xl: 32px; --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t1: 0.12s; --t2: 0.22s; --t3: 0.38s;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--gray-8);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; transition: color var(--t1); }
a:hover { color: var(--brand-mid); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Animated Grid Background ────────────────────────────────── */
.bg-grid {
  position: relative;
  overflow: hidden;
}
.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
          linear-gradient(rgba(124,58,237,.04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(124,58,237,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Animated flowing wave lines ──────────────────────────────── */
.animated-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.animated-lines svg {
  position: absolute;
  width: 100%; height: 100%;
}

/* line-path: full-width wavy strokes that draw in then oscillate */
.line-path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  opacity: 0;
  /* dasharray must exceed the longest path — ~1400px for 1200-wide viewBox */
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation:
          drawLine 5s var(--ease-out) forwards,
          lineWave 9s ease-in-out infinite;
}
.line-path:nth-child(1) { opacity: 0.08; animation-delay: 0.2s,  0s;     }
.line-path:nth-child(2) { opacity: 0.05; animation-delay: 0.7s,  -2.25s; }
.line-path:nth-child(3) { opacity: 0.07; animation-delay: 1.2s,  -4.5s;  }
.line-path:nth-child(4) { opacity: 0.04; animation-delay: 1.7s,  -6.75s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; opacity: inherit; }
}
@keyframes lineWave {
  0%, 100% { transform: translateY(0)    scaleY(1);    }
  20%       { transform: translateY(-12px) scaleY(1.02); }
  40%       { transform: translateY(7px)  scaleY(0.98); }
  60%       { transform: translateY(-9px) scaleY(1.01); }
  80%       { transform: translateY(5px)  scaleY(0.99); }
}

/* Light-background variant — white strokes for use on dark/gradient sections */
.animated-lines-light .line-path {
  stroke: rgba(255,255,255,0.5);
}

/* Wavy CSS-only decorative line */
.wavy-line {
  --s: 44px;
  --b: 16px;
  --m: 0.4;
  background: var(--brand);
  --R: calc(var(--s)*sqrt(var(--m)*var(--m) + 1) + var(--b)/2);
  height: calc(2*var(--R));
  width: 100%;
  --_g: #0000 calc(99% - var(--b)), #000 calc(101% - var(--b)) 99%, #0000 101%;
  mask:
          radial-gradient(var(--R) at left 50% bottom calc(-1*var(--m)*var(--s)), var(--_g))
          calc(50% - 2*var(--s)) calc(50% - var(--s)/2 - var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x,
          radial-gradient(var(--R) at left 50% top    calc(-1*var(--m)*var(--s)), var(--_g))
          50% calc(50% + var(--s)/2 + var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x;
}

/* Glowing orbs — purple tones */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(124,58,237,.10); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,.08); bottom: -80px; left: -80px;  animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(167,139,250,.06); top: 40%; left: 50%;         animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.05); }
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,250,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t2), background var(--t2);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--space-6); height: 64px; gap: var(--space-8);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--gray-9);
  flex-shrink: 0;
}
.nav-logo span { color: var(--brand); }
.nav-logo sup {
  font-size: 8px; font-weight: 700;
  background: var(--brand); color: white;
  padding: 1px 4px; border-radius: 4px;
  letter-spacing: .04em; vertical-align: top;
  margin-top: 6px; margin-left: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-1); flex: 1;
}
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--gray-6);
  padding: 6px 12px; border-radius: var(--r-md);
  transition: all var(--t1); white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.nav-link:hover { color: var(--gray-9); background: var(--bg-soft); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: var(--space-2);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; animation: menuIn .15s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-dropdown-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: var(--r-lg);
  font-size: 13px; font-weight: 500; color: var(--gray-7);
  transition: all var(--t1);
}
.nav-dropdown-item:hover { background: var(--bg-soft); color: var(--brand); }
.nav-dropdown-item .icon {
  width: 32px; height: 32px; border-radius: var(--r-md);
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.nav-mobile-toggle {
  display: none; padding: 8px; border-radius: var(--r-md);
  color: var(--gray-6); cursor: pointer;
}

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; inset: 0; top: 64px;
  background: var(--white); z-index: 999;
  padding: var(--space-6); overflow-y: auto;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: block; animation: slideDown .2s var(--ease-out); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.nav-mobile-link {
  display: block; padding: var(--space-4); border-radius: var(--r-lg);
  font-size: 15px; font-weight: 600; color: var(--gray-7);
  border-bottom: 1px solid var(--gray-1);
}
.nav-mobile-link:hover { background: var(--bg-soft); color: var(--brand); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2); padding: 11px 22px;
  border-radius: var(--r-lg); font-family: var(--font-body);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all var(--t2) var(--ease); white-space: nowrap;
  letter-spacing: -0.01em; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--brand); color: white;
  box-shadow: 0 2px 12px rgba(124,58,237,.35), 0 1px 3px rgba(0,0,0,.1);
}
.btn-primary:hover {
  background: var(--brand-mid);
  box-shadow: 0 4px 20px rgba(124,58,237,.45), 0 2px 6px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white); color: var(--gray-8);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--brand); padding: 9px 16px; }
.btn-ghost:hover { background: var(--brand-pale); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--r-xl); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--r-md); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--r-lg); }
.btn-white {
  background: white; color: var(--brand); box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--brand-pale); box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* ── Layout ──────────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-sm { max-width: 860px;  margin: 0 auto; padding: 0 var(--space-6); }
.section    { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: 120px 0; }

/* ── Semantic layout grids ───────────────────────────────────── */
/* Hero: text + visual */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Generic two-column section layout */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Stats bar: 4 equal cells separated by 2px gaps */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.stats-bar-item {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
}

/* 2×2 cert/badge grid */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Footer columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

/* ── Typography ──────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.08; color: var(--gray-9);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; color: var(--gray-9);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; color: var(--gray-9);
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2; color: var(--gray-9);
}
.text-lead { font-size: clamp(16px, 2vw, 20px); color: var(--gray-5); line-height: 1.65; }
.text-body { font-size: 15px; color: var(--gray-6); line-height: 1.7; }
.text-sm { font-size: 13px; color: var(--gray-5); }
.text-xs { font-size: 12px; color: var(--gray-4); }
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-mono { font-family: var(--font-mono); }

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--indigo) 50%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 60%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section labels ──────────────────────────────────────────── */
.label {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand);
  background: var(--brand-pale); padding: 5px 12px;
  border-radius: var(--r-full); margin-bottom: var(--space-5);
  border: 1px solid rgba(124,58,237,.14);
}
.label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-sm);
  transition: all var(--t2) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-p    { padding: var(--space-8); }
.card-p-sm { padding: var(--space-6); }
.card-bordered { border: 1.5px solid var(--border); }
.card-feature {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: var(--space-8);
  box-shadow: var(--shadow-sm); transition: all var(--t3) var(--ease);
  position: relative; overflow: hidden;
}
.card-feature::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,58,237,.04), transparent 60%);
  opacity: 0; transition: opacity var(--t2);
}
.card-feature:hover::before { opacity: 1; }
.card-feature:hover { border-color: var(--brand-pale); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-gradient { background: linear-gradient(135deg, var(--brand) 0%, var(--indigo) 100%); color: white; border: none; }
.card-glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.8);
}

/* ── Feature icons ───────────────────────────────────────────── */
.feat-icon {
  width: 52px; height: 52px; border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: var(--space-5); flex-shrink: 0;
}
.feat-icon-blue   { background: linear-gradient(135deg, #F3E8FF, #EDE9FE); }
.feat-icon-indigo { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); }
.feat-icon-teal   { background: linear-gradient(135deg, #FAF5FF, #F3E8FF); }
.feat-icon-green  { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.feat-icon-orange { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.feat-icon-purple { background: linear-gradient(135deg, #FAF5FF, #F3E8FF); }
.feat-icon-red    { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); }
.feat-icon-lg { width: 64px; height: 64px; font-size: 28px; }

/* ── Grids ───────────────────────────────────────────────────── */
.grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-5); }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: var(--space-10); align-items: center; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-10); align-items: center; }

/* ── Badges / Chips ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-full);
}
.badge-blue   { background: var(--brand-pale); color: var(--brand); }
.badge-green  { background: #F0FDF4; color: #059669; }
.badge-orange { background: #FFFBEB; color: #D97706; }
.badge-red    { background: #FFF1F2; color: #DC2626; }
.badge-gray   { background: var(--gray-1); color: var(--gray-6); }

/* ── Dividers ────────────────────────────────────────────────── */
.divider      { height: 1px; background: var(--border); }
.divider-soft { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ── Stats ───────────────────────────────────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--gray-9); line-height: 1;
}
.stat-label { font-size: 14px; color: var(--gray-5); margin-top: var(--space-2); font-weight: 500; }

/* ── Testimonials / Quotes ───────────────────────────────────── */
.quote-mark {
  font-size: 48px; line-height: 1;
  color: var(--brand-pale); font-family: Georgia, serif;
  margin-bottom: var(--space-2);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--space-6) 0; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 16px; font-weight: 600;
  color: var(--gray-8); gap: var(--space-4); transition: color var(--t1);
}
.faq-question:hover { color: var(--brand); }
.faq-icon {
  width: 24px; height: 24px; border-radius: var(--r-md);
  background: var(--bg-soft); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  transition: all var(--t2) var(--ease-spring); font-size: 14px;
}
.faq-item.open .faq-icon { background: var(--brand); color: white; transform: rotate(45deg); }
.faq-answer {
  display: none; padding-top: var(--space-4);
  font-size: 15px; color: var(--gray-6); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; animation: fadeSlide .2s var(--ease-out); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } }

/* ── Pricing ─────────────────────────────────────────────────── */
.price-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-2xl); padding: var(--space-10);
  position: relative; overflow: hidden;
  transition: all var(--t3) var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,58,237,.08), var(--shadow-md);
}
.price-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--brand), var(--indigo));
}
.price-amount {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800; letter-spacing: -0.05em;
  color: var(--gray-9); line-height: 1;
}
.price-period { font-size: 16px; font-weight: 400; color: var(--gray-4); margin-left: 4px; }
.price-feature {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: 14px; color: var(--gray-6); padding: 6px 0;
}
.price-feature .check { color: var(--green); flex-shrink: 0; margin-top: 2px; font-size: 16px; }
.price-feature .cross { color: var(--gray-3); flex-shrink: 0; margin-top: 2px; font-size: 16px; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group   { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.form-label   { font-size: 13px; font-weight: 600; color: var(--gray-7); }
.form-input {
  width: 100%; padding: 11px 16px; border-radius: var(--r-lg);
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--gray-8); font-family: var(--font-body); font-size: 14px;
  transition: all var(--t1); outline: none;
}
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.form-input::placeholder { color: var(--gray-4); }
.form-textarea { min-height: 120px; resize: vertical; padding-top: 12px; }
.form-select   { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form-error    { font-size: 12px; color: var(--red); margin-top: 4px; }
.form-hint     { font-size: 12px; color: var(--gray-4); margin-top: 4px; }

/* ── Table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  background: var(--bg-muted); padding: 12px 18px;
  text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--gray-5); border-bottom: 1px solid var(--border);
}
.table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--gray-7); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-muted); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--gray-9); color: var(--gray-3); padding: var(--space-20) 0 var(--space-10); }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: white; letter-spacing: -0.04em; }
.footer-logo span { color: var(--brand-light); }
.footer-tagline { font-size: 13px; color: var(--gray-5); margin-top: var(--space-3); max-width: 240px; line-height: 1.5; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-4); margin-bottom: var(--space-5); }
.footer-link { display: block; font-size: 14px; color: var(--gray-4); padding: 4px 0; transition: color var(--t1); }
.footer-link:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-8); margin-top: var(--space-10);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
  font-size: 13px; color: var(--gray-6);
}
.footer-badges { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 3px 8px; border-radius: 4px;
  background: rgba(255,255,255,.06); color: var(--gray-5); border: 1px solid rgba(255,255,255,.08);
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-5); transition: all var(--t1); font-size: 15px;
  text-decoration: none;
}
.footer-social-btn:hover { background: var(--brand); color: white; border-color: transparent; }

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: var(--space-5); left: var(--space-5); right: var(--space-5);
  max-width: 480px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-xl);
  padding: var(--space-6); z-index: 9999;
  animation: cookieIn .4s var(--ease-spring);
}
.cookie-banner.hidden { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
.cookie-title { font-size: 15px; font-weight: 700; color: var(--gray-9); margin-bottom: var(--space-2); display: flex; align-items: center; gap: var(--space-2); }
.cookie-text  { font-size: 13px; color: var(--gray-5); line-height: 1.55; margin-bottom: var(--space-5); }
.cookie-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.cookie-manage { font-size: 12px; color: var(--gray-4); margin-top: var(--space-3); text-align: center; cursor: pointer; }
.cookie-manage:hover { color: var(--brand); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding: 120px 0 var(--space-20); position: relative; overflow: hidden; }
.hero-eyebrow  { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-ctas     { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; margin-top: var(--space-8); }
.hero-trust    { display: flex; align-items: center; gap: var(--space-6); margin-top: var(--space-8); flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--gray-5); font-weight: 500; }
.hero-trust-item svg { color: var(--green); }

/* Hero phone mockup */
.hero-mockup {
  background: var(--white); border-radius: 28px;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
  overflow: hidden; position: relative;
}
.mockup-topbar {
  background: var(--bg-muted); padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-url {
  flex: 1; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 4px 12px;
  font-size: 11px; font-family: var(--font-mono); color: var(--gray-5);
  text-align: center;
}

/* Phone mockup (hero) */
.phone-mockup {
  width: 260px; height: 520px;
  background: white; border-radius: 40px;
  box-shadow:
          0 30px 80px rgba(124,58,237,.18),
          0 0 0 8px rgba(255,255,255,.8),
          0 0 0 9px var(--border);
  overflow: hidden; position: relative; flex-shrink: 0;
}

/* Float cards around phone */
.float-card {
  position: absolute;
  background: white; border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  white-space: nowrap; font-size: 12px; font-weight: 700;
  color: var(--gray-8); display: flex; align-items: center; gap: 8px;
}

/* ── Steps ───────────────────────────────────────────────────── */
.step-number {
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--brand); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
  font-family: var(--font-display);
}
.step-connector {
  width: 2px; height: 40px;
  background: linear-gradient(var(--brand-pale), transparent);
  margin: 4px 0 4px 19px;
}

/* ── Animations ──────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 13px; color: var(--gray-4); margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-5); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--gray-3); font-size: 12px; }

/* ── Page header ─────────────────────────────────────────────── */
.page-hero {
  padding: 100px 0 var(--space-16);
  background: linear-gradient(160deg, var(--bg), var(--bg-soft));
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-label { margin-bottom: var(--space-4); }

/* ── Scroll indicator ────────────────────────────────────────── */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; font-size: 11px; color: var(--gray-4); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}
.scroll-indicator svg { color: var(--gray-3); }
@keyframes bounceDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-card { cursor: pointer; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; height: 220px; }
.blog-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease); background: var(--bg-soft);
}
.blog-card-body { padding: var(--space-6); }
.blog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.blog-meta { font-size: 12px; color: var(--gray-4); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════ */

/* ── 1024px — tablet landscape ───────────────────────────────── */
@media (max-width: 1024px) {
  /* Named layout grids narrow their gap */
  .hero-grid      { gap: 48px; }
  .two-col-section { gap: 48px; }

  /* Legacy utility grids */
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .grid-3   { grid-template-columns: repeat(2, 1fr); }
  .grid-2-3, .grid-3-2 { grid-template-columns: 1fr; }

  /* Footer: collapse last two columns */
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ── 768px — tablet portrait / large phone ───────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-actions { gap: var(--space-2); }

  /* Layout grids → single column */
  .hero-grid       { grid-template-columns: 1fr; gap: 40px; }
  .two-col-section { grid-template-columns: 1fr; gap: 40px; }

  /* Reverse order on mobile so the visual is above the text */
  .hero-grid > *:last-child  { order: -1; }

  /* Stats: 2 columns */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item { padding: 28px 20px; }

  /* Feature grid */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  /* Phone mockup: slightly smaller */
  .phone-mockup {
    width: 220px; height: 440px;
    border-radius: 32px;
  }

  /* Float cards: hide on small viewports to prevent overflow */
  .float-card { display: none; }

  /* Section spacing */
  .section    { padding: var(--space-16) 0; }
  .section-lg { padding: var(--space-20) 0; }
  .hero       { padding: 100px 0 var(--space-16); }

  /* Pricing */
  .price-card { padding: var(--space-8); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Cookie banner: full-width from bottom */
  .cookie-banner {
    bottom: 0; left: 0; right: 0;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    max-width: 100%;
  }
}

/* ── 480px — small phones ────────────────────────────────────── */
@media (max-width: 480px) {
  /* Grids → full single column */
  .grid-4  { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; }

  /* Certs/badges: keep 2-col (they're small) */
  .certs-grid { grid-template-columns: 1fr 1fr; }

  /* CTA buttons stack */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  /* Section sections tighten up */
  .hero { padding: 90px 0 var(--space-12); }
}

/* ── Utilities ───────────────────────────────────────────────── */
.relative  { position: relative; }
.z-1       { z-index: 1; }
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.mt-4   { margin-top: var(--space-4); }
.mt-6   { margin-top: var(--space-6); }
.mt-8   { margin-top: var(--space-8); }
.mb-6   { margin-bottom: var(--space-6); }
.mb-8   { margin-bottom: var(--space-8); }
.w-full { width: 100%; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.rounded-full    { border-radius: var(--r-full); }
.hidden { display: none; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }