/* ============================================================
   Conversion X — Coming Soon
   Dark, premium, conversion-focused. Lime "X" accent.
   ============================================================ */

:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f5f3;
  --muted: #9a9ca3;
  --muted-2: #6c6e76;
  --lime: #c6ff3d;
  --lime-dim: rgba(198, 255, 61, 0.14);
  --radius: 14px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Atmosphere ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000 35%, transparent 78%);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -28vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  max-width: 1100px;
  height: 70vh;
  background: radial-gradient(ellipse at center, var(--lime-dim) 0%, transparent 62%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.06); }
}

/* Ghosted brand mark in the lower-right */
.bg-mark {
  position: fixed;
  right: -8vw;
  bottom: -12vh;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  background: url("brand/mark.svg") center / contain no-repeat;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(1) brightness(1.6);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 48px) 36px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  height: 30px;
  width: auto;
  display: block;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(198, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 9vh, 96px) 0;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
}

.x-accent {
  color: var(--lime);
}

.subhead {
  margin-top: 24px;
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Notify form ---------- */
.notify {
  margin-top: 36px;
  max-width: 520px;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field:focus-within {
  border-color: rgba(198, 255, 61, 0.55);
  box-shadow: 0 0 0 4px rgba(198, 255, 61, 0.10);
}

.field-icon {
  display: flex;
  color: var(--muted-2);
  flex-shrink: 0;
}
.field-icon svg { width: 19px; height: 19px; }

#email {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 4px;
  outline: none;
}
#email::placeholder { color: var(--muted-2); }

/* honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: #0a0c06;
  background: var(--lime);
  padding: 11px 18px;
  border-radius: 9px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
  box-shadow: 0 8px 20px -8px rgba(198, 255, 61, 0.5);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(198, 255, 61, 0.65);
}
.btn:active { transform: translateY(0); }
.btn .btn-arrow { width: 17px; height: 17px; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.form-msg {
  margin-top: 12px;
  min-height: 18px;
  font-size: 13.5px;
  padding-left: 4px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.form-msg.show { opacity: 1; transform: translateY(0); }
.form-msg.ok    { color: var(--lime); }
.form-msg.error { color: #ff8585; }

/* ---------- Chips ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.chips svg { width: 16px; height: 16px; color: var(--lime); }

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 48px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 58px;
}
.cd-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.cd-lab {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cd-sep {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--muted-2);
  line-height: 1.2;
  padding-top: 2px;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--muted-2);
}
.foot-right { display: inline-flex; align-items: center; gap: 10px; }
.dot-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted-2); display: inline-block;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .bg-glow, .status-dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .field { flex-wrap: wrap; padding: 8px; }
  .field-icon { display: none; }
  #email { padding-left: 8px; flex-basis: 100%; }
  .btn { width: 100%; justify-content: center; }
  .countdown { gap: 8px; }
  .cd-unit { min-width: 0; }
  .footer { justify-content: flex-start; }
}
