/* ============================================================
   Design 18 — "NEON"
   Dark backdrop, glowing neon-sign typography.
   Teal and coral neon text-shadows. Raleway typeface.
   ============================================================ */

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

:root {
  --bg:      #080C10;
  --teal:    #6FA7A3;
  --coral:   #DD6F56;
  --white:   #FFFFFF;
  --dim:     rgba(255,255,255,0.4);
  --font:    'Raleway', sans-serif;

  /* Neon glows */
  --glow-teal:  0 0 8px #6FA7A3, 0 0 20px #6FA7A3, 0 0 40px rgba(111,167,163,0.6), 0 0 80px rgba(111,167,163,0.3);
  --glow-coral: 0 0 8px #DD6F56, 0 0 20px #DD6F56, 0 0 40px rgba(221,111,86,0.6), 0 0 80px rgba(221,111,86,0.3);
  --glow-white: 0 0 8px #fff,    0 0 20px #fff,    0 0 40px rgba(255,255,255,0.5);
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
}

/* ── Subtle radial glow bg ──────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(111,167,163,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(221,111,86,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ── Page layout ────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 10;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem 3rem;
}

/* ── Top bar ────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fade-up 0.6s ease both;
}

.topbar img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(var(--glow-teal));
}

.topbar__nav {
  display: flex;
  gap: 1.5rem;
}

.topbar__nav a {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.topbar__nav a:hover {
  color: var(--teal);
  text-shadow: var(--glow-teal);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero__eyebrow {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}

/* ── Neon heading ───────────────────────────────────────── */

.hero__heading {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 2rem;
}

.neon {
  display: block;
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: flicker 6s ease-in-out infinite;
}

.neon--teal {
  color: var(--teal);
  text-shadow: var(--glow-teal);
  animation-delay: 0s;
}

.neon--coral {
  color: var(--coral);
  text-shadow: var(--glow-coral);
  font-style: italic;
  animation-delay: 2s;
}

.neon--white {
  display: inline;
  font-size: clamp(5rem, 13vw, 12rem);
  color: var(--white);
  text-shadow: var(--glow-white);
  animation-delay: 1s;
}

@keyframes flicker {
  0%, 92%, 96%, 100% { opacity: 1; }
  94%                { opacity: 0.85; }
  95%                { opacity: 1; }
}

/* ── Body + form row ────────────────────────────────────── */

.hero__body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dim);
  max-width: 400px;
  margin-bottom: 1.75rem;
}

/* ── Form ───────────────────────────────────────────────── */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.form__input {
  height: 48px;
  padding: 0 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(111,167,163,0.4);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form__input::placeholder { color: rgba(255,255,255,0.2); }
.form__input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(111,167,163,0.3);
}

.form__btn {
  height: 48px;
  padding: 0 1.5rem;
  background: transparent;
  color: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: var(--glow-coral);
  box-shadow: 0 0 12px rgba(221,111,86,0.2);
  transition: background 0.2s, box-shadow 0.2s;
}

.form__btn:hover {
  background: rgba(221,111,86,0.12);
  box-shadow: 0 0 24px rgba(221,111,86,0.4);
}

.form__btn:disabled { opacity: 0.45; cursor: default; }

.form__confirm {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--teal);
  text-shadow: 0 0 8px rgba(111,167,163,0.5);
}
.form__confirm[hidden] { display: none; }

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  animation: fade-up 0.6s 0.25s ease both;
}

.footer__copy {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* ── Keyframes ──────────────────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 640px) {
  .page { padding: 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
  .neon { animation: none !important; }
}
