/* ╔═══════════════════════════════════════════════════════════════╗
   ║  VelorQ — Shared Stylesheet                                    ║
   ║  /assets/styles.css                                            ║
   ║  Loaded by all pages. Page-specific CSS is inlined per page.   ║
   ╚═══════════════════════════════════════════════════════════════╝ */


html, body { overflow-x: hidden; max-width: 100vw; }
*, *::before, *::after { box-sizing: border-box; }
img, svg, video { max-width: 100%; height: auto; display: block; }
/* ===================================================
   VelorQ — Unified Stylesheet (velorq.css)
   =================================================== */

/* RESET */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-stretch: 100%;
  font-variation-settings: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #060a13;
  color: #d4dce8;
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}
a { text-decoration: none; color: inherit; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* VARIABLES */
:root {
  --bg:    #060a13;
  --bg2:   #0a1020;
  --bg3:   #0f1628;
  --bg4:   #141d33;
  --b1:    #1a2540;
  --b2:    #253454;
  --tw:    #ffffff;
  --tp:    #e8edf7;
  --ts:    #8294b3;
  --tm:    #445975;
  --hub:   #4f9eff;
  --aura:  #00d4c8;
  --vyde:  #b57bee;
  --sage:  #3dd68c;
  --nova:  #ffb547;
  --zync:  #ff6b8a;
  --roam:  #5ba4f5;
  --kcl:   #e0a82e;
  --max:   1200px;
  --r:     10px;
}

/* TYPOGRAPHY — uniform, no stretching */
.h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tw);
  margin-bottom: 14px;
}
.h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-stretch: 100%;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--tw);
  margin-bottom: 12px;
}
.h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-stretch: 100%;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--tw);
  margin-bottom: 6px;
}
.lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 0.95vw, 15.5px);
  font-weight: 400;
  color: var(--ts);
  line-height: 1.7;
  max-width: 600px;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub);
}
.acc { color: var(--hub); }

/* BACKGROUND */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(79,158,255,.05), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0,212,200,.04), transparent 40%);
}

/* PROGRESS */
#pb {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hub), var(--aura));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 max(20px, calc((100% - 1200px) / 2));
  background: rgba(6,10,19,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b1);
  transition: background .25s;
}
.nav.scrolled { background: rgba(6,10,19,.97); }
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--tw);
  flex-shrink: 0;
  margin-right: 14px;
  text-decoration: none;
}
.logo svg { height: 44px; width: auto; display: block; }
@media (max-width: 640px) {
  .logo { font-size: 20px; gap: 2px; margin-right: 8px; }
  .logo svg { height: 36px; width: auto; }
}
.nlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nlinks a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ts);
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nlinks a:hover { color: var(--tp); background: rgba(255,255,255,.05); }
.nlinks a.act { color: var(--hub); }
.ncta {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #060a13;
  padding: 7px 15px;
  border-radius: 7px;
  background: var(--hub);
  box-shadow: 0 0 14px rgba(79,158,255,.3);
  transition: transform .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.ncta:hover { transform: translateY(-1px); }
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 10px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b1);
  border-radius: 7px;
  margin-left: auto;
  flex-shrink: 0;
}
.hbg span {
  display: block;
  height: 1.5px;
  background: var(--ts);
  border-radius: 2px;
  transition: .25s;
}
.hbg.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drw {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(6,10,19,.98);
  padding: 12px 20px 18px;
  border-bottom: 1px solid var(--b2);
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}
.drw.open { display: flex; }
.drw a {
  font-size: 14px;
  color: var(--ts);
  padding: 10px 12px;
  border-radius: 7px;
}
.drw a:hover { color: var(--tp); background: rgba(255,255,255,.04); }
.drw a.act { color: var(--hub); }
.drw .dcta {
  margin-top: 6px;
  background: var(--hub);
  color: #060a13;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

@media (max-width: 980px) {
  .nlinks, .ncta { display: none; }
  .hbg { display: flex; }
  .nav { padding: 0 20px; }
}

/* LAYOUT */
.sec { padding: 72px 32px; }
.sec-d { background: var(--bg2); }
.wrap { max-width: var(--max); margin: 0 auto; }
@media (max-width: 640px) { .sec { padding: 52px 20px; } }

/* HERO — Homepage */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 96px 32px 64px;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 88px 20px 48px; }
}
/* #hubcanvas styles moved to index.html inline (bulletproof aspect-ratio) */

/* HERO — Model pages (no video — pure gradient) */
.mhero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 96px 32px 56px;
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--b1);
}
.mhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--mc-glow, rgba(79,158,255,.12)), transparent 60%),
    radial-gradient(ellipse at 80% 20%, var(--mc-glow, rgba(79,158,255,.08)), transparent 50%);
  opacity: .8;
}
.mhero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,158,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,158,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .7;
}
.mhero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.mhero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 14px;
}
.mhero-breadcrumb a:hover { color: var(--mc, var(--hub)); }
.mhero-breadcrumb .sep { opacity: .4; }
.mhero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mc);
  padding: 5px 12px;
  border: 1px solid var(--mc);
  border-radius: 999px;
  background: var(--mc-bg);
  margin-bottom: 16px;
}
.mhero-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(44px, 6.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mc);
  margin-bottom: 8px;
}
.mhero-full {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 0.9vw, 13px);
  color: var(--ts);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.mhero-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  color: var(--tp);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 24px;
}
.mhero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .mhero { padding: 88px 20px 44px; min-height: 60vh; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 7px;
  transition: transform .15s, background .15s;
  white-space: nowrap;
}
.btn-p {
  background: var(--hub);
  color: #060a13;
  box-shadow: 0 0 16px rgba(79,158,255,.28);
}
.btn-p:hover { transform: translateY(-1px); }
.btn-o {
  background: transparent;
  color: var(--tp);
  border: 1px solid var(--b2);
}
.btn-o:hover { border-color: var(--hub); background: rgba(79,158,255,.06); }
.btn-acc {
  background: var(--mc, var(--hub));
  color: #060a13;
  box-shadow: 0 0 16px var(--mc-glow);
}
.btn-acc:hover { transform: translateY(-1px); }

/* STATS BAR — 6 in row, never wraps on desktop */
.stats {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  border: 1px solid var(--b1);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg3);
}
.stat {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--b1);
  overflow: hidden;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--tw);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-n em {
  font-style: normal;
  color: var(--mc, var(--hub));
  font-size: 0.72em;
}
.stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 0.55vw, 9px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tm);
  line-height: 1.35;
}
@media (max-width: 860px) {
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 1 33.33%; min-width: 33.33%; border-bottom: 1px solid var(--b1); }
  .stat:nth-child(3n) { border-right: none; }
  .stat:nth-last-child(-n+3):nth-child(3n+1),
  .stat:nth-last-child(-n+3):nth-child(3n+1) ~ .stat { border-bottom: none; }
}
@media (max-width: 520px) {
  .stat { flex: 1 1 50%; min-width: 50%; }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-child(3n) { border-right: 1px solid var(--b1); }
}

/* MODEL GRID (index, models) */
.mgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 36px;
}
.mcard {
  background: var(--bg3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background .2s;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.mcard:hover { background: var(--bg4); }
.mcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--mc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.mcard:hover::before { transform: scaleX(1); }
.mcard-icon { font-size: 24px; margin-bottom: 10px; }
.mcard-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mc);
  padding: 3px 8px;
  border: 1px solid var(--mc);
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 12px;
  opacity: .85;
}
.mcard-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--mc);
  margin-bottom: 4px;
}
.mcard-full {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--tm);
  margin-bottom: 10px;
}
.mcard-desc {
  font-size: 12.5px;
  color: var(--ts);
  line-height: 1.6;
  flex: 1;
}
.mcard-arr {
  position: absolute;
  bottom: 16px;
  right: 20px;
  color: var(--mc);
  opacity: 0;
  transition: .2s;
}
.mcard:hover .mcard-arr { opacity: 1; }
@media (max-width: 860px) { .mgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mgrid { grid-template-columns: 1fr; } }

/* 2-COL GRID */
.g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .g2 { grid-template-columns: 1fr; gap: 32px; }
}

/* FEATURE GRID */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 32px;
}
.fcard {
  background: var(--bg3);
  padding: 24px 20px;
  transition: background .2s;
}
.fcard:hover { background: var(--bg4); }
.fcard-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mc, var(--hub));
  margin-bottom: 8px;
  opacity: .7;
}
.fcard-icon { font-size: 20px; margin-bottom: 8px; }
.fcard h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-stretch: 100%;
  font-size: 14px;
  color: var(--tw);
  margin-bottom: 5px;
}
.fcard p {
  font-size: 12.5px;
  color: var(--ts);
  line-height: 1.6;
}
@media (max-width: 860px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* ═══ ORIGIN-SECTION PRODUCT GRID (About Page) ═══ */
.origin-g2 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.origin-intro { position: sticky; top: 100px; }
@media (max-width: 1024px) {
  .origin-g2 { grid-template-columns: 1fr; gap: 40px; }
  .origin-intro { position: static; }
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ocard {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--b1);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.ocard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--oc, var(--hub));
  opacity: 0.55;
  transition: opacity .3s ease, width .3s ease;
}
.ocard::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--oc, var(--hub)) 0%, transparent 65%);
  filter: blur(36px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.ocard:hover {
  background: var(--bg4);
  border-color: color-mix(in srgb, var(--oc, var(--hub)) 35%, var(--b1));
  transform: translateY(-2px);
}
.ocard:hover::before { opacity: 1; width: 4px; }
.ocard:hover::after { opacity: 0.16; }

.ocard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.ocard-initial {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--oc, var(--hub)) 18%, transparent),
    color-mix(in srgb, var(--oc, var(--hub)) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--oc, var(--hub)) 32%, transparent);
  border-radius: 11px;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--oc, var(--hub));
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ocard:hover .ocard-initial {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--oc, var(--hub)) 25%, transparent);
}
.ocard-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oc, var(--hub));
  padding: 4px 9px;
  background: color-mix(in srgb, var(--oc, var(--hub)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--oc, var(--hub)) 22%, transparent);
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
  opacity: .88;
}
.ocard h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  color: var(--tw);
  margin: 0 0 6px;
  line-height: 1.25;
}
.ocard p {
  font-size: 12.25px;
  color: var(--ts);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
@media (max-width: 640px) {
  .origin-grid { grid-template-columns: 1fr; }
  .ocard { min-height: auto; padding: 20px; }
}

/* KCL BOX */
.kclbox {
  background: rgba(224,168,46,.04);
  border: 1px solid rgba(224,168,46,.18);
  border-left: 3px solid var(--kcl);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  margin-top: 20px;
}
.kclbox .kh {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--kcl);
  margin-bottom: 6px;
}
.kclbox p {
  font-size: 12.5px;
  color: var(--ts);
  line-height: 1.6;
}

/* EYEBROW */
.eye {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mc, var(--hub));
  margin-bottom: 12px;
}
.eye::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
}

/* CTA BAND */
.ctab {
  background: var(--bg3);
  border: 1px solid var(--b2);
  border-radius: 14px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ctab::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mc-glow, rgba(79,158,255,.2)), transparent 65%);
}
.ctab > * { position: relative; z-index: 1; }
.ctab p {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.65;
  margin-top: 6px;
}
.ctab-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ctab-btns .btn { justify-content: center; }
@media (max-width: 720px) {
  .ctab { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ═══ FOOTER — REDESIGNED ═══ */
footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg2) 0%, #050810 100%);
  border-top: 1px solid var(--b1);
  padding: 0;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(79,158,255,0.55) 50%, transparent 100%);
  z-index: 1;
}
footer::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(79,158,255,0.08) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

/* Top CTA band */
.f-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 32px 44px;
  border-bottom: 1px solid var(--b1);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.f-cta-text h3 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--tw);
  margin: 0 0 10px;
}
.f-cta-text h3 span {
  background: linear-gradient(135deg, #4f9eff 0%, color-mix(in srgb, #4f9eff 60%, #ffffff) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.f-cta-text p {
  font-size: 13.5px;
  color: var(--ts);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}
.f-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .f-cta { grid-template-columns: 1fr; gap: 24px; padding: 44px 24px 36px; }
  .f-cta-btns { justify-content: flex-start; }
}

/* Main footer grid */
.fgrid-f {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 52px 32px 36px;
  position: relative;
  z-index: 2;
}

/* Brand column */
.f-brand .flogo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
}
.f-brand .flogo-wrap .flogo { margin-left: -2px; }
.f-brand .flogo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.flogo {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--tw);
  margin: 0;
}

.fdesc {
  font-size: 12.75px;
  color: var(--ts);
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 320px;
}
.fpow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tm);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fpow::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #4f9eff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4f9eff;
  animation: f-pulse 2.2s ease-in-out infinite;
}
@keyframes f-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.75); }
}

/* Newsletter form removed per design update */

/* Link columns */
.fcol h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tw);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--b1);
  position: relative;
}
.fcol h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: #4f9eff;
}
.fcol ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fcol li { position: relative; }
.fcol a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ts);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, gap .2s ease;
  padding: 2px 0;
}
.fcol a:hover {
  color: #4f9eff;
  gap: 12px;
}
.fcol a .f-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dc, #4f9eff);
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity .2s ease, transform .2s ease;
}
.fcol a:hover .f-dot {
  opacity: 1;
  transform: scale(1.25);
}

/* Connect column — social + contact */
.f-connect-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.f-social-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.f-social-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--b2);
  border-radius: 9px;
  color: var(--ts);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.f-social-btn:hover {
  background: rgba(79,158,255,0.12);
  border-color: rgba(79,158,255,0.55);
  color: #4f9eff;
  transform: translateY(-2px);
}
.f-social-btn svg {
  width: 15px;
  height: 15px;
}

/* Bottom bar */
.fbot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--tm);
  border-top: 1px solid var(--b1);
  position: relative;
  z-index: 2;
}
.fbot-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fbot-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.fbot-right a {
  color: var(--tm);
  text-decoration: none;
  transition: color .2s ease;
}
.fbot-right a:hover { color: #4f9eff; }

@media (max-width: 1024px) {
  .fgrid-f { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  footer::after { display: none; }
  .f-cta { padding: 40px 20px 32px; }
  .f-cta-text h3 { font-size: 22px; }
  .fgrid-f { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 20px 28px; }
  .f-brand { grid-column: 1 / -1; }
  .fbot { padding: 20px 20px 24px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .fgrid-f { grid-template-columns: 1fr; }
}


/* FADE IN */
.fu {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.fu.vis {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }

/* MODEL COLOR CLASSES */
.m-aura { --mc: #00d4c8; --mc-bg: rgba(0,212,200,.08); --mc-glow: rgba(0,212,200,.25); }
.m-vyde { --mc: #b57bee; --mc-bg: rgba(181,123,238,.08); --mc-glow: rgba(181,123,238,.25); }
.m-sage { --mc: #3dd68c; --mc-bg: rgba(61,214,140,.08); --mc-glow: rgba(61,214,140,.25); }
.m-nova { --mc: #ffb547; --mc-bg: rgba(255,181,71,.08); --mc-glow: rgba(255,181,71,.25); }
.m-zync { --mc: #ff6b8a; --mc-bg: rgba(255,107,138,.08); --mc-glow: rgba(255,107,138,.25); }
.m-roam { --mc: #5ba4f5; --mc-bg: rgba(91,164,245,.08); --mc-glow: rgba(91,164,245,.25); }
.m-hub  { --mc: #4f9eff; --mc-bg: rgba(79,158,255,.08); --mc-glow: rgba(79,158,255,.25); }



/* ─── CHARTS & GRAPHS ────────────────────── */
.chart {
  background: var(--bg3);
  border: 1px solid var(--b1);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.chart-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 14px;
}
.chart-title span { color: var(--mc, var(--hub)); }
.chart svg { width: 100%; height: auto; display: block; }

/* Horizontal bar chart */
.barchart { display: flex; flex-direction: column; gap: 11px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ts);
  width: 100px;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mc, var(--hub)) 0%, var(--mc, var(--hub)) 100%);
  position: relative;
  animation: barload 1s ease-out forwards;
  transform-origin: left;
}
@keyframes barload {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.bar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--tw);
  font-weight: 600;
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .bar-lbl { width: 74px; font-size: 8.5px; }
}

/* Metric cards below chart */
.mrow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}
.mcell { background: var(--bg3); padding: 16px 14px; text-align: center; }
.mcell-v {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mc, var(--hub));
  margin-bottom: 4px;
}
.mcell-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tm);
  line-height: 1.3;
}
@media (max-width: 640px) { .mrow { grid-template-columns: repeat(2, 1fr); } }

/* Two-column analysis grid */
.agrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
}
.acell { background: var(--bg3); padding: 24px 22px; }
.acell .eye { margin-bottom: 8px; }
.acell h3 { margin-bottom: 6px; }
.acell p {
  font-size: 12.5px;
  color: var(--ts);
  line-height: 1.6;
  margin-bottom: 14px;
}
.acell:hover { background: var(--bg4); }
@media (max-width: 720px) { .agrid { grid-template-columns: 1fr; } }

/* Insight callout */
.insight {
  margin-top: 12px;
  padding: 9px 12px;
  background: rgba(255,255,255,.03);
  border-left: 2px solid var(--mc, var(--hub));
  border-radius: 0 6px 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.5;
  color: var(--tp);
  letter-spacing: 0.02em;
}

/* Use case list */
.ucases {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
}
.uc {
  background: var(--bg3);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: center;
  transition: background .2s;
}
.uc:hover { background: var(--bg4); }
.uc-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--mc, var(--hub));
  opacity: 0.3;
  line-height: 1;
}
.uc h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--tw);
  margin-bottom: 3px;
}
.uc p {
  font-size: 12px;
  color: var(--ts);
  line-height: 1.55;
}
.uc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mc, var(--hub));
  padding: 3px 8px;
  border: 1px solid var(--mc, var(--hub));
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .uc { grid-template-columns: 1fr; gap: 4px; }
  .uc-n { display: none; }
  .uc-tag { justify-self: start; margin-top: 4px; }
}

/* Industries grid */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 28px;
}
.ind-card {
  background: var(--bg3);
  padding: 20px 16px;
  transition: background .2s;
  text-align: center;
}
.ind-card:hover { background: var(--bg4); }
.ind-card .ico { font-size: 22px; margin-bottom: 8px; }
.ind-card h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--tw);
  margin-bottom: 3px;
}
.ind-card p {
  font-size: 10.5px;
  color: var(--ts);
  line-height: 1.5;
}
@media (max-width: 760px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .ind-grid { grid-template-columns: 1fr; } }


/* ═══ FORM & CONTACT PAGES ═══ */
.form-wrap {
  background: var(--bg3);
  border: 1px solid var(--b1);
  border-radius: 14px;
  padding: 36px 38px;
  max-width: 680px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-group label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ts);
}
.form-group label .req {
  color: #ff6b8a;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--b2);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--tp);
  transition: border-color .15s, background .15s;
  outline: none;
  font-stretch: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--hub);
  background: var(--bg3);
  box-shadow: 0 0 0 3px rgba(79,158,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--tm);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%238294b3' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group select option {
  background: var(--bg2);
  color: var(--tp);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  font-family: 'Inter', sans-serif;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 22px;
  font-size: 12px;
  color: var(--ts);
  line-height: 1.55;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--hub);
  cursor: pointer;
  flex-shrink: 0;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--hub);
  color: #060a13;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 0 16px rgba(79,158,255,0.25);
}
.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(79,158,255,0.4);
}
.form-success {
  display: none;
  padding: 18px 20px;
  background: rgba(61,214,140,0.08);
  border: 1px solid rgba(61,214,140,0.3);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--tp);
  line-height: 1.6;
}
.form-success.show { display: block; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 20px; }
}

/* ─── CONTACT INFO CARDS ─── */
.cinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 36px;
}
.cinfo-card {
  background: var(--bg3);
  padding: 28px 24px;
  transition: background .2s;
  display: block;
}
.cinfo-card:hover { background: var(--bg4); }
.cinfo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,158,255,0.1);
  border: 1px solid rgba(79,158,255,0.25);
  border-radius: 10px;
  font-size: 18px;
  margin-bottom: 14px;
}
.cinfo-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 5px;
}
.cinfo-value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--tw);
  margin-bottom: 4px;
  word-break: break-word;
  transition: color .15s;
}
.cinfo-desc {
  font-size: 12px;
  color: var(--ts);
  line-height: 1.55;
}
.cinfo-card:hover .cinfo-value { color: var(--hub); }
@media (max-width: 760px) { .cinfo-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--b1); border: 1px solid var(--b1); border-radius: 12px; overflow: hidden; margin-top: 28px; }
.faq-item { background: var(--bg3); padding: 20px 24px; transition: background .2s; }
.faq-item:hover { background: var(--bg4); }
.faq-q { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: var(--tw); margin-bottom: 6px; }
.faq-a { font-size: 13px; color: var(--ts); line-height: 1.65; }

/* ═══ NEW MODELS: MUSE (Media) + TIDE (Tourism) ═══ */
:root {
  --muse: #ff5c7a;   /* Coral-red for Media & Entertainment */
  --tide: #2dd4bf;   /* Aqua-teal for Tourism & Hospitality */
}
.m-muse { --mc: #ff5c7a; --mc-bg: rgba(255,92,122,.08); --mc-glow: rgba(255,92,122,.25); }
.m-tide { --mc: #2dd4bf; --mc-bg: rgba(45,212,191,.08); --mc-glow: rgba(45,212,191,.25); }

/* Adjust model grid for 8 cards (4x2) */
.mgrid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 36px;
}
.mgrid-8 .mcard { min-height: 240px; padding: 24px 20px; }
.mgrid-8 .mcard-name { font-size: clamp(26px, 2.8vw, 36px); }
@media (max-width: 980px) { .mgrid-8 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mgrid-8 { grid-template-columns: 1fr; } }

/* ═══ NAV DROPDOWN MENU ═══ */
.nlinks .has-sub {
  position: relative;
}
.nlinks .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nlinks .has-sub > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  margin-left: 2px;
  transition: transform .2s;
}
.nlinks .has-sub:hover > a::after {
  transform: rotate(180deg);
  opacity: 0.9;
}
.nlinks .sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: rgba(10, 17, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--b2);
  border-radius: 10px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 1px;
  min-width: 260px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(79,158,255,0.08);
  z-index: 1001;
}
.nlinks .has-sub:hover .sub,
.nlinks .has-sub:focus-within .sub {
  display: flex;
}
.nlinks .sub::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.nlinks .sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--ts);
  transition: background .12s, color .12s;
}
.nlinks .sub a:hover {
  background: rgba(79,158,255,0.08);
  color: var(--tw);
}
.nlinks .sub a .dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--dc, var(--hub));
}
.nlinks .sub a .nm {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--tw);
}
.nlinks .sub a .dm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--tm);
  letter-spacing: 0.08em;
  margin-left: auto;
  text-transform: uppercase;
}
.nlinks .sub .divider {
  height: 1px;
  background: var(--b1);
  margin: 4px 8px;
}
.nlinks .sub .all-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hub);
  padding: 8px 12px;
}
.nlinks .sub .all-link:hover { background: rgba(79,158,255,0.08); }

/* Mobile drawer submenu */
.drw .sub-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tm);
  padding: 10px 12px 4px;
  margin-top: 6px;
}
.drw .sub-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding-left: 20px !important;
}
.drw .sub-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--dc, var(--hub));
}

