/* =============================================
   ZARVEL TALK — LANDING PAGE
   Stack: HTML/CSS/JS vanilla · Mobile-first
   ============================================= */

/* =============== DESIGN TOKENS =============== */
:root {
  /* Brand */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #3b82f6;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --cta: #F97316;
  --cta-hover: #FB923C;
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;

  /* Surfaces */
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --surface-3: #27272a;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);

  /* Text */
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --text-4: #52525b;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-cta: 0 15px 40px -15px rgba(249,115,22,0.7);
  --shadow-brand: 0 15px 40px -15px rgba(124,58,237,0.6);
  --shadow-card: 0 10px 30px -10px rgba(0,0,0,0.5);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --grad-cta: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  --grad-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1280px;
  --nav-h: 64px;
}

/* =============== RESET =============== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero, .section { max-width: 100vw; overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* =============== CONTAINER =============== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* =============== TYPOGRAPHY UTILITIES =============== */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.eyebrow-center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  text-align: center;
  margin: 16px 0 16px;
}
.section-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-2);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.section-header { margin-bottom: 48px; text-align: center; }
@media (min-width: 768px) { .section-header { margin-bottom: 64px; } }

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  border-radius: var(--r-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; gap: 10px; }
@media (min-width: 768px) { .btn-lg { padding: 18px 32px; font-size: 17px; } }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-cta);
  color: #09090b;
  box-shadow: var(--shadow-cta);
  font-weight: 800;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -15px rgba(249,115,22,0.8); }

.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }

.btn-white {
  background: #fafafa;
  color: #09090b;
  font-weight: 800;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px rgba(255,255,255,0.25); }

.btn-ghost {
  background: transparent;
  color: #fafafa;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }

/* =============== NAV =============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(9,9,11,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.nav.scrolled { background: rgba(9,9,11,0.92); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-brand);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
}
.logo-text { font-size: 18px; font-weight: 900; letter-spacing: -0.5px; }
.logo-dot { color: var(--purple-light); }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: none;
  align-items: center;
  gap: 12px;
}
.nav-login { font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-login:hover { color: var(--text); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) { .nav-toggle { display: none; } }

/* Nav mobile menu */
.nav-links.mobile-open {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(9,9,11,0.98);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.nav-links.mobile-open a {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
}
.nav-links.mobile-open a:last-child { border-bottom: 0; }

/* =============== HERO =============== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 96px 0 112px; } }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.blob-1 {
  width: 420px; height: 420px;
  background: var(--brand);
  top: -100px; right: -80px;
}
.blob-2 {
  width: 380px; height: 380px;
  background: var(--purple);
  bottom: -80px; left: 10%;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
}

.hero-content { min-width: 0; max-width: 100%; }

.hero-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 14px 0 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.title-chunk { display: block; }
@media (min-width: 400px) { .hero-title { font-size: 26px; } }
@media (min-width: 440px) { .hero-title { font-size: 30px; letter-spacing: -0.02em; } }
@media (min-width: 500px) { .hero-title { font-size: 36px; letter-spacing: -0.025em; } }
@media (min-width: 560px) { .hero-title { font-size: 42px; line-height: 1.02; letter-spacing: -0.03em; } .title-chunk { display: inline; } }
@media (min-width: 720px) { .hero-title { font-size: 48px; letter-spacing: -0.035em; line-height: 1; } }
@media (min-width: 1024px) { .hero-title { font-size: 60px; } }
@media (min-width: 1280px) { .hero-title { font-size: 72px; } }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--text-2);
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 520px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-avatars { display: flex; }
.trust-avatars .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fafafa;
  margin-left: -10px;
}
.trust-avatars .avatar:first-child { margin-left: 0; }
.trust-text { font-size: 14px; color: var(--text-2); }
.trust-text strong { color: var(--text); font-weight: 700; }
.stars { color: var(--warn); letter-spacing: -1px; margin-left: 6px; }
.rating { font-weight: 700; color: var(--text); margin-left: 4px; }

/* Hero mockup */
.hero-mockup {
  position: relative;
  perspective: 1200px;
}
.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.35) 0%, rgba(37,99,235,0.2) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.browser-window {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 15px 40px -15px rgba(37,99,235,0.4);
  transform: rotateY(-3deg) rotateX(2deg);
}
@media (max-width: 1023px) { .browser-window { transform: none; } }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.browser-url {
  margin-left: 16px;
  padding: 4px 12px;
  background: var(--surface);
  border-radius: var(--r-sm);
  font-size: 11px;
  color: var(--text-3);
  font-family: ui-monospace, monospace;
}

.browser-content {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 320px;
}
@media (min-width: 560px) { .browser-content { grid-template-columns: 56px 1fr 140px; } }

.mockup-sidebar {
  background: rgba(0,0,0,0.3);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border-right: 1px solid var(--border);
}
.mockup-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad-brand);
  margin-bottom: 12px;
}
.mockup-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
}
.mockup-icon.active { background: var(--grad-brand); }

.mockup-main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mockup-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg,#10b981,#34d399);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #09090b;
}
.mockup-contact { flex: 1; min-width: 0; }
.mockup-name { font-size: 13px; font-weight: 700; color: var(--text); }
.mockup-status { font-size: 10px; color: #10b981; }
.mockup-badge {
  font-size: 9px; font-weight: 800;
  padding: 4px 8px;
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}

.mockup-messages {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.msg {
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 85%;
  line-height: 1.35;
}
.msg-in { background: rgba(255,255,255,0.05); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { background: linear-gradient(135deg, #2563eb, #3b82f6); align-self: flex-end; border-bottom-right-radius: 4px; color: #fafafa; }
.msg-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fafafa;
  animation: typingBounce 1.3s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.mockup-panel {
  display: none;
  padding: 14px;
  border-left: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 560px) { .mockup-panel { display: flex; } }
.panel-section {}
.panel-label { font-size: 9px; font-weight: 700; color: var(--text-3); letter-spacing: 0.1em; margin-bottom: 4px; }
.panel-value { font-size: 12px; font-weight: 600; color: var(--text); }
.panel-sub { font-size: 10px; color: var(--text-3); }
.panel-tags { display: flex; flex-direction: column; gap: 4px; }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 600;
  width: fit-content;
}
.tag-blue { background: rgba(37,99,235,0.2); color: #60a5fa; }
.tag-purple { background: rgba(124,58,237,0.2); color: #a78bfa; }

/* =============== SECTIONS =============== */
.section {
  padding: 72px 0;
  position: relative;
}
@media (min-width: 768px) { .section { padding: 112px 0; } }

/* =============== PROBLEM =============== */
.section-problem { background: linear-gradient(180deg, var(--bg) 0%, rgba(9,9,11,0.95) 100%); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.problem-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.problem-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fafafa;
  margin-bottom: 20px;
}
.problem-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: var(--text-2); line-height: 1.55; }

/* =============== FEATURES =============== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 20px 40px -20px rgba(37,99,235,0.3);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fafafa;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-brand);
}
.feature-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-2); line-height: 1.55; }

/* =============== STEPS =============== */
.section-steps {
  background: linear-gradient(180deg, rgba(9,9,11,0.95) 0%, var(--bg) 100%);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.step { position: relative; }
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), transparent);
  }
}
.step-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--text-2); line-height: 1.55; }

.steps-cta { text-align: center; }

/* =============== PRICING =============== */
.section-pricing {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(9,9,11,0.92) 50%, var(--bg) 100%);
}
.section-pricing .container { max-width: var(--container-wide); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pricing-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }

.plan-highlight {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, var(--surface) 100%);
  box-shadow: 0 0 0 1px var(--brand), 0 20px 60px -20px rgba(37,99,235,0.4);
}
@media (min-width: 1200px) { .plan-highlight { transform: scale(1.03); } }
.plan-highlight:hover { transform: translateY(-4px); }
@media (min-width: 1200px) { .plan-highlight:hover { transform: scale(1.03) translateY(-4px); } }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fafafa;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}

.plan header { margin-bottom: 20px; }
.plan-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-desc { font-size: 13px; color: var(--text-2); line-height: 1.4; }

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.plan-price .rs { font-size: 20px; font-weight: 700; color: var(--text-2); margin-right: 4px; }
.plan-price .value {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.plan-price .period { font-size: 14px; color: var(--text-3); font-weight: 600; margin-left: 6px; }

.plan-features {
  flex: 1;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  line-height: 1.4;
  padding-left: 26px;
  position: relative;
}
.plan-features li.has { color: #e4e4e7; }
.plan-features li.has::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  background-image:
    linear-gradient(135deg, #10b981, #34d399),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8l3 3 5-6' stroke='%23000' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.plan-features li.has::after {
  content: '✓';
  position: absolute;
  left: 3px; top: 2px;
  font-size: 11px;
  font-weight: 900;
  color: #09090b;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.plan-features li.no { color: var(--text-4); text-decoration: line-through; text-decoration-color: var(--text-4); }
.plan-features li.no::before {
  content: '—';
  position: absolute;
  left: 0; top: 0;
  color: var(--text-4);
  font-weight: 700;
}

.pricing-footer { text-align: center; }
.guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-full);
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.guarantee strong { color: var(--text); font-weight: 700; }
.guarantee-items {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}

/* =============== FAQ =============== */
.faq-container { max-width: 820px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 48px;
}
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open], .faq-item:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.035); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
}
@media (min-width: 768px) { .faq-item summary { font-size: 17px; padding: 22px 24px; } }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
@media (min-width: 768px) { .faq-answer { padding: 0 24px 24px; font-size: 16px; } }
.inline-link { color: var(--brand-light); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { color: var(--text); }

/* =============== CTA FINAL =============== */
.section-cta-final { padding: 64px 0; }
@media (min-width: 768px) { .section-cta-final { padding: 96px 0; } }

.cta-banner {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: var(--r-xl);
  padding: 56px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(124,58,237,0.5);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
@media (min-width: 768px) { .cta-banner { padding: 80px 48px; } }

.cta-banner > * { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fafafa;
  margin-bottom: 14px;
}
.cta-sub {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
@media (min-width: 520px) { .cta-buttons { flex-direction: row; flex-wrap: wrap; } }
.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* =============== FOOTER =============== */
.footer {
  background: #000;
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .footer { padding: 72px 0 32px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; } }

.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  margin: 12px 0 20px;
  line-height: 1.5;
}
.logo-footer { margin-bottom: 12px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--grad-brand); color: #fafafa; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-made { color: var(--text-2); }

/* =============== UTILITIES / ANIMATIONS =============== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Focus states (accessibility) */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 4px;
}
