/* ============================================================
   PicaMail Design System - "Playful Shield"
   Fonts: Outfit (display) + DM Sans (body) via Google Fonts
   Direction: Privacy feels fun, not scary
   ============================================================ */

/* --- Tokens --- */
:root {
  /* Primary palette */
  --violet-50: #f3f0ff;
  --violet-100: #ebe5ff;
  --violet-200: #d4c8ff;
  --violet-400: #a78bfa;
  --violet-500: #7c3aed;
  --violet-600: #6d28d9;
  --violet-700: #5b21b6;
  --violet-900: #2e1065;

  /* Cyan palette */
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  /* Accent palette */
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  --emerald-400: #34d399;
  --emerald-500: #10b981;

  --red-400: #f87171;
  --red-500: #ef4444;

  /* Surfaces - dark mode */
  --bg-base: #0c0a1d;
  --bg-elevated: #13112a;
  --bg-card: #1a1736;
  --bg-card-hover: #211e42;
  --bg-input: #16132d;
  --bg-glass: rgba(26, 23, 54, 0.7);

  /* Surfaces - light mode */
  --bg-base-light: #f8f6ff;
  --bg-elevated-light: #ffffff;
  --bg-card-light: #ffffff;
  --bg-card-hover-light: #f3f0ff;
  --bg-input-light: #f0edff;
  --bg-glass-light: rgba(255, 255, 255, 0.75);

  /* Text - dark mode */
  --text-primary: #f4f0ff;
  --text-secondary: #a5a0c8;
  --text-muted: #6b6494;
  --text-on-accent: #ffffff;

  /* Text - light mode */
  --text-primary-light: #1a1736;
  --text-secondary-light: #4b4672;
  --text-muted-light: #7c77a0;

  /* Borders */
  --border-subtle: rgba(165, 160, 200, 0.12);
  --border-default: rgba(165, 160, 200, 0.2);
  --border-accent: rgba(124, 58, 237, 0.4);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--violet-600) 0%, #4338ca 30%, var(--cyan-600) 70%, var(--cyan-500) 100%);
  --gradient-cta: linear-gradient(135deg, var(--violet-500) 0%, var(--pink-500) 100%);
  --gradient-card: linear-gradient(160deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.08) 100%);
  --gradient-text: linear-gradient(135deg, var(--violet-400) 0%, var(--cyan-400) 50%, var(--pink-400) 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 58, 237, 0.06), transparent 40%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow-violet: 0 0 30px rgba(124, 58, 237, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(244, 114, 182, 0.2);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --radius-round: 50%;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Transitions */
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
}

/* --- Dark/Light mode --- */
html, html[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--bg-base);
  --bg-up: var(--bg-elevated);
  --bg-crd: var(--bg-card);
  --bg-crd-h: var(--bg-card-hover);
  --bg-in: var(--bg-input);
  --bg-gl: var(--bg-glass);
  --tx: var(--text-primary);
  --tx2: var(--text-secondary);
  --tx3: var(--text-muted);
  --bd-s: var(--border-subtle);
  --bd: var(--border-default);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: var(--bg-base-light);
  --bg-up: var(--bg-elevated-light);
  --bg-crd: var(--bg-card-light);
  --bg-crd-h: var(--bg-card-hover-light);
  --bg-in: var(--bg-input-light);
  --bg-gl: var(--bg-glass-light);
  --tx: var(--text-primary-light);
  --tx2: var(--text-secondary-light);
  --tx3: var(--text-muted-light);
  --bd-s: rgba(26, 23, 54, 0.06);
  --bd: rgba(26, 23, 54, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--tx);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--tx);
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }

p { max-width: 68ch; }

a {
  color: var(--cyan-400);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}
a:hover { color: var(--cyan-300); }

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

ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.25);
  border: 4px solid transparent;
  border-radius: 100px;
  background-clip: padding-box;
  min-height: 40px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.4); background-clip: padding-box; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--violet-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--text-primary);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: var(--space-3xl) 0; }
}

/* --- Grain/Noise Texture --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

html[data-theme="light"] body::before {
  opacity: 0.015;
}

/* --- Floating Blobs (background decoration) --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob--violet {
  background: var(--violet-500);
  width: 400px;
  height: 400px;
}

.blob--cyan {
  background: var(--cyan-500);
  width: 350px;
  height: 350px;
  animation-delay: -7s;
  animation-direction: reverse;
}

.blob--pink {
  background: var(--pink-400);
  width: 250px;
  height: 250px;
  animation-delay: -14s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 35px) scale(1.05); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: background var(--duration-base) var(--ease-smooth),
              backdrop-filter var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
}

.nav.scrolled {
  background: var(--bg-gl);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 var(--bd-s);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--tx);
  text-decoration: none;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  box-shadow: var(--shadow-glow-violet);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  color: var(--tx2);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.nav__link:hover { color: var(--tx); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--tx);
  cursor: pointer;
  padding: var(--space-sm);
  font-size: 24px;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-up);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--bd-s);
    gap: var(--space-md);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-back);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--gradient-cta);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-glow-violet), var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-glow-violet), var(--shadow-lg);
}

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

.btn--secondary {
  background: var(--bg-crd);
  color: var(--tx);
  border: 1px solid var(--bd);
}

.btn--secondary:hover {
  background: var(--bg-crd-h);
  border-color: var(--violet-400);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--tx2);
  padding: 8px 16px;
}

.btn--ghost:hover { color: var(--tx); }

.btn--lg {
  padding: 16px 36px;
  font-size: var(--text-base);
  border-radius: var(--radius-pill);
}

.btn--sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

/* --- Theme toggle --- */
.theme-toggle {
  background: none;
  border: 1px solid var(--bd);
  border-radius: var(--radius-round);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tx2);
  transition: all var(--duration-base) var(--ease-smooth);
  font-size: 18px;
}

.theme-toggle:hover {
  color: var(--tx);
  border-color: var(--violet-400);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-base);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--bg-crd);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--tx2);
  margin-bottom: var(--space-xl);
  animation: fadeSlideUp 0.6s var(--ease-out-back) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.6s var(--ease-out-back) 0.1s both;
}

.hero__title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  color: var(--tx2);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeSlideUp 0.6s var(--ease-out-back) 0.2s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s var(--ease-out-back) 0.3s both;
}

/* --- Alias Demo (Hero interactive) --- */
.alias-demo {
  margin-top: var(--space-3xl);
  animation: fadeSlideUp 0.8s var(--ease-out-back) 0.5s both;
}

.alias-demo__card {
  background: var(--bg-crd);
  border: 1px solid var(--bd);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.alias-demo__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
}

.alias-demo__label {
  font-size: var(--text-sm);
  color: var(--tx3);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.alias-demo__input-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-in);
  border: 2px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 4px;
  transition: border-color var(--duration-base) var(--ease-smooth);
}

.alias-demo__input-row:focus-within {
  border-color: var(--violet-500);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.alias-demo__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-lg);
  color: var(--tx);
  outline: none;
  min-width: 0;
}

.alias-demo__input::placeholder { color: var(--tx3); }

.alias-demo__domain {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  color: var(--tx3);
  padding-right: var(--space-md);
  white-space: nowrap;
  font-size: var(--text-base);
}

.alias-demo__result {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-slow) var(--ease-out-back);
}

.alias-demo__result.visible {
  opacity: 1;
  transform: translateY(0);
}

.alias-demo__result-email {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--violet-400);
}

.alias-demo__copy-btn {
  background: var(--violet-500);
  border: none;
  color: white;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.alias-demo__copy-btn:hover {
  background: var(--violet-600);
  transform: scale(1.05);
}

.alias-demo__copy-btn.copied {
  background: var(--emerald-500);
}

/* --- How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.step {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
  border: 1px solid var(--bd-s);
  transition: all var(--duration-base) var(--ease-out-back);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bd);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: var(--text-xl);
  color: white;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow-violet);
}

.step__icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
  display: block;
}

.step__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.step__desc {
  color: var(--tx2);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Connector arrows between steps */
.step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 20px;
  height: 2px;
  background: var(--bd);
  transform: translateY(-50%);
}

.step:last-child::after { display: none; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-lg); }
  .step::after { display: none; }
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--bg-crd);
  border: 1px solid var(--bd-s);
  border-radius: var(--radius-xl);
  transition: all var(--duration-base) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--bd);
  background: var(--bg-crd-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.feature-card__icon--violet { background: rgba(124, 58, 237, 0.12); }
.feature-card__icon--cyan { background: rgba(6, 182, 212, 0.12); }
.feature-card__icon--pink { background: rgba(244, 114, 182, 0.12); }
.feature-card__icon--amber { background: rgba(245, 158, 11, 0.12); }
.feature-card__icon--emerald { background: rgba(16, 185, 129, 0.12); }

.feature-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  color: var(--tx2);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  align-items: start;
}

.pricing-card {
  background: var(--bg-crd);
  border: 1px solid var(--bd-s);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--duration-base) var(--ease-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--violet-500);
  box-shadow: var(--shadow-glow-violet);
  background: var(--gradient-card);
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--gradient-cta);
  color: white;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.pricing-card__name {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.pricing-card__desc {
  color: var(--tx2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.pricing-card__amount {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--tx);
}

.pricing-card__period {
  color: var(--tx3);
  font-size: var(--text-sm);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--tx2);
}

.pricing-card__check {
  color: var(--emerald-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card__x {
  color: var(--tx3);
  opacity: 0.4;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn { width: 100%; }

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: var(--space-3xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-crd);
  border: 1px solid var(--bd-s);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base);
}

.faq-item.open {
  border-color: var(--violet-500);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--tx);
  transition: color var(--duration-fast);
}

.faq-item__question:hover { color: var(--violet-400); }

.faq-item__icon {
  font-size: 20px;
  transition: transform var(--duration-base) var(--ease-out-back);
  flex-shrink: 0;
  color: var(--tx3);
}

.faq-item.open .faq-item__icon { transform: rotate(45deg); color: var(--violet-400); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-smooth),
              padding var(--duration-slow) var(--ease-smooth);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--tx2);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* --- Trust / Security --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.trust-item {
  text-align: center;
  padding: var(--space-xl);
}

.trust-item__icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.trust-item__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.trust-item__desc {
  color: var(--tx2);
  font-size: var(--text-sm);
  line-height: 1.7;
}

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

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.cta-banner h2,
.cta-banner p { color: white; position: relative; }
.cta-banner p { opacity: 0.85; }

.cta-banner .btn { position: relative; }

/* --- Footer --- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--bd-s);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-desc {
  color: var(--tx2);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer__heading {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tx3);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--tx2);
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--tx); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--bd-s);
  font-size: var(--text-sm);
  color: var(--tx3);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}

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

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-400);
  margin-bottom: var(--space-md);
}

.section-header h2 { margin-bottom: var(--space-md); }

.section-header p {
  color: var(--tx2);
  font-size: var(--text-lg);
  margin: 0 auto;
}

/* --- Animations --- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Scroll reveal (JS-triggered) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-smooth),
              transform var(--duration-slower) var(--ease-out-back);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Email Capture Form --- */
.email-capture {
  display: flex;
  gap: var(--space-sm);
  max-width: 460px;
  margin: 0 auto;
}

.email-capture__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-in);
  border: 2px solid var(--bd);
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  color: var(--tx);
  outline: none;
  transition: border-color var(--duration-base);
}

.email-capture__input::placeholder { color: var(--tx3); }
.email-capture__input:focus { border-color: var(--violet-500); }

.email-capture__status {
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  min-height: 24px;
}

.email-capture__status--success { color: var(--emerald-400); }
.email-capture__status--error { color: var(--red-400); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Print --- */
@media print {
  body::before, .blob, .nav { display: none; }
  .section { padding: 2rem 0; }
  body { color: #000; background: #fff; }
}
