/* ============================================================
   SplitX | Development — site stylesheet
   Identity: the "split" — seams, forks, notched corners.
   Deep space black / electric blue → violet, mono telemetry accents.
   ============================================================ */

:root {
  --bg: #04030b;
  --bg-2: #0a0618;
  --panel: rgba(255, 255, 255, 0.024);
  --panel-hover: rgba(255, 255, 255, 0.045);
  --line: rgba(139, 92, 246, 0.16);
  --line-bright: rgba(157, 108, 255, 0.45);

  --blue: #3b82f6;
  --blue-bright: #4a9eff;
  --violet: #8b5cf6;
  --violet-bright: #a97fff;
  --violet-deep: #6d28d9;
  --electric: #b388ff;

  --teal: #2dd4bf;
  --amber: #fbbf24;
  --pink: #f472b6;

  --text: #efeaff;
  --muted: #a79dc9;
  --muted-2: #7c719f;

  --grad-brand: linear-gradient(100deg, #4a9eff 0%, #7c5cff 55%, #9d5cff 100%);
  --grad-violet: linear-gradient(180deg, #b18cff 0%, #7c3aed 100%);

  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Chakra Petch", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  --radius: 2px;
  --notch: 14px;   /* size of cut corners */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

img, svg { max-width: 100%; display: block; }

a { color: var(--violet-bright); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* custom scrollbar — part of the identity */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070512; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3d3564, #241d40);
  border: 2px solid #070512;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #4c4180; }

/* ---------- ambient background ---------- */

/* Base wash: near-black with one asymmetric cold glow and a single
   faint diagonal "seam" of light running through the page. */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(115deg,
      transparent calc(50% - 1px),
      rgba(157, 108, 255, 0.09) calc(50% - 1px),
      rgba(157, 108, 255, 0.09) calc(50% + 1px),
      transparent calc(50% + 1px)),
    radial-gradient(1100px 640px at 78% -12%, rgba(88, 52, 190, 0.16), transparent 64%),
    radial-gradient(900px 500px at 8% 4%, rgba(37, 78, 156, 0.12), transparent 60%),
    var(--bg);
}

/* Canvas: animated telemetry traces that fork ("split") — see main.js */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

/* Film grain over everything — kills the flat digital-gradient look */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100; /* above .store-filters (90) so the account dropdown isn't covered */
  background: rgba(5, 3, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* signal bar along the very top */
.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4a9eff, #9d5cff 38%, rgba(157, 92, 255, 0.25) 62%, transparent 85%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
}

.brand .code-mark { width: 30px; height: 22px; flex: none; }

.brand-name {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-dev {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  border-left: 1px solid var(--line-bright);
  padding-left: 10px;
  margin-left: 2px;
}

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

.nav-links a:not(.btn) {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--text); }

/* active link gets a skewed seam underneath */
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -8px;
  height: 2px;
  background: var(--grad-brand);
  transform: skewX(-30deg);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- buttons — the "split" effect ----------
   The button's true background is a bright electric core. Two darker
   halves (pseudo-elements) sit on top of it; on hover they slide apart,
   exposing the glowing seam down the middle. Corners are notched. */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(
    var(--notch) 0, 100% 0,
    100% calc(100% - var(--notch)),
    calc(100% - var(--notch)) 100%,
    0 100%, 0 var(--notch)
  );
  transition: filter 0.2s;
}

.btn:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }
.btn:active { filter: brightness(0.85); }

.btn-primary {
  color: #fff;
  /* the electric core, revealed on hover */
  background: linear-gradient(90deg, #6ab2ff, #d4b6ff);
  text-shadow: 0 1px 8px rgba(5, 3, 13, 0.55);
}

.btn-primary::before,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1; /* above core background, below label */
  background: linear-gradient(120deg, #2b63d8, #5b21b6 75%);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.btn-primary::before { clip-path: inset(0 calc(50% - 0.5px) 0 0); } /* left half */
.btn-primary::after  { clip-path: inset(0 0 0 calc(50% - 0.5px)); } /* right half */

.btn-primary:hover { filter: drop-shadow(0 4px 22px rgba(124, 58, 237, 0.5)); }
.btn-primary:hover::before { transform: translateX(-4px); }
.btn-primary:hover::after  { transform: translateX(4px); }

/* ghost: framed, with corner brackets that ignite on hover */
.btn-ghost {
  background: rgba(139, 92, 246, 0.05);
  box-shadow: inset 0 0 0 1px rgba(157, 108, 255, 0.35);
  color: var(--text);
  transition: filter 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-ghost::before,
.btn-ghost::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}

.btn-ghost::before {
  top: 0;
  right: 0;
  border-top: 2px solid rgba(179, 136, 255, 0.55);
  border-right: 2px solid rgba(179, 136, 255, 0.55);
}

.btn-ghost::after {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid rgba(179, 136, 255, 0.55);
  border-left: 2px solid rgba(179, 136, 255, 0.55);
}

.btn-ghost:hover {
  background:
    repeating-linear-gradient(0deg,
      rgba(179, 136, 255, 0.05) 0 1px, transparent 1px 3px),
    rgba(139, 92, 246, 0.1);
  box-shadow: inset 0 0 0 1px var(--violet-bright);
}

.btn-ghost:hover::before,
.btn-ghost:hover::after {
  width: 22px;
  height: 22px;
  border-color: var(--electric);
}

.btn-sm { --notch: 9px; padding: 10px 20px; font-size: 0.82rem; }

/* ---------- hero (shared) ---------- */

.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
}

.overline {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 22px;
}

.overline::before { content: "// "; color: var(--blue-bright); letter-spacing: 0; }

.wordmark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  transform: skewX(-6deg);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(124, 92, 255, 0.35));
}

/* glitch layers — chromatic slices that occasionally split off */
.wordmark::before,
.wordmark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
  opacity: 0;
}

.wordmark::before {
  -webkit-text-fill-color: rgba(74, 158, 255, 0.9);
  animation: glitch-a 7.5s infinite;
}

.wordmark::after {
  -webkit-text-fill-color: rgba(179, 136, 255, 0.9);
  animation: glitch-b 9.5s infinite 1.1s;
}

@keyframes glitch-a {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; opacity: 0; }
  89%  { clip-path: inset(12% 0 52% 0); transform: translateX(-8px); opacity: 0.85; }
  92%  { clip-path: inset(58% 0 16% 0); transform: translateX(6px);  opacity: 0.7; }
  95%  { clip-path: inset(28% 0 44% 0); transform: translateX(-4px); opacity: 0.8; }
  96.5%{ clip-path: inset(0 0 100% 0); opacity: 0; }
}

@keyframes glitch-b {
  0%, 90%, 100% { clip-path: inset(100% 0 0 0); transform: none; opacity: 0; }
  91%  { clip-path: inset(64% 0 8% 0);  transform: translateX(7px);  opacity: 0.8; }
  94%  { clip-path: inset(8% 0 70% 0);  transform: translateX(-6px); opacity: 0.7; }
  96%  { clip-path: inset(40% 0 34% 0); transform: translateX(3px);  opacity: 0.75; }
  97.5%{ clip-path: inset(100% 0 0 0); opacity: 0; }
}

.wordmark-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.4vw, 1.25rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--muted);
  text-transform: uppercase;
}

.wordmark-sub .code-mark { width: 44px; height: 30px; }

.wordmark-sub .divider {
  width: 2px;
  height: 26px;
  background: var(--grad-violet);
  border-radius: 2px;
  transform: skewX(-14deg);
}

.hero-tagline {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

/* ---------- sections ---------- */

.section { padding: 96px 0; position: relative; }

.section-head {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* ghost index number behind each section heading */
.section-head::before {
  content: attr(data-num);
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%) skewX(-6deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(157, 108, 255, 0.13);
  pointer-events: none;
  z-index: -1;
}

.section-head .overline { margin-bottom: 14px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section-title .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub { color: var(--muted); margin-top: 16px; }

/* ---------- cards — angular HUD panels ----------
   Notched top-right corner, faint scanline texture, an accent rail on
   the left that ignites on hover. No rounded glass. */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  --rail: var(--violet-bright);
  position: relative;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(139, 92, 246, 0.055), rgba(255, 255, 255, 0.012) 45%);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: background 0.25s, box-shadow 0.25s;
}

/* crisp diagonal edge for the notch */
.card::before {
  content: "";
  position: absolute;
  top: 8.5px;
  right: -3.7px;
  width: 25.5px;
  height: 1px;
  background: rgba(157, 108, 255, 0.4);
  transform: rotate(45deg);
  transition: background 0.25s;
}

/* left accent rail */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--rail), transparent);
  opacity: 0;
  transform: scaleY(0.55);
  transform-origin: top;
  transition: opacity 0.3s, transform 0.3s;
}

.card:hover {
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.02) 45%);
  box-shadow: inset 0 0 0 1px var(--line-bright);
}

.card:hover::before { background: var(--electric); }
.card:hover::after { opacity: 1; transform: scaleY(1); }

.card .icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(157, 108, 255, 0.28);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  margin-bottom: 18px;
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--electric);
  text-transform: uppercase;
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- feature/badge strip ---------- */

.badge-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 26px;
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 6px;
}

.badge svg { width: 30px; height: 30px; }

/* ---------- product feature (index) ---------- */

.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.product-shield { position: relative; padding: 24px; }

.product-shield img,
.product-shield svg {
  width: min(360px, 80%);
  margin: 0 auto;
  animation: shield-float 5.5s ease-in-out infinite;
}

@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.product-copy .product-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1;
}

.product-name .lite { color: #fff; }

.product-name .grad {
  background: var(--grad-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--violet-bright);
  font-size: 0.78rem;
  margin: 14px 0 20px;
}

.product-kicker::before { content: "// "; color: var(--blue-bright); letter-spacing: 0; }

.product-motto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.product-motto .dom { color: var(--violet-bright); }

.product-copy p.desc { color: var(--muted); margin-bottom: 26px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

.pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(139, 92, 246, 0.09);
  box-shadow: inset 0 0 0 1px rgba(157, 108, 255, 0.3);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  padding: 7px 14px;
}

/* ---------- stats — telemetry readout strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.05), transparent 65%);
  text-align: left;
}

.stat {
  position: relative;
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: none; }

/* bright tick on the top rule */
.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--grad-brand);
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat .label::before { content: "// "; color: var(--violet-bright); letter-spacing: 0; }

/* ---------- SplitAC hero ---------- */

.hero-product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  padding: 80px 0 70px;
}

.hero-product .product-shield img,
.hero-product .product-shield svg { width: min(400px, 92%); }

.hero-product h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 10px 0 14px;
}

.hero-product h1 .lite { color: #fff; }

.hero-product h1 .grad {
  background: var(--grad-violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-product .sub-kicker {
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--violet-bright);
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  margin-bottom: 24px;
}

.hero-product .motto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-product .motto .dom { color: var(--violet-bright); }

.hero-product p.desc { color: var(--muted); max-width: 540px; margin-bottom: 34px; }

.hero-product .hero-cta { justify-content: flex-start; margin-top: 0; }

/* ---------- checks ---------- */

.check-card h3 { display: flex; align-items: center; gap: 10px; }

.check-card.combat   { --rail: var(--violet-bright); }
.check-card.movement { --rail: var(--blue-bright); }
.check-card.packet   { --rail: var(--teal); }
.check-card.chat     { --rail: var(--amber); }
.check-card.client   { --rail: var(--pink); }

.check-card.combat h3 { color: var(--violet-bright); }
.check-card.movement h3 { color: var(--blue-bright); }
.check-card.packet h3 { color: var(--teal); }
.check-card.chat h3 { color: var(--amber); }
.check-card.client h3 { color: var(--pink); }

.check-card ul { list-style: none; }

.check-card li {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-card li:last-child { border-bottom: none; }

.check-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: currentColor;
  opacity: 0.75;
  flex: none;
}

.check-card.combat li::before { color: var(--violet-bright); }
.check-card.movement li::before { color: var(--blue-bright); }
.check-card.packet li::before { color: var(--teal); }
.check-card.chat li::before { color: var(--amber); }
.check-card.client li::before { color: var(--pink); }

/* ---------- command list ---------- */

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.cmd {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  padding: 16px 20px;
  transition: box-shadow 0.25s, background 0.25s;
}

.cmd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--violet-bright), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.cmd:hover {
  box-shadow: inset 0 0 0 1px var(--line-bright);
  background: var(--panel-hover);
}

.cmd:hover::before { opacity: 1; }

.cmd code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--electric);
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid rgba(157, 108, 255, 0.3);
  border-radius: 3px;
  padding: 3px 10px;
  white-space: nowrap;
  flex: none;
}

.cmd p { color: var(--muted); font-size: 0.9rem; }

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

/* ---------- permissions box ---------- */

.perms-box {
  background:
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 28px 28px 20px;
}

.perms-box h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 18px;
}

.perms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perm {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.perm:last-child { border-bottom: none; }

.perm code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--electric);
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid rgba(157, 108, 255, 0.3);
  border-radius: 3px;
  padding: 3px 10px;
  white-space: nowrap;
  flex: none;
}

/* ---------- quote banner ---------- */

.quote-banner {
  text-align: center;
  padding: 70px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg,
      transparent calc(50% - 1px),
      rgba(157, 108, 255, 0.14) calc(50% - 1px),
      rgba(157, 108, 255, 0.14) calc(50% + 1px),
      transparent calc(50% + 1px)),
    radial-gradient(600px 200px at 50% 50%, rgba(124, 58, 237, 0.12), transparent 70%);
}

.quote-banner p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  letter-spacing: 0.04em;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

/* terminal cursor after the quote */
.quote-banner p::after {
  content: "▍";
  color: var(--electric);
  margin-left: 8px;
  animation: cursor-blink 1.1s steps(2) infinite;
}

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

.quote-banner .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- CTA panel ---------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 32px;
  clip-path: polygon(
    26px 0, 100% 0, 100% calc(100% - 26px),
    calc(100% - 26px) 100%, 0 100%, 0 26px
  );
  box-shadow: inset 0 0 0 1px var(--line-bright);
  background:
    linear-gradient(115deg,
      transparent calc(50% - 1px),
      rgba(179, 136, 255, 0.16) calc(50% - 1px),
      rgba(179, 136, 255, 0.16) calc(50% + 1px),
      transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    radial-gradient(700px 300px at 50% -40%, rgba(124, 58, 237, 0.28), transparent 70%),
    var(--bg-2);
}

/* corner brackets */
.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.cta-panel::before {
  top: 0;
  right: 0;
  border-top: 2px solid rgba(179, 136, 255, 0.5);
  border-right: 2px solid rgba(179, 136, 255, 0.5);
}

.cta-panel::after {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid rgba(179, 136, 255, 0.5);
  border-left: 2px solid rgba(179, 136, 255, 0.5);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.cta-panel h2 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-panel p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }

.cta-panel .motto-line {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.cta-panel .motto-line .dom { color: var(--violet-bright); }

/* ---- price tag ---- */
.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: -8px auto 30px;
}

.price-tag .sale-flag {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #05030d;
  background: var(--grad-brand);
  padding: 4px 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.price-tag .price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.price-tag .price-was {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(179, 136, 255, 0.6);
}

.price-tag .price-now {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3rem);
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-tag .price-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: rgba(4, 3, 11, 0.85);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer .brand { font-size: 1rem; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.footer .copyright {
  font-family: var(--font-mono);
  color: var(--muted-2);
  font-size: 0.76rem;
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-shield img, .product-shield svg { animation: none; }
  .wordmark::before, .wordmark::after { animation: none; opacity: 0; }
  .quote-banner p::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- logo image blending ----------
   The SplitAC shield PNG has a baked black background; screen-blending it
   onto the dark page hides the square edges and keeps the baked glow. */

.product-shield img {
  mix-blend-mode: screen;
  filter: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .badge-strip { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 4px;
    padding: 16px 24px 24px;
    background: rgba(5, 3, 13, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-links a:not(.btn) { padding: 12px 0; }
  .nav-links a.active::after { display: none; }
  .nav-links .btn { margin-top: 10px; }

  body.nav-open .nav-links { display: flex; }

  .product,
  .hero-product { grid-template-columns: 1fr; text-align: center; gap: 36px; }

  .hero-product .hero-cta { justify-content: center; }
  .hero-product p.desc { margin-left: auto; margin-right: auto; }
  .pill-row { justify-content: center; }
  .product-shield { order: -1; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .badge-strip { grid-template-columns: repeat(2, 1fr); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding: 68px 0; }
  .brand-dev { display: none; }
}

/* ===========================================================
   Nav user menu (avatar dropdown) — collapses account actions
   =========================================================== */
.user-menu { position: relative; margin-left: 8px; }

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.user-menu-trigger:hover { border-color: var(--violet-bright); background: var(--panel-hover, var(--panel)); }

.user-menu-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--violet-bright);
}
.user-menu-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu-caret { width: 14px; height: 14px; opacity: 0.65; transition: transform 0.18s ease; }
.user-menu.open .user-menu-caret { transform: rotate(180deg); }

.user-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 230px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 1200;
}
.user-menu.open .user-menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.user-menu-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.user-menu-header strong { display: block; color: var(--text); font-size: 0.9rem; }
.user-menu-header span { display: block; margin-top: 2px; color: #22c55e; font-size: 0.7rem; font-family: var(--font-mono); }

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: none;
  border: none;
  border-radius: 9px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.user-menu-item:hover { background: var(--panel); }
.user-menu-item svg { width: 16px; height: 16px; opacity: 0.85; flex-shrink: 0; }
.user-menu-item.admin-item { color: var(--violet-bright); }
.user-menu-danger { color: #ff5a5a; }
.user-menu-danger:hover { background: rgba(255, 90, 90, 0.1); }
.user-menu-sep { height: 1px; margin: 6px 4px; background: var(--line); }

/* On mobile the nav collapses vertically — let the menu sit inline. */
@media (max-width: 860px) {
  .user-menu { margin-left: 0; width: 100%; }
  .user-menu-dropdown { position: static; min-width: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .user-menu.open .user-menu-dropdown { display: block; }
}
