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

:root {
  --bg: #080f1e;
  --bg2: #0d1a2e;
  --bg3: #111f35;
  --border: #1e3050;
  --text: #e2e8f0;
  --muted: #7a94b8;
  --accent: #38bdf8;
  --accent2: #818cf8;
  --green: #34d399;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56,189,248,0.12), transparent);
}

.badge {
  display: inline-block;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #070e1c;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { font-size: 18px; padding: 16px 40px; border-radius: 10px; }
.btn-checkout { width: 100%; font-size: 17px; padding: 16px; border-radius: 8px; margin-top: 4px; }

.hero-price { color: var(--muted); font-size: 14px; }

/* Code window mock */
.hero-img { margin-top: 8px; }
.code-window {
  background: #0b1628;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.code-titlebar {
  background: #0f1f36;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.code-title { font-size: 12px; color: var(--muted); margin-left: 8px; }
.code-body { display: flex; min-height: 160px; }
.sidebar-mock {
  width: 180px;
  background: #0a1526;
  border-right: 1px solid var(--border);
  padding: 8px 0;
  font-size: 12px;
  flex-shrink: 0;
}
.sb-item { padding: 5px 14px; color: var(--muted); }
.sb-item.active { color: var(--text); background: rgba(56,189,248,0.08); }
.sb-item.indent { padding-left: 26px; }
.sb-upload {
  padding: 8px 14px;
  color: var(--green);
  font-size: 11px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.code-content { padding: 16px; font-family: "Fira Code", "Cascadia Code", monospace; font-size: 13px; line-height: 1.7; }
.code-line { white-space: pre; }
.kw { color: #c792ea; }
.fn { color: #82aaff; }
.str { color: #c3e88d; }
.cm { color: #546e7a; }

/* ── PAIN ── */
.pain {
  padding: 80px 0;
  background: var(--bg2);
  text-align: center;
}
.pain h2 { font-size: 32px; font-weight: 700; margin-bottom: 40px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.pain-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}
.pain-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.pain-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.pain-bottom { font-size: 20px; font-weight: 600; color: var(--accent); }

/* ── FEATURES ── */
.features { padding: 80px 0; }
.features h2, .how h2, .proof h2, .pricing h2, .faq h2, .final-cta h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(56,189,248,0.4); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── HOW ── */
.how { padding: 80px 0; background: var(--bg2); }
.steps { display: flex; flex-direction: column; gap: 28px; max-width: 560px; margin: 0 auto; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #070e1c; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-text h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step-text p { color: var(--muted); font-size: 14px; }

/* ── PROOF ── */
.proof { padding: 80px 0; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.testimonial {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial p { font-size: 15px; font-style: italic; color: var(--text); margin-bottom: 14px; line-height: 1.6; }
.author { font-size: 13px; color: var(--muted); }

/* ── PRICING ── */
.pricing { padding: 80px 0; background: var(--bg2); }
.pricing-sub { text-align: center; color: var(--muted); font-size: 16px; margin-top: -32px; margin-bottom: 40px; }
.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  box-shadow: 0 0 60px rgba(56,189,248,0.07);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green), #059669);
  color: #052e16;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 99px;
  white-space: nowrap;
}
.price-value {
  text-align: center;
  font-size: 52px;
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1;
  color: var(--text);
}
.price-cents { font-size: 28px; vertical-align: super; }
.price-period { font-size: 18px; color: var(--muted); font-weight: 400; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li { padding: 7px 0; font-size: 15px; border-bottom: 1px solid var(--border); color: var(--text); }
.price-list li:last-child { border-bottom: none; }

/* Form inside pricing */
.field { margin-bottom: 14px; }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  transition: border-color .2s;
}
input:focus { outline: none; border-color: var(--accent); }
input::placeholder { color: #3a5070; }

.form-fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.msg { margin-top: 14px; font-size: 14px; text-align: center; padding: 10px; border-radius: 6px; display: none; }
.msg.visible { display: block; }
.msg.success { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.3); }
.msg.error { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }

.pricing-pix { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14px; }
.pricing-pix a { color: var(--accent); text-decoration: none; }

/* ── FAQ ── */
.faq { padding: 80px 0; }
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ── FINAL CTA ── */
.final-cta {
  padding: 80px 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(56,189,248,0.1), transparent);
  text-align: center;
}
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* ── FOOTER ── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ── PIX PAGE ── */
.pix-key {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 14px;
  font-family: monospace;
  font-size: 14px;
  margin-bottom: 20px;
  word-break: break-all;
  color: var(--text);
}
.links { margin-top: 20px; font-size: 13px; text-align: center; }
.links a { color: var(--accent); text-decoration: none; }
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  margin: 60px auto;
}
.card h1 { font-size: 22px; margin-bottom: 6px; }
.card p.subtitle { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.card button {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #070e1c; font-weight: 600;
  border: none; border-radius: 8px;
  cursor: pointer; font-size: 14px;
}
.card button:hover { opacity: .9; }
.card button:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 600px) {
  .hero { padding: 52px 0 40px; }
  .pain, .features, .how, .proof, .pricing, .faq, .final-cta { padding: 52px 0; }
  .sidebar-mock { display: none; }
  .price-card { padding: 28px 20px; }
  .price-value { font-size: 40px; }
}
