/* =====================================================================
   ValtyrLabs , landing site
   Base palette: ValtyrLabsApp "hacker" theme (teal on near-black)
   Layer:        cyberpunk neon, red as the dominant accent/glow
   ===================================================================== */

:root {
  /* ── Base (from app hacker theme) ── */
  --bg:            #06090A;   /* page_background */
  --panel:         #0A0E10;   /* panel_background */
  --field:         #050809;   /* field_background */
  --panel-2:       #0F181B;   /* tab background */

  --teal:          #379FB2;   /* primary */
  --teal-bright:   #6CD6E6;   /* primary_bright */
  --teal-dim:      #2A6A76;   /* primary_dim / border */
  --amber:         #D6A53A;   /* secondary */
  --purple:        #B07CF0;   /* alt heading */

  --text:          #F2F6F7;   /* strong heading / body-bright */
  --text-soft:     #AEC4C9;
  --muted:         #6E8A90;   /* muted_text-ish */
  --border:        #17262B;
  --border-soft:   #12202400;

  /* ── Red neon accent (dominant highlight) ── */
  --red:           #ff2740;
  --red-bright:    #ff5d70;
  --red-dim:       #b3121f;
  --red-deep:      #3a0a10;
  --red-glow:      rgba(255, 39, 64, .55);
  --red-glow-soft: rgba(255, 39, 64, .22);

  /* ── Metrics ── */
  --radius:   14px;
  --radius-sm: 8px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.16, .84, .44, 1);

  --font-mono: "Share Tech Mono", ui-monospace, "DejaVu Sans Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --font-sans: "DejaVu Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: dark;
}

/* ── Reset-ish ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.15; margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Layout helpers ── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* =====================================================================
   Ambient background
   ===================================================================== */
.bg-grid, .bg-scanlines, .bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(55,159,178,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(55,159,178,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.bg-scanlines {
  background: repeating-linear-gradient(
    to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,.28) 3px);
  opacity: .35; mix-blend-mode: multiply;
}
.bg-glow {
  background:
    radial-gradient(60% 45% at 50% -5%, var(--red-glow-soft), transparent 70%),
    radial-gradient(45% 40% at 85% 15%, rgba(55,159,178,.10), transparent 70%),
    radial-gradient(40% 40% at 10% 25%, rgba(176,124,240,.07), transparent 70%);
}

/* keep content above ambient layers */
.site-header, main, .site-footer, .skip-link { position: relative; z-index: 1; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --btn-fs: .92rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-mono);
  font-size: var(--btn-fs);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .78em 1.5em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .2s;
  will-change: transform;
}
.btn-sm  { --btn-fs: .78rem; padding: .55em 1.05em; }
.btn-lg  { --btn-fs: 1rem; padding: .95em 1.9em; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dim) 100%);
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(255,39,64,.3), 0 8px 26px -10px var(--red-glow),
              inset 0 1px 0 rgba(255,255,255,.18);
  text-shadow: 0 0 10px rgba(255,255,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px -2px var(--red-glow), 0 14px 34px -12px var(--red-glow),
              inset 0 1px 0 rgba(255,255,255,.28);
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.02);
  border-color: var(--teal-dim);
  box-shadow: inset 0 0 0 1px rgba(55,159,178,.05);
}
.btn-ghost:hover {
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 18px -4px var(--red-glow), inset 0 0 12px -6px var(--red-glow);
  transform: translateY(-2px);
}

/* pulsing glow on primary hero CTAs */
.pulse { animation: pulse-glow 2.6s var(--ease) infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,39,64,.3), 0 8px 26px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.18); }
  50%      { box-shadow: 0 0 26px 0 var(--red-glow), 0 10px 30px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.24); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* =====================================================================
   Skip link
   ===================================================================== */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--red); color: #fff; padding: .6em 1em;
  border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: .85rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
  border-bottom-color: rgba(255,39,64,.28);
  box-shadow: 0 8px 30px -18px var(--red-glow);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .6em; flex-shrink: 0; }
.brand-skull {
  width: 40px; height: 40px; object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(55,159,178,.5)) drop-shadow(0 0 10px var(--red-glow-soft));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.brand:hover .brand-skull {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 0 10px var(--red-glow)) drop-shadow(0 0 4px var(--teal-bright));
}
.brand-name {
  font-family: var(--font-mono); font-size: 1.28rem; letter-spacing: .04em;
  color: var(--text); font-weight: 700;
  text-shadow: 0 0 14px rgba(255,39,64,.25);
}

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-soft);
  padding: .55em .8em; border-radius: var(--radius-sm);
  position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .35em; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease); box-shadow: 0 0 8px var(--red-glow);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.main-nav + .header-actions { margin-left: 0; }
.header-inner .main-nav { margin-left: auto; }

/* =====================================================================
   Language switcher (custom dropdown, mounted in header + footer)
   ===================================================================== */
.lang-switcher { position: relative; font-family: var(--font-mono); }
.lang-btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--teal-dim);
  color: var(--text-soft);
  padding: .5em .8em; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .05em;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, color .2s;
}
.lang-btn:hover, .lang-switcher.open .lang-btn {
  color: #fff; border-color: var(--red);
  box-shadow: 0 0 14px -4px var(--red-glow);
}
.lang-btn .lang-code {
  color: var(--red); font-weight: 700; text-transform: uppercase;
}
.lang-btn .chev { transition: transform .2s var(--ease); font-size: .7em; opacity: .7; }
.lang-switcher.open .lang-btn .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 172px; padding: 6px;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  border: 1px solid var(--teal-dim);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px -16px #000, 0 0 22px -12px var(--red-glow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-6px) scale(.98);
  pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 60;
}
.lang-switcher[data-variant="up"] .lang-menu { top: auto; bottom: calc(100% + 8px); transform: translateY(6px) scale(.98); }
.lang-switcher.open .lang-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-option {
  display: flex; align-items: center; gap: .7em; width: 100%;
  background: none; border: 0; color: var(--text-soft);
  padding: .6em .7em; border-radius: 6px; cursor: pointer;
  font-family: var(--font-mono); font-size: .82rem; text-align: left;
  transition: background .15s, color .15s;
}
.lang-option .lang-code { color: var(--muted); font-size: .72rem; min-width: 1.6em; text-transform: uppercase; }
.lang-option:hover { background: rgba(255,39,64,.1); color: #fff; }
.lang-option[aria-selected="true"] { color: #fff; }
.lang-option[aria-selected="true"] .lang-code { color: var(--red); }
.lang-option[aria-selected="true"]::after { content: "◂"; margin-left: auto; color: var(--red); }

/* =====================================================================
   Mobile nav toggle
   ===================================================================== */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--teal-dim); border-radius: var(--radius-sm);
  padding: 9px 8px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   Glitch micro-interaction (brand name)
   ===================================================================== */
[data-glitch] { position: relative; }
[data-glitch]::before, [data-glitch]::after {
  content: attr(data-glitch); position: absolute; inset: 0;
  clip-path: inset(0); opacity: 0; pointer-events: none;
}
.brand:hover [data-glitch]::before, .hero-brand:hover::before {
  opacity: .9; color: var(--red); animation: glitch-a .4s steps(2) 1;
}
.brand:hover [data-glitch]::after, .hero-brand:hover::after {
  opacity: .9; color: var(--teal-bright); animation: glitch-b .4s steps(2) 1;
}
@keyframes glitch-a { 0%{transform:translate(0)} 40%{transform:translate(-2px,-1px)} 80%{transform:translate(2px,1px)} 100%{transform:translate(0)} }
@keyframes glitch-b { 0%{transform:translate(0)} 40%{transform:translate(2px,1px)} 80%{transform:translate(-2px,-1px)} 100%{transform:translate(0)} }
@media (prefers-reduced-motion: reduce) { [data-glitch]::before, [data-glitch]::after { display: none; } }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { padding: 84px 0 40px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 26px;
  padding: .45em 1em; border: 1px solid var(--teal-dim); border-radius: 999px;
  background: rgba(55,159,178,.05);
}
.hero-skull-wrap { position: relative; margin-bottom: 22px; }
.hero-skull {
  width: 128px; height: 128px; object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(55,159,178,.45)) drop-shadow(0 0 34px var(--red-glow-soft));
  animation: float 6s ease-in-out infinite;
}
.hero-skull-wrap::after {
  content: ""; position: absolute; left: 50%; top: 55%; width: 220px; height: 220px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, var(--red-glow-soft), transparent 65%);
  z-index: -1; animation: breathe 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes breathe { 0%,100%{opacity:.5;transform:translate(-50%,-50%) scale(.9)} 50%{opacity:1;transform:translate(-50%,-50%) scale(1.1)} }
@media (prefers-reduced-motion: reduce) { .hero-skull, .hero-skull-wrap::after { animation: none; } }

.hero-title { margin: 0 0 14px; }
.hero-brand {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.4rem); letter-spacing: .02em; color: #fff;
  text-shadow: 0 0 18px rgba(255,39,64,.45), 0 0 46px rgba(255,39,64,.25);
  display: inline-block;
}
.hero-tagline {
  font-family: var(--font-mono); color: var(--teal-bright);
  font-size: clamp(1.05rem, 2.6vw, 1.5rem); letter-spacing: .02em;
  margin: 0 0 18px; text-shadow: 0 0 16px rgba(108,214,230,.25);
}
.hero-sub { max-width: 640px; color: var(--text-soft); font-size: 1.06rem; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 30px; }

.hero-safety {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em;
  color: var(--muted); border: 1px dashed var(--teal-dim);
  padding: .55em 1.1em; border-radius: 999px; background: rgba(0,0,0,.2);
}
.safety-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px var(--red); animation: blink 1.8s steps(1) infinite;
}
@keyframes blink { 0%,60%{opacity:1} 61%,100%{opacity:.25} }
@media (prefers-reduced-motion: reduce) { .safety-dot { animation: none; } }

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 64px; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--border);
}
.stat {
  background: var(--panel); padding: 26px 18px; text-align: center;
  transition: background .3s;
}
.stat:hover { background: var(--panel-2); }
.stat-value {
  display: block; font-family: var(--font-mono); font-size: 2rem; color: #fff;
  text-shadow: 0 0 14px var(--red-glow-soft); letter-spacing: .02em;
}
.stat-label {
  display: block; margin-top: 6px; font-size: .82rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em;
}

/* =====================================================================
   Generic section
   ===================================================================== */
.section { padding: 96px 0; position: relative; }
.section-alt { background:
  linear-gradient(180deg, transparent, rgba(10,14,16,.6) 12%, rgba(10,14,16,.6) 88%, transparent);
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-kicker {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--red); margin: 0 0 14px;
}
.section-kicker::before { content: "// "; opacity: .6; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.01em; margin: 0 0 16px; }
.section-lead { color: var(--text-soft); font-size: 1.08rem; margin: 0; }

/* =====================================================================
   Feature grid
   ===================================================================== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;
}
.feature-card {
  position: relative; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, var(--red-glow-soft), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-5px); border-color: rgba(255,39,64,.4);
  box-shadow: 0 22px 44px -26px #000, 0 0 26px -14px var(--red-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--teal-dim); border-radius: 12px; margin-bottom: 18px;
  color: var(--red); background: rgba(255,39,64,.06);
  box-shadow: inset 0 0 12px -6px var(--red-glow);
  transition: transform .3s var(--ease), color .3s, border-color .3s;
}
.feature-card:hover .feature-ico { transform: scale(1.08) rotate(-4deg); border-color: var(--red); }
.feature-ico svg { width: 24px; height: 24px; }
.feature-title {
  font-family: var(--font-mono); font-size: 1.12rem; color: var(--text);
  margin: 0 0 10px; letter-spacing: .01em;
}
.feature-desc { color: var(--text-soft); font-size: .96rem; margin: 0; }
.feature-tag {
  display: inline-block; margin-top: 14px; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: .25em .7em;
}
.feature-tag[data-status="future"] { color: var(--amber); border-color: rgba(214,165,58,.35); }

/* =====================================================================
   Workflow
   ===================================================================== */
.workflow-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
  counter-reset: step;
}
.workflow-step {
  position: relative; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px 26px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.workflow-step:hover { transform: translateY(-4px); border-color: rgba(255,39,64,.35); box-shadow: 0 0 24px -14px var(--red-glow); }
.workflow-num {
  font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--red); text-stroke: 1px var(--red);
  line-height: 1; margin-bottom: 14px; text-shadow: 0 0 20px var(--red-glow-soft);
}
.workflow-title { font-family: var(--font-mono); font-size: 1.08rem; color: var(--text); margin: 0 0 8px; }
.workflow-desc { color: var(--text-soft); font-size: .95rem; margin: 0; }
.workflow-step::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 1.3rem; opacity: .6; z-index: 2;
}
.workflow-step:last-child::after { display: none; }

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px;
}
.shot {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.shot:hover {
  transform: translateY(-5px); border-color: rgba(255,39,64,.4);
  box-shadow: 0 26px 50px -28px #000, 0 0 28px -14px var(--red-glow);
}
.shot-frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--field);
  overflow: hidden;
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(6,9,10,.55), transparent 45%);
}
/* placeholder shown when the real image is missing */
.shot-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(255,39,64,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--panel-2), var(--field));
  color: var(--muted); font-family: var(--font-mono); text-align: center; padding: 16px;
}
.shot-ph img { width: 54px; height: 54px; object-fit: contain; opacity: .8; filter: drop-shadow(0 0 10px var(--red-glow-soft)); }
.shot-ph span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.shot-ph .ph-sub { color: var(--teal-dim); font-size: .68rem; letter-spacing: .1em; }
.shot-body { padding: 20px 22px 22px; }
.shot-title { font-family: var(--font-mono); font-size: 1.05rem; color: var(--text); margin: 0 0 8px; }
.shot-desc { color: var(--text-soft); font-size: .93rem; margin: 0; }

/* =====================================================================
   Security section
   ===================================================================== */
.security-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.security-copy .section-head { text-align: left; margin: 0 0 28px; }
.security-copy .section-kicker { color: var(--red); }
.check-list { display: grid; gap: 16px; }
.check-list li {
  position: relative; padding-left: 38px; color: var(--text-soft); font-size: 1rem;
}
.check-list li strong { color: var(--text); font-family: var(--font-mono); font-weight: 700; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 6px;
  background:
    linear-gradient(135deg, var(--red), var(--red-dim));
  box-shadow: 0 0 12px -3px var(--red-glow);
}
.check-list li::after {
  content: "✓"; position: absolute; left: 6px; top: 1px; color: #fff; font-size: .8rem; font-weight: 700;
}

/* terminal card */
.security-card { }
.term {
  background: #04070800; background-color: #050809;
  border: 1px solid var(--teal-dim); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 30px 60px -30px #000, 0 0 30px -18px var(--red-glow);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: var(--panel-2); border-bottom: 1px solid var(--border);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--teal-dim); }
.term-dot:first-child { background: var(--red); box-shadow: 0 0 8px var(--red-glow); }
.term-title {
  margin-left: 8px; font-family: var(--font-mono); font-size: .74rem;
  color: var(--muted); letter-spacing: .06em;
}
.term-body {
  margin: 0; padding: 20px; overflow-x: auto;
  font-family: var(--font-mono); font-size: .86rem; line-height: 1.85; color: var(--text-soft);
}
.term-body code { white-space: pre; }
.c-dim { color: var(--muted); }
.c-ok  { color: var(--teal-bright); }
.c-red { color: var(--red); text-shadow: 0 0 10px var(--red-glow-soft); }

/* =====================================================================
   Pricing
   ===================================================================== */
.pricing-note {
  font-family: var(--font-mono); font-size: .82rem; color: var(--amber);
  margin: 16px 0 0; letter-spacing: .03em;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px;
  align-items: stretch; max-width: 1000px; margin: 0 auto;
}
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--teal-dim); box-shadow: 0 24px 48px -28px #000; }
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(255,39,64,.35), 0 26px 60px -30px var(--red-glow);
  background: linear-gradient(180deg, rgba(255,39,64,.05), var(--panel) 40%);
}
.price-card.featured:hover { transform: translateY(-7px); box-shadow: 0 0 0 1px var(--red), 0 30px 70px -28px var(--red-glow); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dim));
  padding: .4em 1em; border-radius: 999px; box-shadow: 0 0 16px -4px var(--red-glow);
}
.price-name {
  font-family: var(--font-mono); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 14px;
}
.price-tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1em .4em; margin-bottom: 6px; }
.price-amount { font-family: var(--font-mono); font-size: 2.7rem; color: #fff; text-shadow: 0 0 18px var(--red-glow-soft); white-space: nowrap; }
.price-period { color: var(--muted); font-size: .9rem; font-family: var(--font-mono); }
.price-placeholder-flag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 16px;
}
.price-desc { color: var(--text-soft); font-size: .95rem; margin: 0 0 22px; }
.price-features { display: grid; gap: 12px; margin: 0 0 26px; flex: 1; }
.price-features li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--text-soft); }
.price-features li::before {
  content: "▹"; position: absolute; left: 4px; top: 0; color: var(--red);
}
.price-card .btn { width: 100%; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: rgba(255,39,64,.4); box-shadow: 0 0 24px -16px var(--red-glow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 24px; color: var(--text); font-family: var(--font-mono);
  font-size: 1.02rem; letter-spacing: .01em;
}
.faq-q:hover { color: #fff; }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--red); border-radius: 2px;
  box-shadow: 0 0 8px var(--red-glow-soft);
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; transition: transform .25s var(--ease); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--text-soft); font-size: .98rem; }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band {
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255,39,64,.12), transparent 60%),
    var(--panel);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-skull { width: 72px; height: 72px; object-fit: contain; margin-bottom: 20px; filter: drop-shadow(0 0 16px var(--red-glow)); animation: float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cta-skull { animation: none; } }
.cta-title { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin: 0 0 14px; }
.cta-sub { color: var(--text-soft); font-size: 1.1rem; max-width: 560px; margin: 0 0 32px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 22px; }
.cta-platforms { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); letter-spacing: .06em; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding-top: 64px; }
.footer-cols { display: contents; } /* let the three columns join footer-inner's grid */
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--text-soft); font-size: .95rem; margin: 0 0 12px; max-width: 34ch; }
.footer-disclaimer {
  color: var(--muted); font-size: .82rem; margin: 0 0 20px; max-width: 38ch;
  border-left: 2px solid var(--red-dim); padding-left: 12px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--teal-dim); border-radius: 10px;
  font-family: var(--font-mono); font-size: .82rem; color: var(--text-soft);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.social-link:hover {
  color: #fff; border-color: var(--red); transform: translateY(-3px);
  box-shadow: 0 0 16px -4px var(--red-glow);
}
.social-link svg { width: 19px; height: 19px; display: block; transition: filter .2s; }
.social-link:hover svg { filter: drop-shadow(0 0 6px var(--red-glow)); }
.footer-col h3 {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 18px;
}
.footer-col a {
  display: block; color: var(--text-soft); font-size: .92rem; padding: .3em 0;
  transition: color .2s, transform .2s;
}
.footer-col a:hover { color: var(--red-bright); transform: translateX(3px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; border-top: 1px solid var(--border);
}
.copyright { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); margin: 0; }
.footer-lang { display: flex; align-items: center; gap: 12px; }
.footer-lang-label {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* =====================================================================
   Music drawer ("Music by Matt Gray")
   Square note button fixed on the right edge; slides left to reveal the
   credit text and a play/pause control. Themed to the hacker palette.
   Present in both normal and maintenance modes (built in script.js).
   ===================================================================== */
.music-drawer {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center;
  height: 44px; width: 44px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--teal-dim); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  overflow: hidden; z-index: 80;
  box-shadow: -4px 4px 18px -10px var(--red-glow), inset 0 0 12px -8px var(--red-glow);
  transition: width .42s var(--ease), box-shadow .42s var(--ease);
}
.music-drawer.open {
  width: 252px;
  box-shadow: -6px 6px 26px -12px var(--red-glow), inset 0 0 14px -8px var(--red-glow);
}
.music-drawer.playing .music-toggle-btn { color: var(--red-bright); }
.music-drawer.playing {
  box-shadow: -6px 6px 28px -10px var(--red-glow), inset 0 0 18px -6px var(--red-glow-soft);
  animation: music-pulse 2.6s var(--ease) infinite;
}
.music-drawer.muted {
  border-color: rgba(214,165,58,.5);
  box-shadow: -6px 6px 26px -12px rgba(214,165,58,.4), inset 0 0 16px -8px rgba(214,165,58,.2);
  animation: music-muted-pulse 2s var(--ease) infinite;
}
.music-drawer.muted .music-toggle-btn { color: var(--amber); }
.music-drawer.muted .music-control-btn { color: var(--amber); }
.music-drawer.muted .music-control-btn:hover {
  background: rgba(214,165,58,.12); color: var(--amber);
}
.music-drawer.muted .music-text { color: var(--amber); }
@keyframes music-pulse {
  0%, 100% { box-shadow: -6px 6px 28px -10px var(--red-glow), inset 0 0 18px -6px var(--red-glow-soft); }
  50%      { box-shadow: -6px 6px 34px -6px var(--red-glow), inset 0 0 24px -4px var(--red-glow-soft); }
}
@keyframes music-muted-pulse {
  0%, 100% { box-shadow: -6px 6px 26px -12px rgba(214,165,58,.4), inset 0 0 16px -8px rgba(214,165,58,.2); }
  50%      { box-shadow: -6px 6px 32px -8px rgba(214,165,58,.55), inset 0 0 22px -6px rgba(214,165,58,.3); }
}
@media (prefers-reduced-motion: reduce) { .music-drawer.playing, .music-drawer.muted { animation: none; } }

.music-drawer-content {
  margin-right: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 208px; padding-left: 14px; padding-right: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  white-space: nowrap;
}
.music-drawer.open .music-drawer-content {
  opacity: 1; visibility: visible; transition-delay: .12s;
}
.music-text {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal-bright); text-shadow: 0 0 10px rgba(108,214,230,.25);
}
.music-control-btn {
  border: none; background: transparent; color: var(--red);
  width: 32px; height: 32px; display: grid; place-items: center;
  cursor: pointer; border-radius: 50%; flex-shrink: 0;
  transition: background .25s, transform .2s var(--ease), color .2s;
}
.music-control-btn:hover {
  background: rgba(255,39,64,.12); transform: scale(1.1); color: var(--red-bright);
}
.music-control-btn svg { width: 18px; height: 18px; display: block; }

.music-toggle-btn {
  border: none; background: transparent; color: var(--red);
  width: 44px; height: 44px; display: grid; place-items: center;
  cursor: pointer; position: absolute; right: 0; top: 0;
  transition: transform .3s var(--ease), color .2s;
}
.music-toggle-btn:hover { transform: scale(1.06); color: var(--red-bright); }
.music-toggle-btn svg { width: 22px; height: 22px; display: block; }

@media (max-width: 560px) {
  .music-drawer.open { width: 232px; }
  .music-drawer-content { width: 188px; }
}
@media (prefers-reduced-motion: reduce) {
  .music-drawer, .music-drawer-content, .music-toggle-btn, .music-control-btn { transition: none; }
}

/* =====================================================================
   Scroll reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.stagger.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.stagger > * { opacity: 1 !important; transform: none !important; transition: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .security-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .workflow-step::after { display: none; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 0;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; margin: 0;
    transform: translateY(-120%); transition: transform .3s var(--ease);
    box-shadow: 0 24px 40px -20px #000;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9em .4em; border-bottom: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .header-inner .main-nav { margin-left: 0; }
  .header-actions { margin-left: auto; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 30px; }
  .stat-strip { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .btn-lg { width: 100%; }
  .hero-cta, .cta-buttons { width: 100%; }
  .brand-name { font-size: 1.12rem; }
}
