:root {
  --bg: #080a0f;
  --bg-elevated: rgba(18, 22, 32, 0.72);
  --text: #f4f0e8;
  --muted: #a8a296;
  --gold: #c9a46a;
  --gold-soft: #e8d5a8;
  --gold-deep: #8f6d3a;
  --line: rgba(233, 216, 176, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(201, 164, 106, 0.16), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(90, 120, 180, 0.12), transparent 50%),
    radial-gradient(700px 500px at 50% 110%, rgba(201, 164, 106, 0.08), transparent 45%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.35;
}

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

.glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-a {
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(201, 164, 106, 0.35), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-b {
  right: -10%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(88, 112, 170, 0.28), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.page {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.4rem 0 1.2rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: rise 0.9s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold-soft);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.28rem;
}

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ghost-link:hover {
  color: var(--gold-soft);
  border-color: rgba(201, 164, 106, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}

.hero-copy {
  animation: rise 1s 0.1s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 164, 106, 0.55);
  animation: pulse 2s ease-out infinite;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.accent {
  background: linear-gradient(120deg, var(--gold-soft) 10%, var(--gold) 45%, #f3e6c5 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.lead {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2.1rem 0 2rem;
  max-width: 28rem;
}

.stat {
  padding: 0.95rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-soft);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.notify {
  max-width: 34rem;
}

.notify-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 18, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.notify input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
}

.notify input::placeholder {
  color: rgba(168, 162, 150, 0.75);
}

.notify button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  color: #14110c;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  background: linear-gradient(135deg, #f0dfb5, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 30px rgba(201, 164, 106, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.notify button svg {
  width: 18px;
  height: 18px;
}

.notify button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(201, 164, 106, 0.38);
}

.notify button:active {
  transform: translateY(0);
}

.form-note {
  margin: 0.85rem 0 0 0.4rem;
  color: rgba(168, 162, 150, 0.9);
  font-size: 0.82rem;
}

.form-note.success {
  color: #c9e4b8;
}

.form-note.error {
  color: #f0b4a4;
}

.hero-panel {
  animation: rise 1.1s 0.18s ease both;
}

.panel-card {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.8rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 40%, rgba(12, 14, 20, 0.55)),
    var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.panel-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 106, 0.22);
  box-shadow:
    inset 0 0 40px rgba(201, 164, 106, 0.08),
    0 0 60px rgba(201, 164, 106, 0.08);
  animation: spin 28s linear infinite;
}

.panel-ring::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 213, 168, 0.28);
}

.panel-kicker {
  position: relative;
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.panel-card h2 {
  position: relative;
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.05;
}

.panel-text {
  position: relative;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.count-block {
  text-align: center;
  padding: 0.95rem 0.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.count-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-soft);
  line-height: 1;
}

.count-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244, 240, 232, 0.88);
  font-size: 0.95rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  box-shadow: 0 0 12px rgba(201, 164, 106, 0.45);
  flex-shrink: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(233, 216, 176, 0.08);
  color: rgba(168, 162, 150, 0.85);
  font-size: 0.85rem;
  animation: rise 1.1s 0.25s ease both;
}

.footer a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 164, 106, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 164, 106, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(201, 164, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 164, 106, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.08);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2rem 0 1.5rem;
  }

  .panel-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 1.4rem, 1180px);
    padding-top: 1rem;
  }

  .ghost-link {
    display: none;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
  }

  .stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .notify-field {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .notify button {
    justify-content: center;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
