:root {
  --bg: #000000;
  --bg-2: #050b12;
  --cyan: #00b4ff;
  --cyan-bright: #1ec7ff;
  --cyan-soft: #7fdcff;
  --cyan-deep: #0088cc;
  --white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-faint: rgba(255, 255, 255, 0.4);
  --border: rgba(0, 180, 255, 0.28);
  --border-soft: rgba(255, 255, 255, 0.08);
  --accent: var(--cyan);
  --accent-bright: var(--cyan-bright);
  --accent-soft: var(--cyan-soft);
  --accent-deep: var(--cyan-deep);
  --accent-rgb: 0,180,255;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(var(--accent-rgb),0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(var(--accent-rgb),0.12), transparent 60%),
    linear-gradient(180deg, #000 0%, #03080e 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center top, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 20%, transparent 75%);
}
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); opacity: 0.38; pointer-events: none; z-index: 0;
}
.orb-1 { width: 420px; height: 420px; top: -140px; left: -120px; background: var(--accent); animation: float1 16s ease-in-out infinite; }
.orb-2 { width: 360px; height: 360px; bottom: -160px; right: -100px; background: var(--accent-deep); animation: float2 20s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, 50px) scale(1.05); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, -70px) scale(1.08); } }

.container {
  position: relative; z-index: 2;
  max-width: 560px; margin: 0 auto;
  padding: 28px 20px 60px;
}

.header {
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: fadeDown 0.9s 0.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.logo-wrap {
  width: 120px; height: 120px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  animation: logoGlow 3.2s ease-in-out infinite;
}
.logo-wrap::after {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.35), transparent 60%);
  z-index: -1;
}
.logo-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(var(--accent-rgb),0.5)); }
  50%      { filter: drop-shadow(0 0 32px rgba(var(--accent-rgb),0.9)); }
}

.brand-line { margin-top: 20px; text-align: center; }
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 7vw, 38px);
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(var(--accent-rgb),0.25);
}
.brand-sub {
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 500;
}

.hero { text-align: center; padding: 34px 0 14px; opacity: 0; animation: fadeUp 0.9s 0.35s cubic-bezier(.2,.7,.2,1) forwards; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--accent-rgb),0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-soft);
}
.eyebrow .dot {
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.85); } }

.hero h1 { margin-top: 18px; font-family: 'Oswald', sans-serif; font-weight: 700; line-height: 0.95; text-transform: uppercase; }
.hero h1 .big {
  display: block;
  font-size: clamp(72px, 22vw, 116px);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(var(--accent-rgb),0.15);
  margin-bottom: 2px;
}
.hero h1 .small {
  display: block; font-size: clamp(20px, 5.8vw, 30px);
  color: var(--white); letter-spacing: 0.05em; font-weight: 600;
}
.hero .tagline {
  margin: 20px auto 0; max-width: 440px;
  font-size: 15px; color: var(--text-dim); line-height: 1.55;
}
.hero .tagline strong { color: var(--white); font-weight: 600; }

.features {
  margin: 26px 0 10px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  opacity: 0; animation: fadeUp 0.9s 0.55s cubic-bezier(.2,.7,.2,1) forwards;
}
.feature {
  padding: 14px 8px 12px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}
.feature .ico { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--accent); display: block; }
.feature .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.feature .sub { font-size: 10px; color: var(--text-dim); margin-top: 3px; letter-spacing: 0.02em; }

.form-card {
  margin-top: 14px;
  padding: 26px 20px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,25,35,0.88), rgba(5,10,18,0.92));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(var(--accent-rgb),0.08);
  opacity: 0; animation: fadeUp 0.9s 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.form-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-align: center;
}
.form-sub {
  text-align: center; font-size: 13px; color: var(--text-dim);
  margin-top: 4px; margin-bottom: 22px;
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; margin-bottom: 12px; }
.field label {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 6px; padding-left: 2px;
}
.field input {
  width: 100%;
  padding: 14px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),0.06);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.15);
}
.field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(255, 90, 90, 0.55);
}

.btn-submit {
  width: 100%; margin-top: 8px; padding: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #001018;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--accent) 100%);
  border: none; border-radius: 14px;
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(var(--accent-rgb),0.4), inset 0 0 0 1px rgba(255,255,255,0.5);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-submit:active { transform: translateY(1px); }
.btn-submit:hover { box-shadow: 0 16px 40px rgba(var(--accent-rgb),0.6), inset 0 0 0 1px rgba(255,255,255,0.7); }
.btn-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-110%);
  animation: shimmer 3.4s infinite;
}
.btn-submit[disabled] { opacity: 0.7; cursor: wait; }
.btn-submit[disabled]::after { animation: none; }
@keyframes shimmer { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }

.legal {
  margin-top: 14px; font-size: 11px; color: var(--text-faint);
  text-align: center; line-height: 1.5;
}
.legal a { color: var(--accent-soft); text-decoration: none; }

.footer {
  margin-top: 34px;
  text-align: center;
  font-size: 10.5px;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.18em; text-transform: uppercase;
}

.success { display: none; text-align: center; padding: 24px 14px 10px; }
.success.active { display: block; animation: fadeUp 0.5s ease; }
.success .check-wrap {
  width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.25), transparent 65%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.success .check-wrap::before {
  content: ''; position: absolute; inset: 12px;
  border-radius: 50%; border: 2px solid rgba(var(--accent-rgb),0.4);
  animation: ripple 1.6s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.success svg.check { width: 46px; height: 46px; color: var(--accent); position: relative; z-index: 1; }
.success h3 {
  font-family: 'Oswald', sans-serif; font-size: 26px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.success .recap {
  margin: 12px auto 0; max-width: 360px;
  color: var(--text-dim); font-size: 14px;
}
.success .recap strong { color: var(--white); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 360px) {
  .row { grid-template-columns: 1fr; }
  .features { gap: 6px; }
  .feature { padding: 12px 4px; }
  .feature .lbl { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* Promo-specific accent themes (override --accent on body) */
body.theme-amber {
  --accent: #ffb43a;
  --accent-bright: #ffc864;
  --accent-soft: #ffd994;
  --accent-deep: #c97b00;
  --accent-rgb: 255,180,58;
  --border: rgba(255,180,58,0.32);
}
body.theme-red {
  --accent: #ff5246;
  --accent-bright: #ff7a70;
  --accent-soft: #ffb1ab;
  --accent-deep: #b91d12;
  --accent-rgb: 255,82,70;
  --border: rgba(255,82,70,0.32);
}
