/* ───────────────────────────────────────────────────
   FlickBaby /get — Minimal Bio Link Landing Page
   Design: Midnight Calm (dark sage-green)
   ─────────────────────────────────────────────────── */

:root {
  --bg: #0e110e;
  --surface: rgba(26, 32, 26, 0.6);
  --accent: #8baf7e;
  --accent-soft: #b8d3af;
  --accent-deep: #6b8f60;
  --text: #e8eae4;
  --text-secondary: #a4aa9f;
  --text-muted: #6a706a;
  --glow-color: rgba(139, 175, 126, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

[hidden] { display: none !important; }

html, body {
  height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Page shell ── */

.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* ── Ambient glow ── */

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.glow--top {
  width: 420px;
  height: 420px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139,175,126,0.18), transparent 70%);
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

.glow--bottom {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(107,143,96,0.10), transparent 70%);
  animation: glow-pulse 8s ease-in-out 2s infinite alternate;
}

@keyframes glow-pulse {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

/* ── Hero / Main content ── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── Brand mark ── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.brand:hover { opacity: 1; }
.brand img { border-radius: 8px; }

/* ── Headline ── */

.headline {
  font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.headline__accent {
  display: block;
  color: var(--accent-soft);
}

/* ── Subline ── */

.subline {
  max-width: 400px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ── CTA Buttons ── */

.actions {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 20px;
  border-radius: 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }

.cta--android {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: none;
  box-shadow: 0 8px 28px rgba(107,143,96,0.28), 0 0 0 1px rgba(139,175,126,0.15);
}

.cta--android:hover {
  box-shadow: 0 12px 36px rgba(107,143,96,0.38), 0 0 0 1px rgba(139,175,126,0.25);
}

.cta--ios {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
}

.cta--ios:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,175,126,0.3);
}

.cta__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.cta__label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta__sub {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ── Waitlist inline panel ── */

.waitlist {
  width: 100%;
  max-width: 420px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(139,175,126,0.06);
  border: 1px solid rgba(139,175,126,0.15);
  animation: slide-in 0.3s ease-out;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.waitlist__label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.waitlist__row {
  display: flex;
  gap: 8px;
}

.waitlist__input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(10,12,10,0.7);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist__input:focus {
  border-color: rgba(139,175,126,0.4);
  box-shadow: 0 0 0 3px rgba(139,175,126,0.10);
}

.waitlist__input::placeholder {
  color: var(--text-muted);
}

.waitlist__submit {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.waitlist__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(107,143,96,0.3);
}

.waitlist__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.waitlist__fine {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.waitlist__success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.waitlist__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139,175,126,0.15);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Trust bar ── */

.trust {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ── Footer ── */

.footer {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 20px;
  z-index: 1;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover { color: var(--text-secondary); }

/* ── Responsive ── */

@media (max-width: 480px) {
  .page { padding: 20px 16px; }

  .brand { margin-bottom: 32px; }

  .headline {
    font-size: 1.65rem;
  }

  .subline {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .cta {
    justify-content: center;
  }

  .waitlist__row {
    flex-direction: column;
  }

  .footer {
    position: relative;
    bottom: auto;
    margin-top: 40px;
  }
}
