:root {
  color-scheme: dark;
  --bg: #080510;
  --bg-2: #0f0a1e;
  --surface: rgba(24, 16, 43, 0.82);
  --surface-2: rgba(37, 24, 66, 0.86);
  --text: #fbf8ff;
  --muted: #b9accd;
  --line: rgba(214, 190, 255, 0.16);
  --line-strong: rgba(214, 190, 255, 0.34);
  --purple: #9b5cff;
  --violet: #6d5dfc;
  --pink: #ff4fd8;
  --cyan: #49e6ff;
  --danger: #ff6472;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
  --font-display: "Space Grotesk", Inter, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 4%, rgba(155, 92, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(255, 79, 216, 0.18), transparent 30rem),
    linear-gradient(180deg, #080510 0%, #0b0715 52%, #080510 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(214, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 190, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

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

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.6);
  transition: width 80ms linear;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 5, 16, 0.76);
  backdrop-filter: blur(22px);
}

.brand, .nav { display: flex; align-items: center; }
.brand { gap: 12px; font-weight: 900; font-family: var(--font-display); font-size: 18px; }

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--purple) 48%, var(--cyan));
  color: white;
  box-shadow: 0 0 40px rgba(155, 92, 255, 0.45);
  font-family: var(--font-display);
}

.nav { gap: 18px; }
.nav a,
.nav button {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 6px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}
.nav a::after,
.nav button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transition: width 220ms ease;
}
.nav a:hover, .nav button:hover { color: var(--text); transform: translateY(-1px); }
.nav a:hover::after, .nav button:hover::after { width: 100%; }

.panel-link,
.account-link {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text) !important;
  background: rgba(255,255,255,0.04);
}
.panel-link:hover,
.account-link:hover { border-color: rgba(255,79,216,.55); box-shadow: 0 0 22px rgba(155,92,255,.28); }

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(155,92,255,.42);
  border-radius: 8px;
  background: rgba(155,92,255,.12);
  color: var(--text);
}
.nav-cart span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 12px;
  box-shadow: 0 0 14px rgba(255,79,216,.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 76px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(18px, 4vw, 48px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 46%, rgba(73, 230, 255, 0.18), transparent 16rem),
    radial-gradient(circle at 62% 52%, rgba(155, 92, 255, 0.24), transparent 26rem);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 12% 0 0 42%;
  border: 1px solid rgba(214, 190, 255, 0.12);
  transform: skewY(-8deg);
  background-image:
    linear-gradient(rgba(155, 92, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 92, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.hero-blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.hero-blob.one {
  width: 340px; height: 340px;
  background: var(--purple);
  top: -80px; left: -60px;
}
.hero-blob.two {
  width: 280px; height: 280px;
  background: var(--pink);
  bottom: -60px; right: 8%;
  animation-delay: -6s;
}

.hero-copy h1, .subhero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(100deg, var(--cyan), var(--purple) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p, .subhero p {
  max-width: 600px;
  color: #d8cdef;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-actions, .filters, .cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions { margin-top: 34px; }

.hero-trust {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-trust div { display: grid; gap: 4px; }
.hero-trust strong {
  font-family: var(--font-display);
  font-size: 26px;
  background: linear-gradient(100deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-trust span { color: var(--muted); font-size: 13px; font-weight: 700; }

.btn, .filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(37, 24, 66, 0.78);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn:hover, .filter:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn.primary {
  position: relative;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--purple) 58%, var(--violet));
  box-shadow: 0 22px 64px rgba(155, 92, 255, 0.34);
  overflow: hidden;
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-120%);
  transition: transform 500ms ease;
}
.btn.primary:hover::before { transform: translateX(120%); }
.btn.secondary { background: rgba(255,255,255,0.045); }
.btn.ghost { background: transparent; border-style: dashed; }
.btn.full { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }

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

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(214, 190, 255, 0.24);
  border-radius: 999px;
  animation: spin 18s linear infinite;
}
.orbit-ring.one { width: 430px; height: 430px; box-shadow: inset 0 0 60px rgba(155,92,255,.16); }
.orbit-ring.two { width: 300px; height: 300px; animation-duration: 12s; animation-direction: reverse; border-color: rgba(73,230,255,.25); }

.core-card,
.service-orbit-card {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(24,16,43,.86));
  box-shadow: var(--shadow);
}

.core-card {
  width: min(280px, 100%);
  padding: 28px;
  text-align: center;
  animation: floatSmall 6s ease-in-out infinite;
}

.core-card span,
.service-orbit-card span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.pulse-dot { color: var(--pink) !important; }

.core-card strong {
  font-family: var(--font-display);
  font-size: 40px;
}

.core-card small {
  color: var(--muted);
  line-height: 1.5;
}

.service-orbit-card {
  position: absolute;
  min-width: 138px;
  padding: 16px;
  backdrop-filter: blur(14px);
  animation: floatSmall 7s ease-in-out infinite;
}

.service-orbit-card strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.service-orbit-card.main {
  top: 54px;
  left: 58px;
  animation-delay: -1s;
}

.service-orbit-card.game {
  right: 36px;
  top: 168px;
  animation-delay: -3s;
}

/* Marquee strip */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(155,92,255,.14), rgba(255,79,216,.06));
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track span:nth-child(odd) { color: var(--cyan); }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 8vw, 108px) clamp(18px, 4vw, 48px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head.compact { max-width: 820px; }
.section h2, .section-head h2, .subhero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card, .plan-card, .detail-card, .checkout-panel, .cart-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255,255,255,.06), rgba(24,16,43,.82));
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.service-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 320px;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(155,92,255,.55);
  box-shadow: 0 30px 90px rgba(155,92,255,.22);
}
.service-icon {
  font-size: 22px;
  color: var(--pink) !important;
}
.service-num {
  position: absolute;
  top: 24px; right: 26px;
  color: var(--muted) !important;
  font-weight: 900;
  font-size: 13px !important;
}
.service-card h3 { margin: auto 0 0; font-family: var(--font-display); font-size: 32px; }
.service-card p, .plan-card p, .detail-card p, .muted, .form-message { color: var(--muted); line-height: 1.65; }
.service-card strong { color: var(--cyan); }

.specs-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .8fr);
  gap: 30px;
  align-items: center;
  max-width: none;
  padding-left: max(clamp(18px, 4vw, 48px), calc((100vw - 1240px) / 2 + 48px));
  padding-right: max(clamp(18px, 4vw, 48px), calc((100vw - 1240px) / 2 + 48px));
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(155,92,255,.16), rgba(73,230,255,.06));
}

.spec-chip-grid {
  display: grid;
  gap: 12px;
}
.spec-chip-grid div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8,5,16,.5);
  transition: border-color 200ms ease, transform 200ms ease;
}
.spec-chip-grid div:hover { border-color: rgba(73,230,255,.4); transform: translateX(4px); }
.spec-chip-grid span { color: var(--muted); }

.filter.active { border-color: rgba(255,79,216,.55); color: white; box-shadow: 0 0 28px rgba(155,92,255,.24); background: linear-gradient(135deg, rgba(255,79,216,.18), rgba(155,92,255,.18)); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: space-between;
  min-height: 470px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(255,79,216,.42); box-shadow: 0 30px 90px rgba(255,79,216,.16); }
.plan-card.popular { border-color: rgba(255,79,216,.6); background: linear-gradient(155deg, rgba(255,79,216,.1), rgba(24,16,43,.9)); }
.plan-ribbon {
  position: absolute;
  top: -1px; right: 20px;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 10px 24px rgba(255,79,216,.35);
}
.plan-type { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.plan-card h3 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 27px; }
.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(214,190,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #e6dbff;
  font-size: 12px;
  font-weight: 900;
}
.price { margin-top: 18px; font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.price small { color: var(--muted); font-family: Inter, sans-serif; font-size: 14px; }
.setup-line, .cpu-line { margin-top: 9px; color: var(--muted); font-size: 13px; font-weight: 800; }
.cpu-line strong { color: var(--cyan); }

.features, .feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.features li, .feature-list li { display: flex; gap: 10px; color: var(--muted); }
.features li::before, .feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--pink);
}

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(24,16,43,.8));
  padding: 6px 22px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--cyan); font-size: 20px; font-weight: 900; transition: transform 200ms ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; }

.subhero {
  position: relative;
  padding: clamp(84px, 10vw, 140px) clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 24%, rgba(255,79,216,.22), transparent 28rem),
    radial-gradient(circle at 20% 16%, rgba(155,92,255,.28), transparent 30rem);
}
.subhero > * { max-width: 900px; margin-left: auto; margin-right: auto; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.detail-card { padding: 28px; }
.detail-card.accent { background: linear-gradient(135deg, rgba(155,92,255,.2), rgba(255,79,216,.09)); }

.checkout-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) clamp(18px, 4vw, 48px) 26px;
}
.checkout-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
}
.checkout-hero p {
  max-width: 680px;
  color: #d8cdef;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}
.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 22px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 48px) clamp(70px, 8vw, 108px);
}
.checkout-main {
  display: grid;
  gap: 18px;
}
.checkout-section-card,
.checkout-summary-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255,255,255,.06), rgba(24,16,43,.82));
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}
.checkout-section-card { padding: 24px; }
.checkout-summary-panel {
  position: sticky;
  top: 94px;
  padding: 24px;
}
.checkout-summary-panel h2,
.checkout-section-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
}
.section-mini-head {
  display: flex;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}
.step-badge {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,79,216,.45);
  border-radius: 10px;
  background: rgba(155,92,255,.14);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
}
.checkout-empty-action {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}
.checkout-session-copy { margin: 0; }

.checkout-panel { padding: 24px; }
.total-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.total-row strong { font-family: var(--font-display); font-size: 30px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: rgba(8,5,16,.72); color: var(--text); outline: none; padding: 14px; transition: border-color 180ms ease, box-shadow 180ms ease; }
input:focus, textarea:focus { border-color: rgba(255,79,216,.72); box-shadow: 0 0 0 4px rgba(255,79,216,.08); }
.cart-list { display: grid; gap: 12px; margin-top: 24px; }
.cart-empty { padding: 28px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 18px; transition: border-color 200ms ease; }
.cart-item:hover { border-color: rgba(155,92,255,.4); }
.cart-item h3 { margin: 0; font-family: var(--font-display); }
.cart-item p { margin: 6px 0 0; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button, .remove { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text); cursor: pointer; transition: border-color 180ms ease, transform 180ms ease; }
.qty button:hover { border-color: rgba(73,230,255,.5); transform: translateY(-1px); }
.remove { width: auto; padding: 0 11px; color: var(--danger); }
.remove:hover { border-color: rgba(255,100,114,.5); }

.checkout-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.checkout-badges span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

.layer-open { overflow: hidden; }
.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  visibility: hidden;
}
.drawer-layer.open {
  pointer-events: auto;
  visibility: visible;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 3, 11, 0.68);
  opacity: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: opacity 220ms ease;
}
.drawer-layer.open .drawer-backdrop { opacity: 1; }
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(520px, 100%);
  height: 100%;
  padding: 28px;
  overflow-y: auto;
  border-left: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 18% 8%, rgba(155,92,255,.28), transparent 18rem),
    linear-gradient(180deg, rgba(15,10,30,.98), rgba(8,5,16,.98));
  box-shadow: -30px 0 90px rgba(0,0,0,.48);
  transform: translateX(104%);
  transition: transform 260ms ease;
}
.drawer-layer.open .drawer { transform: translateX(0); }
.drawer h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.02;
}
.drawer h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.icon-close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor: pointer;
}
.icon-close:hover { border-color: rgba(255,79,216,.55); }
.drawer-checkout {
  position: static;
  padding: 20px;
}
.compact-checkout { margin-top: 8px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 800;
}
.summary-row strong { color: var(--text); font-family: var(--font-display); }
.checkout-auth-prompt,
.discount-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(155,92,255,.12), rgba(24,16,43,.82));
}
.checkout-auth-prompt strong { font-family: var(--font-display); font-size: 20px; }
.checkout-auth-prompt p { margin: 0; color: var(--muted); line-height: 1.55; }
.discount-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.discount-box .form-message { grid-column: 1 / -1; margin: 0; }
.checkout-products { margin-top: 0; }
.auth-view,
.panel-view {
  display: grid;
  gap: 18px;
}
.auth-tabs,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mini-list {
  display: grid;
  gap: 12px;
}
.mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255,255,255,.06), rgba(24,16,43,.84));
}
.mini-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.mini-card strong { font-family: var(--font-display); }
.mini-card span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(73,230,255,.1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}
.mini-card p,
.mini-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.footer-action {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: color 180ms ease;
}
.footer-action:hover { color: var(--cyan); }

.footer { padding: 56px clamp(18px, 4vw, 48px) 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p { max-width: 280px; margin-top: 14px; font-size: 14px; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col strong { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { font-size: 14px; transition: color 180ms ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.result-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.result { width: min(560px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.result h1 { margin: 18px 0 8px; font-family: var(--font-display); font-size: 42px; }
.result-icon { display: inline-grid; width: 64px; height: 64px; place-items: center; border-radius: 999px; font-size: 30px; font-weight: 900; }
.result-icon.ok { background: rgba(155,92,255,.18); color: var(--cyan); }
.result-icon.pending { background: rgba(255,79,216,.14); color: var(--pink); }
.result-icon.fail { background: rgba(255,100,114,.14); color: var(--danger); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}
@keyframes floatSmall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

@media (max-width: 980px) {
  .hero, .service-cards, .specs-band, .detail-layout, .checkout-shell { grid-template-columns: 1fr; }
  .hero-orbit { min-height: 340px; }
  .orbit-ring.one { width: 320px; height: 320px; }
  .orbit-ring.two { width: 220px; height: 220px; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .checkout-summary-panel { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .topbar { min-height: 68px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8,5,16,.97);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease;
  }
  .nav.open { max-height: 420px; }
  .nav a,
  .nav button {
    padding: 16px clamp(18px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
    display: block;
    text-align: left;
  }
  .nav a.panel-link,
  .nav button.nav-cart,
  .nav button.account-link {
    margin: 12px clamp(18px, 4vw, 48px);
    border: 1px solid var(--line-strong);
    display: inline-flex;
  }
  .hero { padding-top: 64px; }
  .plans-grid { grid-template-columns: 1fr; }
  .section-head, .footer-bottom { align-items: start; flex-direction: column; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item-actions { justify-content: space-between; }
  .discount-box { grid-template-columns: 1fr; }
  .drawer { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; }
}
