/* ============================================================
   Hypersense — HUD Design System
   Built from scratch for the public site. No dependency on the
   old Envato template (style.css/custom.css) or Bootstrap grid.
   ============================================================ */

/* ---------- Custom brand font ---------- */
@font-face{
  font-family:'Astronomus';
  src:url('/fonts/Astronomus.ttf') format('truetype');
  font-weight:normal;
  font-style:normal;
  font-display:swap;
}
.product-name{ font-family:'Astronomus', var(--font-display); letter-spacing:.03em; }

/* ---------- Tokens ---------- */
:root{
  --bg:#05070d;
  --bg-alt:#080c17;
  --surface:rgba(255,255,255,0.035);
  --surface-strong:rgba(255,255,255,0.06);
  --surface-solid:#0d1220;
  --surface-soft:#121829;
  --border:rgba(255,255,255,0.09);
  --border-strong:rgba(255,255,255,0.16);
  --text:#c7cee3;
  --text-strong:#f5f7fc;
  --text-muted:#7c869e;

  --accent:#6377ee;
  --accent-2:#22d3ee;
  --accent-rgb:99,119,238;
  --accent-2-rgb:34,211,238;
  --accent-gradient:linear-gradient(135deg,var(--accent),var(--accent-2));

  --radius-lg:22px;
  --radius:16px;
  --radius-sm:10px;

  --font-display:'Poppins',sans-serif;
  --font-body:'Roboto',sans-serif;
  --font-mono:'JetBrains Mono',monospace;

  --container:1200px;
  --section-pad:120px;

  color-scheme:dark;
}

@media (max-width:768px){
  :root{ --section-pad:72px; }
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  position:relative;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; }

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  color:var(--text-strong);
  margin:0 0 .5em;
  line-height:1.25;
  font-weight:600;
}
p{ margin:0 0 1em; color:var(--text); }

::selection{ background:var(--accent); color:#fff; }

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--border-strong); border-radius:10px; }

/* fixed HUD grid backdrop */
body::before{
  content:'';
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),.06) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}

/* ---------- Layout ---------- */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
  position:relative;
  z-index:1;
}
.container-wide{ max-width:1440px; margin:0 auto; padding:0 24px; position:relative; z-index:1; }

.section{ padding:var(--section-pad) 0; position:relative; }
.section-alt{ background:linear-gradient(180deg,transparent,rgba(255,255,255,.015),transparent); }

.grid{ display:grid; gap:32px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-6{ grid-template-columns:repeat(6,1fr); }
@media (max-width:960px){
  .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-6{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
  .grid-6{ grid-template-columns:repeat(2,1fr); }
}

.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split-reverse .split-media{ order:2; }
@media (max-width:900px){
  .split{ grid-template-columns:1fr; gap:40px; }
  .split-reverse .split-media{ order:0; }
}

/* ---------- Section heading ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-2);
  margin-bottom:16px;
}
.eyebrow::before{
  content:'';
  width:24px;
  height:1px;
  background:var(--accent-2);
  box-shadow:0 0 8px var(--accent-2);
}
.section-head{ max-width:680px; margin-bottom:56px; }
.section-head.centered{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,4vw,42px); }
.section-head p{ font-size:18px; color:var(--text-muted); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 32px;
  border-radius:999px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:16px;
  border:1px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent-gradient);
  color:#fff;
  box-shadow:0 12px 30px -8px rgba(var(--accent-rgb),.65);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -6px rgba(var(--accent-rgb),.8); }
.btn-outline{
  background:transparent;
  color:var(--text-strong);
  border-color:var(--border-strong);
}
.btn-outline:hover{ border-color:var(--accent-2); color:var(--accent-2); }
.btn-sm{ padding:10px 22px; font-size:14px; }

/* ---------- HUD panel / card ---------- */
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  position:relative;
}
.panel-solid{ background:var(--surface-solid); }

.hud-corners{ position:relative; }
.hud-corners::before,.hud-corners::after{
  content:'';
  position:absolute;
  width:18px;
  height:18px;
  border-color:var(--accent-2);
  border-style:solid;
  opacity:.55;
  pointer-events:none;
}
.hud-corners::before{ top:-1px; left:-1px; border-width:2px 0 0 2px; border-top-left-radius:6px; }
.hud-corners::after{ bottom:-1px; right:-1px; border-width:0 2px 2px 0; border-bottom-right-radius:6px; }

.card{
  padding:36px 32px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover{ border-color:rgba(var(--accent-2-rgb),.45); transform:translateY(-4px); background:var(--surface-strong); }
.card h3{ font-size:20px; margin-bottom:12px; }
.card p{ color:var(--text-muted); margin-bottom:0; }

.icon-tile{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(145deg, rgba(var(--accent-rgb),.18), rgba(var(--accent-2-rgb),.08));
  border:1px solid rgba(var(--accent-2-rgb),.25);
  color:var(--accent-2);
  font-size:24px;
  margin-bottom:20px;
}

.feature-list{ display:flex; flex-direction:column; gap:14px; margin:24px 0; }
.feature-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:var(--text);
  font-size:16px;
}
.feature-list li::before{
  content:'';
  flex:none;
  width:0;
  height:0;
  margin-top:7px;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:7px solid var(--accent-2);
  filter:drop-shadow(0 0 4px rgba(var(--accent-2-rgb),.6));
}

/* ---------- Site header ---------- */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:20px 0;
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  padding:14px 0;
  background:rgba(5,7,13,.82);
  border-bottom-color:var(--border);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:38px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:8px; }
.main-nav > ul{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  display:inline-block;
  padding:10px 16px;
  font-family:var(--font-display);
  font-size:15px;
  font-weight:500;
  color:var(--text);
  border-radius:999px;
  position:relative;
  transition:color .25s ease, background .25s ease;
}
.main-nav li.current > a,
.main-nav a:hover{ color:var(--text-strong); background:rgba(var(--accent-rgb),.14); }

.main-nav li.dropdown{ position:relative; }
.main-nav .dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:200px;
  padding:10px;
  background:var(--surface-solid);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  box-shadow:0 24px 48px -12px rgba(0,0,0,.6);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.main-nav li.dropdown:hover .dropdown-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.main-nav .dropdown-menu a{ display:block; padding:9px 14px; border-radius:8px; }
.main-nav .dropdown-menu a.current,
.main-nav .dropdown-menu a:hover{ color:var(--text-strong); background:rgba(var(--accent-rgb),.14); }

.header-actions{ display:flex; align-items:center; gap:14px; }

.lang-toggle{
  display:flex;
  align-items:center;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:3px;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.05em;
}
.lang-toggle a{
  padding:7px 13px;
  border-radius:999px;
  color:var(--text-muted);
}
.lang-toggle a.active{ background:var(--accent-gradient); color:#fff; }

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--surface);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.nav-toggle span{ width:20px; height:2px; background:var(--text-strong); display:block; }

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

/* ---------- Mobile menu ---------- */
.mobile-nav{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:min(340px,86vw);
  background:var(--surface-solid);
  border-left:1px solid var(--border);
  z-index:1200;
  padding:28px 26px;
  transform:translateX(100%);
  transition:transform .35s ease;
  overflow-y:auto;
}
.mobile-nav.is-open{ transform:translateX(0); }
.mobile-nav-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.6);
  z-index:1150;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
}
.mobile-nav-backdrop.is-open{ opacity:1; visibility:visible; }

.mobile-nav-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.mobile-nav-close{
  width:36px; height:36px; border-radius:10px;
  border:1px solid var(--border); background:var(--surface);
  color:var(--text-strong); display:flex; align-items:center; justify-content:center;
}

.mobile-nav ul{ display:flex; flex-direction:column; gap:2px; }
.mobile-nav > ul > li{ border-bottom:1px solid var(--border); }
.mobile-nav a{ display:block; padding:14px 4px; font-family:var(--font-display); font-weight:500; color:var(--text); }
.mobile-nav li.current > a{ color:var(--accent-2); }
.mobile-nav .dropdown-menu{ padding-left:14px; display:none; }
.mobile-nav .dropdown-menu.is-open{ display:block; }
.mobile-nav .dropdown-toggle{ display:flex; align-items:center; justify-content:space-between; }

.mobile-nav-contact{ margin-top:28px; padding-top:24px; border-top:1px solid var(--border); color:var(--text-muted); font-size:14px; }
.mobile-nav-contact a{ color:var(--accent-2); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:200px 0 140px;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  width:640px; height:640px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(var(--accent-rgb),.35), transparent 70%);
  top:-220px; right:-160px;
  filter:blur(10px);
  z-index:0;
}
.hero::after{
  content:'';
  position:absolute;
  width:480px; height:480px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(var(--accent-2-rgb),.22), transparent 70%);
  bottom:-200px; left:-140px;
  z-index:0;
}
.hero .container{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } .hero{ padding:150px 0 90px; } }

.hero h1{ font-size:clamp(34px,5.2vw,58px); line-height:1.12; margin-bottom:22px; }
.hero h1 .accent{ background:var(--accent-gradient); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p{ font-size:19px; color:var(--text-muted); max-width:540px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-media{ position:relative; }
.hero-media img{ border-radius:var(--radius-lg); border:1px solid var(--border); }
.hero-media .scan-line{
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent-2),transparent);
  box-shadow:0 0 16px var(--accent-2);
  animation:scan 3.5s linear infinite;
}
@keyframes scan{ 0%{ top:6%; } 100%{ top:94%; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner{
  position:relative;
  padding:170px 0 70px;
  text-align:center;
}
.page-banner .eyebrow{ justify-content:center; }
.page-banner h1{ font-size:clamp(30px,4.5vw,46px); }
.breadcrumb{ display:flex; justify-content:center; gap:10px; font-family:var(--font-mono); font-size:13px; color:var(--text-muted); margin-top:14px; }
.breadcrumb a{ color:var(--text-muted); }
.breadcrumb a:hover{ color:var(--accent-2); }
.breadcrumb .sep{ opacity:.5; }

/* ---------- Tabs ---------- */
.tabs-nav{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:40px; }
.tabs-nav button{
  display:flex; align-items:center; gap:10px;
  padding:14px 22px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text-muted);
  font-family:var(--font-display);
  font-weight:500;
  transition:all .25s ease;
}
.tabs-nav button i{ font-size:18px; }
.tabs-nav button.is-active{
  background:var(--accent-gradient);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 26px -8px rgba(var(--accent-rgb),.65);
}
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }
.tab-panel .split{ gap:48px; }

/* ---------- Accordion ---------- */
.accordion-item{
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  margin-bottom:14px;
  overflow:hidden;
  background:var(--surface);
}
.accordion-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 24px;
  background:transparent;
  border:none;
  color:var(--text-strong);
  font-family:var(--font-display);
  font-weight:500;
  font-size:17px;
  text-align:left;
}
.accordion-trigger .num{ font-family:var(--font-mono); color:var(--accent-2); margin-right:12px; }
.accordion-trigger .chev{ transition:transform .25s ease; color:var(--accent-2); }
.accordion-item.is-open .accordion-trigger .chev{ transform:rotate(180deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.accordion-panel-inner{ padding:0 24px 22px; color:var(--text-muted); }

/* ---------- Stat strip ---------- */
.stat-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--border);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.stat-strip .stat{ background:var(--bg-alt); padding:36px 24px; text-align:center; }
.stat .count{
  font-family:var(--font-mono);
  font-size:clamp(28px,4vw,40px);
  color:var(--text-strong);
  display:block;
  text-shadow:0 0 24px rgba(var(--accent-2-rgb),.5);
}
.stat .label{ color:var(--text-muted); font-size:14px; margin-top:8px; }
@media (max-width:768px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Blog cards ---------- */
.post-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:32px; }
.post-grid .post-card{ flex:0 1 360px; }

.post-card{
  display:flex; flex-direction:column;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
  transition:transform .25s ease, border-color .25s ease;
  height:100%;
}
.post-card:hover{ transform:translateY(-6px); border-color:rgba(var(--accent-2-rgb),.4); }
.post-card-media{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.post-card-media img{ width:100%; height:100%; object-fit:cover; }
.post-card-date{
  position:absolute; left:16px; top:16px;
  background:rgba(5,7,13,.75);
  border:1px solid var(--border);
  color:var(--text-strong);
  font-family:var(--font-mono);
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  backdrop-filter:blur(6px);
}
.post-card-body{ padding:24px; display:flex; flex-direction:column; flex:1; }
.post-card-body h3{ font-size:19px; margin-bottom:10px; }
.post-card-body h3 a:hover{ color:var(--accent-2); }
.post-card-body p{ color:var(--text-muted); flex:1; }
.post-card-link{ margin-top:16px; color:var(--accent-2); font-family:var(--font-mono); font-size:13px; }

/* ---------- Article (blog details) ---------- */
.article{ max-width:820px; margin:0 auto; }
.article-meta{ font-family:var(--font-mono); color:var(--accent-2); font-size:13px; margin-bottom:16px; }
.article-cover{ border-radius:var(--radius-lg); border:1px solid var(--border); overflow:hidden; margin-bottom:40px; }
.article-body{ color:var(--text); font-size:18px; line-height:1.85; }
.article-body h2,.article-body h3{ margin-top:1.4em; }
.article-body img{ border-radius:var(--radius); border:1px solid var(--border); margin:24px 0; }
.article-body a{ color:var(--accent-2); text-decoration:underline; text-underline-offset:3px; }
.article-body blockquote{
  border-left:3px solid var(--accent-2);
  padding:4px 0 4px 20px;
  color:var(--text-strong);
  font-style:italic;
  margin:24px 0;
}

.map-frame{ height:460px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); }
.map-frame > div{ width:100%; height:100%; }

/* ---------- Forms ---------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:14px; color:var(--text-muted); margin-bottom:8px; font-family:var(--font-mono); }
.field input,.field textarea{
  width:100%;
  padding:14px 16px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background:var(--surface-solid);
  color:var(--text-strong);
  font-size:15px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,.field textarea:focus{
  outline:none;
  border-color:var(--accent-2);
  box-shadow:0 0 0 3px rgba(var(--accent-2-rgb),.18);
}
.field textarea{ min-height:140px; resize:vertical; }

.info-row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; color:var(--text-muted); }
.info-row .icon-tile{ width:44px; height:44px; font-size:16px; margin-bottom:0; flex:none; }
.social-row{ display:flex; gap:10px; margin-top:24px; }
.social-row a{
  width:42px; height:42px; border-radius:12px;
  border:1px solid var(--border); background:var(--surface);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted);
  transition:all .2s ease;
}
.social-row a:hover{ color:#fff; background:var(--accent-gradient); border-color:transparent; }

/* ---------- Spec table (Tools page) ---------- */
.spec-note{ text-align:center; color:var(--text-muted); font-size:15px; margin-top:24px; }
.spec-card{ text-align:center; padding:30px 24px; }
.spec-card .icon-tile{ margin:0 auto 18px; }
.spec-card h3{ font-size:15px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:10px; font-family:var(--font-mono); font-weight:500; }
.spec-card .value{ font-family:var(--font-mono); font-size:26px; color:var(--text-strong); }

/* ---------- Blog layout ---------- */
.blog-layout{ display:grid; grid-template-columns:2fr 1fr; gap:48px; align-items:start; }
@media (max-width:900px){ .blog-layout{ grid-template-columns:1fr; } }

.sidebar-widget{ margin-bottom:28px; }
.sidebar-widget h4{ font-family:var(--font-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-bottom:16px; }
.sidebar-widget ul{ display:flex; flex-direction:column; gap:10px; }
.sidebar-widget ul li a{ display:flex; justify-content:space-between; color:var(--text); }
.sidebar-widget ul li a:hover{ color:var(--accent-2); }
.sidebar-widget ul li a span{ color:var(--text-muted); font-family:var(--font-mono); font-size:13px; }

.tag-list{ display:flex; flex-wrap:wrap; gap:8px; }
.tag-pill{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text-muted);
  font-size:13px;
}
.tag-pill:hover{ color:var(--accent-2); border-color:rgba(var(--accent-2-rgb),.4); }

.mini-post{ display:flex; gap:14px; margin-bottom:16px; align-items:center; }
.mini-post img{ width:64px; height:64px; object-fit:cover; border-radius:10px; border:1px solid var(--border); }
.mini-post .date{ font-family:var(--font-mono); font-size:11px; color:var(--accent-2); }
.mini-post h5{ font-size:14px; margin:2px 0 0; }
.mini-post h5 a:hover{ color:var(--accent-2); }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative;
  padding:70px 48px;
  border-radius:var(--radius-lg);
  background:linear-gradient(135deg, rgba(var(--accent-rgb),.25), rgba(var(--accent-2-rgb),.12));
  border:1px solid rgba(var(--accent-2-rgb),.3);
  text-align:center;
  overflow:hidden;
}
.cta-band h2{ font-size:clamp(26px,3.6vw,36px); margin-bottom:26px; }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid var(--border); padding:80px 0 0; position:relative; z-index:1; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:56px; }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-logo img{ height:84px; width:auto; margin-bottom:20px; }
.footer-col h4{ font-family:var(--font-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ color:var(--text-muted); }
.footer-col a:hover{ color:var(--accent-2); }
.footer-bottom{
  border-top:1px solid var(--border);
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--text-muted);
  font-size:14px;
}
.footer-bottom a{ color:var(--text-muted); }
.footer-bottom .footer-links{ display:flex; gap:20px; }

/* ---------- Misc ---------- */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--bg);
  display:flex; align-items:center; justify-content:center;
}
.preloader::after{
  content:'';
  width:44px; height:44px;
  border-radius:50%;
  border:2px solid var(--border);
  border-top-color:var(--accent-2);
  animation:spin .8s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.scroll-top{
  position:fixed; right:28px; bottom:28px; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background:var(--surface-solid);
  border:1px solid var(--border);
  color:var(--text-strong);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s ease;
}
.scroll-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top:hover{ border-color:var(--accent-2); color:var(--accent-2); }

.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .hero-media .scan-line{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- HUD Visual (replaces stock photography) ---------- */
.hud-visual{
  position:relative;
  aspect-ratio:4/3;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb),.2), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(var(--accent-2-rgb),.16), transparent 55%),
    var(--surface-solid);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hud-visual::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(var(--accent-2-rgb),.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-2-rgb),.08) 1px, transparent 1px);
  background-size:28px 28px;
}
/* icon badge — always centered, sits above whichever variant graphic is rendered */
.hud-icon{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  z-index:3;
  width:26%; aspect-ratio:1/1;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface-solid);
  border:1px solid rgba(var(--accent-2-rgb),.55);
  box-shadow:0 0 40px rgba(var(--accent-rgb),.45);
  color:var(--accent-2);
  font-size:clamp(20px,2.6vw,28px);
}
.hud-icon svg{ width:48%; height:48%; display:block; }

/* variant: radar */
.hud-rings{ position:relative; width:62%; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.hud-rings .ring{ position:absolute; border:1px solid rgba(var(--accent-2-rgb),.38); border-radius:50%; }
.hud-rings .ring-1{ width:100%; height:100%; }
.hud-rings .ring-2{ width:70%; height:70%; border-style:dashed; opacity:.65; }
.hud-rings .ring-3{ width:42%; height:42%; }
.hud-sweep{
  position:absolute; inset:0; border-radius:50%; overflow:hidden;
  background:conic-gradient(from 0deg, rgba(var(--accent-2-rgb),.45), transparent 30%);
  animation:hud-sweep-spin 5s linear infinite;
  mix-blend-mode:screen;
}
@keyframes hud-sweep-spin{ to{ transform:rotate(360deg); } }

/* variant: pulse (signal / waveform) */
.hud-pulse{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; gap:6px; width:70%; height:52%; }
.hud-pulse span{
  flex:none;
  width:5px;
  border-radius:4px;
  background:linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity:.85;
  height:30%;
  transform-origin:center;
  animation:hud-bar 1.3s ease-in-out infinite;
  animation-delay:calc(var(--i) * 70ms);
}
.hud-pulse span:nth-child(3n){ height:85%; }
.hud-pulse span:nth-child(3n+1){ height:45%; }
.hud-pulse span:nth-child(4n){ height:65%; }
@keyframes hud-bar{ 0%,100%{ transform:scaleY(.35); opacity:.5; } 50%{ transform:scaleY(1); opacity:1; } }

/* variant: network (node graph) */
.hud-network{ position:relative; z-index:1; width:78%; height:auto; overflow:visible; }
.hud-network .edge{ stroke:rgba(var(--accent-2-rgb),.35); stroke-width:1.2; }
.hud-network .node{ fill:var(--bg); stroke:var(--accent-2); stroke-width:2; animation:hud-pulse-dot 2.4s ease-in-out infinite; animation-delay:calc(var(--i) * 250ms); }
.hud-network .node-core{ fill:var(--accent-2); filter:drop-shadow(0 0 6px var(--accent-2)); }
@keyframes hud-pulse-dot{ 0%,100%{ opacity:.5; } 50%{ opacity:1; } }

/* variant: grid (scan map) */
.hud-grid-scan{ position:relative; z-index:1; width:64%; aspect-ratio:1/1; display:grid; grid-template-columns:repeat(6,1fr); gap:4px; }
.hud-grid-scan .cell{ background:rgba(var(--accent-2-rgb),.08); border:1px solid rgba(var(--accent-2-rgb),.16); border-radius:2px; }
.hud-grid-scan .cell.is-hot{ background:rgba(var(--accent-2-rgb),.5); box-shadow:0 0 10px rgba(var(--accent-2-rgb),.6); }
.hud-grid-scan .scan-band{
  position:absolute; left:-4%; right:-4%; height:10%;
  background:linear-gradient(180deg, transparent, rgba(var(--accent-2-rgb),.45), transparent);
  animation:hud-scan-band 3.2s ease-in-out infinite;
}
@keyframes hud-scan-band{ 0%{ top:-10%; } 100%{ top:100%; } }

@media (prefers-reduced-motion:reduce){
  .hud-pulse span,.hud-network .node,.hud-grid-scan .scan-band{ animation:none; }
}

.hud-readout{
  position:absolute;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.06em;
  color:var(--text-muted);
  background:rgba(5,7,13,.65);
  border:1px solid var(--border);
  padding:7px 11px;
  border-radius:8px;
  backdrop-filter:blur(6px);
  z-index:2;
  line-height:1.4;
}
.hud-readout .v{ color:var(--text-strong); font-size:15px; display:block; }
.hud-readout.tl{ top:16px; left:16px; }
.hud-readout.br{ bottom:16px; right:16px; text-align:right; }

.hud-live{
  position:absolute; top:16px; right:16px; z-index:2;
  display:flex; align-items:center; gap:6px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em;
  color:var(--accent-2);
  background:rgba(5,7,13,.65);
  border:1px solid var(--border);
  padding:7px 11px; border-radius:999px;
  backdrop-filter:blur(6px);
}
.hud-live .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 8px var(--accent-2); animation:hud-pulse 1.6s ease-in-out infinite; }
@keyframes hud-pulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(.7); } }

@media (prefers-reduced-motion:reduce){
  .hud-sweep{ animation:none; }
  .hud-live .dot{ animation:none; }
}

/* ---------- Product blueprint (Tools page) ---------- */
.blueprint{
  position:relative;
  aspect-ratio:4/3;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb),.16), transparent 60%),
    var(--surface-solid);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.blueprint::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(var(--accent-2-rgb),.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-2-rgb),.09) 1px, transparent 1px);
  background-size:24px 24px;
}
.blueprint svg{ position:relative; z-index:1; width:72%; height:auto; }
.blueprint .beam{
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent-2),transparent);
  box-shadow:0 0 16px var(--accent-2);
  animation:scan 3.5s linear infinite;
  z-index:2;
}

/* ---------- Photo frame (real product photography, e.g. Tools page) ---------- */
.photo-frame{
  position:relative;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  overflow:hidden;
}
.photo-frame img{ display:block; width:100%; height:100%; object-fit:cover; }
.photo-frame .beam{
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent-2),transparent);
  box-shadow:0 0 16px var(--accent-2);
  animation:scan 3.5s linear infinite;
  z-index:2;
}
@media (prefers-reduced-motion:reduce){
  .photo-frame .beam{ animation:none; }
}

.text-muted{ color:var(--text-muted); }
.center{ text-align:center; }
.mt-0{ margin-top:0; }
