:root {
  --bg: #0b1120;
  --bg-alt: #111a2e;
  --surface: #16213a;
  --border: #24314f;
  --text: #e7ecf7;
  --text-dim: #9fb0cc;
  --brand: #35d0a0;
  --brand-dark: #1a9d75;
  --radius: 12px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
p { margin: 0 0 16px; color: var(--text-dim); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--brand);
  color: #06251c !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--brand-dark); }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #06251c;
}
.btn-primary:hover { background: var(--brand-dark); }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 18px;
}
.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
}
.btn-link {
  display: block;
  margin-top: 16px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.btn-link:hover { text-decoration: underline; }

/* Problem */
.problem { padding: 60px 0; background: var(--bg-alt); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dim);
}
.checklist li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: var(--brand);
  color: #06251c;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
}

/* How it works */
.how { padding: 80px 0; }
.how h2 { text-align: center; font-size: 32px; margin-bottom: 48px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #06251c;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* Pricing */
.pricing { padding: 60px 0; background: var(--bg-alt); }
.pricing-card { text-align: center; }
.pricing h2 { font-size: 28px; }
.price {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.price span { font-size: 48px; font-weight: 800; color: var(--brand); }
.price-note { font-size: 14px; }

/* Waitlist */
.waitlist { padding: 80px 0; }
.waitlist-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.waitlist h2 { font-size: 30px; }
#waitlist-form { text-align: left; margin-top: 32px; }
.form-row { margin-bottom: 18px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input[type="email"],
.form-row input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.form-row input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400 !important;
}
.checkbox-label input { margin-top: 3px; }
#waitlist-form .btn { width: 100%; margin-top: 8px; }
.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.form-feedback.success { color: var(--brand); }
.form-feedback.error { color: #ff8080; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}
.site-footer p { margin: 0; font-size: 13px; }

/* Diagnóstico */
.diag-hero {
  padding: 90px 0 60px;
  text-align: center;
}
.diag-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  max-width: 700px;
  margin: 0 auto 16px;
}
.diag-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
}
.diag-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.diag-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.diag-form .btn { white-space: nowrap; padding: 14px 20px; }

.diag-results { padding: 20px 0 80px; }

.risk-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
}
.risk-banner#risk-banner span:last-child { color: var(--text-dim); font-weight: 500; font-size: 15px; }
.risk-banner.risk-bajo { border-color: var(--brand); color: var(--brand); }
.risk-banner.risk-medio { border-color: #e0b64a; color: #e0b64a; }
.risk-banner.risk-alto { border-color: #ff8080; color: #ff8080; }

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.result-card h3 { font-size: 16px; margin-bottom: 10px; }
.result-card p { font-size: 14px; margin: 10px 0 0; }

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-ok { background: rgba(53, 208, 160, 0.15); color: var(--brand); }
.status-warn { background: rgba(224, 182, 74, 0.15); color: #e0b64a; }
.status-missing { background: rgba(255, 128, 128, 0.15); color: #ff8080; }
.status-unknown { background: rgba(159, 176, 204, 0.15); color: var(--text-dim); }

.diag-cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.diag-cta p { font-size: 16px; color: var(--text); margin-bottom: 18px; }

@media (max-width: 700px) {
  .diag-form { flex-direction: column; }
  .result-cards { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 56px; }
}
