:root {
  --bg: #050816;
  --bg-2: #0a1024;
  --line: rgba(255,255,255,0.08);
  --panel: rgba(10, 17, 39, 0.62);
  --panel-strong: rgba(12, 20, 48, 0.88);
  --text: #eef4ff;
  --muted: #93a4c9;
  --blue: #67a8ff;
  --blue-strong: #2f7dff;
  --cyan: #95e6ff;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #10255f 0%, #071126 24%, #040711 65%, #03050b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

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

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

.site-bg::before {
  width: 32rem;
  height: 32rem;
  top: -8rem;
  left: -8rem;
  background: rgba(47, 125, 255, 0.26);
  animation: drift 11s ease-in-out infinite alternate;
}

.site-bg::after {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  top: 8rem;
  background: rgba(149, 230, 255, 0.18);
  animation: drift 13s ease-in-out infinite alternate-reverse;
}

.noise {
  opacity: .07;
  background-image: radial-gradient(rgba(255,255,255,.8) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

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

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: .04em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, rgba(103,168,255,.22), rgba(149,230,255,.08));
  border: 1px solid rgba(149,230,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 35px rgba(103,168,255,.16);
}

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

.nav a,
.mobile-nav a {
  padding: 11px 16px;
  border-radius: 14px;
  color: #ced9f8;
  transition: .25s ease;
  position: relative;
}

.nav a:hover,
.mobile-nav a:hover,
.nav a.active,
.mobile-nav a.active {
  color: white;
  background: rgba(255,255,255,0.06);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  border-radius: 22px;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
}

.section { padding: 64px 0; }
.hero {
  padding-top: 64px;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #c8d8ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.hero-copy h1,
.page-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.04em;
  font-family: 'Space Grotesk', sans-serif;
}

.hero-copy h1 span {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(149,230,255,.22);
}

.hero-copy p,
.page-hero p,
.feature-panel p,
.statement p,
.team-card p,
.shop-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 15px 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #03101f;
  background: linear-gradient(135deg, #8ad9ff, #75a9ff);
  box-shadow: 0 10px 30px rgba(117,169,255,.28);
}
.btn-secondary {
  color: white;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.full { width: 100%; }

.hero-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.logo-panel {
  width: min(480px, 100%);
  aspect-ratio: 1 / 1.05;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.logo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 50% 40%, rgba(149,230,255,.14), transparent 32%),
    linear-gradient(180deg, rgba(6,14,30,.2), rgba(2,5,12,.55));
}

.logo-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(149,230,255,.2);
  box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 60px rgba(103,168,255,.12);
  animation: pulse 5s ease-in-out infinite;
}

.logo-core {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  font: 800 38px 'Space Grotesk', sans-serif;
  letter-spacing: .1em;
  background: linear-gradient(135deg, rgba(138,217,255,.2), rgba(117,169,255,.08));
  border: 1px solid rgba(149,230,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 40px rgba(103,168,255,.18);
}

.logo-caption {
  position: absolute;
  bottom: 34px;
  left: 34px;
  right: 34px;
  text-align: center;
  color: #afc3f4;
  font-size: 14px;
}

.floating-card {
  position: absolute;
  padding: 18px 20px;
  border-radius: 20px;
  min-width: 190px;
}

.floating-card span,
.feature-index,
.purchase-note { color: var(--muted); font-size: 13px; }
.floating-card strong { display: block; margin-top: 6px; font-size: 18px; }
.card-a { left: -10px; top: 55px; animation: bob 5s ease-in-out infinite; }
.card-b { right: 10px; bottom: 55px; animation: bob 5.4s ease-in-out infinite reverse; }

.feature-grid,
.team-grid,
.shop-grid,
.statement-grid {
  display: grid;
  gap: 22px;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-panel,
.statement,
.team-card,
.shop-card,
.page-hero {
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feature-panel::after,
.team-card::after,
.shop-card::after,
.statement::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,.06), transparent 38%);
  pointer-events: none;
}

.feature-index {
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.feature-panel h3,
.statement h2,
.statement h3,
.team-card h2,
.shop-card h2 {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -.03em;
}

.statement-grid {
  grid-template-columns: 1.2fr .8fr .8fr;
  align-items: stretch;
}
.statement.wide { min-height: 320px; }
.statement.accent {
  background: linear-gradient(180deg, rgba(103,168,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(149,230,255,.18);
}

.page-center,
.team-page,
.shop-page { padding: 64px 0 90px; }
.page-hero { margin-top: 44px; margin-bottom: 26px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); }

.team-grid { grid-template-columns: repeat(2, 1fr); }
.team-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.team-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: #72b3ff;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.team-card h2 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 8px;
}

.shop-grid { grid-template-columns: repeat(2, 1fr); }
.shop-card { min-height: 300px; }
.shop-card .price {
  color: var(--cyan);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.shop-card h2 {
  font-size: clamp(34px, 5vw, 54px);
  margin-top: 14px;
}
.shop-card .btn { margin-top: 22px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 15, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 100;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.purchase-modal {
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  transform: translateY(14px) scale(.98);
  transition: .25s ease;
}
.modal-backdrop.active .purchase-modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: white;
  cursor: pointer;
  font-size: 26px;
}
.field-label {
  display: block;
  margin-top: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}
.field-input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: white;
  padding: 16px 18px;
  outline: none;
}
.field-input:focus {
  border-color: rgba(149,230,255,.55);
  box-shadow: 0 0 0 4px rgba(149,230,255,.08);
}
.field-error {
  display: none;
  color: #ff9fae;
  margin-top: 10px;
  font-size: 14px;
}
.field-error.show { display: block; }
.purchase-note { margin-top: 14px; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .18s ease;
}
.tilt-card:hover {
  border-color: rgba(149,230,255,.18);
}

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(30px,20px,0) scale(1.08); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .team-grid,
  .shop-grid,
  .statement-grid { grid-template-columns: 1fr; }

  .hero-stage { min-height: 480px; }
  .card-a { left: 0; top: 20px; }
  .card-b { right: 0; bottom: 20px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.open { display: flex; }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 14px; }
  .brand span { display: none; }
  .hero { padding-top: 34px; min-height: auto; }
  .hero-copy h1, .page-hero h1 { line-height: 1.02; }
  .feature-panel,
  .statement,
  .team-card,
  .shop-card,
  .page-hero,
  .purchase-modal { padding: 22px; }
  .logo-core { width: 140px; height: 140px; font-size: 30px; }
}
