@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&display=swap');

:root {
  --violet: #7C5CFF;
  --violet-text: #6D4AFF;
  --mint: #34D399;
  --mint-dark: #047857;
  --night: #12101F;
  --surface: #1C1930;
  --lavender: #F5F3FF;
  --white: #FFFFFF;
  --gray: #5B5872;
  --line: #E4E0FA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', system-ui, sans-serif; font-weight: 500; color: var(--night); background: var(--white); line-height: 1.6; }
a { color: var(--violet-text); }
img, svg { display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); font-weight: 800; font-size: 22px; }
.brand img { width: 36px; height: 36px; }
.brand span { color: var(--violet); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 6px 12px; font: inherit; font-weight: 700; color: var(--gray); cursor: pointer; }
.lang button.active { background: var(--violet); color: var(--white); }

.btn { display: inline-block; padding: 14px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: var(--white); }
.btn-ghost { border: 2px solid var(--violet); color: var(--violet-text); }
.btn-small { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { background: var(--night); color: var(--white); padding: 96px 0 88px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.1; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p { font-size: 20px; color: #CFCBE8; max-width: 640px; margin: 24px 0 36px; }
.hero .btn-ghost { border-color: var(--mint); color: var(--mint); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { display: inline-block; background: var(--surface); color: var(--mint); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; margin-bottom: 24px; }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--lavender); }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.lead { color: var(--gray); font-size: 18px; max-width: 680px; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--gray); }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--violet); color: var(--white); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: #E9FBF3; color: var(--mint-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.chips + h3 { margin-top: 36px; }
.sub { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

.launch { text-align: center; }
.launch .card { max-width: 640px; margin: 0 auto; padding: 48px 32px; }
.launch .card p { margin: 12px 0 28px; }

/* Footer */
footer { background: var(--night); color: #CFCBE8; padding: 48px 0; font-size: 15px; }
footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer a { color: var(--mint); text-decoration: none; }
footer .brand { color: var(--white); margin-bottom: 10px; }
footer ul { list-style: none; }
footer li { margin: 6px 0; }
.copy { margin-top: 32px; color: #8D89A8; font-size: 13px; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--gray); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: #2E2B45; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

[data-lang] { display: none; }
html[lang="es"] [data-lang="es"], html[lang="en"] [data-lang="en"] { display: revert; }

@media (max-width: 640px) {
  .hero { padding: 64px 0; }
  section { padding: 56px 0; }
  .nav-right .btn { display: none; }
}
.brand b { font-weight: 800; }
