/* ============================================================
   GOLDLINES — Waitlist & Countdown Page Styles (waitlist.css)
   Dark theme: deep black bg, gold accents, burgundy CTAs,
   high-contrast text for maximum readability
   ============================================================ */

/* ── PAGE-LEVEL OVERRIDES ─────────────────────────────────── */
body.waitlist-body {
  background: #0D0D0D;
}

/* Nav — full dark */
body.waitlist-body nav {
  background: rgba(13, 13, 13, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.waitlist-body .nav-logo {
  color: var(--camel);
}

body.waitlist-body .nav-links a {
  color: rgba(255, 255, 255, 0.65);
}

body.waitlist-body .nav-links a:hover {
  color: var(--white);
}

body.waitlist-body .nav-links a::after {
  background: var(--camel);
}

body.waitlist-body .nav-cta {
  background: var(--burgundy) !important;
  border-color: var(--burgundy) !important;
}

body.waitlist-body .nav-cta:hover {
  background: var(--burgundy-d) !important;
}

/* Mobile drawer */
body.waitlist-body .nav-drawer {
  background: #111111;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.waitlist-body .nav-drawer a {
  color: rgba(255, 255, 255, 0.65);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.waitlist-body .nav-drawer a:hover {
  color: var(--white);
}

body.waitlist-body .nav-toggle span {
  background: var(--white);
}

/* ── HERO SECTION ─────────────────────────────────────────── */
.waitlist-hero {
  background: #0D0D0D;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind headline */
.waitlist-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(114, 32, 50, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Decorative watermark letter */
.waitlist-hero::after {
  content: 'G';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-serif);
  font-size: clamp(160px, 22vw, 340px);
  font-weight: 600;
  color: rgba(196, 154, 108, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.waitlist-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.waitlist-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--camel);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.waitlist-eyebrow::before,
.waitlist-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--camel);
  opacity: 0.5;
}

.waitlist-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 300;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.waitlist-headline strong {
  font-style: normal;
  font-weight: 600;
  color: var(--camel);
  display: block;
}

.waitlist-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  max-width: 400px;
  line-height: 1.85;
  margin: 0 auto var(--space-xl);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* ── COUNTDOWN ────────────────────────────────────────────── */
.countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
  flex-wrap: wrap;
}

.countdown-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(196, 154, 108, 0.07);
  border: 1px solid rgba(196, 154, 108, 0.2);
  padding: 28px 24px 20px;
  min-width: 90px;
  position: relative;
}

/* Gold accent bar on top */
.countdown-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--camel),
    transparent
  );
  opacity: 0.6;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  transition: color 0.25s ease, transform 0.15s ease;
  display: block;
}

.countdown-num.tick {
  color: var(--camel);
  transform: scale(1.06);
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--camel);
  opacity: 0.7;
}

.countdown-separator {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: rgba(196, 154, 108, 0.3);
  line-height: 1;
  padding-bottom: 28px; /* aligns with numbers */
  align-self: flex-end;
}

.countdown-note {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.08em;
  margin-top: var(--space-xs);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

/* ── DIVIDER ──────────────────────────────────────────────── */
.waitlist-divider {
  width: 100%;
  height: 0.5px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(196, 154, 108, 0.25),
    transparent
  );
  margin: 0;
}

/* ── FORM SECTION ─────────────────────────────────────────── */
.waitlist-form-section {
  background: #111111;
  padding: 80px 0 100px;
  position: relative;
}

/* Subtle top glow */
.waitlist-form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(196, 154, 108, 0.3),
    transparent
  );
}

.waitlist-form-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.waitlist-form-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}

.waitlist-form-title em {
  font-style: italic;
  color: var(--camel);
}

.waitlist-form-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ── FORM FIELDS ──────────────────────────────────────────── */
.waitlist-full-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waitlist-full-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels — clearly visible */
.waitlist-full-form .form-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Inputs — high contrast, clearly defined */
.waitlist-full-form .form-input,
.waitlist-full-form .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(196, 154, 108, 0.3);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 16px 18px;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  border-radius: 0;
}

.waitlist-full-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
}

/* Focus state — gold border glow */
.waitlist-full-form .form-input:focus,
.waitlist-full-form .form-select:focus {
  background: rgba(196, 154, 108, 0.06);
  border-color: rgba(196, 154, 108, 0.4);
  border-bottom-color: var(--camel);
  box-shadow: 0 4px 24px rgba(196, 154, 108, 0.08);
  outline: none;
}

/* Select dropdown */
.waitlist-full-form .form-select {
  color: rgba(255, 255, 255, 0.5);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(196,154,108,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
  cursor: pointer;
}

.waitlist-full-form .form-select:focus {
  color: #FFFFFF;
}

.waitlist-full-form .form-select option {
  background: #1a1a1a;
  color: #FFFFFF;
  font-size: 14px;
}

/* Optional label */
.waitlist-optional {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  text-transform: none;
  margin-left: 6px;
}

/* ── ERROR STATE ──────────────────────────────────────────── */
#wl-error {
  background: rgba(114, 32, 50, 0.2);
  border-left: 2px solid var(--burgundy);
  padding: 10px 14px;
  font-size: 12px;
  color: #F0A0A8;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ── SUBMIT BUTTON ────────────────────────────────────────── */
.waitlist-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 8px;
}

.waitlist-submit-btn {
  width: 100%;
  justify-content: center;
  background: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 20px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.waitlist-submit-btn:hover {
  background: var(--burgundy-d);
  border-color: var(--burgundy-d);
  transform: translateY(-1px);
}

.waitlist-submit-btn:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

.waitlist-privacy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  line-height: 1.7;
}

/* ── SUCCESS STATE ────────────────────────────────────────── */
.waitlist-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) 0;
}

.waitlist-success.visible {
  display: block;
}

.waitlist-success-icon {
  font-size: 40px;
  color: var(--camel);
  margin-bottom: var(--space-md);
  display: block;
  animation: pulse 2s ease-in-out infinite;
}

.waitlist-success-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  font-style: italic;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.waitlist-success-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.85;
  max-width: 380px;
  margin: 0 auto var(--space-lg);
}

.waitlist-success-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── INFO STRIP ───────────────────────────────────────────── */
.waitlist-info-strip {
  background: #0D0D0D;
  border-top: 0.5px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0;
}

.waitlist-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.waitlist-info-item {
  text-align: center;
  padding: 0 var(--space-lg);
  position: relative;
}

/* Vertical divider between items */
.waitlist-info-item::after {
  content: '';
  position: absolute;
  right: 0; top: 10%;
  height: 80%;
  width: 0.5px;
  background: rgba(255, 255, 255, 0.07);
}

.waitlist-info-item:last-child::after {
  display: none;
}

.waitlist-info-icon {
  font-size: 20px;
  color: var(--camel);
  margin-bottom: var(--space-sm);
  display: block;
  opacity: 0.7;
}

.waitlist-info-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.2;
}

.waitlist-info-body {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.85;
  max-width: 220px;
  margin: 0 auto;
}

/* ── FOOTER OVERRIDE ──────────────────────────────────────── */
body.waitlist-body footer {
  background: #0A0A0A;
  border-top: 0.5px solid rgba(255, 255, 255, 0.04);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .waitlist-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .waitlist-info-item::after { display: none; }
  .waitlist-info-item { padding: 0 var(--space-md); }
}

@media (max-width: 768px) {
  .waitlist-hero {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 56px;
  }

  .waitlist-hero::after { display: none; }

  .waitlist-hero-inner { padding: 0 var(--pad-x-md); }

  .countdown-wrap { gap: 8px; }

  .countdown-tile {
    min-width: 70px;
    padding: 20px 16px 16px;
  }

  .countdown-separator {
    font-size: 32px;
    padding-bottom: 22px;
  }

  .waitlist-form-section { padding: var(--space-xl) 0 80px; }

  .waitlist-form-inner { padding: 0 var(--pad-x-md); }

  /* Prevent iOS zoom on input focus */
  .waitlist-full-form .form-input,
  .waitlist-full-form .form-select {
    font-size: 16px;
  }

  .waitlist-submit-btn { padding: 18px; }

  .waitlist-info-strip { padding: var(--space-xl) 0; }

  .waitlist-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .waitlist-success-actions {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-success-actions .btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .countdown-tile {
    min-width: 60px;
    padding: 16px 12px 12px;
  }

  .countdown-num { font-size: 36px; }

  .countdown-separator { display: none; }

  .waitlist-form-section { padding: var(--space-lg) 0 64px; }

  .waitlist-info-strip { padding: var(--space-lg) 0; }

  .waitlist-info-item { padding: 0; }

  .waitlist-eyebrow::before,
  .waitlist-eyebrow::after { width: 20px; }
}