/* ============================================================
   Watts Referral — look Figma New Brand (node 228:13725)
   Tokens: blue #0F6BFF · green #00332A · black #181818
   ============================================================ */

:root {
  --blue: #0F6BFF;
  --blue-dark: #0A56D6;
  --green: #00332A;
  --black: #181818;
  --white: #FAFAFA;
  --bg: #FFFFFF;
  --text-muted: #4A4A4A;
  --border: #E8E8E8;
  --border-input: #6B6B6B;
  --shadow-glass: 4px 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-card: 4px 4px 10px rgba(76, 76, 76, 0.25);
  --radius-hero: 32px;
  --radius-card: 20px;
  --radius-band: 36px;
  --font-sans: 'Bagoss', 'Bagoss Standard', 'Schibsted Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, button, input, span, div, a, li { font-family: var(--font-sans); }
a { color: var(--blue); text-decoration: none; }
input::placeholder { color: #ABABAB; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  padding: 0 24px;
}
.site-header-inner {
  max-width: 1358px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}
.brand-logo--light {
  height: 36px;
}
.program-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(15, 107, 255, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
}

.hero-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin: 0;
}
.countdown {
  display: flex; flex-direction: column; gap: 12px; width: 100%;
}
.countdown-label { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.countdown-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.countdown-unit {
  background: #fff; border: 1px solid rgba(15, 107, 255, 0.2); border-radius: 14px;
  padding: 12px 8px; text-align: center;
}
.countdown-unit span {
  display: block; font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--black);
}
.countdown-unit small {
  display: block; margin-top: 4px; font-size: 11px; color: var(--text-muted); text-transform: uppercase;
}

.share-row { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.share-label { margin: 0; font-size: 13px; font-weight: 600; color: rgba(250,250,250,0.7); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--share {
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn--share:hover { background: rgba(255,255,255,0.14); }

/* ---------- Hero ---------- */
.hero {
  padding: 8px 24px 48px;
}
.hero-stage {
  position: relative;
  max-width: 1358px;
  margin: 0 auto;
  border-radius: var(--radius-hero);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #fff;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 85px 85px;
  opacity: 0.35;
  border-radius: var(--radius-hero);
  border: 1px solid rgba(15, 107, 255, 0.35);
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  gap: 24px;
  align-items: center;
  padding: 48px 40px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 560px;
  padding: 40px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8.5px);
  -webkit-backdrop-filter: blur(8.5px);
  box-shadow: var(--shadow-glass);
}
.hero-title {
  margin: 0 0 12px;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
}
.hero-sub {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
}
.hero-actions { display: flex; }

.hero-widget {
  background: var(--black);
  color: var(--white);
  border-radius: 19px;
  padding: 28px;
  box-shadow: var(--shadow-glass);
  min-height: 420px;
}
.hero-widget .access-title,
.hero-widget .confirmation-title { color: var(--white); }
.hero-widget .access-sub,
.hero-widget .confirmation-sub,
.hero-widget .checkbox-field,
.hero-widget .field { color: rgba(250, 250, 250, 0.78); }
.hero-widget .field input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.hero-widget .field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 107, 255, 0.35);
}
.hero-widget .link-box input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.hero-widget .btn--secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.hero-widget .friend-badge {
  background: rgba(15, 107, 255, 0.25);
  color: #BFD3FF;
}
.hero-widget .confirmation-icon {
  background: rgba(15, 107, 255, 0.2);
  color: #9DB9F7;
}

.reveal { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal--delay { animation-delay: 0.12s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: 64px 24px; }
.section-inner {
  max-width: 1358px;
  margin: 0 auto;
}
.section-inner--narrow { max-width: 760px; }
.section-title {
  margin: 0 0 40px;
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--green);
}
.section-title--center { text-align: center; }
.section-head { margin-bottom: 24px; }

/* ---------- Steps ---------- */
.steps-section { padding-top: 24px; }
.steps-track {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius-card);
  padding: 24px;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-shadow: var(--shadow-card);
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.step-card:nth-child(1) { animation-delay: 0.05s; }
.step-card:nth-child(3) { animation-delay: 0.12s; }
.step-card:nth-child(5) { animation-delay: 0.19s; }
.step-card:nth-child(7) { animation-delay: 0.26s; }
.step-card--blue { background: var(--blue); color: #fff; }
.step-card--white { background: #fff; color: var(--black); border: 1px solid rgba(0,0,0,0.04); }
.step-card--green { background: var(--green); color: #fff; }
.step-connector {
  flex: none;
  width: 35px;
  align-self: center;
  display: flex;
  align-items: center;
}
.step-connector img {
  width: 100%;
  height: 3px;
  display: block;
}
.step-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: flex-start;
}
.step-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.step-card--white .step-icon img { filter: brightness(0); }
.step-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.step-body {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.95;
}
.step-card--white .step-body { color: var(--text-muted); opacity: 1; }

/* ---------- Product band ---------- */
.product-section { padding-top: 16px; }
.product-band {
  background: var(--blue);
  border-radius: var(--radius-band);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 590px);
  gap: 48px;
  align-items: stretch;
  box-shadow: 0 -4px 9px rgba(0, 0, 0, 0.1);
  min-height: 480px;
}
.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  color: var(--white);
}
.product-title {
  margin: 0 0 15px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}
.product-sub {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  max-width: 520px;
}
.product-visual {
  background: var(--black);
  border-radius: 19px;
  overflow: hidden;
  min-height: 360px;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}
.faq-mark { flex: none; color: var(--blue); font-size: 20px; }
.faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  border: none;
  border-radius: 99px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }
.btn--light { background: var(--white); color: var(--black); align-self: flex-start; }
.btn--light:hover { background: #fff; color: var(--black); }
.btn--primary { background: var(--blue); color: #fff; width: 100%; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--secondary {
  background: rgba(15, 107, 255, 0.15);
  color: var(--blue);
  width: 100%;
}
.cello-launcher { position: relative; margin-top: 12px; }

/* ---------- Form ---------- */
.access-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.access-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.access-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.access-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.field input {
  border: 1px solid var(--border-input);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  outline: none;
  background: #fff;
}
.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 107, 255, 0.15);
}
.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox-field input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex: none;
}
.form-error {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #FF6B6B;
}
.link-box {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.link-box input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13px;
  background: #F6F6F6;
  outline: none;
}
.btn--copy {
  flex: none;
  width: auto;
  padding: 12px 18px;
  font-size: 14px;
}
.copy-feedback {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #9DB9F7;
}
.friend-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(15, 107, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
}
.appstore-btn { width: auto; text-decoration: none; margin-top: 4px; }
.appstore-btn:hover { color: #fff; }

.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 12px 0;
}
.confirmation-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.confirmation-title { font-size: 18px; font-weight: 700; color: var(--black); }
.confirmation-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  padding: 28px 24px;
  margin-top: auto;
}
.site-footer-inner {
  max-width: 1358px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-note { font-size: 12px; color: rgba(250, 250, 250, 0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }
  .product-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .product-visual { min-height: 280px; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
  /* Mobile: formulario negro primero, copy blanco abajo */
  .hero-widget { order: -1; min-height: auto; }
  .hero-stage { min-height: auto; }
  .hero-copy { max-width: none; padding: 28px 24px; gap: 24px; }
}

@media (max-width: 640px) {
  .steps-track { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; line-height: 1.15; }
  .hero { padding: 8px 16px 36px; }
  .hero-inner { padding: 20px 12px; gap: 16px; }
  .hero-copy { padding: 24px 20px; }
  .step-card { gap: 28px; min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .step-card { animation: none; }
  .btn { transition: none; }
}
