:root {
  --bg: #0b1020;
  --bg-card: #121a30;
  --bg-elev: #192340;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top right, #172554 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: #60a5fa; text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: #fff; text-decoration: none;
}
.brand-badge {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff; padding: 4px 9px; border-radius: 8px; font-size: 0.78rem; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.94rem;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s ease;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-elev); text-decoration: none; }
.btn-whatsapp { background: #16a34a; color: #fff; }
.btn-whatsapp:hover { background: #15803d; text-decoration: none; }
.btn-sm { padding: 7px 12px; font-size: 0.84rem; border-radius: 8px; }

.hero { padding: 68px 0 42px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.14); color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin: 0 auto 28px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

section { padding: 44px 0; }
.section-title { font-size: 1.7rem; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card.featured {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 16px 40px rgba(37, 99, 235, 0.18);
}

.price { font-size: 2.1rem; font-weight: 800; margin: 10px 0 4px; }
.price span { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.plan-list { list-style: none; margin: 16px 0 20px; display: grid; gap: 8px; color: #cbd5e1; font-size: 0.92rem; }
.plan-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
pre {
  background: #070b16; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; overflow-x: auto; font-size: 0.84rem; color: #e2e8f0;
  max-height: 360px;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.88rem; color: #cbd5e1; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%; padding: 10px 12px; border-radius: 9px;
  background: #090e1c; border: 1px solid var(--border); color: #fff; font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

.alert { padding: 12px 14px; border-radius: 10px; margin-top: 14px; font-size: 0.92rem; }
.alert-ok { background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.4); color: #a7f3d0; }
.alert-err { background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.4); color: #fecaca; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); }
th { color: #cbd5e1; font-weight: 600; background: rgba(255,255,255,0.02); }
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 0.78rem; font-weight: 700;
}
.badge-green { background: rgba(16,185,129,0.18); color: #6ee7b7; }
.badge-blue { background: rgba(59,130,246,0.18); color: #93c5fd; }
.badge-red { background: rgba(239,68,68,0.18); color: #fca5a5; }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0; margin-top: 40px; color: var(--muted); font-size: 0.9rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
