/* ===== Reset y variables ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #070B14;
  --surface: rgba(255,255,255,.045);
  --surface-hover: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.09);
  --text: #E9EDF5;
  --muted: #97A1B7;
  --accent: #7C6CFF;
  --accent-2: #2DE2C5;
  --glow: 0 0 45px rgba(124,108,255,.32);
  --radius: 20px;
}

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; overflow-x: hidden;
}
/* Aurora de fondo */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(48rem 48rem at 85% -10%, rgba(124,108,255,.14), transparent 60%),
    radial-gradient(40rem 40rem at -10% 30%, rgba(45,226,197,.08), transparent 60%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 6%;
  background: rgba(7,11,20,.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 800; font-size: 1.05rem; }
.logo-accent { color: var(--accent); }
.logo-bolt { color: #FFD700; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--bg) !important; font-weight: 700; padding: .45rem 1.1rem;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent), #5B8CFF);
}
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ===== Hero fullscreen ===== */
.hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; isolation: isolate;
  padding: 7rem 1.5rem 5rem;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,11,20,.55) 0%, rgba(7,11,20,.72) 55%, var(--bg) 100%);
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.15; }
.gradient-text {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { color: var(--muted); max-width: 620px; margin: 1.2rem auto 2rem; font-size: 1.05rem; }
.hero__trust { list-style: none; display: flex; gap: 1.5rem; justify-content: center; margin-top: 2.2rem; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: .8rem; letter-spacing: .15em;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

.promo-badge {
  display: inline-block; margin-bottom: 1.25rem; padding: .5rem 1.1rem;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06070D; box-shadow: var(--glow);
}

/* ===== Botones ===== */
.btn { display: inline-block; padding: .8rem 1.7rem; border-radius: 999px; font-weight: 600; border: none; cursor: pointer; transition: transform .25s, box-shadow .25s; font-size: .95rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5B8CFF); color: #fff;
  box-shadow: 0 8px 30px rgba(124,108,255,.4);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 44px rgba(124,108,255,.55); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface-hover); transform: translateY(-2px); }

/* ===== Secciones ===== */
.section { padding: 6rem 6%; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: .5rem; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Cards de vidrio */
.card, .step, .plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .35s, background .35s, box-shadow .35s;
}
.card:hover, .plan:hover { background: var(--surface-hover); transform: translateY(-6px); box-shadow: var(--glow); }
.card-icon { font-size: 2rem; margin-bottom: .8rem; }
.card h3, .step h3, .plan h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.card p, .step p, .plan p { color: var(--muted); font-size: .92rem; }
.card ul { list-style: none; margin: 1rem 0 1.4rem; color: var(--muted); font-size: .9rem; display: grid; gap: .35rem; }
.card strong { color: var(--accent-2); }

/* Pasos */
.step-num {
  display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), #5B8CFF);
}

/* Planes */
.plan { position: relative; text-align: center; }
.plan-popular { border: 1px solid var(--accent); }
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #5B8CFF); color: #fff;
  padding: .2rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.price { font-size: 2.2rem; font-weight: 800; color: var(--accent-2); margin: .6rem 0; }
.price span { font-size: .95rem; color: var(--muted); font-weight: 400; }
.price-txt { font-size: 1.6rem; }
.plan .btn { margin-top: 1.2rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.3rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-top: .6rem; font-size: .93rem; }

/* Formulario */
.lead-form {
  display: grid; gap: .9rem; max-width: 520px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; backdrop-filter: blur(14px);
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(0,0,0,.25);
  color: var(--text); font: inherit;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--accent); border-color: transparent;
}
.form-status { text-align: center; font-size: .88rem; color: var(--accent-2); min-height: 1.2em; }

/* Footer */
.footer {
  text-align: center; padding: 2.5rem; color: var(--muted); font-size: .9rem;
  border-top: 1px solid var(--border);
}
.footer a { color: var(--accent-2); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
[data-stagger] > * { transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > * { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero__scroll { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 1rem 6% 1.5rem; gap: 1rem;
    background: rgba(7,11,20,.95); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .section { padding: 4rem 6%; }
}



/* ===== Footer ===== */
.footer-inner { max-width: 900px; margin: 0 auto; text-align: left; display: grid; gap: .85rem; }
.footer-brand { font-weight: 800; font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; align-items: center; }
.footer-links a { color: var(--muted); font-size: .9rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent-2); }
.footer-legal { font-size: .82rem; line-height: 1.65; color: var(--muted); opacity: .8; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center;
  font-size: .82rem; color: var(--muted);
}
.footer-meta a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-meta a:hover { color: var(--accent-2); }

/* ===== Páginas legales ===== */
.doc { max-width: 780px; margin: 0 auto; padding: 7rem 6% 4rem; }
.doc h1 { margin-bottom: .4rem; }
.doc-updated { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }
.doc-owner {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1rem 1.2rem; margin-bottom: 2.2rem; font-size: .92rem; color: var(--muted);
}
.doc-section { margin-bottom: 2rem; }
.doc-section h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.doc-section ul { list-style: none; color: var(--muted); font-size: .93rem; display: grid; gap: .4rem; margin-top: .6rem; }
.doc-section li::before { content: '\2022'; color: var(--accent-2); margin-right: .5rem; }
.todo { color: var(--muted); font-size: .88rem; font-style: italic; }

/* ---- Consentimiento SMS (TCPA) ---- */
.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  cursor: pointer;
}
.sms-consent input {
  width: auto;
  min-width: 16px;
  margin-top: 2px;
  accent-color: #7C6CFF;
}
