/* ============================================
   STYLA MEASURE — Pre-launch Landing Page
   Design: Dark premium, glassmorphism, pain-first
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;600;700;800;900&display=swap');

/* === TOKENS === */
:root {
  --bg-base: #07070f;
  --bg-surface: #0e0e1c;
  --bg-raised: #141428;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(255, 42, 117, 0.3);

  --text-primary: #f0f0ff;
  --text-secondary: #9090b0;
  --text-muted: #5a5a7a;

  --accent: #ff2a75;
  --accent-light: #ff75a0;
  --accent-dim: rgba(255, 42, 117, 0.15);
  --accent-glow: rgba(255, 42, 117, 0.25);

  --pink: #ff0055;
  --amber: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow: 0 0 80px rgba(255, 42, 117, 0.2);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* === CONTAINER === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(7, 7, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.logo-accent { color: var(--accent-light); }
.nav-cta {
  padding: 8px 18px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 42, 117, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 117, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow--left {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,42,117,0.18) 0%, transparent 70%);
  top: -100px; left: -200px;
}
.hero-glow--right {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.12) 0%, transparent 70%);
  bottom: -50px; right: -150px;
}
.hero-glow--center {
  width: 800px; height: 400px;
  background: radial-gradient(circle, rgba(255,42,117,0.2) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.badge-wrap { margin-bottom: 28px; }
.badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  animation: fadeInDown 0.6s ease both;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.headline-accent {
  background: linear-gradient(135deg, var(--accent-light), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.7s ease 0.2s both;
}

/* === FORM === */
.waitlist-form {
  animation: fadeInUp 0.7s ease 0.3s both;
}
.form-row {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
}
.form-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-width: 0;
}
.form-row input::placeholder { color: var(--text-muted); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--accent), #e6004c);
  border: none;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(255,42,117,0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255,42,117,0.5);
  background: linear-gradient(135deg, #ff4d8c, #ff2a75);
}
.btn-primary:active { transform: translateY(0); }
.btn-large { padding: 16px 32px; font-size: 1rem; }
.btn-arrow { width: 16px; height: 16px; }

.form-fine {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.success-msg {
  margin-top: 12px;
  padding: 12px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  color: #34d399;
  font-size: 0.9rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hidden { display: none !important; }

/* === COUNTER === */
.counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.counter-avatars { display: flex; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.counter-text { font-size: 0.85rem; color: var(--text-secondary); }
.counter-num { font-weight: 700; color: var(--text-primary); }

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 40px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-light), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 130px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  padding: 100px 0;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-align: center;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 64px;
  color: var(--text-primary);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}
.step-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 12px 40px rgba(255,42,117,0.1);
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), transparent);
  position: relative;
}
.step-connector::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: -10px;
  color: var(--accent);
  font-size: 1.1rem;
}

/* ============================================
   WHO IT'S FOR
   ============================================ */
.who-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(255,42,117,0.03), transparent);
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}
.who-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.who-card--accent {
  background: linear-gradient(135deg, rgba(255,42,117,0.1), rgba(236,72,153,0.05));
  border-color: var(--border-accent);
  position: relative;
}
.who-card--accent::before {
  content: '⭐ Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #e6004c);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.who-icon { font-size: 2rem; margin-bottom: 16px; }
.who-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.who-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.who-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.who-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

/* ============================================
   SHORT TERM
   ============================================ */
.shortterm-section {
  padding: 100px 0;
}
.shortterm-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(255,42,117,0.08);
}
.shortterm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--pink), transparent);
}
.shortterm-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.shortterm-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.shortterm-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.shortterm-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}
.sf-item {
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sf-check {
  color: #34d399;
  font-weight: 700;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.final-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.waitlist-form--center { text-align: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .steps-grid { flex-direction: column; gap: 12px; }
  .step-connector { width: 100%; height: 1px; }
  .step-connector::after { content: '↓'; top: -14px; right: 50%; transform: translateX(50%); }
  .who-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 16px 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 8px;
  }
  .form-row input { padding: 6px 4px; }
  .btn-primary { width: 100%; justify-content: center; border-radius: var(--radius-md); }
  .shortterm-card { padding: 32px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
