:root {
  --bg-1: #06070d;
  --bg-2: #131427;
  --bg-3: #5222df;
  --card: rgba(17, 18, 25, 0.68);
  --card-border: rgba(156, 123, 255, 0.24);
  --text: #f7f7fb;
  --muted: #d3d3e6;
  --accent: #7c42ff;
  --accent-2: #25b6ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(102, 73, 255, 0.24), transparent 18%),
    radial-gradient(circle at 18% 80%, rgba(33, 182, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #05060a, #111423 50%, #0c0e17 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.04), transparent 24%),
    radial-gradient(circle at 80% 65%, rgba(124, 66, 255, 0.16), transparent 24%),
    radial-gradient(circle at 60% 20%, rgba(37, 182, 255, 0.08), transparent 20%);
  filter: blur(10px);
}

.wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 24px;
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav, .footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a, .footer-nav a, .btn {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: 0.25s ease;
}

.nav a:hover, .footer-nav a:hover, .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(122, 60, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8f5bff);
  border-color: transparent;
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
}

.home-main {
  padding: 26px 0 0;
}

.hero-copy, .card, .legal-page, .footer, .hero-alt, .ribbon-item, .story-card, .support-band {
  border-radius: 30px;
}

.hero-alt {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  padding: 26px;
  align-items: center;
}

.hero-copy-alt {
  padding: 12px 8px 12px 8px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfbbff;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 4vw, 4.45rem);
  line-height: 1.03;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}

p, li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: 30px;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.orb-one {
  width: 240px;
  height: 240px;
  right: 8%;
  top: 8%;
  background: radial-gradient(circle, rgba(124, 66, 255, 0.55), rgba(124,66,255,0));
}

.orb-two {
  width: 220px;
  height: 220px;
  left: 0;
  bottom: 8%;
  background: radial-gradient(circle, rgba(37, 182, 255, 0.24), rgba(37,182,255,0));
}

.icon-badge {
  position: absolute;
  top: 28px;
  left: 32px;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.icon-badge img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 18px;
}

.stage-screen {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,0.45));
}

.stage-screen-main {
  width: 57%;
  right: 6%;
  top: 3%;
}

.stage-screen-float {
  width: 57%;
  left: 0;
  bottom: 2%;
  transform: rotate(-10deg);
}

.info-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.ribbon-item {
  padding: 22px;
}

.ribbon-kicker, .story-topline {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bdaaff;
}

.story-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.story-card {
  padding: 28px;
}

.story-card-wide {
  min-height: 320px;
}

.story-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
}

.visual-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.inline-screen {
  position: absolute;
  width: 58%;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}

.inline-screen-left {
  left: -2%;
  bottom: -4%;
  transform: rotate(-8deg);
}

.inline-screen-right {
  right: -4%;
  top: -4%;
}

.mini-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.mini-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f3efff;
  font-size: 0.94rem;
}

.clean-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.support-band {
  margin-top: 22px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(88, 40, 220, 0.32), rgba(18, 18, 28, 0.78));
}

.support-email {
  font-size: 1.12rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-cta {
  min-width: 280px;
}

.legal-page {
  margin-top: 28px;
  padding: 34px;
}

.legal-page section + section {
  margin-top: 22px;
}

.legal-page a {
  color: #bca5ff;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  margin: 22px auto 28px;
}

@media (max-width: 980px) {
  .hero-alt,
  .info-ribbon,
  .story-grid,
  .support-band {
    grid-template-columns: 1fr;
  }

  .hero-alt,
  .support-band,
  .footer,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stage {
    min-height: 560px;
    width: 100%;
  }

  .support-cta {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .wrapper {
    width: min(100% - 20px, 1180px);
  }

  .hero-copy,
  .story-card,
  .legal-page,
  .footer,
  .ribbon-item,
  .support-band,
  .hero-alt {
    padding: 22px;
    border-radius: 24px;
  }

  .topbar {
    border-radius: 20px;
    padding: 14px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .hero-stage {
    min-height: 470px;
  }

  .icon-badge {
    width: 76px;
    height: 76px;
    left: 18px;
    top: 18px;
  }

  .icon-badge img {
    width: 62px;
    height: 62px;
  }

  .stage-screen-main,
  .stage-screen-float,
  .inline-screen {
    width: 72%;
  }

  .stage-screen-main {
    right: 0;
  }

  .stage-screen-float {
    left: -2%;
    bottom: 0;
  }
}
