/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #030304;
  --bg-elevated: #0a0a0e;
  --bg-card: rgba(12, 12, 16, 0.55);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #f8f8fa;
  --text-muted: #7a7a88;
  --accent: #5b9aff;
  --accent-glow: rgba(91, 154, 255, 0.35);
  --accent-dim: rgba(91, 154, 255, 0.1);
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --radius: 6px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --max-w: 1100px;
  --nav-h: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-user-select: none;
  user-select: none;
}

input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

html.devtools-blocked body {
  filter: blur(8px);
  pointer-events: none;
}

html.devtools-blocked::before {
  content: 'Developer tools are disabled on this site.';
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.1rem;
  color: #f8f8fa;
  background: rgba(3, 3, 4, 0.92);
  pointer-events: auto;
}

body.nav-open,
body.cart-open,
body.account-open {
  overflow: hidden;
  touch-action: none;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
[role="button"] {
  touch-action: manipulation;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
  contain: paint;
}

.bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 15% 18%, rgba(91, 154, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 55% at 95% 28%, rgba(140, 90, 255, 0.09), transparent 50%),
    radial-gradient(ellipse 70% 50% at 5% 85%, rgba(91, 154, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 65% 45% at 85% 95%, rgba(100, 70, 220, 0.09), transparent 48%),
    radial-gradient(ellipse 50% 40% at 50% 55%, rgba(91, 154, 255, 0.04), transparent 60%),
    linear-gradient(180deg, #030304 0%, #06060c 42%, #030304 100%);
  animation: none;
}

.bg-aurora {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    transparent 0deg,
    rgba(91, 154, 255, 0.07) 70deg,
    transparent 140deg,
    rgba(130, 85, 255, 0.06) 220deg,
    transparent 300deg
  );
  animation: none;
  opacity: 0.7;
}

.bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, black 15%, transparent 72%);
  opacity: 0.55;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  transform: translateZ(0);
  animation: none;
}

.bg-orb--1 {
  width: 55vw;
  height: 55vw;
  max-width: 900px;
  max-height: 900px;
  top: 8%;
  left: -10%;
  background: rgba(91, 154, 255, 0.12);
}

.bg-orb--2 {
  width: 45vw;
  height: 45vw;
  max-width: 700px;
  max-height: 700px;
  bottom: -15%;
  right: -8%;
  background: rgba(120, 80, 255, 0.11);
}

.bg-orb--3 {
  width: 30vw;
  height: 30vw;
  max-width: 500px;
  max-height: 500px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  background: rgba(91, 154, 255, 0.08);
}

.bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, black 10%, transparent 78%);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(3, 3, 4, 0.75) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.4) 0%, transparent 15%, transparent 85%, rgba(3, 3, 4, 0.5) 100%);
}

@keyframes bgMeshPulse {
  0% { opacity: 1; }
  100% { opacity: 0.88; }
}

@keyframes bgAuroraSpin {
  to { transform: rotate(360deg); }
}

@keyframes bgFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3%, 2%); }
}

@keyframes bgFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2%, -3%); }
}

@keyframes bgFloat3 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-48%) translateY(-2%); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .bg-mesh,
  .bg-aurora { animation: none !important; }

  .hero-video {
    display: none;
  }

  .video-card:hover .media-frame--video {
    transform: none;
  }
}

/* Start ambient motion only after first paint (class toggled in JS) */
.bg-ambient.is-animated .bg-mesh {
  animation: bgMeshPulse 18s ease-in-out infinite alternate;
}

.bg-ambient.is-animated .bg-aurora {
  animation: bgAuroraSpin 80s linear infinite;
}

.bg-ambient.is-animated .bg-orb--1 {
  animation: bgFloat1 20s ease-in-out infinite;
}

.bg-ambient.is-animated .bg-orb--2 {
  animation: bgFloat2 24s ease-in-out infinite;
}

.bg-ambient.is-animated .bg-orb--3 {
  animation: bgFloat3 18s ease-in-out infinite;
}

.bg-ambient.is-paused .bg-mesh,
.bg-ambient.is-paused .bg-aurora,
.bg-ambient.is-paused .bg-orb {
  animation-play-state: paused !important;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code {
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.hidden { display: none !important; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 154, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar.scrolled {
  background: rgba(3, 3, 4, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled::after {
  opacity: 1;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(100% - 2rem, var(--max-w));
  height: var(--nav-h);
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-brand:hover {
  opacity: 0.85;
}

.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--safe-top));
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1) translateZ(0);
  opacity: 0.55;
  filter: none;
  backface-visibility: hidden;
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 4, 0.28);
}

.hero-video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 4, 0.4) 0%,
    rgba(3, 3, 4, 0.1) 42%,
    rgba(3, 3, 4, 0.18) 78%,
    rgba(3, 3, 4, 0.28) 100%
  );
}

.hero-video-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(3, 3, 4, 0.55) 110%);
}

.hero-video-fade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .hero-actions {
  margin-left: auto;
  margin-right: auto;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  min-height: 1.2em;
}

.cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 400;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover { background: #2563eb; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-buy {
  width: 100%;
  margin-top: auto;
}

/* ── Sections ── */
.section {
  padding: 4.5rem 0;
}

#features,
#demo,
#support,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

#products {
  position: relative;
  margin-top: 0;
  padding-top: 7rem;
}

/* Black band under hero, then fade into site blue */
#products::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22rem;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #030304 0%,
    #030304 22%,
    rgba(3, 3, 4, 0.9) 40%,
    rgba(5, 8, 18, 0.65) 62%,
    rgba(8, 14, 32, 0.28) 82%,
    transparent 100%
  );
}

#products > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  position: relative;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.01) 18%,
    rgba(255, 255, 255, 0.016) 50%,
    rgba(255, 255, 255, 0.01) 82%,
    transparent 100%
  );
  border-block: none;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 50%, rgba(91, 154, 255, 0.04), transparent 72%);
  pointer-events: none;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-head h2,
.split-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.section-desc,
.split-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  line-height: 1.6;
}

.split-intro {
  margin-bottom: 1.5rem;
}

/* ── Split layout (features, demo, faq) ── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-layout--reverse .split-media { order: 2; }
.split-layout--reverse .split-content { order: 1; }

.media-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.media-frame-img {
  width: 100%;
  height: auto;
  display: block;
}

#features .split-layout {
  align-items: stretch;
}

#features .split-media {
  display: flex;
  align-items: stretch;
}

#features .media-frame {
  flex: 1;
  display: flex;
  min-height: 0;
}

#features .media-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.media-frame--menu {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  background: linear-gradient(160deg, rgba(8, 10, 18, 0.95), rgba(4, 4, 8, 0.98));
  border-color: rgba(91, 154, 255, 0.15);
  box-shadow:
    0 0 0 1px rgba(91, 154, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.45);
}

.cheat-menu {
  flex: 1;
  display: flex;
  min-height: 420px;
}

.cheat-menu-chrome {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}

.cheat-menu-titlebar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.cheat-menu-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.cheat-menu-title {
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.cheat-menu-status {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cheat-menu-body {
  flex: 1;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 0;
}

.cheat-menu-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.cheat-menu-tab {
  border: none;
  border-radius: 6px;
  padding: 0.55rem 0.6rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cheat-menu-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cheat-menu-tab.active {
  background: rgba(91, 154, 255, 0.15);
  color: var(--accent);
  box-shadow: inset 2px 0 0 var(--accent);
}

.cheat-menu-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.cheat-menu-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cheat-menu-panel-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cheat-menu-panel-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 154, 255, 0.25);
  background: rgba(91, 154, 255, 0.08);
}

.cheat-menu-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cheat-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cheat-menu-row--slider {
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}

.cheat-menu-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cheat-menu-row-label {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 500;
}

.cheat-menu-row-value {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.cheat-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cheat-toggle.on {
  background: var(--accent);
}

.cheat-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cheat-toggle.on .cheat-toggle-knob {
  transform: translateX(16px);
}

.cheat-slider {
  width: 100%;
  height: 4px;
  appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.cheat-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 8px var(--accent-glow);
}

.cheat-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}

.cheat-select {
  min-width: 88px;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.7rem;
  cursor: pointer;
}

.cheat-action-btn {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.cheat-action-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

.cheat-action-btn.pressed {
  transform: scale(0.96);
}

.cheat-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.66rem;
  color: var(--text-muted);
}

.cheat-menu-footer-pulse {
  color: #34d399;
  animation: cheatPulse 2s ease-in-out infinite;
}

@keyframes cheatPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.menu-category {
  cursor: pointer;
}

.menu-category.active {
  border-color: rgba(91, 154, 255, 0.45);
  background: rgba(91, 154, 255, 0.08);
  transform: translateX(4px);
}

.menu-category.active .menu-category-label {
  color: var(--accent);
}

.media-frame--video .video-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
}

/* ── Demo section ── */
.demo-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(91, 154, 255, 0.02) 35%,
    transparent 100%
  );
}

.demo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent);
  pointer-events: none;
  z-index: 0;
}

.demo-section .container {
  position: relative;
  z-index: 1;
}

.demo-section-glow {
  position: absolute;
  width: min(700px, 90vw);
  height: min(700px, 70vh);
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(91, 154, 255, 0.14), transparent 68%);
  filter: blur(50px);
  pointer-events: none;
}

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

.video-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease;
}

.video-facade:hover .video-facade-overlay {
  background: rgba(0, 0, 0, 0.12);
}

.video-facade-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(220, 30, 30, 0.92);
  color: #fff;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-facade:hover .video-facade-play {
  transform: scale(1.1);
  background: rgba(240, 35, 35, 0.95);
}

.demo-content {
  position: relative;
  z-index: 1;
}

.demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.demo-feature:hover {
  border-color: rgba(91, 154, 255, 0.22);
  background: rgba(91, 154, 255, 0.05);
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(91, 154, 255, 0.08);
}

.demo-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(91, 154, 255, 0.1);
  border: 1px solid rgba(91, 154, 255, 0.15);
  color: var(--accent);
}

.demo-feature-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Video card ── */
.video-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
}

.video-card-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(91, 154, 255, 0.22), transparent 68%);
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  z-index: 0;
}

.video-card .media-frame--video {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  transform: translateY(0) scale(1);
  transform-origin: center center;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.4s ease,
    box-shadow 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
}

.video-card:hover .video-card-glow {
  opacity: 1;
}

.video-card:hover .media-frame--video {
  transform: translateY(-12px) scale(1.025);
  border-color: rgba(91, 154, 255, 0.35);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(91, 154, 255, 0.1),
    0 0 40px rgba(91, 154, 255, 0.14);
}

.menu-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-category {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.menu-category::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

.menu-category:hover {
  border-color: rgba(91, 154, 255, 0.22);
  background: rgba(91, 154, 255, 0.05);
  transform: translateX(4px);
}

.menu-category-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(91, 154, 255, 0.22);
  background: rgba(91, 154, 255, 0.05);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(91, 154, 255, 0.08);
}

.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(91, 154, 255, 0.1);
  border: 1px solid rgba(91, 154, 255, 0.15);
  color: var(--accent);
}

.feature-card-body {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}

.feature-card-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.feature-card-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.split-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.split-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.split-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* legacy alias */
.section-header { margin-bottom: 2.25rem; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 1.85rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.4rem; }
.section-header p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 40%, rgba(91,154,255,0.15));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(91,154,255,0.35), rgba(255,255,255,0.06) 50%, rgba(120,80,255,0.2));
}

.product-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(91,154,255,0.12), transparent 40%);
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card:hover .product-card-shine { opacity: 1; }

.product-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.4rem;
  border-radius: calc(var(--radius) - 1px);
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-height: 130px;
  justify-content: space-between;
  overflow: hidden;
}

.product-card-inner--has-image {
  padding-top: 0;
  gap: 1rem;
}

.product-card-media {
  margin: 0 -1.4rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
}

.product-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-card .btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  margin-top: 0;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5b9aff, #3d7ae8);
  border: none;
  box-shadow: 0 4px 16px rgba(91, 154, 255, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.2s;
}

.product-card .btn-buy:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(91, 154, 255, 0.4);
  background: linear-gradient(135deg, #6aa5ff, #4d88f0);
}

.product-card .btn-buy .btn-arrow {
  transition: transform 0.15s;
}

.product-card .btn-buy:hover:not(:disabled) .btn-arrow {
  transform: translateX(2px);
}

.product-card .btn-buy:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
  background: rgba(255,255,255,0.08);
}

.products-loading,
.products-error {
  text-align: center;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.products-error { color: var(--danger); }

/* ── Video (compact, inside split layout) ── */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0e;
  overflow: hidden;
}

.video-wrap iframe,
.video-wrap .video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: linear-gradient(145deg, rgba(91, 154, 255, 0.08), rgba(8, 8, 12, 0.95));
}

.video-placeholder--empty svg {
  opacity: 0.45;
}

/* ── FAQ ── */
.faq-section .container {
  max-width: 720px;
}

.faq-header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-header h2 {
  margin-bottom: 0.5rem;
}

.faq-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 36ch;
  margin: 0 auto 0.65rem;
}

.faq-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.faq-meta-sep {
  opacity: 0.35;
  user-select: none;
}

.faq-discord-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}

.faq-discord-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
  opacity: 0.85;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item.open {
  background: rgba(91, 154, 255, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-q-text {
  flex: 1;
  line-height: 1.45;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.15s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 1.15rem;
}

/* ── Status Page ── */
@keyframes statusFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes statusSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes statusBarGrow {
  from { transform: scaleY(0); opacity: 0.3; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes statusLineGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes statusPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

@keyframes statusPulseYellow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(234, 179, 8, 0); }
}

@keyframes statusPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
}

@keyframes statusBarLive {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

@keyframes statusCardGlow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(79, 143, 255, 0.06); }
}

.status-page .status-container {
  max-width: 720px;
}

.status-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.status-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.status-page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.status-overall {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-overall-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.status-overall.is-animated {
  animation: statusFadeUp 0.5s ease forwards;
}

.status-overall.operational .status-overall-dot {
  background: var(--success);
  animation: statusPulseGreen 2.2s ease infinite;
}

.status-overall.degraded .status-overall-dot {
  background: var(--warning);
  animation: statusPulseYellow 2.2s ease infinite;
}

.status-overall.down .status-overall-dot {
  background: var(--danger);
  animation: statusPulseRed 1.8s ease infinite;
}

.status-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: statusFadeUp 0.5s ease 0.1s both;
}

.status-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.status-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--border), rgba(79, 143, 255, 0.35), var(--border));
  transform-origin: top;
  transform: scaleY(0);
}

.status-timeline.is-animated::before {
  animation: statusLineGrow 0.8s ease 0.15s forwards;
}

.status-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  position: relative;
  opacity: 0;
}

.status-timeline.is-animated .status-row {
  animation: statusSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + var(--row-i, 0) * 0.1s);
}

.status-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-node {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  position: relative;
  z-index: 1;
}

.status-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--text-muted);
  transition: transform 0.2s;
}

.status-row:hover .status-node-dot {
  transform: scale(1.2);
}

.status-node-dot.operational { background: var(--success); animation: statusPulseGreen 2.5s ease infinite; }
.status-node-dot.degraded { background: var(--warning); animation: statusPulseYellow 2.5s ease infinite; }
.status-node-dot.down { background: var(--danger); animation: statusPulseRed 2s ease infinite; }

.status-row-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.status-timeline.is-animated .status-row-body {
  animation: statusCardGlow 3s ease infinite;
  animation-delay: calc(0.5s + var(--row-i, 0) * 0.15s);
}

.status-row:hover .status-row-body {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.status-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.status-row-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  flex-shrink: 0;
}

.status-badge.operational {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.status-badge.degraded {
  background: rgba(234, 179, 8, 0.12);
  color: var(--warning);
}

.status-badge.down {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

.status-graph-wrap {
  margin-bottom: 0.75rem;
}

.status-graph-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-graph {
  display: flex;
  gap: 2px;
  height: 28px;
  align-items: flex-end;
}

.status-bar {
  flex: 1;
  min-width: 0;
  height: 0;
  border-radius: 2px;
  background: rgba(34, 197, 94, 0.85);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: opacity 0.15s;
}

.status-timeline.is-animated .status-bar {
  animation: statusBarGrow 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--row-i, 0) * 0.1s + var(--bar-i, 0) * 0.018s);
}

.status-bar.degraded {
  background: rgba(234, 179, 8, 0.85);
}

.status-bar.down {
  background: rgba(239, 68, 68, 0.85);
}

.status-bar--live {
  animation: statusBarGrow 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             statusBarLive 2s ease-in-out infinite;
  animation-delay: calc(0.35s + var(--row-i, 0) * 0.1s + var(--bar-i, 0) * 0.018s),
                   calc(1.2s + var(--row-i, 0) * 0.1s);
}

.status-row:hover .status-bar {
  opacity: 0.85;
}

.status-row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-uptime {
  font-weight: 600;
  color: var(--text);
}

.status-uptime.operational { color: var(--success); }
.status-uptime.degraded { color: var(--warning); }
.status-uptime.down { color: var(--danger); }

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: statusFadeUp 0.5s ease 0.4s both;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.legend-dot.operational { background: var(--success); }
.legend-dot.degraded { background: var(--warning); }
.legend-dot.down { background: var(--danger); }

.status-external {
  display: inline-flex;
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.15s;
}

.status-external:hover { opacity: 0.8; }

.page-main {
  padding-top: calc(var(--nav-h) + var(--safe-top));
  min-height: 100vh;
  min-height: 100dvh;
}

.page-section {
  padding-top: 4rem;
}

.status-loading,
.status-error,
.status-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.status-error { color: var(--danger); }

/* ── Reviews Page ── */
.reviews-page .reviews-container {
  max-width: 960px;
}

.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.reviews-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.reviews-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.reviews-summary-score {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-summary-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.reviews-stars,
.review-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.review-stars { font-size: 0.8rem; }

.stars-dim {
  color: rgba(251, 191, 36, 0.25);
}

.reviews-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.reviews-filter {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.reviews-filter:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.reviews-filter.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(91, 154, 255, 0.2);
}

.reviews-loading,
.reviews-error,
.reviews-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.reviews-error { color: var(--danger); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.25rem;
  background: rgba(8, 8, 12, 0.8);
  backdrop-filter: blur(12px);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(12px);
  min-height: 0;
}

.reviews-grid.is-animated .review-card {
  animation: reviewFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--review-i, 0) * 0.07s);
}

@keyframes reviewFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.review-product {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-reply {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: rgba(91, 154, 255, 0.06);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.review-reply span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.reviews-page-label {
  min-width: 7rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.reviews-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}

.reviews-page-btn:hover:not(:disabled) {
  background: rgba(91, 154, 255, 0.1);
  border-color: rgba(91, 154, 255, 0.25);
  color: var(--accent);
}

.reviews-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .reviews-header { flex-direction: column; }
  .reviews-summary { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-grid.is-animated .review-card { animation: none; opacity: 1; transform: none; }
}

/* ── Nav actions (login + cart) ── */
.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.85rem;
  padding: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-account,
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(248, 248, 250, 0.88);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.nav-account {
  gap: 0.45rem;
  padding: 0 0.9rem 0 0.75rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-account svg,
.nav-cart svg {
  flex-shrink: 0;
  opacity: 0.92;
}

.nav-account::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.nav-account:hover,
.nav-cart:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-account:hover svg,
.nav-cart:hover svg {
  opacity: 1;
}

.nav-account:focus-visible,
.nav-cart:focus-visible {
  outline: 2px solid rgba(91, 154, 255, 0.65);
  outline-offset: 1px;
}

.nav-account-label {
  line-height: 1;
}

.nav-cart {
  width: 38px;
}

.nav-cart.has-items {
  color: var(--accent);
}

.nav-cart.has-items:hover {
  background: rgba(91, 154, 255, 0.12);
  color: #7eb3ff;
}

.nav-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ba8ff 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(8, 8, 12, 0.95);
  pointer-events: none;
}

/* ── Cart drawer ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  width: min(100vw, 400px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 12, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

body.cart-open {
  overflow: hidden;
  touch-action: none;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cart-drawer-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 2.5rem 1rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-media {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(91, 154, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.15rem 0.25rem;
}

.cart-qty-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cart-qty-value {
  min-width: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.cart-item-remove {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.15s;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-item-line-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.cart-drawer-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.cart-total-row strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}

.cart-checkout-btn,
.cart-clear-btn {
  width: 100%;
}

.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 220;
  transform: translate(-50%, 12px);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ── Account / Login ── */
.account-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.account-overlay.open {
  opacity: 1;
  visibility: visible;
}

.account-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 201;
  width: min(94vw, 400px);
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 12, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -48%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  overflow: hidden;
}

.account-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

body.account-open {
  overflow: hidden;
  touch-action: none;
}

.account-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.account-modal-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.account-modal-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.account-modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.account-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.account-modal-body {
  padding: 1.5rem 1.2rem 1.25rem;
  text-align: center;
}

.account-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(91, 154, 255, 0.2);
  background: rgba(91, 154, 255, 0.08);
  color: var(--accent);
}

.account-modal-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.account-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-modal-buttons .btn {
  width: 100%;
  justify-content: center;
}

.account-login-btn,
.account-dashboard-btn {
  text-decoration: none;
}

/* ── Product Page ── */
.product-container {
  max-width: 1080px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.product-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.product-breadcrumb a:hover { color: var(--text); }

.product-breadcrumb-sep {
  opacity: 0.45;
  font-size: 0.75rem;
}

.product-loading,
.product-error {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 3rem 0;
}

.product-error { color: var(--danger); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.product-gallery-main-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.product-gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery--empty .product-gallery-main-wrap {
  background: linear-gradient(145deg, rgba(91, 154, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.product-gallery-counter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.product-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.product-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.product-gallery-dot.active,
.product-gallery-dot:hover {
  background: var(--accent);
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s;
}

.product-gallery-thumb.active { border-color: var(--accent); }

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-checkout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.product-price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-stars {
  display: inline-flex;
  gap: 0.1rem;
}

.product-star {
  color: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  line-height: 1;
}

.product-star.filled { color: #fbbf24; }

.product-rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.product-variants-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.product-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.product-qty-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.15rem;
}

.product-qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.product-qty-btn:hover { background: rgba(255, 255, 255, 0.12); }

.product-qty-value {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-variant {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.product-variant:hover:not(:disabled) {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.product-variant.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.product-variant:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-variant-check {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s, transform 0.15s;
}

.product-variant.selected .product-variant-check {
  opacity: 1;
  transform: scale(1);
}

.product-variant-name {
  font-size: 0.88rem;
  font-weight: 600;
  padding-right: 1.25rem;
  line-height: 1.3;
}

.product-variant-price {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-variant.selected .product-variant-price { color: var(--accent); }

.product-no-variants {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.product-actions .btn {
  gap: 0.5rem;
  flex: 1;
  min-height: 48px;
}

.product-actions .btn-buy-now { flex: 1.4; }

.product-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-details {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.product-about {
  margin-bottom: 2rem;
}

.product-about-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.product-about-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 72ch;
  line-height: 1.7;
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-feature-box {
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.product-feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.product-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-feature-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.product-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .product-variants { grid-template-columns: 1fr; }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn-buy-now { flex: 1; }

  .product-options-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-overall.is-animated,
  .status-meta,
  .status-timeline.is-animated::before,
  .status-timeline.is-animated .status-row,
  .status-timeline.is-animated .status-row-body,
  .status-timeline.is-animated .status-bar,
  .status-bar--live,
  .status-node-dot,
  .status-overall-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .status-bar { height: var(--bar-h, 100%) !important; transform: none !important; }
  .status-timeline::before { transform: scaleY(1) !important; }
}

@media (max-width: 480px) {
  .status-graph { height: 22px; gap: 1px; }
  .status-row-body { padding: 1rem; }
  .status-page-header { flex-direction: column; }
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  padding-top: 1.25rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.footer-credit {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.footer-credit a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-credit a:hover {
  color: var(--accent);
}

/* ── Modal ── */
.modal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  background: var(--bg-elevated);
  color: var(--text);
  max-width: 560px;
  width: calc(100% - 2rem);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body p + p { margin-top: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .split-layout,
  .split-layout--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout--reverse .split-media,
  .split-layout--reverse .split-content {
    order: unset;
  }

  #features .split-media {
    display: block;
  }

  #features .media-frame {
    flex: none;
    display: block;
  }

  .media-frame--menu,
  .cheat-menu {
    min-height: 360px;
  }

  .cheat-menu-body {
    grid-template-columns: 1fr;
  }

  .cheat-menu-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .cheat-menu-tab.active {
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  #features .media-frame-img {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-w));
  }

  .nav-inner {
    gap: 0.65rem;
    width: min(100% - 1.25rem, var(--max-w));
  }

  .nav-brand-name {
    font-size: 1.05rem;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.85rem calc(1rem + var(--safe-right)) 1rem calc(1rem + var(--safe-left));
    max-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgba(3, 3, 4, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 99;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    min-height: 44px;
    font-size: 0.95rem;
    border-radius: calc(var(--radius) + 2px);
  }

  .nav-links a::after {
    left: 1rem;
    right: auto;
    width: 24px;
    bottom: 0.65rem;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 0.35rem;
    padding: 3px;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-account,
  .nav-cart {
    min-width: 40px;
    min-height: 40px;
    height: 40px;
  }

  .nav-account {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .nav-account-label {
    display: none;
  }

  .nav-cart {
    width: 40px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-h) + var(--safe-top));
  }

  .hero-content {
    padding: 2.75rem 0.25rem 2.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    min-height: 2.4em;
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .split-layout,
  .split-layout--reverse {
    gap: 1.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card-inner {
    padding: 1.25rem 1.15rem;
  }

  .product-card-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .product-card-price {
    font-size: 1.5rem;
  }

  .product-card .btn-buy {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  .media-frame--menu,
  .cheat-menu {
    min-height: 320px;
  }

  .cheat-menu-titlebar {
    padding: 0.55rem 0.65rem;
    gap: 0.35rem;
  }

  .cheat-menu-title {
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .cheat-menu-status {
    font-size: 0.58rem;
    flex-shrink: 0;
  }

  .cheat-menu-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .cheat-menu-tabs::-webkit-scrollbar {
    display: none;
  }

  .cheat-menu-tab {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 36px;
    padding: 0.5rem 0.7rem;
  }

  .cheat-menu-panel-header {
    padding: 0.6rem 0.7rem 0.5rem;
  }

  .cheat-menu-panel-badge {
    display: none;
  }

  .cheat-menu-panel-body {
    padding: 0.5rem 0.7rem 0.75rem;
  }

  .cheat-menu-row {
    padding: 0.55rem 0.6rem;
    gap: 0.65rem;
  }

  .cheat-menu-row-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .cheat-toggle {
    width: 40px;
    height: 24px;
    flex-shrink: 0;
  }

  .cheat-toggle-knob {
    width: 18px;
    height: 18px;
  }

  .cheat-toggle.on .cheat-toggle-knob {
    transform: translateX(18px);
  }

  .cheat-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  .cheat-menu-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.62rem;
    padding: 0.5rem 0.7rem;
  }

  .menu-category {
    padding: 0.8rem 1rem;
    min-height: 44px;
  }

  .demo-feature {
    padding: 0.85rem 1rem;
  }

  .demo-feature:hover {
    transform: none;
  }

  .video-card:hover .media-frame--video {
    transform: none;
  }

  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
    gap: 0.85rem;
    min-height: 48px;
  }

  .faq-answer-inner {
    padding: 0 1.1rem;
    font-size: 0.85rem;
  }

  .faq-meta {
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .footer {
    padding: 1.75rem 0 calc(1.75rem + var(--safe-bottom));
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
    gap: 0.85rem 1.1rem;
  }

  .modal {
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));
    margin: auto;
  }

  .modal-content {
    padding: 1.5rem 1.25rem;
    max-height: calc(100dvh - 2rem - var(--safe-top) - var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
    padding-bottom: var(--safe-bottom);
  }

  .cart-drawer-header {
    padding: calc(1rem + var(--safe-top)) 1.1rem 1rem;
  }

  .cart-drawer-footer {
    padding-bottom: calc(1rem + var(--safe-bottom));
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "media body"
      "media total";
    gap: 0.65rem 0.75rem;
    padding: 0.85rem;
  }

  .cart-item-media {
    grid-area: media;
    width: 56px;
    height: 56px;
  }

  .cart-item-body {
    grid-area: body;
    min-width: 0;
  }

  .cart-item-line-total {
    grid-area: total;
    text-align: right;
    padding-top: 0;
  }

  .cart-checkout-btn,
  .cart-clear-btn {
    min-height: 48px;
  }

  .account-modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    top: 0;
    left: 0;
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
    transform: translateY(100%);
  }

  .account-modal.open {
    transform: translateY(0);
  }

  .account-modal-header {
    padding-top: 1rem;
  }

  .account-modal-buttons .btn {
    min-height: 48px;
  }

  .product-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .product-layout {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .product-gallery-thumbs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .product-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-thumb {
    flex-shrink: 0;
  }

  .product-options-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .product-qty {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0.65rem;
  }

  .btn {
    min-height: 44px;
  }

  .product-qty-btn,
  .cart-qty-btn {
    min-width: 36px;
    min-height: 36px;
  }

  .product-variants {
    grid-template-columns: 1fr;
  }

  .product-variant {
    min-height: 48px;
    padding: 0.9rem 1rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
    flex: none;
  }

  .product-actions .btn-buy-now {
    flex: none;
  }

  .product-features-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-box {
    padding: 1.1rem 1.15rem;
  }

  .page-section {
    padding-top: 2.5rem;
  }

  .reviews-header {
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .reviews-summary {
    width: 100%;
    justify-content: center;
  }

  .reviews-filters {
    gap: 0.35rem;
  }

  .reviews-filter {
    min-height: 40px;
    padding: 0.45rem 0.8rem;
  }

  .review-card {
    padding: 1rem 1.1rem;
  }

  .status-page-header {
    flex-direction: column;
    gap: 1rem;
  }

  .status-overall {
    width: 100%;
    justify-content: center;
  }

  .status-row {
    grid-template-columns: 24px 1fr;
    gap: 0.85rem;
    padding: 1rem 0;
  }

  .status-timeline::before {
    left: 11px;
  }

  .status-row-body {
    padding: 1rem 1.1rem;
  }

  .status-row:hover .status-row-body {
    transform: none;
  }

  .status-row-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .status-row-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .status-graph {
    height: 24px;
  }

  .cart-toast {
    bottom: calc(1rem + var(--safe-bottom));
    left: 1rem;
    right: 1rem;
    transform: translateY(120%);
    width: auto;
    max-width: none;
  }

  .cart-toast.show {
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .nav-brand-name {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .cheat-menu-logo {
    width: 18px;
    height: 18px;
  }

  .product-card-price {
    font-size: 1.35rem;
  }
}

/* Disable hover motion on touch devices */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }

  .product-card:hover .product-card-img {
    transform: none;
  }

  .menu-category:hover,
  .menu-category.active {
    transform: none;
  }

  .feature-card:hover,
  .demo-feature:hover {
    transform: none;
  }

  .status-row:hover .status-row-body {
    transform: none;
  }

  .video-card:hover .media-frame--video {
    transform: none;
  }
}
