/* ====== Paleta por tema (light default) ====== */
:root{
  /* Light — blancos, grises y celestes */
  --bg: #f6f8fb;
  --panel: #ffffff;
  --soft: #eef3f9;
  --text: #0b1220;
  --muted: #5e6a7d;
  --brand: #39A8FF;     /* celeste principal */
  --brand-ink: #0b5394; /* para textos/acentos oscuros */
  --line: #e4e9f1;
  --shadow: 0 10px 30px rgba(15, 31, 61, .08);
  --radius: 16px;
  --grad: radial-gradient(1200px 600px at 10% -10%, #bfe2ff55, transparent);
}

/* Dark overrides */
html[data-theme="dark"]{
  --bg: #0b0f1a;
  --panel: #0f1525;
  --soft: #141c2f;
  --text: #eaeef8;
  --muted: #ffffff;
  --brand: #39A8FF;
  --brand-ink: #d9d3ff;
  --line: #1c2440;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --grad: radial-gradient(1200px 600px at 10% -10%, #14203f55, transparent);
}

*{ box-sizing: border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--grad), var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Utilidades */
.container{ width: min(1100px, 92vw); margin-inline: auto; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Status bar */
.status-bar{
  display:flex; gap:.75rem; align-items:center; justify-content:center;
  padding:.6rem .9rem; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 18%, #1a1f35), color-mix(in srgb, var(--brand) 8%, #1a1f35));
  border-bottom: 1px solid var(--line); font-size:.95rem;
}
.status-text {
  opacity: 1;
  color: color-mix(in srgb, #ffffff 90%, var(--brand));
}


.badge{
  background: color-mix(in srgb, var(--brand) 12%, #d8e7ff);
  border:1px solid color-mix(in srgb, var(--brand) 25%, #c8ddff);
  color: color-mix(in srgb, var(--brand-ink) 80%, #0077ff);
  padding:.2rem .55rem; border-radius:999px; letter-spacing:.3px; text-transform:uppercase;
  font-weight:700; font-size:.72rem;
}

/* Header */
.site-header{ position: sticky; top:0; z-index:40; backdrop-filter: blur(8px);
  background: color-mix(in hsl, var(--bg) 85%, transparent); border-bottom: 1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 0; }
.logo{ font-weight:800; font-size:1.25rem; color:var(--text); text-decoration:none; }
.logo span{ color: var(--brand) }
.menu{ display:flex; gap:1.2rem; }
.menu a{ color: var(--muted); text-decoration:none; font-weight:500; }
.menu a:hover{ color: var(--text) }

.actions{ display:flex; align-items:center; gap:.6rem; }

/* Botón tema */
.theme-toggle{
  display:inline-flex; align-items:center; gap:.4rem; cursor:pointer;
  border:1px solid var(--line); background: var(--panel); color: var(--text);
  padding:.55rem .7rem; border-radius: .8rem; box-shadow: var(--shadow);
  font-weight:600;
}
.theme-toggle:hover{ filter: brightness(1.04) }

/* CTA */
.cta{
  background: var(--brand); color:#fff; font-weight:700;
  padding:.75rem 1rem; border-radius: .9rem; display:inline-flex; align-items:center;
  justify-content:center; border:0; cursor:pointer; box-shadow: var(--shadow);
}
.cta.ghost{
  background: color-mix(in srgb, var(--brand) 12%, var(--panel));
  color: color-mix(in srgb, var(--text) 85%, var(--muted));
  box-shadow:none; border:1px solid var(--line);
}
.cta:hover{ filter: brightness(1.07) }

/* Hero */
.hero{ display:grid; grid-template-columns: 1.1fr .9fr; gap:2rem; align-items:center; padding: 3.2rem 0 2rem; }
.hero h1{ font-size: clamp(2rem, 2.8vw + 1rem, 3.2rem); margin: 0 0 .6rem; line-height:1.1; }
.chip{
  font-size:.8rem; font-weight:800; text-transform:uppercase;
  background: color-mix(in srgb, var(--brand) 12%, var(--soft));
  border:1px solid color-mix(in srgb, var(--brand) 24%, var(--soft));
  color: color-mix(in srgb, var(--brand-ink) 85%, #0b1220);
  padding:.28rem .6rem; border-radius:999px;
}
.lead{ color: var(--muted); font-size:1.05rem }

.waitlist{
  margin:1.2rem 0 1rem; display:flex; gap:.6rem; flex-wrap:wrap;
  background: var(--panel); padding:.6rem; border-radius: 12px; border:1px solid var(--line);
}
.waitlist input{
  flex:1 1 260px; min-width: 220px; background: var(--soft); border:1px solid var(--line); color:var(--text);
  padding:.8rem .9rem; border-radius:10px; outline:none;
}
.waitlist input::placeholder{ color: color-mix(in srgb, var(--muted) 70%, var(--text)) }
.waitlist .cta{ padding:.85rem 1rem }
.disclaimer{ display:block; width:100%; color: var(--muted); margin-top:.2rem; font-size:.84rem }

.highlights{ margin:1rem 0 0; padding:0; list-style:none; color: color-mix(in srgb, var(--text) 88%, var(--muted)) }
.highlights li{ margin:.25rem 0 }

.hero-media{ display:flex; align-items:center; justify-content:center; }
.mockup{
  width:min(520px, 90%); background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow:hidden; position:relative;
}
.mockup-header{ height:40px; display:flex; align-items:center; gap:.4rem; padding:0 .75rem;
  border-bottom:1px solid var(--line); background: color-mix(in srgb, var(--soft) 85%, var(--panel));
}
.mockup-header span{ width:12px; height:12px; border-radius:50%; background: color-mix(in srgb, var(--brand) 18%, #b7c6da); }
.mockup-body{ padding:1.2rem }
.skeleton{
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 10%, #dfe8f5) 25%, color-mix(in srgb, var(--brand) 18%, #e8f1fb) 37%, color-mix(in srgb, var(--brand) 10%, #dfe8f5) 63%);
  background-size: 400% 100%; animation: loader 1.7s infinite ease-in-out;
  border-radius:10px; margin:.55rem 0;
}
.skeleton.title{ height:22px; width:60% }
.skeleton.bar{ height:14px; width:90% }
.skeleton.bar.short{ width:70% }
.skeleton.card{ height:52px; width:100% }
.dev-stamp{
  position:absolute; right:12px; top:10px; font-weight:800; font-size:.72rem; letter-spacing:.2em;
  color:#0f2a3f; background: color-mix(in srgb, var(--brand) 20%, #d9ecff); border:1px dashed color-mix(in srgb, var(--brand) 40%, #b9dcff);
  padding:.25rem .5rem; border-radius:6px; transform: rotate(6deg);
}
@keyframes loader{ 0%{ background-position: 200% 0 } 100%{ background-position: -200% 0 } }

/* Features */
.features{ padding: 2.6rem 0 1.6rem }
.features h2, .faq h2{ margin:0 0 .8rem; font-size:1.7rem }
.grid{ display:grid; gap:1rem; grid-template-columns: repeat(4, 1fr); }
.feature{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius); padding:1rem;
}
.feature h3{ margin:.2rem 0 .4rem }
.tag{
  font-size:.7rem; font-weight:800; text-transform:uppercase; padding:.15rem .45rem; border-radius:999px; margin-left:.4rem;
}
.tag.wip{ background: #e6f4d7; color:#23521d; border:1px solid #c6e6b1 }
.tag.soon{ background:#efe6ff; color:#3c2f66; border:1px solid #dbc9ff }
.tag.research{ background:#eeeeee; color:#222; border:1px solid #d4d4d4 }
.tag.ok{ background:#dbf8ec; color:#185f41; border:1px solid #b6efda }

/* Seguridad */
.security {
  padding: 2.6rem 0 1.6rem;
}
.security h2 {
  margin: 0 0 .8rem;
  font-size: 1.7rem;
  color: var(--brand-ink);
}


/* FAQ */
.faq details{
  background: var(--panel); border:1px solid var(--line); border-radius: 12px; padding:.8rem 1rem; margin:.6rem 0;
}
.faq summary{ cursor:pointer; font-weight:600 }

/* Footer */
.site-footer{
  border-top:1px solid var(--line); margin-top:2.2rem; padding:1.2rem 0 2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--soft) 70%, var(--panel)), var(--bg));
}
.footer-grid{ display:grid; grid-template-columns: 1fr auto; align-items:center; gap:1rem; }
.logo.small{ font-size:1rem }
.footer-nav{ display:flex; gap:1rem }
.footer-nav a{ color: var(--muted); text-decoration:none }
.footnote{ color: var(--muted) }

/* Responsivo */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; gap:1.6rem }
  .menu{ display:none }
  .grid{ grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 520px){
  .waitlist{ padding:.5rem }
  .waitlist input{ min-width: 0 }
  .features .grid{ grid-template-columns: 1fr }
}
