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

:root {
  --hero-1: #0a0118;
  --hero-2: #1a0a4e;
  --hero-3: #0d2f7a;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --brand: #4f46e5;
  --brand-light: #818cf8;
  --text: #0f172a;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-dim: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10, 1, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--hero-1) 0%, var(--hero-2) 50%, var(--hero-3) 100%);
  padding: 100px 24px 60px;
  overflow: hidden;
}

/* Animated blobs */
.blobs { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--purple);
  top: -100px; left: -150px;
  animation: blob-move 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--blue);
  bottom: -80px; right: -100px;
  animation: blob-move 10s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--cyan);
  top: 40%; right: 10%;
  animation: blob-move 14s ease-in-out infinite alternate;
}
.blobs--cta .blob-1 { width: 350px; height: 350px; top: -60px; left: -80px; }
.blobs--cta .blob-2 { width: 280px; height: 280px; bottom: -60px; right: -60px; }

@keyframes blob-move {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -40px) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.stars { color: #fbbf24; letter-spacing: 1px; }

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 80%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 560px;
}
.br-lg { display: none; }
@media (min-width: 600px) { .br-lg { display: block; } }

/* Hero form card */
.hero-form-card {
  width: 100%;
  max-width: 540px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.form-price-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.form-price { flex-shrink: 0; }
.price-big {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  display: block;
}
.form-key-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  text-align: left;
  flex: 1;
  min-width: 160px;
}
.hint-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.form-row input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 15px;
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
  min-width: 0;
}
.form-row input::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus { outline: none; border-color: var(--purple); background: rgba(255,255,255,0.14); }
.form-row input:focus-visible { outline: 3px solid rgba(139,92,246,0.5); outline-offset: 2px; }

/* CTA form (bottom section) */
.cta-form .form-row input {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.btn-pay {
  flex-shrink: 0;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-pay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-pay:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,92,246,0.45); }
.btn-pay:hover::after { opacity: 1; }
.btn-pay:active { transform: translateY(0); }
.btn-pay:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-pay:focus-visible { outline: 3px solid rgba(139,92,246,0.6); outline-offset: 3px; }

.error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fca5a5;
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 2px;
}
.error-msg:empty { display: none; }
.error-msg::before { content: '⚠'; flex-shrink: 0; }

/* No email collected — full-width pay button + note */
.btn-pay--full { width: 100%; }
.form-note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.form-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}
.form-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 20px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Stats bar ──────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, #1e1b4b, #1e3a8a);
  padding: 20px 24px;
}
.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 28px;
  gap: 2px;
}
.stat-item strong {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.stat-item span { font-size: 12px; color: rgba(255,255,255,0.5); }
.stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 80px 24px; }
.section--light { background: var(--surface); }
.section--gradient-soft { background: linear-gradient(160deg, #f5f3ff 0%, #eff6ff 100%); }

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.section-inner--narrow { max-width: 680px; }

.eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

/* ─── Pain cards ─────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-icon { margin-bottom: 16px; display: flex; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.pain-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Feature cards ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feat-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(79,70,229,0.12);
  border-color: var(--brand-light);
}
.feat-icon {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  border-radius: 12px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Comparison table ───────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}
.comp-table th, .comp-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comp-table th {
  font-size: 13px;
  font-weight: 700;
  padding: 16px 20px;
  letter-spacing: 0.3px;
}
.comp-table th:first-child { background: #f1f5f9; color: var(--text-muted); }
.comp-table .col-free { text-align: center; background: #fafafa; color: var(--text-muted); }
.comp-table .col-pro { text-align: center; background: linear-gradient(135deg, #ede9fe, #dbeafe); color: var(--brand); }
.comp-table th.col-pro { font-size: 14px; color: var(--brand); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: #f8f9ff; }
.comp-table tr:hover td.col-pro { background: #e9e5ff; }
.pro-yes { font-weight: 700; font-size: 15px; }
.no { opacity: 0.4; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] {
  border-color: var(--brand-light);
  box-shadow: 0 4px 16px rgba(79,70,229,0.08);
}
.faq-list summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
}
.faq-list summary::after {
  content: '+';
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s;
  text-align: center;
  line-height: 24px;
}
.faq-list details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-list details p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-list a { color: var(--brand); text-decoration: none; }
.faq-list a:hover { text-decoration: underline; }

/* ─── Bottom CTA section ─────────────────────────────── */
.cta-section {
  position: relative;
  padding: 80px 24px;
  background: linear-gradient(145deg, var(--hero-1), var(--hero-2), var(--hero-3));
  overflow: hidden;
  text-align: center;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ─── Footer ─────────────────────────────────────────── */
.form-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.form-alt-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.rustore-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.rustore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.rustore-badge:active { transform: translateY(0); }
.rustore-badge img { display: block; height: 44px; width: auto; }

.footer {
  background: #060212;
  padding: 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── Scroll animations ──────────────────────────────── */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}

/* stagger children in grids */
.pain-grid .animate:nth-child(2) { transition-delay: 0.1s; }
.pain-grid .animate:nth-child(3) { transition-delay: 0.2s; }
.features-grid .animate:nth-child(2) { transition-delay: 0.07s; }
.features-grid .animate:nth-child(3) { transition-delay: 0.14s; }
.features-grid .animate:nth-child(4) { transition-delay: 0.21s; }
.features-grid .animate:nth-child(5) { transition-delay: 0.28s; }
.features-grid .animate:nth-child(6) { transition-delay: 0.35s; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 80px 16px 48px; min-height: 100svh; }
  .hero-form-card { padding: 20px 16px; }
  .form-price-row { flex-direction: column; gap: 12px; }
  .form-row { flex-direction: column; }
  .btn-pay { width: 100%; padding: 16px; font-size: 16px; border-radius: 12px; }

  .stats-inner { gap: 0; }
  .stat-item { padding: 8px 14px; }
  .stat-div { display: none; }

  .section { padding: 56px 16px; }
  .section-title { margin-bottom: 32px; }

  .pain-grid, .features-grid { grid-template-columns: 1fr; }

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

  .nav-cta { font-size: 12px; padding: 7px 14px; }
}
