/* ===== Becoming Limitless — Landing Styles ===== */

:root {
  --bg-deep: #080d1a;
  --bg-mid: #0b0b28;
  --violet: #a06be0;
  --magenta: #d36bd8;
  --gold: #ffd89a;
  --gold-warm: #f7c47a;
  --text: #f3eee6;
  --muted: #b8b3c9;
  --card-bg: rgba(20, 18, 50, 0.55);
  --card-border: rgba(160, 107, 224, 0.25);
  --shadow-violet: 0 12px 48px rgba(160, 107, 224, 0.25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

.sr-only { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Cosmic background ===== */
.cosmic {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
}
.cosmic-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(160, 107, 224, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(211, 107, 216, 0.25), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 216, 154, 0.18), transparent 65%),
    radial-gradient(ellipse at 100% 100%, rgba(11, 11, 40, 0.95), transparent 70%),
    linear-gradient(180deg, #050816 0%, #0b0b28 50%, #080d1a 100%);
}
#starfield {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cosmic-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ===== Layout ===== */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  position: relative;
  z-index: 1;
}

/* ===== Hero ===== */
.hero { text-align: center; margin-bottom: 36px; }

.brand-mark {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}
.brand-mark img {
  position: relative;
  width: 160px; height: 160px;
  filter: drop-shadow(0 0 28px rgba(160, 107, 224, 0.55))
          drop-shadow(0 0 14px rgba(255, 216, 154, 0.4));
  animation: brand-float 6s ease-in-out infinite;
}
.brand-glow {
  position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255, 216, 154, 0.35) 0%, rgba(160, 107, 224, 0.25) 35%, transparent 70%);
  filter: blur(28px);
  animation: brand-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes brand-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin: 6px 0 10px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.word-becoming {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 30%, #efe6c8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.word-limitless {
  display: inline-block;
  margin-left: 0.3em;
  background: linear-gradient(180deg, #ffffff 0%, #ffd89a 60%, #d36bd8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

/* ===== Trailer ===== */
.trailer {
  margin: 40px auto 36px;
  max-width: 920px;
}
.trailer-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(160, 107, 224, 0.25);
}
.trailer-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  border: none;
  background: rgba(255, 216, 154, 0.92);
  color: #0b0b28;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(255, 216, 154, 0.4), 0 0 0 12px rgba(255, 216, 154, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-btn.hidden { opacity: 0; pointer-events: none; }
.mute-btn {
  position: absolute; bottom: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* ===== Waitlist ===== */
.waitlist {
  text-align: center;
  margin: 48px auto 36px;
  max-width: 620px;
}
.waitlist-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  background: linear-gradient(180deg, #ffffff 30%, #ffd89a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.waitlist-sub {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 24px;
  line-height: 1.5;
}

.subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.subscribe input[type="email"] {
  flex: 1 1 280px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(160, 107, 224, 0.35);
  background: rgba(11, 11, 40, 0.6);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.subscribe input[type="email"]::placeholder { color: rgba(184, 179, 201, 0.7); }
.subscribe input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 216, 154, 0.18);
}
.subscribe button {
  padding: 16px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ffd89a 0%, #d36bd8 60%, #a06be0 100%);
  color: #1a0f2e;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-violet);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  position: relative;
  min-width: 220px;
}
.subscribe button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 18px 60px rgba(255, 216, 154, 0.28); }
.subscribe button:disabled { opacity: 0.7; cursor: not-allowed; }
.subscribe button.loading .btn-label { opacity: 0; }
.subscribe button.loading .btn-spinner {
  position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin-top: -9px; margin-left: -9px;
  border: 2px solid rgba(26, 15, 46, 0.4);
  border-top-color: #1a0f2e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn-spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-msg {
  margin: 16px 0 0;
  min-height: 22px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-msg.success { color: var(--gold); }
.form-msg.error { color: #ff9aa8; }

.legal {
  color: rgba(184, 179, 201, 0.7);
  font-size: 0.8rem;
  margin: 14px 0 0;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 56px auto 60px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 216, 154, 0.45); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(160, 107, 224, 0.25), rgba(255, 216, 154, 0.18));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid rgba(160, 107, 224, 0.18);
}
.footer-brand { font-size: 1rem; margin: 0 0 6px; color: #fff; }
.footer-contact { margin: 0 0 16px; }
.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.footer-contact a:hover { text-decoration: underline; }

.socials {
  list-style: none;
  display: flex; justify-content: center; gap: 14px;
  padding: 0; margin: 0 0 18px;
}
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  background: rgba(20, 18, 50, 0.5);
  border: 1px solid rgba(160, 107, 224, 0.25);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.copyright {
  color: rgba(184, 179, 201, 0.6);
  font-size: 0.8rem;
  margin: 0;
}

/* ===== Confetti ===== */
#confetti {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .container { padding: 40px 18px 60px; }
  .brand-mark img { width: 120px; height: 120px; }
  .subscribe button { min-width: 100%; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark img, .brand-glow { animation: none; }
  #starfield { display: none; }
}
