:root {
  --bg: #07090f;
  --bg-soft: #0d1220;
  --card: rgba(16, 22, 36, 0.62);
  --card-strong: rgba(20, 28, 46, 0.82);
  --text: #f6f7fb;
  --muted: #afb8cf;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #ffbf47;
  --gold-2: #ff8f1f;
  --blue: #6fd8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1200px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, rgba(255, 183, 77, 0.22), transparent 35%),
              radial-gradient(circle at 80% 20%, rgba(111, 216, 255, 0.16), transparent 28%),
              linear-gradient(180deg, #04060b 0%, #09101b 52%, #06080d 100%);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

.noise,
.bg-grid,
.bg-orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.noise {
  opacity: 0.06;
  background-image: radial-gradient(#fff 0.45px, transparent 0.45px);
  background-size: 8px 8px;
}
.bg-grid {
  opacity: 0.06;
  background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.bg-orb {
  filter: blur(80px);
}
.orb-1 {
  background: radial-gradient(circle, rgba(255, 170, 51, 0.24), transparent 60%);
  width: 520px; height: 520px; top: -120px; left: -100px;
  animation: drift 18s ease-in-out infinite;
}
.orb-2 {
  background: radial-gradient(circle, rgba(97, 220, 255, 0.18), transparent 60%);
  width: 480px; height: 480px; top: 22%; right: -140px;
  animation: drift 22s ease-in-out infinite reverse;
}

.site-header,
.section,
.site-footer {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.82), rgba(6, 8, 13, 0.35));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(255, 169, 54, 0.3);
}
.brand-sub { color: var(--muted); font-size: 0.95rem; }
.nav-links,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links a {
  color: #d2d8e8;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  font-weight: 700;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(255, 166, 0, 0.28);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-lg { padding: 15px 22px; }

.section { padding: 78px 0; }
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 42px;
  padding-top: 36px;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.hero h1,
.section-heading h2,
.split-card h2,
.launch-left h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  max-width: 10ch;
}
.hero h1 span {
  background: linear-gradient(135deg, #fff2ca, #ffba43 42%, #ff8c1e 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 22px 0 28px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
}
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
}
.stat-label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }
.stat-value { font-size: 1.25rem; font-weight: 800; }

.hero-visual { position: relative; }
.hero-card {
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}
.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(3,5,9,0.85));
}
.hero-card-badge {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 191, 71, 0.15);
  border: 1px solid rgba(255, 191, 71, 0.32);
  color: #ffe9b1;
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
}
.floating-card { animation: float 6s ease-in-out infinite; }
.floating-chip {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(11, 16, 28, 0.76);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.chip-1 { top: 8%; left: -4%; animation: chipFloat 8s ease-in-out infinite; }
.chip-2 { top: 54%; right: -7%; animation: chipFloat 10s ease-in-out infinite reverse; }
.chip-3 { bottom: 7%; left: 5%; animation: chipFloat 9s ease-in-out infinite; }

.section-heading { margin-bottom: 28px; max-width: 780px; }
.section-heading h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-card,
.split-card,
.quote-card,
.launch-shell,
.gallery-card {
  border-radius: var(--radius-xl);
}
.story-card {
  padding: 28px;
}
.story-step {
  display: inline-block;
  font-weight: 900;
  color: #ffcf74;
  font-size: 0.92rem;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.story-card h3 { margin: 0 0 14px; font-size: 1.45rem; }
.story-card p,
.split-card p,
.quote-card p,
.launch-left p,
figcaption {
  color: var(--muted);
  line-height: 1.75;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-card {
  overflow: hidden;
  position: relative;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(8, 11, 18, 0.55);
  backdrop-filter: blur(12px);
  color: #eef1f8;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3,5,9,0.88));
}
.gallery-card.tall { grid-column: span 5; min-height: 640px; }
.gallery-card:not(.tall):not(.wide) { grid-column: span 7; min-height: 310px; }
.gallery-card.wide { grid-column: span 12; min-height: 420px; }

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.split-card,
.quote-card { padding: 30px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
}
.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffcf74;
}
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 100%;
}
.quote-mark {
  font-size: 6rem;
  line-height: 0.8;
  color: rgba(255, 191, 71, 0.5);
}
.quote-card p {
  font-size: 1.55rem;
  color: var(--text);
  margin: 0 0 18px;
}
.quote-card span { color: #ffcf74; font-weight: 700; }

.launch-shell {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  padding: 32px;
}
.launch-right {
  display: grid;
  gap: 14px;
}
.info-box {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.info-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  word-break: break-all;
  color: #fff0bf;
}
.copy-btn {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}
.launch-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer {
  padding: 30px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(40px, 20px, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .launch-shell,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card.tall,
  .gallery-card:not(.tall):not(.wide),
  .gallery-card.wide {
    grid-column: span 12;
    min-height: 320px;
  }
  .gallery-card.tall { min-height: 520px; }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 16px;
  }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --container: min(100vw - 24px, 1200px); }
  .section { padding: 58px 0; }
  .hero { gap: 26px; min-height: auto; padding-top: 18px; }
  .brand { flex-direction: column; align-items: flex-start; }
  .header-actions,
  .launch-buttons,
  .hero-cta-row,
  .footer-links { width: 100%; }
  .header-actions .btn,
  .launch-buttons .btn,
  .hero-cta-row .btn { flex: 1; }
  .split-card,
  .quote-card,
  .story-card,
  .launch-shell { padding: 22px; }
}
