:root {
  --bg: #0b0d17;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef0f8;
  --muted: #9aa3bf;
  --primary: #7c5cff;
  --accent: #22d3ee;
  --success: #34d399;
  --danger: #f87171;
  --whatsapp: #25d366;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}
.bg-orbs span:nth-child(1) { width: 480px; height: 480px; background: var(--primary); top: -120px; left: -100px; }
.bg-orbs span:nth-child(2) { width: 420px; height: 420px; background: var(--accent); bottom: -140px; right: -80px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 300px; height: 300px; background: #ec4899; top: 40%; left: 55%; animation-delay: -12s; opacity: 0.25; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 23, 0.6);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #5b8cff);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-strong); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; color: #fff; background: var(--primary); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
main { display: block; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1.1rem 0;
  font-weight: 800;
}
.gradient-text {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.social-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 2rem; color: var(--muted); font-size: 0.9rem; }
.social-proof li::before { content: "✓ "; color: var(--success); }

/* Hero mock card */
.hero-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.card-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(124, 92, 255, 0.35), transparent 60%);
  filter: blur(30px);
}
.mock-header { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.mock-header span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mock-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.mock-avatar { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.mock-lines { flex: 1; display: grid; gap: 8px; }
.mock-lines i { display: block; height: 10px; border-radius: 6px; background: var(--surface-strong); }
.mock-lines i:last-child { width: 60%; }
.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding: 0.5rem 0; }
.mock-chart div {
  flex: 1;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--accent), rgba(124, 92, 255, 0.5));
  animation: grow 1.2s ease both;
}
@keyframes grow { from { height: 0; } }
.mock-stats { display: flex; gap: 1rem; margin-top: 1.2rem; }
.mock-stats div {
  flex: 1;
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--surface-strong);
  display: grid;
}
.mock-stats strong { font-size: 1.4rem; }
.mock-stats span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2, .access-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  margin: 0.6rem 0;
  line-height: 1.15;
}
.section-head p { color: var(--muted); }
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.5); background: var(--surface-strong); }
.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(34, 211, 238, 0.15));
  margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); }

/* Early access */
.early-access { padding-top: 0; }
.access-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.18), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.access-copy p { color: var(--muted); margin-bottom: 1.5rem; }
.check-list { list-style: none; display: grid; gap: 0.7rem; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 0.6rem; }

.lead-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .consent { font-size: 0.9rem; color: var(--muted); }
.req { color: var(--danger); }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: rgba(8, 10, 20, 0.6);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6684; }
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2);
}
.field textarea { resize: vertical; }
.field input:invalid:not(:placeholder-shown) { border-color: rgba(248, 113, 113, 0.6); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; line-height: 1.5; }
.consent input { margin-top: 0.3rem; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

.form-status { min-height: 1.4rem; font-size: 0.95rem; text-align: center; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, background 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); background: var(--surface-strong); }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { color: var(--muted); word-break: break-all; }
.contact-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
}
.email-icon { color: #fff; background: linear-gradient(135deg, var(--primary), #5b8cff); }
.whatsapp-icon { color: #fff; background: var(--whatsapp); }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 700; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a:hover { color: var(--text); }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .access-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn-small) { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
