:root {
  --bg-0: #050912;
  --bg-1: #091120;
  --bg-2: #0c1526;
  --line: rgba(137, 178, 255, 0.15);
  --line-strong: rgba(100, 185, 255, 0.35);
  --text: #ecf3ff;
  --muted: #9aaccf;
  --cyan: #62d8ff;
  --cyan-2: #2b8cff;
  --green: #2ef0ae;
  --orange: #ff8f5a;
  --pink: #c564ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(29, 83, 177, 0.22), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(31, 161, 255, 0.18), transparent 25%),
    radial-gradient(circle at 82% 72%, rgba(39, 255, 187, 0.09), transparent 20%),
    linear-gradient(180deg, #081120 0%, #040811 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.site-bg,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
}

.site-bg::before {
  width: 32rem;
  height: 32rem;
  left: -8rem;
  top: 6rem;
  background: rgba(0, 143, 255, 0.22);
}

.site-bg::after {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  top: 10rem;
  background: rgba(0, 255, 187, 0.1);
}

.noise {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
}

.glass {
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.72), rgba(7, 13, 26, 0.78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(98, 216, 255, 0.12), transparent 35%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.spotlight:hover::before { opacity: 1; }

.topbar,
.footer {
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 0;
  border-radius: 18px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; flex-direction: column; }
.brand-mark {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.24em;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }

.section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  min-height: 78vh;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

h1, h2, h3 { margin: 0 0 14px; line-height: 1.04; }
h1 { font-size: clamp(2.8rem, 5vw, 5.6rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); max-width: 16ch; }
h3 { font-size: 1.3rem; }
.lead, p, li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 45%, #66ffce 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions,
.stack-actions,
.form-actions,
.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #051017;
  background: linear-gradient(135deg, var(--cyan) 0%, #8bffea 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 10px 30px rgba(66, 205, 255, 0.28), 0 0 50px rgba(66, 205, 255, 0.18);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(15, 26, 45, 0.82), rgba(8, 14, 25, 0.82));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.stat {
  border-radius: 18px;
  padding: 16px;
}
.stat strong { display: block; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 0.92rem; }

.hero-visual {
  position: relative;
  min-height: 620px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
}
.orb-a {
  width: 230px;
  height: 230px;
  top: 50px;
  right: 80px;
  background: rgba(0, 140, 255, 0.38);
}
.orb-b {
  width: 180px;
  height: 180px;
  bottom: 90px;
  left: 50px;
  background: rgba(0, 255, 187, 0.18);
}

.shot {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(127, 195, 255, 0.2);
  background: rgba(4, 8, 16, 0.6);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 60px rgba(31, 164, 255, .08);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 20%, transparent 80%, rgba(102,216,255,.06));
  pointer-events: none;
}
.shot-main {
  z-index: 3;
  width: min(700px, 100%);
  top: 40px;
  left: 40px;
  transform: perspective(1600px) rotateY(-8deg) rotateX(4deg) rotate(-3deg);
}
.shot-left {
  z-index: 2;
  width: 340px;
  bottom: 30px;
  left: -10px;
  transform: rotate(-8deg);
}
.shot-right {
  z-index: 1;
  width: 390px;
  top: 300px;
  right: 0;
  transform: rotate(7deg);
}

.trust-bar {
  display: flex;
  gap: 28px;
  padding: 18px 26px;
  border-radius: 18px;
  overflow: hidden;
  white-space: nowrap;
}
.trust-bar span {
  position: relative;
  color: #d8e8ff;
  padding-right: 28px;
}
.trust-bar span::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%);
}

.marquee {
  animation: shimmer 8s linear infinite alternate;
}
@keyframes shimmer {
  from { box-shadow: 0 0 0 rgba(0,0,0,0), var(--shadow); }
  to { box-shadow: 0 0 25px rgba(97, 216, 255, 0.12), var(--shadow); }
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.panel,
.callout-box,
.donate-box,
.legal-box,
.timeline-card,
.contact-card,
.mini-panel,
.feature-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}
.success { border-color: rgba(46, 240, 174, 0.22); }

.section-head { margin-bottom: 20px; }
.grid.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  min-height: 230px;
}
.feature-icon { font-size: 1.8rem; display: inline-block; margin-bottom: 18px; }

.callout-box,
.donate-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.showcase-card {
  grid-column: span 4;
  border-radius: 28px;
  overflow: hidden;
  padding: 14px;
  transform-style: preserve-3d;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.showcase-card.large { grid-column: span 8; }
.showcase-card img {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
.showcase-card figcaption {
  padding: 18px 6px 4px;
  color: var(--muted);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mini-panel { min-height: 190px; }

.footer { margin-bottom: 18px; }
.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.page-hero { padding-top: 72px; }
.timeline-grid {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.steps,
.legal-list {
  margin: 0;
  padding-left: 20px;
}
.legal-list li,
.steps li { margin-bottom: 10px; }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: start;
  min-height: calc(100vh - 180px);
  padding-top: 72px;
}
.contact-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.badge {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: .92rem;
}
.contact-card { width: 100%; }
.contact-form {
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label { display: grid; gap: 8px; }
label span { color: #dce9ff; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(132, 177, 255, 0.16);
  background: rgba(7, 13, 24, 0.82);
  color: var(--text);
  border-radius: 14px;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(98, 216, 255, .55);
  box-shadow: 0 0 0 4px rgba(98, 216, 255, 0.12);
}
.form-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-alert.success { background: rgba(46,240,174,.12); border: 1px solid rgba(46,240,174,.24); }
.form-alert.error, .form-alert.invalid { background: rgba(255,143,90,.12); border: 1px solid rgba(255,143,90,.24); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-y { animation: floatY 7s ease-in-out infinite; }
.float-x { animation: floatX 9s ease-in-out infinite; }
.delay-2 { animation-delay: 1.2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes floatX {
  0%, 100% { transform: translateX(0) rotate(-8deg); }
  50% { transform: translateX(10px) rotate(-6deg); }
}

@media (max-width: 1080px) {
  .hero,
  .contact-layout,
  .split,
  .timeline-grid,
  .highlight-grid,
  .grid.cards-3 {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-visual { min-height: 680px; }
  .hero-stats { grid-template-columns: 1fr; }
  .showcase-card, .showcase-card.large { grid-column: span 12; }
  .callout-box, .donate-box, .topbar, .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 760px) {
  .section, .timeline-grid { width: min(100% - 20px, 1220px); }
  .topbar, .footer { width: min(100% - 20px, 1220px); }
  h1 { max-width: none; }
  h2 { max-width: none; }
  .hero-visual { min-height: 420px; }
  .shot-main { width: 100%; left: 0; top: 0; }
  .shot-left, .shot-right { display: none; }
  .form-grid { grid-template-columns: 1fr; }
}
