/* ============================================
   Speech Bubble Subtitles — Cinematic Depth
   Premium dark UI with living comic atmosphere
   ============================================ */

/* --- Fonts loaded via <link> in HTML for performance --- */

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

:root {
  /* Palette — deep void with semi-transparent layers */
  --void: #050508;
  --surface: rgba(12, 13, 18, 0.88);
  --card: rgba(18, 19, 26, 0.75);
  --card-hover: rgba(24, 26, 36, 0.82);
  --card-glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(74, 222, 128, 0.12);

  --text: #f0eef8;
  --text-secondary: #c4c2d0;
  --text-dim: #8b8a96;
  --text-muted: #5a5966;

  --mint: #4ade80;
  --mint-deep: #22c55e;
  --mint-glow: rgba(74, 222, 128, 0.12);
  --mint-glow-strong: rgba(74, 222, 128, 0.25);
  --teal: #2dd4bf;
  --warm: #fbbf24;

  /* Typography */
  --font-display: 'Bangers', cursive;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --max-w: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
}

a { color: var(--mint); text-decoration: none; transition: color 0.25s var(--ease-smooth); }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }

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

/* ============================
   GLOBAL FLOATING EMOJIS
   ============================ */
.floating-bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.floating-bubbles .fb {
  position: absolute;
  line-height: 1;
  opacity: 0;
  will-change: transform, opacity;
  animation: fb-rise linear forwards;
  filter: blur(0.3px);
}

@keyframes fb-rise {
  0%   { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg) scale(0.8); }
  6%   { opacity: var(--fb-peak); transform: scale(1); }
  40%  { opacity: var(--fb-peak); transform: translateY(calc(var(--fb-travel) * 0.4)) translateX(var(--fb-drift)) rotate(var(--fb-rot)); }
  70%  { opacity: calc(var(--fb-peak) * 0.45); }
  100% { opacity: 0; transform: translateY(var(--fb-travel)) translateX(calc(var(--fb-drift) * -0.6)) rotate(calc(var(--fb-rot) * -1)) scale(0.6); }
}

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease-smooth), border-color 0.4s;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.8px;
  transition: color 0.25s;
}
.nav-brand:hover { text-decoration: none; color: var(--mint); }
.nav-brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px var(--mint-glow));
  transition: filter 0.3s;
}
.nav-brand:hover img { filter: drop-shadow(0 0 16px var(--mint-glow-strong)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }

.nav-cta {
  background: var(--mint-deep) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-xs);
  transition: transform 0.2s var(--ease-out), box-shadow 0.3s !important;
  box-shadow: 0 0 24px var(--mint-glow);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px var(--mint-glow-strong);
  background: var(--mint) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.05); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 0 80px;
  overflow: hidden;
}

/* Primary radial glow */
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(74, 222, 128, 0.08) 0%, rgba(45, 212, 191, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Halftone dots — comic book texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: radial-gradient(circle, var(--text) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}

.hero .container { position: relative; z-index: 1; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.15);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

/* Hero heading */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  text-shadow: 0 0 80px rgba(74, 222, 128, 0.1);
}

.hero h1 .accent {
  color: var(--mint);
  position: relative;
  display: inline-block;
}

/* Animated underline on accent text */
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
  border-radius: 2px;
  opacity: 0.4;
  animation: shimmer-line 3s ease-in-out infinite;
}

@keyframes shimmer-line {
  0%, 100% { opacity: 0.4; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.02); }
}

.hero .subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Floating speech bubble shapes */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bubble {
  position: absolute;
  border: 1.5px solid rgba(74, 222, 128, 0.06);
  border-radius: 20px 20px 20px 4px;
  background: rgba(74, 222, 128, 0.015);
  animation: float-bubble 22s ease-in-out infinite;
}

.hero-bubble:nth-child(1) { width: 90px; height: 55px; top: 18%; left: 6%; animation-delay: 0s; }
.hero-bubble:nth-child(2) { width: 130px; height: 75px; top: 22%; right: 4%; animation-delay: -6s; border-radius: 20px 20px 4px 20px; }
.hero-bubble:nth-child(3) { width: 70px; height: 45px; bottom: 22%; left: 10%; animation-delay: -11s; }
.hero-bubble:nth-child(4) { width: 110px; height: 65px; bottom: 32%; right: 8%; animation-delay: -16s; border-radius: 20px 20px 4px 20px; }
.hero-bubble:nth-child(5) { width: 55px; height: 38px; top: 58%; left: 2%; animation-delay: -8s; }

@keyframes float-bubble {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  25% { transform: translateY(-18px) rotate(1.5deg); }
  50% { transform: translateY(-6px) rotate(-1deg); opacity: 0.5; }
  75% { transform: translateY(-22px) rotate(1deg); }
}

/* Hero demo area */
.hero-demo {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: var(--card);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 24px 80px -20px rgba(0,0,0,0.6),
    0 0 120px -40px var(--mint-glow);
}

/* Top bar with fake window controls */
.hero-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  z-index: 5;
  background-image:
    radial-gradient(circle at 20px 18px, rgba(255, 95, 86, 0.7) 5px, transparent 5px),
    radial-gradient(circle at 40px 18px, rgba(255, 189, 46, 0.7) 5px, transparent 5px),
    radial-gradient(circle at 60px 18px, rgba(39, 201, 63, 0.7) 5px, transparent 5px);
}

.hero-demo-inner {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
  background:
    linear-gradient(160deg, rgba(18, 19, 26, 0.9) 0%, rgba(12, 13, 18, 0.95) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(74, 222, 128, 0.04), transparent 60%);
  overflow: hidden;
}

/* Demo speech bubbles */
.demo-bubble {
  position: absolute;
  background: rgba(255,255,255,0.93);
  color: #111;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  animation: demo-pop 4.5s ease-in-out infinite;
  line-height: 1.4;
}

.demo-bubble:nth-child(1) { top: calc(25% + 36px); left: 15%; animation-delay: 0s; }
.demo-bubble:nth-child(2) { top: calc(45% + 36px); right: 12%; border-radius: 14px 14px 3px 14px; animation-delay: 1.5s; }
.demo-bubble:nth-child(3) { bottom: 18%; left: 30%; animation-delay: 3s; }

.demo-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 6px;
  width: 0;
  height: 0;
  border-left: 7px solid rgba(255,255,255,0.93);
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(255,255,255,0.93);
  border-bottom: 7px solid transparent;
}

.demo-bubble:nth-child(2)::after {
  left: auto;
  right: 6px;
  border-left: 7px solid transparent;
  border-right: 7px solid rgba(255,255,255,0.93);
}

@keyframes demo-pop {
  0%, 100% { transform: scale(0.88) translateY(6px); opacity: 0; }
  12%, 78% { transform: scale(1) translateY(0); opacity: 1; }
  88% { transform: scale(0.94) translateY(3px); opacity: 0.4; }
}

.demo-label {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.demo-face {
  width: 46px;
  height: 56px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: absolute;
}
.demo-face:nth-child(4) { top: calc(38% + 36px); left: 20%; }
.demo-face:nth-child(5) { top: calc(52% + 36px); right: 18%; }
.demo-face:nth-child(6) { bottom: 24%; left: 38%; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  letter-spacing: 0.2px;
}
.btn:hover { text-decoration: none; }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--mint-deep), var(--mint));
  color: #000;
  font-weight: 700;
  box-shadow:
    0 4px 20px var(--mint-glow),
    0 0 0 1px rgba(74, 222, 128, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 40px var(--mint-glow-strong),
    0 0 0 1px rgba(74, 222, 128, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #000;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
  color: var(--text);
}

/* ============================
   SECTIONS
   ============================ */
section { padding: 100px 0; position: relative; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================
   FEATURES
   ============================ */
#features { background: var(--surface); }

#features::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: radial-gradient(circle, var(--text) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Top accent line */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
  opacity: 0;
  transition: opacity 0.3s;
}

/* Subtle glow on hover */
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--mint-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.5);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 0.3; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(74, 222, 128, 0.12);
  color: var(--mint);
  transition: background 0.3s, border-color 0.3s;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card:hover .feature-icon {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.25);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.1px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================
   HOW IT WORKS
   ============================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--mint));
  opacity: 0.15;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid rgba(74, 222, 128, 0.3);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 36px var(--mint-glow);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.step:hover .step-number {
  border-color: var(--mint);
  box-shadow: 0 0 48px var(--mint-glow-strong);
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================
   PRIVACY CALLOUT
   ============================ */
.privacy-callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.privacy-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--teal));
}

/* Shield icon area */
.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint-glow);
  border: 1px solid rgba(74, 222, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--mint);
}
.privacy-icon svg { width: 26px; height: 26px; }

.privacy-callout h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.privacy-callout p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ============================
   PRICING
   ============================ */
#pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-3px); }

.pricing-card.featured {
  border-color: rgba(74, 222, 128, 0.3);
  position: relative;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.03), var(--card) 50%);
  box-shadow: 0 0 60px -20px var(--mint-glow);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--mint-deep), var(--mint));
  color: #000;
  padding: 5px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--mint-glow);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -1px;
}
.pricing-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.83rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 7px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.1);
  border: 1.5px solid var(--mint);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234ade80'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-features li.excluded {
  color: var(--text-muted);
  opacity: 0.45;
}
.pricing-features li.excluded::before {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235a5966'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================
   PLATFORMS
   ============================ */
.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-tag {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-out);
  cursor: default;
}
.platform-tag:hover {
  border-color: var(--border-glow);
  color: var(--text);
  background: var(--mint-glow);
  box-shadow: 0 0 24px var(--mint-glow);
  transform: translateY(-2px);
}

/* ============================
   TRUST STRIP
   ============================ */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--mint);
  opacity: 0.5;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(74, 222, 128, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 1px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-section .btn { position: relative; z-index: 1; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
  background: rgba(5, 5, 8, 0.5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
}
.footer-brand img { width: 22px; height: 22px; opacity: 0.4; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.83rem;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal {
  padding: 120px 0 80px;
  max-width: 720px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal p,
.legal ul {
  margin-bottom: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 0.93rem;
}

.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal code {
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--mint);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.83rem;
  margin-bottom: 32px;
  transition: color 0.2s;
  font-weight: 500;
}
.legal-back:hover { color: var(--mint); text-decoration: none; }

/* ============================
   BEFORE / AFTER COMPARISON
   ============================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.compare-card:hover { transform: translateY(-3px); }

.compare-before { border-color: rgba(255, 80, 80, 0.15); }
.compare-before:hover { border-color: rgba(255, 80, 80, 0.3); }
.compare-after { border-color: rgba(74, 222, 128, 0.15); }
.compare-after:hover { border-color: rgba(74, 222, 128, 0.3); }

.compare-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.compare-before .compare-label {
  background: rgba(255, 80, 80, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 80, 80, 0.2);
}
.compare-after .compare-label {
  background: rgba(74, 222, 128, 0.1);
  color: var(--mint);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.compare-screen {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  height: 200px;
  overflow: hidden;
  margin-bottom: 16px;
}

.compare-face {
  position: absolute;
  width: 40px;
  height: 50px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-face-1 { top: 30%; left: 22%; }
.compare-face-2 { top: 25%; right: 22%; }

.compare-subtitle-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.78rem;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-speech-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  animation: compare-pop 3s ease-in-out infinite;
}
.compare-sb-1 { top: 18%; left: 12%; animation-delay: 0s; }
.compare-sb-2 {
  top: 12%; right: 12%;
  border-radius: 12px 12px 3px 12px;
  animation-delay: 1s;
}

.compare-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 5px;
  width: 0;
  height: 0;
  border-left: 5px solid rgba(255, 255, 255, 0.92);
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.92);
  border-bottom: 5px solid transparent;
}
.compare-sb-2::after {
  left: auto;
  right: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid rgba(255, 255, 255, 0.92);
}

@keyframes compare-pop {
  0%, 100% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

.compare-caption {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

/* ============================
   TESTIMONIALS / SOCIAL PROOF
   ============================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.testimonial:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

/* Quote mark */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--mint);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================
   FAQ
   ============================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-bright); }
.faq-item[open] { border-color: var(--border-glow); }

.faq-item summary {
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--mint); }

/* Custom disclosure arrow */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), color 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212'; /* minus sign */
  color: var(--mint);
}

.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================
   STICKY MOBILE CTA
   ============================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 20px;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }

.btn-sticky {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.95rem;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .floating-bubbles { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-bubbles { display: none; }
  .hero-demo-inner { height: 220px; }
  .hero-demo::before { height: 28px; background-image:
    radial-gradient(circle at 16px 14px, rgba(255, 95, 86, 0.7) 4px, transparent 4px),
    radial-gradient(circle at 32px 14px, rgba(255, 189, 46, 0.7) 4px, transparent 4px),
    radial-gradient(circle at 48px 14px, rgba(39, 201, 63, 0.7) 4px, transparent 4px);
  }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }

  .compare { grid-template-columns: 1fr; gap: 16px; }
  .compare-screen { height: 160px; }
  .testimonials { grid-template-columns: 1fr; gap: 14px; }

  .trust-strip { gap: 20px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .privacy-callout { padding: 36px 24px; }

  /* Show sticky CTA only on mobile */
  .sticky-cta { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .feature-card { padding: 28px 20px 24px; }
  .pricing-card { padding: 28px 22px; }
  .legal { padding: 100px 0 60px; }
  .demo-bubble { font-size: 0.72rem; padding: 7px 11px; }
}
