/* Sufler landing — dark theme matching app aesthetic */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #0a0a0c;
  color: #e8eaed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { color: #6e8aff; font-style: normal; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ───── Nav ───── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.logo-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #6e8aff, #b87aff);
  border-radius: 7px;
  font-size: 12px; font-weight: 800;
  color: white;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav-links a { color: rgba(255, 255, 255, 0.7); }
.nav-links a:hover { color: white; }
.nav-cta { padding: 8px 16px !important; }

/* ───── Buttons ───── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #6e8aff, #b87aff);
  color: white;
  box-shadow: 0 4px 16px rgba(110, 138, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(110, 138, 255, 0.35); }
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-xl { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

/* ───── Hero ───── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(110, 138, 255, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(184, 122, 255, 0.06), transparent 60%);
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(110, 138, 255, 0.12);
  border: 1px solid rgba(110, 138, 255, 0.3);
  border-radius: 100px;
  font-size: 12px;
  color: #a5b8ff;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 880px;
  margin: 0 auto 22px;
}
.lede {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 680px;
  margin: 0 auto 32px;
}
.lede strong { color: rgba(255, 255, 255, 0.85); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-meta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 60px;
}

/* ───── Hero screenshot placeholder ───── */
.hero-screenshot {
  max-width: 880px;
  margin: 0 auto;
  background: linear-gradient(145deg, #14141a, #0e0e14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.screenshot-placeholder { padding: 28px 32px; text-align: left; }
.screenshot-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 14px;
  font-family: 'SF Mono', ui-monospace, monospace;
}
.screenshot-hud {
  background: linear-gradient(135deg, rgba(110, 138, 255, 0.16), rgba(184, 122, 255, 0.12));
  border: 1px solid rgba(110, 138, 255, 0.35);
  border-radius: 10px;
  padding: 16px 20px;
  position: relative;
}
.hud-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #a5b8ff;
  font-weight: 700;
  margin-bottom: 6px;
}
.hud-question {
  font-size: 17px;
  color: white;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}
.hud-alt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ───── Section heading ───── */
section h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
section { padding: 70px 0; }

/* ───── Features ───── */
.features { background: linear-gradient(180deg, #0a0a0c, #0c0c10); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.feature {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.18s ease;
}
.feature:hover {
  border-color: rgba(110, 138, 255, 0.3);
  transform: translateY(-2px);
}
.feature-icon { font-size: 24px; margin-bottom: 12px; }
.feature h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.55; }

/* ───── How ───── */
.how { background: #08080a; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.step { padding: 22px; }
.step-num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e8aff, #b87aff);
  color: white;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }

/* ───── Pricing ───── */
.pricing { background: linear-gradient(180deg, #0a0a0c, #0e0e14); }
.pricing-sub { text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 14px; margin-bottom: 32px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.plan {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan-featured {
  background: linear-gradient(165deg, rgba(110, 138, 255, 0.08), rgba(184, 122, 255, 0.04));
  border-color: rgba(110, 138, 255, 0.4);
  box-shadow: 0 12px 40px rgba(110, 138, 255, 0.12);
  transform: scale(1.02);
}
.plan-lifetime {
  background: linear-gradient(165deg, rgba(255, 175, 100, 0.06), rgba(255, 100, 100, 0.03));
  border-color: rgba(255, 175, 100, 0.3);
}
.plan-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: linear-gradient(135deg, #6e8aff, #b87aff);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  text-transform: uppercase;
}
.plan-badge-warm {
  background: linear-gradient(135deg, #ff9a5a, #ff5a8a);
}
.plan h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}
.plan-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.plan-cycle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.plan-period {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}
.plan-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plan-features li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #6e8aff;
  font-weight: 700;
}
.plan .btn { width: 100%; text-align: center; margin-bottom: 7px; }
.pricing-meta {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
}

/* ───── CTA bottom ───── */
.cta-bottom {
  background: linear-gradient(135deg, rgba(110, 138, 255, 0.08), rgba(184, 122, 255, 0.04));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.cta-bottom p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

/* ───── FAQ ───── */
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  cursor: pointer;
}
.faq details summary {
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.18s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.faq details p a { color: #a5b8ff; text-decoration: underline; }

/* ───── Footer ───── */
.footer {
  background: #06060a;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
}
.footer-col a:hover { color: white; }
.footer-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ───── Responsive ───── */
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 50px 0 40px; }
  .screenshot-placeholder { padding: 18px 20px; }
  .hud-question { font-size: 15px; }
  section { padding: 50px 0; }
  .plan-featured { transform: none; }
}
