/* ==========================================================================
   Bebeto — Coming Soon
   ========================================================================== */

:root {
  --midnight: #0B1323;
  --deep:     #141F35;
  --slate:    #1C2A45;
  --line:     #2A3A5C;
  --gold:     #FFB800;
  --indigo:   #6E7BFF;
  --white:    #FFFFFF;
  --text-2:   #C9D2E6;
  --muted:    #93A1BF;
  --error:    #FF8A9B;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html, body { margin: 0; background: var(--midnight); }

body {
  font-family: var(--font);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text-2); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.gold { color: var(--gold); }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Header ---------- */
.header {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { display: block; }
.brand__wordmark { width: auto; }

.social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.social__label { font-size: 13px; color: var(--muted); margin-right: 4px; }

.chip-link {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--deep);
  border: 1px solid var(--slate);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.chip-link:hover { border-color: var(--gold); }

/* ---------- Main ---------- */
.main {
  flex-grow: 1;
  padding-top: 24px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero__content {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  background: var(--deep);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: .98;
}

.hero__lead {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
}

/* ---------- Countdown ---------- */
.countdown { display: flex; flex-direction: column; gap: 12px; }
.countdown__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 96px));
  gap: 10px;
}
.countdown__cell {
  background: var(--deep);
  border: 1px solid var(--slate);
  border-radius: 14px;
  padding: 14px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.countdown__num {
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__unit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Signup ---------- */
.signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.signup__label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.signup__field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s;
}
.signup__field:focus-within { border-color: var(--gold); }
.signup__field.is-error { border-color: var(--error); }
.signup__field input {
  flex: 1 1 220px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
}
.signup__field input::placeholder { color: #6F7E9E; }
.signup__error { font-size: 13px; color: var(--error); }
.signup__hint { font-size: 12px; color: var(--muted); }

.btn-primary {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--midnight);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }

.success {
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--deep);
  border: 1px solid var(--gold);
  border-radius: 16px;
}
.success[hidden], .signup[hidden], .signup__error[hidden] { display: none; }
.success__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success__text { display: flex; flex-direction: column; gap: 2px; }
.success__text strong { font-size: 16px; }
.success__text span { font-size: 14px; color: var(--text-2); }

/* ---------- Hero visual ---------- */
.hero__visual {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.orbit {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
}
.orbit__chip {
  position: absolute;
  left: 6%; top: 6%;
  width: 88%; height: 88%;
}
.orbit__mono {
  position: absolute;
  left: 36%; top: 36%;
  width: 28%; height: 28%;
}

.float-tile {
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}
.float-tile--slate  { background: var(--slate); border: 1px solid var(--line); color: var(--white); }
.float-tile--indigo { background: var(--indigo); color: var(--midnight); }
.float-tile--gold   { background: var(--gold); color: var(--midnight); }
.pos-1 { left: 0;   top: 10%; }
.pos-2 { right: 2%; top: 2%;     animation-delay: -1.5s; }
.pos-3 { left: 6%;  bottom: 4%;  animation-delay: -3s; }
.pos-4 { right: 0;  bottom: 14%; animation-delay: -2.2s; }

.spin { animation: spin 40s linear infinite; transform-origin: 50% 50%; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--deep);
  border: 1px solid var(--slate);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--slate);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__title { margin: 0; font-size: 18px; font-weight: 800; font-style: italic; }
.feature__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--slate); }
.footer__inner {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.footer__rg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.age-badge {
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--muted);
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Animations ---------- */
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  .spin, .float-tile, .badge__dot { animation: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .social__label { display: none; }
  .countdown__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .countdown__num { font-size: 28px; }
  .float-tile { width: 56px; height: 56px; border-radius: 14px; }
  .float-tile svg { width: 26px; height: 26px; }
  .btn-primary { flex: 1 1 100%; }
}
