:root {
  --bg: #0b0609;
  --bg-2: #14090d;
  --surface: #1c1014;
  --line: #3a2030;
  --text: #f2e8e4;
  --muted: #b39a94;
  --mars: #ff6b3d;
  --mars-2: #ffb020;
  --cyan: #39d0ff;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .nav-brand, .kicker, .footer-brand {
  font-family: "Space Grotesk", sans-serif;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(11, 6, 9, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--text);
  text-decoration: none;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb020, #c33d1a 70%);
  box-shadow: 0 0 12px rgba(255, 107, 61, .8);
}

.brand-accent { color: var(--mars); }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--mars);
  border-radius: 999px;
  color: var(--mars) !important;
}
.nav-cta:hover { background: var(--mars); color: #1a0b06 !important; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(1100px 500px at 50% 120%, rgba(255, 107, 61, .22), transparent 65%),
    radial-gradient(700px 400px at 80% -10%, rgba(255, 176, 32, .08), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 55% 30%, #ffd 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 92% 55%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 62% 45%, #ffe 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 45%, #fff 50%, transparent 51%);
  opacity: .8;
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle { from { opacity: .55; } to { opacity: .9; } }

.hero-inner { position: relative; z-index: 2; padding: 120px 24px 160px; max-width: 900px; }

.hero-eyebrow {
  color: var(--mars-2);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
}

.grad {
  background: linear-gradient(90deg, var(--mars), var(--mars-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin-top: 26px;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--text);
  font-weight: 500;
}

.tagline sup { color: var(--mars-2); }

.footnote {
  margin-top: 8px;
  color: var(--muted);
  font-size: .95rem;
  font-style: italic;
}

.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(90deg, var(--mars), #e04a1f);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 107, 61, .35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(255, 107, 61, .55); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--mars); }

.btn-big { font-size: 1.05rem; padding: 15px 36px; width: 100%; }

.hero-horizon {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
}

/* ---------- SECTIONS ---------- */
.section { padding: 110px 24px; max-width: 1200px; margin: 0 auto; }

.kicker {
  color: var(--mars);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .75rem;
  font-weight: 600;
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 12px 0 54px;
  letter-spacing: -.01em;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 61, .5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.card img.top { object-position: top; }

.card figcaption { padding: 18px 20px 22px; }
.card figcaption strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.02rem; margin-bottom: 6px; }
.card figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- REASONS ---------- */
.reasons { max-width: 1150px; }

.reason-grid {
  list-style: none;
  counter-reset: reason;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.reason {
  counter-increment: reason;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 22px 66px;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, transform .2s;
}
.reason:hover { border-color: rgba(255, 176, 32, .45); transform: translateY(-3px); }

.reason::before {
  content: counter(reason, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(180deg, var(--mars), var(--mars-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- SIGNUP ---------- */
.signup { display: flex; justify-content: center; }

.signup-box {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(180deg, var(--bg-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.signup-sub { text-align: center; color: var(--muted); margin: -34px 0 36px; font-size: .95rem; }

.field { margin-bottom: 22px; border: none; }

.field label, .field legend {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
}
.field label em { color: var(--muted); font-weight: 400; font-style: normal; }

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  background: #0e080c;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus {
  outline: none;
  border-color: var(--mars);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, .18);
}

.field small { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  font-size: .9rem;
  color: var(--muted);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.checks label:hover { border-color: var(--mars); color: var(--text); }
.checks input { accent-color: var(--mars); }

.affirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0;
  padding: 16px;
  border: 1px dashed rgba(255, 176, 32, .4);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
}
.affirm input { margin-top: 4px; accent-color: var(--mars-2); }

.fine { margin-top: 16px; text-align: center; color: var(--muted); font-size: .78rem; }

.success {
  text-align: center;
  padding: 30px 10px 10px;
}
.success h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--mars), var(--mars-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.success p { color: var(--muted); margin-bottom: 10px; }

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 70px 24px 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-brand span { color: var(--mars); }
.footer p { max-width: 560px; margin: 0 auto 10px; }
.footer-fine { font-size: .78rem; opacity: .7; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .82rem; }
  .nav-cta { display: none; }
  .signup-box { padding: 36px 24px; }
  .section { padding: 80px 18px; }
}
