/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg:            hsl(252, 28%, 4%);
  --primary:       hsl(338, 70%, 62%);
  --primary-glow:  hsl(338, 70%, 62%, 0.28);
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Inter', -apple-system, sans-serif;
  --white:         #ffffff;
  --w70:           rgba(255,255,255,0.70);
  --w55:           rgba(255,255,255,0.55);
  --w45:           rgba(255,255,255,0.45);
  --w35:           rgba(255,255,255,0.35);
  --w30:           rgba(255,255,255,0.30);
  --w25:           rgba(255,255,255,0.25);
  --w20:           rgba(255,255,255,0.20);
  --w15:           rgba(255,255,255,0.15);
  --w10:           rgba(255,255,255,0.10);
  --w08:           rgba(255,255,255,0.08);
  --w06:           rgba(255,255,255,0.06);
  --w04:           rgba(255,255,255,0.04);
  --feature-bg:    hsl(252, 25%, 6%);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }
strong { font-weight: 600; }

/* ─── Background atmospheric gradients ──────────────────────── */
.bg-gradients {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-grad {
  position: absolute;
  border-radius: 50%;
}
.bg-orange {
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, hsl(25, 80%, 50%), transparent 70%);
  opacity: 0.22;
}
.bg-magenta {
  bottom: 10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, hsl(338, 65%, 52%), transparent 70%);
  opacity: 0.14;
}
.bg-violet-left {
  top: -80px; left: -80px;
  width: 650px; height: 500px;
  background: radial-gradient(ellipse, hsl(265, 55%, 22%), transparent 70%);
  opacity: 0.25;
}
.bg-violet-right {
  top: -80px; right: -80px;
  width: 500px; height: 450px;
  background: radial-gradient(ellipse, hsl(252, 45%, 18%), transparent 70%);
  opacity: 0.20;
}
.bg-lavender {
  top: 33%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 300px;
  background: radial-gradient(ellipse, hsl(270, 40%, 45%), transparent 70%);
  opacity: 0.08;
}

/* ─── Palm silhouettes ──────────────────────────────────────── */
.palms {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.palm {
  position: absolute;
  bottom: 0;
  color: hsl(252, 35%, 8%);
}
.palm-bl  { left: -24px;  width: 112px; height: 320px; opacity: 0.90; }
.palm-bl2 { left:  64px;  width:  80px; height: 240px; opacity: 0.70; }
.palm-br  { right: -24px; width: 112px; height: 320px; opacity: 0.90; }
.palm-br2 { right:  64px; width:  80px; height: 240px; opacity: 0.70; }

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.logo-icon {
  width: 1rem;
  height: 1rem;
  color: var(--w60, rgba(255,255,255,0.60));
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--w80, rgba(255,255,255,0.80));
}
.logo-text strong { color: var(--white); font-weight: 700; }

/* ─── Main ───────────────────────────────────────────────────── */
.site-main {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 7rem;
  max-width: 56rem;
  margin: 0 auto;
}

/* ─── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--w10);
  border-radius: 9999px;
  background: var(--w04);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w55);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── Hero title ─────────────────────────────────────────────── */
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0;
}
.hero-title__line1 {
  display: block;
  font-size: clamp(4rem, 14vw, 8.5rem);
}
.hero-title__line2 {
  display: block;
  font-size: clamp(3rem, 11vw, 6.5rem);
  color: var(--w85, rgba(255,255,255,0.85));
}

/* ─── Accent line ────────────────────────────────────────────── */
.accent-line {
  width: 12rem;
  height: 1px;
  margin: 1.5rem auto 2.5rem;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

/* ─── Subtitle ───────────────────────────────────────────────── */
.subtitle {
  color: var(--w50, rgba(255,255,255,0.50));
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-weight: 300;
}
.subtitle strong { color: var(--w75, rgba(255,255,255,0.75)); font-weight: 500; }
.subtitle-small {
  color: var(--w35);
  font-size: 0.875rem;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* ─── Countdown ──────────────────────────────────────────────── */
.countdown-section { margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--w30);
  margin-bottom: 1.75rem;
}
.countdown-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 75ms;
}
.cd-block.cd-tick { transform: scale(1.04); }
.cd-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.cd-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--w20), transparent);
}
.cd-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--w30);
}
.cd-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--w15);
  margin-bottom: 2rem;
  user-select: none;
  line-height: 1;
  margin-top: 0.5rem;
}
@media (min-width: 640px) {
  .countdown-row { gap: 1.5rem; }
  .cd-num { font-size: clamp(4rem, 10vw, 4.5rem); }
  .cd-sep { font-size: 2.25rem; }
}

/* ─── CTA section ────────────────────────────────────────────── */
.cta-section {
  width: 100%;
  max-width: 32rem;
}
.cta-section > div:first-child {
  border: 1px solid var(--w08);
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  padding: 1.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cta-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.cta-sub {
  font-size: 0.875rem;
  color: var(--w40, rgba(255,255,255,0.40));
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.cta-form { width: 100%; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .form-row { flex-direction: row; }
}
.form-input {
  flex: 1;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--w10);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-body);
  padding: 0 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--w20); }
.form-input:focus {
  border-color: rgba(212, 79, 107, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 79, 107, 0.12);
}
.form-btn {
  height: 3rem;
  padding: 0 1.75rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 4px 24px var(--primary-glow);
}
.form-btn:hover {
  background: hsl(338, 72%, 67%);
  box-shadow: 0 4px 32px rgba(212, 79, 107, 0.38);
}
.form-btn:active { transform: scale(0.97); }
.form-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error {
  font-size: 0.6875rem;
  color: var(--primary);
  margin-top: 0.5rem;
  text-align: left;
}
.cta-hint {
  font-size: 0.6875rem;
  color: var(--w20);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ─── Success state ──────────────────────────────────────────── */
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 0;
}
.success-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 79, 107, 0.3);
  background: rgba(212, 79, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--primary);
}
.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.success-sub {
  font-size: 0.875rem;
  color: var(--w40, rgba(255,255,255,0.40));
  font-weight: 300;
  max-width: 24rem;
}

/* ─── Horizontal separator ───────────────────────────────────── */
.h-sep {
  width: 100%;
  max-width: 48rem;
  height: 1px;
  margin: 5rem 0 3.5rem;
  background: linear-gradient(to right, transparent, var(--w08), transparent);
}

/* ─── Features ───────────────────────────────────────────────── */
.features-section { width: 100%; max-width: 48rem; }
.features-section .section-eyebrow { margin-bottom: 2.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--w06);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--w06);
  gap: 1px;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--feature-bg);
  text-align: left;
  transition: background 0.15s;
}
.feature-item:hover { background: hsl(252, 25%, 8%); }
.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--w08);
  background: var(--w04);
  margin-top: 0.125rem;
}
.feature-icon svg {
  width: 1rem; height: 1rem;
  color: var(--w50, rgba(255,255,255,0.50));
}
.feature-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--w85, rgba(255,255,255,0.85));
  margin-bottom: 0.125rem;
}
.feature-desc {
  font-size: 0.75rem;
  color: var(--w30);
  line-height: 1.5;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stats-section {
  width: 100%;
  max-width: 48rem;
  margin-top: 4rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--w06);
  border-radius: 1rem;
  overflow: hidden;
  divide-x: 1px solid var(--w06);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  background: var(--feature-bg);
  border-left: 1px solid var(--w06);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w30);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 0 2rem 2rem;
  margin-top: 2rem;
}
.footer-sep {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto 2rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--w08), transparent);
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  color: var(--w25);
  font-weight: 300;
  letter-spacing: 0.03em;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-links a:hover { color: var(--w50, rgba(255,255,255,0.50)); }
