
/* ===== VIDEO BACKGROUND ===== */
.video-hero {
  position: relative;
  overflow: hidden;
}

.video-hero > .hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  filter: brightness(0.45) saturate(1.2);
}

.video-hero::before {
  background: linear-gradient(90deg, rgba(3, 8, 5, 0.92) 0%, rgba(5, 16, 9, 0.72) 48%, rgba(5, 16, 9, 0.38) 100%) !important;
}

.video-hero::after {
  background:
    radial-gradient(circle at 30% 50%, rgba(66, 230, 116, 0.12), transparent 28rem),
    linear-gradient(to bottom, transparent 60%, var(--bg)) !important;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(107, 226, 154, 0.06), transparent 32rem),
    radial-gradient(circle at 80% 80%, rgba(53, 201, 162, 0.05), transparent 30rem),
    var(--bg-deep);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .brand-name {
  font-size: 1.5rem;
}

.auth-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
}

.auth-sub {
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  min-height: 48px;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 226, 154, 0.1);
}

.form-group input::placeholder {
  color: #6f8476;
}

.auth-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--primary), var(--teal));
  color: var(--primary-ink);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 50px;
}

.auth-btn:hover {
  background: linear-gradient(120deg, var(--primary-hover), #46d9b2);
  box-shadow: 0 12px 30px rgba(53, 201, 162, 0.14);
}

.auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-error {
  color: var(--danger);
  text-align: center;
  margin: 0.75rem 0 0;
  display: none;
  font-size: 0.85rem;
}

.auth-error.show {
  display: block;
}

.auth-divider {
  text-align: center;
  margin: 1.25rem 0;
  color: var(--text-subtle);
  position: relative;
  font-size: 0.78rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
}

.auth-footer a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: var(--primary);
}

/* ===== PANEL / DASHBOARD ===== */
.panel-nav {
  background: rgba(4, 11, 7, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 226, 154, 0.08);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.panel-nav .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.panel-nav .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.panel-nav .nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.panel-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ===== DOWNLOAD PAGE ===== */
.download-hero {
  text-align: center;
  padding: 4rem 1.5rem;
}

.download-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(120deg, var(--primary), var(--teal));
  color: var(--primary-ink);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s;
}

.download-btn:hover {
  box-shadow: 0 15px 36px rgba(53,201,162,0.22);
  transform: translateY(-2px);
}

.hwid-info {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(107,226,154,0.04);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@font-face {
  font-family: "Orbitron";
  src: url("_next/static/media/0acc7fdf55eb3220-s.p.3oprs0vbfre0x.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("_next/static/media/278cbb97e75e04e2-s.p.3frbiw4nltldc.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("_next/static/media/d23f31b94ad01e54-s.p.0teq8rsbqpt0q.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("_next/static/media/a079e02bba5bf7ab-s.p.3f6zc4f4lqyuc.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("_next/static/media/3206eb66b875a5b3-s.p.201eoo3y6c5_i.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #06100a;
  --bg-deep: #030805;
  --surface: #0c1911;
  --surface-soft: #102219;
  --surface-raised: #14291e;
  --border: #294634;
  --border-strong: #47785a;
  --text: #f2f7f3;
  --text-muted: #adc0b2;
  --text-subtle: #829889;
  --primary: #6be29a;
  --primary-hover: #82efad;
  --primary-ink: #03230f;
  --teal: #35c9a2;
  --warning: #e8c66a;
  --danger: #ff8a8a;
  --art-accent: #e85aa8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --font-body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --header-height: 96px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(41, 112, 70, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 30%, rgba(28, 82, 52, 0.12), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 226, 154, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 226, 154, 0.026) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  content: "";
  pointer-events: none;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

::selection {
  background: rgba(107, 226, 154, 0.28);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(107, 226, 154, 0.12);
  background: rgba(5, 14, 9, 0.82);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 12, 8, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  position: relative;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(107, 226, 154, 0.42);
  border-radius: 11px;
  background: linear-gradient(145deg, #183e28, #09130d);
  box-shadow: inset 0 0 20px rgba(107, 226, 154, 0.08), 0 0 20px rgba(107, 226, 154, 0.08);
}

.brand-mark img {
  width: 29px;
  height: 29px;
}

.site-header {
  height: 96px;
}

.brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(232, 90, 168, 0.22));
}

.auth-logo .brand-logo,
.footer-brand .brand-logo {
  height: 60px;
  max-width: 300px;
}

.hero-logo {
  display: block;
  width: min(660px, 100%);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 28px rgba(232, 90, 168, 0.28));
}

.brand-name span {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(107, 226, 154, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 7px 15px;
  border-radius: 10px;
  color: #f0f7f2;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(107, 226, 154, 0.1);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(107, 226, 154, 0.1), 0 0 16px rgba(107, 226, 154, 0.5);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  z-index: 99;
  top: var(--header-height);
  right: 0;
  left: 0;
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 14, 9, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav .nav-link {
  justify-content: flex-start;
  min-height: 48px;
}

.mobile-nav.is-open {
  display: grid;
  animation: menu-in 160ms ease both;
}

main {
  min-height: 66vh;
}

.section {
  position: relative;
  padding-block: 86px;
}

.section-compact {
  padding-block: 58px;
}

.section-border {
  border-block: 1px solid rgba(107, 226, 154, 0.1);
  background: rgba(255, 255, 255, 0.012);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: var(--primary);
  content: "";
  box-shadow: 0 0 10px rgba(107, 226, 154, 0.55);
}

.section-heading h2,
.page-hero h1,
.hero h1 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading p,
.page-hero p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.accent-text {
  color: var(--primary);
}

.gradient-text {
  display: inline-block;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  overflow: visible;
  background: linear-gradient(100deg, #effff4 8%, var(--primary) 55%, var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  background: linear-gradient(120deg, var(--primary), var(--teal));
  color: var(--primary-ink);
  box-shadow: 0 12px 30px rgba(53, 201, 162, 0.14);
}

.button-primary:hover {
  background: linear-gradient(120deg, var(--primary-hover), #46d9b2);
  box-shadow: 0 15px 36px rgba(53, 201, 162, 0.22);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(107, 226, 154, 0.07);
  color: var(--primary);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.92rem;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-muted);
}

.icon-button:hover {
  border-color: var(--border-strong);
  color: var(--primary);
}

.hero {
  display: grid;
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  padding-block: 70px 78px;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 5, 0.98) 0%, rgba(5, 16, 9, 0.88) 48%, rgba(5, 16, 9, 0.52) 100%),
    url("ximshousepicturelogo.jpg") center 36% / cover no-repeat;
  filter: saturate(0.7);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(66, 230, 116, 0.19), transparent 28rem),
    linear-gradient(to bottom, transparent 70%, var(--bg));
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 110px);
}

.hero-copy {
  max-width: 700px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 12px;
  gap: 8px;
  border: 1px solid rgba(107, 226, 154, 0.25);
  border-radius: 999px;
  background: rgba(6, 20, 12, 0.72);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 24px;
  overflow: visible;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.14;
  text-wrap: balance;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.hero .button-row {
  margin-bottom: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--text-muted);
  font-size: 0.91rem;
  font-weight: 700;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(107, 226, 154, 0.42);
  border-radius: 50%;
  background: rgba(107, 226, 154, 0.09);
  color: var(--primary);
  font-size: 0.7rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  width: min(100%, 480px);
  justify-self: center;
}

.poster-frame {
  position: relative;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(107, 226, 154, 0.28);
  border-radius: 28px;
  background: rgba(8, 25, 14, 0.72);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.52), 0 0 80px rgba(68, 216, 108, 0.1);
}

.poster-frame::before {
  position: absolute;
  z-index: 2;
  inset: 10px;
  border-radius: 19px;
  background: linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, 0.09) 50%, transparent 55%);
  background-size: 260% 100%;
  content: "";
  pointer-events: none;
  animation: sheen 8s ease-in-out infinite;
}

.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 2.7;
  border-radius: 19px;
  object-fit: cover;
  object-position: center 42%;
}

.signal-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  border-block: 1px solid rgba(107, 226, 154, 0.12);
  background: rgba(7, 21, 12, 0.88);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-item {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 22px 26px;
  gap: 15px;
  border-right: 1px solid rgba(107, 226, 154, 0.1);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-icon,
.feature-icon,
.step-icon,
.support-icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(107, 226, 154, 0.25);
  border-radius: 13px;
  background: rgba(107, 226, 154, 0.08);
  color: var(--primary);
  place-items: center;
}

.signal-icon svg,
.feature-icon svg,
.step-icon svg,
.support-icon svg {
  width: 22px;
  height: 22px;
}

.signal-copy strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.signal-copy span {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 39, 28, 0.9), rgba(9, 21, 14, 0.94));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.feature-card {
  min-height: 270px;
  padding: 28px;
}

.feature-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, rgba(107, 226, 154, 0.11), transparent 68%);
  content: "";
  pointer-events: none;
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(107, 226, 154, 0.22);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-icon {
  margin-bottom: 30px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.04rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.feature-meter {
  width: 100%;
  height: 4px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-meter span {
  display: block;
  width: var(--meter, 82%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  box-shadow: 0 0 16px rgba(107, 226, 154, 0.4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 850ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.feature-meter .meter-96 { --meter: 96%; }
.feature-meter .meter-92 { --meter: 92%; }
.feature-meter .meter-89 { --meter: 89%; }

.is-visible .feature-meter span,
.feature-card.is-visible .feature-meter span {
  transform: scaleX(1);
}

.process {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  gap: 24px;
  list-style: none;
}

.process::before {
  position: absolute;
  top: 39px;
  right: calc(16.66% + 32px);
  left: calc(16.66% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0.35;
  content: "";
}

.process-step {
  position: relative;
  text-align: center;
}

.step-icon {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 0 0 9px var(--bg), 0 0 0 10px rgba(107, 226, 154, 0.12);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.process-step h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.process-step p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--text-muted);
}

.showcase {
  display: grid;
  align-items: stretch;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}

.showcase-art {
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.showcase-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
}

.showcase-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 56px);
}

.showcase-panel h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.showcase-panel > p {
  color: var(--text-muted);
}

.loadout-list {
  display: grid;
  margin: 24px 0 30px;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.loadout-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-muted);
}

.loadout-list .check-icon {
  flex: 0 0 auto;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
}

.quote-mark {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(107, 226, 154, 0.24);
  border-radius: 7px;
  background: rgba(107, 226, 154, 0.07);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.quote-card blockquote,
.quote-card > p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.quote-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.quote-author {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(107, 226, 154, 0.28);
  border-radius: 13px;
  background: rgba(107, 226, 154, 0.08);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  place-items: center;
}

.quote-author strong,
.quote-author span {
  display: block;
}

.quote-author strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.quote-author span {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.cta-panel {
  display: grid;
  position: relative;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 1fr auto;
  padding: clamp(32px, 5vw, 56px);
  gap: 26px;
  border: 1px solid rgba(107, 226, 154, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 30%, rgba(107, 226, 154, 0.18), transparent 20rem),
    linear-gradient(130deg, #112c1c, #09150e 66%);
  box-shadow: var(--shadow);
}

.cta-panel::after {
  position: absolute;
  top: -35%;
  right: -3%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(107, 226, 154, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cta-panel h2 {
  max-width: 680px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 90px 66px;
  border-bottom: 1px solid rgba(107, 226, 154, 0.12);
  background:
    radial-gradient(circle at 75% 35%, rgba(77, 213, 119, 0.14), transparent 25rem),
    linear-gradient(180deg, rgba(12, 31, 18, 0.68), transparent);
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(107, 226, 154, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(107, 226, 154, 0.025), 0 0 0 110px rgba(107, 226, 154, 0.018);
  content: "";
  pointer-events: none;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.page-hero p {
  max-width: 690px;
}

.page-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.system-widget {
  display: grid;
  min-width: 270px;
  padding: 18px;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 19, 11, 0.7);
}

.system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.system-row strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.76rem;
}

.system-row .online {
  color: var(--primary);
}

.toolbar {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.34fr) auto;
  margin-bottom: 24px;
  padding: 18px;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 27, 17, 0.78);
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  color: var(--text-subtle);
  transform: translateY(-50%);
  pointer-events: none;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  outline: none;
  background: #07130c;
  color: var(--text);
}

input {
  padding: 10px 14px;
}

.input-wrap input {
  padding-left: 45px;
}

select {
  padding: 10px 38px 10px 13px;
}

input::placeholder {
  color: #6f8476;
}

input:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 226, 154, 0.1);
}

.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-bottom: 18px;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.result-count strong {
  color: var(--text);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.17);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #030805;
}

.product-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 8, 5, 0.66), transparent 55%);
  content: "";
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(107, 226, 154, 0.33);
  border-radius: 999px;
  background: rgba(5, 17, 9, 0.83);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-badge.is-offline,
.product-badge.is-updating {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.product-badge.is-testing,
.product-badge.is-risky {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fcd34d;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-label {
  margin-bottom: 8px;
  color: var(--text-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h2 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
}

.product-description {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 18px;
  gap: 12px;
}

.price-from {
  color: var(--text-subtle);
  font-size: 0.78rem;
}

.price {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.stock::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.empty-state,
.loading-state {
  grid-column: 1 / -1;
  padding: 58px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(11, 27, 17, 0.4);
  text-align: center;
}

.empty-state h2,
.loading-state h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.empty-state p,
.loading-state p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.loader {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border: 3px solid rgba(107, 226, 154, 0.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.product-dialog {
  width: min(calc(100% - 32px), 820px);
  max-height: min(88vh, 780px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  outline: none;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.7);
}

.product-dialog::backdrop {
  background: rgba(1, 6, 3, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.dialog-media {
  min-height: 480px;
  background: var(--bg-deep);
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-content {
  position: relative;
  padding: 38px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.dialog-content h2 {
  margin: 18px 48px 8px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.dialog-content > p {
  color: var(--text-muted);
}

.dialog-content .eyebrow {
  margin-right: 50px;
}

.variant-list {
  display: grid;
  margin: 24px 0;
  gap: 10px;
}

.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.variant-option:hover {
  border-color: var(--primary);
}

.variant-option.is-selected {
  border-color: var(--primary);
  background: rgba(107, 226, 154, 0.07);
}

.variant-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.variant-option strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.variant-option .variant-stock {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.variant-option.is-disabled .variant-stock {
  color: #fca5a5;
}

.dashboard-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: 24px;
}

.lookup-card {
  padding: clamp(24px, 4vw, 38px);
}

.lookup-card h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.lookup-card > p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.lookup-form {
  display: grid;
  gap: 14px;
}

.lookup-form .button {
  width: 100%;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  margin-top: 16px;
  padding: 13px 14px;
  gap: 10px;
  border: 1px solid rgba(107, 226, 154, 0.15);
  border-radius: 10px;
  background: rgba(107, 226, 154, 0.045);
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.privacy-note svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--primary);
}

.lookup-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}

.lookup-status.is-visible {
  display: block;
}

.lookup-status.error {
  border-color: rgba(255, 138, 138, 0.3);
  background: rgba(255, 138, 138, 0.07);
  color: #ffc3c3;
}

.lookup-status.success {
  border-color: rgba(107, 226, 154, 0.28);
  background: rgba(107, 226, 154, 0.07);
  color: var(--primary);
}

.journey-card {
  padding: 28px;
}

.journey-card h2 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.journey-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.journey-step {
  display: grid;
  position: relative;
  grid-template-columns: 34px 1fr;
  min-height: 86px;
  gap: 14px;
}

.journey-step:not(:last-child)::before {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: rgba(107, 226, 154, 0.24);
  content: "";
}

.journey-node {
  display: grid;
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107, 226, 154, 0.3);
  border-radius: 11px;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  place-items: center;
}

.journey-copy strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.journey-copy span {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.order-results {
  display: grid;
  margin-top: 24px;
  gap: 14px;
}

.order-card {
  padding: 20px;
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}

.order-id {
  font-family: var(--font-display);
  font-size: 0.83rem;
}

.order-meta {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(107, 226, 154, 0.23);
  border-radius: 999px;
  background: rgba(107, 226, 154, 0.07);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.order-items {
  margin: 4px 0 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.order-items h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.order-items ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
  border-top: 1px solid rgba(71, 120, 90, 0.35);
}

.order-items li > span:first-child,
.order-items small {
  display: block;
}

.order-items small,
.order-items > p {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.order-items > p {
  margin: 7px 0 0;
}

.order-item-state {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  text-transform: capitalize;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-card {
  padding: 24px;
}

.support-icon {
  margin-bottom: 20px;
}

.support-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.support-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.about-intro {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(35px, 7vw, 86px);
}

.about-art {
  position: relative;
}

.about-art img {
  width: 100%;
  max-height: 650px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center 42%;
  box-shadow: var(--shadow);
}

.about-art::after {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: -20px;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(107, 226, 154, 0.2);
  border-radius: var(--radius-lg);
  content: "";
}

.about-copy h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.about-copy p {
  color: var(--text-muted);
}

.mission-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(107, 226, 154, 0.06);
}

.mission-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-callout p {
  margin: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 24px;
}

.value-card .feature-icon {
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  display: grid;
  place-items: center;
  padding: 24px 14px;
  text-align: center;
}

.metric-ring {
  display: grid;
  position: relative;
  width: 114px;
  height: 114px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--ring, 82%), rgba(107, 226, 154, 0.08) 0);
  place-items: center;
}

.metric-ring.ring-82 { --ring: 82%; }
.metric-ring.ring-90 { --ring: 90%; }
.metric-ring.ring-999 { --ring: 99.9%; }
.metric-ring.ring-100 { --ring: 100%; }

.metric-ring::before {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.metric-number {
  position: relative;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.91rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.faq-question svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 19px;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

.faq-answer.is-open {
  display: block;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(107, 226, 154, 0.14);
  background: #040b07;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  padding-block: 58px 44px;
  gap: 50px;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 22px;
  color: var(--text-muted);
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-pill {
  padding: 5px 9px;
  border: 1px solid rgba(107, 226, 154, 0.16);
  border-radius: 999px;
  background: rgba(107, 226, 154, 0.045);
  color: var(--text-subtle);
  font-size: 0.77rem;
  font-weight: 700;
}

.footer-column h2 {
  margin-bottom: 17px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  gap: 20px;
  border-top: 1px solid rgba(107, 226, 154, 0.1);
  color: var(--text-subtle);
  font-size: 0.83rem;
}

.footer-bottom a {
  color: var(--primary);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .card:hover,
  .product-card:hover {
    transform: translateY(-2px);
  }

  .product-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
  }

  .product-card:hover .product-media img {
    transform: scale(1.035);
  }
}

@media (max-width: 1020px) {
  .desktop-nav,
  .header-status {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.7fr;
    gap: 42px;
  }

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.8rem);
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-item:nth-child(2) {
    border-right: 0;
  }

  .signal-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(107, 226, 154, 0.1);
  }

  .feature-grid,
  .quote-grid,
  .shop-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-card:last-child,
  .value-card:last-child {
    grid-column: 1 / -1;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolbar {
    grid-template-columns: 1fr 0.5fr;
  }

  .toolbar .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding-block: 66px;
  }

  .section-compact {
    padding-block: 48px;
  }

  .hero {
    padding-block: 58px 64px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 8, 5, 0.97) 0%, rgba(4, 13, 8, 0.91) 56%, rgba(4, 13, 8, 0.76) 100%),
      url("ximshousepicturelogo.jpg") center 34% / cover no-repeat;
  }

  .hero-grid,
  .showcase,
  .dashboard-grid,
  .about-intro,
  .page-hero-grid,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

.hero-visual {
    width: min(82vw, 460px);
    margin: 10px auto 0;
    justify-self: center;
  }

  .feature-grid,
  .quote-grid,
  .shop-grid,
  .support-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .quote-card:last-child,
  .value-card:last-child {
    grid-column: auto;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process::before {
    display: none;
  }

  .process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    text-align: left;
  }

  .step-icon {
    width: 68px;
    height: 68px;
    margin: 0;
  }

  .process-step p {
    margin: 0;
  }

  .showcase-art {
    min-height: min(116vw, 640px);
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 70px 54px;
  }

  .system-widget {
    min-width: 0;
    max-width: 430px;
  }

  .dialog-media {
    min-height: 280px;
    max-height: 340px;
  }

  .about-art::after {
    right: 0;
    bottom: -14px;
  }

  .dialog-content {
    padding: 28px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

.hero-visual {
    width: calc(100% - 18px);
  }

  .signal-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .signal-item {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid rgba(107, 226, 154, 0.1);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .button-row .button {
    flex: 1 1 100%;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar .button {
    grid-column: auto;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .order-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-items li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .order-item-state {
    text-align: left;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .header-actions > .button {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .feature-meter span {
    transform: scaleX(1);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sheen {
  0%,
  75% {
    background-position: 190% 0;
  }
  100% {
    background-position: -80% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* ============ TESTIMONIALS / REVIEWS ============ */
.review-stars {
  font-size: 1.25rem;
  color: var(--accent, #f0c040);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.review-author {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
  margin-top: 0.75rem;
  font-style: italic;
}
/* ===== PURPLE / CYBERPUNK ACCENTS ===== */
:root {
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --purple-glow: rgba(168, 85, 247, 0.3);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --pink: #ec4899;
  --grid-color: rgba(168, 85, 247, 0.04);
}

/* ===== CYBER GRID BACKGROUND ===== */
.cyber-grid {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  position: relative;
}

.cyber-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.06), transparent 70%);
  pointer-events: none;
}

/* ===== GLOW EFFECTS ===== */
.glow-purple {
  box-shadow: 0 0 20px var(--purple-glow), 0 0 40px var(--purple-glow);
}

.glow-cyan {
  box-shadow: 0 0 20px var(--cyan-glow), 0 0 40px var(--cyan-glow);
}

.button-primary:hover {
  box-shadow: 0 0 20px var(--purple-glow), 0 0 40px rgba(168, 85, 247, 0.15);
}

.gradient-text.purple {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEXAGON GRID PATTERN ===== */
.hex-bg {
  position: relative;
}

.hex-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 0l17.32 10v20L20 40 2.68 30V10z' fill='none' stroke='%23a855f7' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ===== PRODUCT CARD ENHANCEMENTS ===== */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--purple-glow), transparent, var(--cyan-glow), transparent);
  animation: rotate-border 6s linear infinite;
  opacity: 0;
  z-index: 0;
}

.product-card:hover::before {
  opacity: 1;
}

@keyframes rotate-border {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-card > * {
  position: relative;
  z-index: 1;
}

/* ===== PRICE TAG PULSE ===== */
.price {
  animation: price-glow 2s ease-in-out infinite;
}

@keyframes price-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(66, 230, 116, 0.3); }
  50% { text-shadow: 0 0 20px rgba(66, 230, 116, 0.6), 0 0 40px rgba(66, 230, 116, 0.2); }
}
/* ===== SHOWCASE SECTION ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.showcase-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 30px var(--purple-glow), 0 0 60px rgba(168,85,247,0.08);
  position: relative;
}

.showcase-video video {
  width: 100%;
  display: block;
}

.showcase-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.08), transparent, rgba(34,211,238,0.08));
  pointer-events: none;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  border-color: var(--purple);
  box-shadow: 0 0 25px var(--purple-glow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,8,5,0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===== ANIMATED GRADIENT BGS ===== */
.gradient-bg-1 {
  background: linear-gradient(135deg, rgba(168,85,247,0.05) 0%, rgba(34,211,238,0.03) 50%, transparent 100%);
}

.gradient-bg-2 {
  background: linear-gradient(45deg, transparent 0%, rgba(107,226,154,0.04) 30%, rgba(168,85,247,0.05) 70%, transparent 100%);
}

.gradient-bg-3 {
  background: linear-gradient(180deg, transparent 0%, rgba(236,72,153,0.03) 30%, rgba(168,85,247,0.04) 60%, transparent 100%);
}

/* ===== COLOR BADGE ===== */
.badge-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-cyan {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== PULSE DOT ===== */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.pulse-dot.cyan {
  background: var(--cyan);
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--purple-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* ===== FEATURE CARD COLOR ===== */
.feature-card.color-accent-1 {
  border-top: 2px solid var(--purple);
}

.feature-card.color-accent-2 {
  border-top: 2px solid var(--cyan);
}

.feature-card.color-accent-3 {
  border-top: 2px solid var(--pink);
}

/* ===== BACKGROUND BUBBLES ===== */
.bg-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-bubbles span {
  position: absolute;
  border-radius: 50%;
  background: var(--purple-glow);
  animation: float-bubble 8s ease-in-out infinite;
}

.bg-bubbles span:nth-child(1) {
  width: 200px; height: 200px; top: -40px; left: -60px;
  animation-delay: 0s; background: rgba(168,85,247,0.04);
}

.bg-bubbles span:nth-child(2) {
  width: 150px; height: 150px; bottom: -30px; right: -40px;
  animation-delay: 2s; background: rgba(34,211,238,0.04);
}

.bg-bubbles span:nth-child(3) {
  width: 100px; height: 100px; top: 40%; right: 10%;
  animation-delay: 4s; background: rgba(236,72,153,0.03);
}

@keyframes float-bubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* ===== HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(168,85,247,0.05);
  margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-copy .button-row,
  .trust-row {
    justify-content: center;
  }
  .hero-logo {
    margin-inline: auto;
  }
  .hero-visual {
    order: 2;
    width: min(100%, 440px);
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }
  .site-header {
    height: 80px;
  }
  .brand-logo {
    height: 56px;
    max-width: 260px;
  }
}
/* ===== SPIN WHEEL ===== */
.wheel-frame {
  background: radial-gradient(circle at 50% 42%, rgba(124, 58, 237, 0.16), rgba(3, 8, 5, 0.5) 68%);
  padding: 22px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: 0 0 44px rgba(124, 58, 237, 0.16), 0 38px 100px rgba(0, 0, 0, 0.52);
  position: relative;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.wheel-frame.is-winner {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 0 60px rgba(250, 204, 21, 0.22), 0 38px 100px rgba(0, 0, 0, 0.52);
}

#spin_the_wheel {
  display: block;
  position: relative;
  width: 100%;
}

.wheel-pointer {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 20px solid #22d3ee;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.8));
  z-index: 5;
}

#wheel-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
}

#spin-btn {
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27%;
  height: 27%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 38%, #14291e, #030805 72%);
  color: #fff;
  border: 3px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 26px rgba(124, 58, 237, 0.35), inset 0 0 18px rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  transition: transform 0.15s ease, opacity 0.2s ease, border-color 0.2s ease;
  z-index: 4;
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.2;
  padding: 0 10px;
}

#spin-btn:hover {
  border-color: #22d3ee;
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.35), inset 0 0 18px rgba(0, 0, 0, 0.7);
}

#spin-btn:active {
  transform: translate(-50%, -50%) scale(0.93);
}

#spin-btn.is-spinning {
  pointer-events: none;
}

#spin-btn.is-locked {
  opacity: 0.55;
  border-color: rgba(130, 152, 137, 0.5);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

#spin-btn.shake {
  animation: hub-shake 0.4s ease;
}

@keyframes hub-shake {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(calc(-50% - 7px), -50%); }
  50% { transform: translate(calc(-50% + 7px), -50%); }
  75% { transform: translate(calc(-50% - 4px), -50%); }
}

.wheel-note {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 600;
}

.wheel-result {
  position: absolute;
  inset: 22px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(4, 9, 6, 0.93);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 50%;
  gap: 0.35rem;
  padding: 3rem;
  z-index: 10;
  animation: result-fade 0.35s ease;
}

.wheel-result.is-visible {
  display: flex;
}

.wheel-result-icon {
  font-size: 3.2rem;
  line-height: 1;
}

.wheel-result-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wheel-result-prize {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--primary);
}

.wheel-result-prize.cyan {
  color: var(--cyan);
}

.wheel-result-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.wheel-result-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes result-fade {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.coupon-code {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 8px;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: all;
}

.coupon-code:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

/* Homepage hero: no frame behind the wheel, no pill around the logo */
.wheel-frame,
.wheel-frame.is-winner {
  background: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-copy .hero-kicker {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
