/* ============================================================
   Anker SOLIX E10 — Lanzamiento (WindMar Home)
   Implementation of "E10 Lanzamiento.dc.html" from the
   WindMar Home × Anker design system.
   ============================================================ */

/* ---------- Fonts (subset of the DS families actually used) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Dark launch palette (as authored in the design file) */
  --e10-bg: #000000;
  --e10-cyan: #00CBEB;
  --e10-cyan-soft: #93E0EC;
  --e10-fg: #FFFFFF;
  --e10-fg-2: #DCDCDE;
  --e10-fg-3: #B4B4B6;
  --e10-fg-4: #8D8D8F;
  --e10-fg-5: #58585A;
  --e10-danger: #FF8A8A;
  --e10-hairline: rgba(255, 255, 255, .12);
  --e10-wrap: 1180px;
  --e10-gutter: 32px;
  --e10-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--e10-bg);
  color: var(--e10-fg);
  font-family: var(--e10-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: var(--e10-cyan); text-decoration: none; }
a:hover { color: var(--e10-cyan-soft); }

.wrap { max-width: var(--e10-wrap); margin: 0 auto; }

.accent { color: var(--e10-cyan); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--e10-cyan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--e10-cyan);
  color: var(--e10-fg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 34px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter var(--e10-dur, 200ms) cubic-bezier(.2, .7, .2, 1);
}
.btn:hover { filter: brightness(.94); color: var(--e10-fg); }
.btn:active { transform: scale(.98); }
.btn--sm { font-size: 14px; padding: 12px 22px; }
.btn--lg { font-size: 16px; padding: 16px 34px; }
.btn--block { display: block; width: 100%; padding: 16px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header__inner {
  max-width: var(--e10-wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--e10-gutter);
}
.site-header__actions { display: flex; align-items: center; gap: 24px; }
.site-header__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--e10-cyan-soft);
}

/* Co-branding lockup */
/* La cabecera lleva solo el logotipo de Anker (el diseño quitó de ahí el
   logo de WindMar y la línea divisoria; el pie sí conserva el lockup). */
.lockup { display: flex; align-items: center; gap: 16px; }
.lockup__windmar { height: 40px; width: auto; display: block; }
.lockup__anker { width: 178px; height: 49px; display: block; }
.lockup__rule { width: 1px; height: 34px; background: rgba(255, 255, 255, .45); }
.lockup--sm { gap: 14px; }
.lockup--sm .lockup__windmar { height: 34px; }
.lockup--sm .lockup__anker { width: 55px; height: 15px; }
.lockup--sm .lockup__rule { height: 28px; background: rgba(255, 255, 255, .4); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--e10-bg); }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--e10-wrap);
  margin: 0 auto;
  padding: 48px var(--e10-gutter) 0;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(0, 203, 235, .4);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--e10-cyan-soft);
}
.hero__title {
  margin: 20px auto 0;
  max-width: 880px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero__lede {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 18px;
  font-weight: 500;
  color: var(--e10-fg-2);
  line-height: 1.55;
}
.hero__date {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--e10-fg-3);
}
.hero__cta { margin-top: 22px; }

.hero__kv {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -18vw;
  margin-bottom: -200px;
  position: relative;
  z-index: 1;
  left: -30px;
}

/* Countdown */
.countdown {
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}
.countdown__unit { text-align: center; }
.countdown__value {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__value--accent { color: var(--e10-cyan); }
.countdown__label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--e10-fg-3);
}
.countdown__sep {
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, .25);
  transform: translateY(-10px);
}

/* ---------- Especificaciones ---------- */
.specs { padding: 72px var(--e10-gutter); background-color: var(--e10-bg); }
.section-head { text-align: center; }
.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--e10-cyan-soft);
}
.section-head__title {
  margin: 12px 0 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.statgrid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--e10-hairline);
  border-bottom: 1px solid var(--e10-hairline);
}
.statgrid__cell { padding: 36px 32px; border-right: 1px solid var(--e10-hairline); }
.statgrid__cell:last-child { border-right: none; }
.statgrid__figure {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.statgrid__unit { font-size: 26px; font-weight: 700; color: var(--e10-cyan); }
.statgrid__name { margin-top: 12px; font-size: 14px; font-weight: 600; }
.statgrid__note {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--e10-fg-4);
  line-height: 1.5;
}

.specs__detail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
.specs__product { width: 100%; max-height: 420px; object-fit: contain; }

.specsheet { display: flex; flex-direction: column; margin: 0; }
.specsheet__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.specsheet__row:last-child { border-bottom: none; }
.specsheet dt { font-size: 14px; font-weight: 500; color: var(--e10-fg-4); }
.specsheet dd { margin: 0; font-size: 16px; font-weight: 700; text-align: right; }

/* ---------- Registro ---------- */
.registro {
  position: relative;
  background: radial-gradient(110% 90% at 50% 100%, #004966 0%, #001721 70%, #000000 100%);
  padding: 84px var(--e10-gutter);
  overflow: hidden;
}
.registro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--e10-cyan);
}
.registro__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.registro__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}
.registro__lede {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 16px;
  font-weight: 500;
  color: var(--e10-fg-2);
  line-height: 1.6;
}

.registro__done {
  margin-top: 32px;
  background: rgba(0, 203, 235, .1);
  border: 1px solid rgba(0, 203, 235, .4);
  border-radius: 16px;
  padding: 32px 28px;
}
.registro__done-title { margin: 0; font-size: 22px; font-weight: 700; color: var(--e10-cyan); }
.registro__done-note {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--e10-fg-2);
  line-height: 1.6;
}

.registro__form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.registro__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field {
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--e10-fg);
  outline: none;
  transition: border-color 200ms cubic-bezier(.2, .7, .2, 1), box-shadow 200ms cubic-bezier(.2, .7, .2, 1);
}
.field::placeholder { color: rgba(255, 255, 255, .45); }
.field:focus {
  border-color: var(--e10-cyan);
  box-shadow: 0 0 0 4px rgba(0, 203, 235, .18);
}
.field[aria-invalid="true"] { border-color: var(--e10-danger); }
/* Campo trampa para bots. Fuera de pantalla en vez de display:none —
   algunos bots ignoran los campos ocultos con display. */
.registro__trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.registro__error { margin: 0; font-size: 13px; font-weight: 600; color: var(--e10-danger); }
.registro__submit { margin-top: 6px; }
.registro__submit[disabled] { opacity: .6; cursor: progress; }
.registro__fine {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--e10-fg-4);
  text-align: center;
}

.trust {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust__figure { font-size: 22px; font-weight: 700; }
.trust__label { margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--e10-fg-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--e10-bg); padding: 26px var(--e10-gutter); }
.site-footer__inner {
  max-width: var(--e10-wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-footer__links a { font-size: 13px; font-weight: 500; color: var(--e10-fg-2); }
.site-footer__links a:hover { color: var(--e10-cyan); }
.site-footer__handle { font-size: 13px; font-weight: 500; color: var(--e10-fg-4); }
.site-footer__legal {
  max-width: var(--e10-wrap);
  margin: 14px auto 0;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--e10-fg-5);
  line-height: 1.5;
}

/* ============================================================
   Responsive — the design file is a fixed 1180px desktop
   artboard; these breakpoints scale it down without changing
   the desktop composition.
   ============================================================ */

@media (max-width: 1000px) {
  .hero__title { font-size: 46px; }
  .countdown__value { font-size: 56px; }
  .countdown__sep { font-size: 42px; }
  .specs__detail { grid-template-columns: 300px 1fr; gap: 36px; }
  .statgrid__cell { padding: 28px 22px; }
  .statgrid__figure { font-size: 44px; }
  .statgrid__unit { font-size: 22px; }
}

@media (max-width: 780px) {
  :root { --e10-gutter: 20px; }

  .site-header__tag { display: none; }
  .lockup__windmar { height: 32px; }
  .lockup__anker { width: 142px; height: 39px; }
  .lockup--sm .lockup__anker { width: 55px; height: 15px; }
  .lockup__rule { height: 26px; }

  .hero__content { padding-top: 36px; }
  .hero__title { font-size: 36px; }
  .hero__lede { font-size: 16px; }
  /* The KV is a wide 4:3 crop; at phone widths it collapses to a thin
     strip, so scale it up and center the product line in view. */
  .hero__kv {
    width: 150%;
    max-width: none;
    margin-top: -4vw;
    margin-bottom: -12vw;
    left: -25%;
  }

  .countdown { gap: 4px; }
  .countdown__value { font-size: 42px; }
  .countdown__label { font-size: 9px; letter-spacing: .1em; }
  .countdown__sep { font-size: 32px; transform: translateY(-6px); }

  .specs { padding: 56px var(--e10-gutter); }
  .section-head__title { font-size: 28px; }

  .statgrid {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }
  .statgrid__cell {
    border-right: none;
    border-bottom: 1px solid var(--e10-hairline);
    padding: 24px 0;
  }
  .statgrid__cell:last-child { border-bottom: none; }

  .specs__detail { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .specs__product { max-height: 300px; }
  .specsheet__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; }
  .specsheet dd { text-align: left; }

  .registro { padding: 64px var(--e10-gutter); }
  .registro__title { font-size: 30px; }
  .registro__pair { grid-template-columns: 1fr; }

  .trust { gap: 28px; text-align: center; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__links { gap: 16px 20px; }
}

@media (max-width: 400px) {
  .countdown__value { font-size: 34px; }
  .countdown__sep { font-size: 26px; }
  .hero__title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .field { transition: none; }
  .btn:active { transform: none; }
}
