/* ---------------------------------------------------------
   WEALTH24X7 — Coming Soon
   Palette: near-black / charcoal / gold. Handcrafted, quiet luxury.
--------------------------------------------------------- */

:root {
  --ink: #08070a;
  --charcoal: #14120f;
  --charcoal-2: #1c1815;
  --hairline: rgba(214, 174, 90, 0.16);
  --paper: #f3ede1;
  --paper-dim: rgba(243, 237, 225, 0.62);
  --paper-faint: rgba(243, 237, 225, 0.38);

  --gold-1: #fbdf8f;
  --gold-2: #e3ad4d;
  --gold-3: #b8792a;
  --gold-4: #6e4415;

  --gold-grad: linear-gradient(115deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 78%, var(--gold-4) 100%);
  --gold-grad-soft: linear-gradient(180deg, rgba(251, 223, 143, 0.14), rgba(184, 121, 42, 0.05));

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- atmosphere ---------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(184, 121, 42, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(110, 68, 21, 0.14), transparent 60%),
    linear-gradient(180deg, #0a0908 0%, #08070a 45%, #0c0a08 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.glow-a {
  width: 640px;
  height: 640px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(251, 223, 143, 0.22), transparent 70%);
  animation: drift-a 22s ease-in-out infinite;
}

.glow-b {
  width: 480px;
  height: 480px;
  bottom: -220px;
  right: -120px;
  background: radial-gradient(circle, rgba(184, 121, 42, 0.20), transparent 70%);
  animation: drift-b 26s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-46%, 30px) scale(1.06); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -24px) scale(1.05); }
}

.streak {
  position: absolute;
  width: 1px;
  height: 140%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(231, 197, 122, 0.18) 45%, transparent 80%);
  mix-blend-mode: screen;
  transform: rotate(14deg);
}

.streak-a { left: 18%; opacity: 0.5; }
.streak-b { left: 74%; opacity: 0.3; height: 160%; top: -30%; }

.grain {
  position: absolute;
  inset: -10%;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

#embers {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

/* ---------- layout ---------- */

.stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px) clamp(20px, 6vw, 32px) clamp(20px, 4vw, 32px);
}

.panel {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- reveal choreography ---------- */

.logo, .badge, .headline, .subtext, .glass-card, .trust-note {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease-out) forwards;
}

.logo { animation-delay: 0.05s; }
.badge { animation-delay: 0.22s; }
.headline { animation-delay: 0.36s; }
.subtext { animation-delay: 0.5s; }
.glass-card { animation-delay: 0.64s; }
.trust-note { animation-delay: 0.82s; }

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

@media (prefers-reduced-motion: reduce) {
  .logo, .badge, .headline, .subtext, .glass-card, .trust-note {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .glow-a, .glow-b { animation: none; }
}

/* ---------- logo ---------- */

.logo {
  width: min(360px, 78vw);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(231, 173, 77, 0.35));
  margin-bottom: clamp(18px, 3vw, 26px);
}

/* ---------- badge ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: clamp(22px, 4vw, 30px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 10px 2px rgba(251, 223, 143, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ---------- headline ---------- */

.headline {
  margin: 0 0 clamp(16px, 3vw, 20px);
  font-size: clamp(2.1rem, 5.6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.headline span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtext {
  max-width: 480px;
  margin: 0 0 clamp(32px, 5vw, 44px);
  font-size: clamp(1rem, 1.6vw, 1.09rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--paper-dim);
}

/* ---------- glass card / form ---------- */

.glass-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background: linear-gradient(155deg, rgba(28, 24, 21, 0.65), rgba(20, 18, 15, 0.55));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  position: relative;
}

.field {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 7, 10, 0.5);
  color: var(--paper);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background 0.25s var(--ease-soft);
}

.field input::placeholder { color: rgba(243, 237, 225, 0.28); }

.field input:hover {
  border-color: rgba(231, 197, 122, 0.28);
}

.field input:focus {
  border-color: rgba(231, 197, 122, 0.55);
  background: rgba(8, 7, 10, 0.72);
  box-shadow: 0 0 0 4px rgba(231, 173, 77, 0.12), 0 0 24px -6px rgba(231, 173, 77, 0.4);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(200, 90, 70, 0.55);
}

/* CTA */

.cta {
  position: relative;
  margin-top: 6px;
  padding: 15px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1206;
  background: var(--gold-grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: 0 14px 34px -12px rgba(231, 173, 77, 0.55);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-position 0.6s var(--ease-soft);
  overflow: hidden;
}

.cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 18px 44px -12px rgba(231, 173, 77, 0.7);
}

.cta:active { transform: translateY(0); }

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-soft);
}

.cta:hover::after { transform: translateX(120%); }

.cta:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

.cta-label { position: relative; z-index: 1; }

.form-message {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.form-message[data-state="ok"] { color: #d8c48a; }
.form-message[data-state="error"] { color: #e08a72; }

/* ---------- trust note & footer ---------- */

.trust-note {
  margin: clamp(20px, 3vw, 26px) 0 0;
  font-size: 13px;
  color: var(--paper-faint);
  letter-spacing: 0.01em;
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 8vw, 64px);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(243, 237, 225, 0.32);
}

/* ---------- responsive ---------- */

@media (max-width: 420px) {
  .glass-card { border-radius: 20px; }
  .logo { width: 76vw; }
}
