/* =====================================================================
   BlueForge IT — Global Stylesheet
   Dark, high-tech, trustworthy. Blue→Cyan core + Ember "forge" sparks.
   Fonts: Space Grotesk (display) · Inter (body) · JetBrains Mono (labels)
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Surfaces */
  --bg:           #060912;
  --bg-1:         #090f1d;
  --bg-2:         #0e1626;
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --surface-3:    rgba(255, 255, 255, 0.09);
  --border:       rgba(255, 255, 255, 0.08);
  --border-strong:rgba(255, 255, 255, 0.16);

  /* Ink */
  --text:         #e9eefc;
  --text-dim:     #aab6d6;
  --muted:        #76849f;

  /* Brand */
  --blue:         #3b82f6;
  --blue-bright:  #5b9dff;
  --cyan:         #22d3ee;
  --ember:        #ff8a4c;
  --ember-2:      #ff5e3a;
  --violet:       #8b5cf6;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(59,130,246,.18), rgba(34,211,238,.18));
  --grad-ember:   linear-gradient(135deg, #ff8a4c 0%, #ff5e3a 100%);
  --grad-text:    linear-gradient(120deg, #fff 0%, #bcd4ff 40%, #5b9dff 100%);
  --grad-mesh:    radial-gradient(60% 60% at 20% 10%, rgba(59,130,246,.22), transparent 60%),
                  radial-gradient(50% 50% at 85% 15%, rgba(34,211,238,.16), transparent 60%),
                  radial-gradient(55% 55% at 70% 90%, rgba(139,92,246,.14), transparent 60%),
                  radial-gradient(40% 40% at 10% 85%, rgba(255,138,76,.10), transparent 60%);

  /* Glow & shadow */
  --glow-blue:  0 0 36px rgba(59, 130, 246, .45);
  --glow-cyan:  0 0 36px rgba(34, 211, 238, .40);
  --glow-ember: 0 0 30px rgba(255, 122, 60, .45);
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, .25);
  --shadow-md:  0 12px 40px rgba(0, 0, 0, .45);
  --shadow-lg:  0 30px 80px rgba(0, 0, 0, .55);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Geometry */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --t-fast:    .18s;
  --t-med:     .32s;
  --t-slow:    .6s;

  /* Z-scale */
  --z-bg: 0;
  --z-base: 1;
  --z-deco: 2;
  --z-nav: 50;
  --z-overlay: 80;
  --z-cursor: 9999;
}

/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(34, 211, 238, .3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1b2740; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #25365a; }

/* ----------------------------- Layout ------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; }
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 7vw, 90px) 0; }

/* Background that sits under whole page */
.page-bg {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% -10%, rgba(59,130,246,.18), transparent 70%),
    radial-gradient(40% 30% at 90% 20%, rgba(34,211,238,.10), transparent 70%),
    var(--bg);
}
.page-bg::after { /* faint dot grid */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* --------------------------- Typography ---------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); line-height: 1.7; max-width: 62ch; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rotating headline word — reserve space so the layout never shifts */
.rotate-wrap { position: relative; display: inline-block; vertical-align: top; }
.rotate-sizer { visibility: hidden; white-space: nowrap; }
.rotate-text { position: absolute; left: 0; top: 0; white-space: nowrap; }
.rotate-text::after { content: '_'; margin-left: 2px; -webkit-text-fill-color: var(--cyan); color: var(--cyan); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.text-blue { color: var(--blue-bright); }
.text-cyan { color: var(--cyan); }
.text-ember { color: var(--ember); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* Eyebrow / tag */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan);
  padding: 8px 16px; border-radius: 100px;
  background: var(--grad-primary-soft);
  border: 1px solid var(--border-strong);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

/* Section heads */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .h2 { margin: 18px 0 18px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; padding: 15px 28px; border-radius: 100px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med), background var(--t-med), color var(--t-med);
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn-primary {
  background: var(--grad-primary); color: #02101f;
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 0 60px rgba(34,211,238,.6), inset 0 1px 0 rgba(255,255,255,.4); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-3); border-color: var(--cyan); transform: translateY(-2px); }
.btn-ember { background: var(--grad-ember); color: #1a0a02; box-shadow: var(--glow-ember); }
.btn-ember:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(255,122,60,.6); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Magnetic wrapper hint */
.magnetic { display: inline-block; }
.btn.magnetic { display: inline-flex; }  /* keep buttons as flex rows (icon stays inline) */

/* Link with animated arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan);
  transition: gap var(--t-med) var(--ease), color var(--t-fast);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--blue-bright); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----------------------------- Navbar ------------------------------ */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: var(--z-nav);
  transition: top var(--t-med) var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 14px 12px 20px; border-radius: 100px;
  background: rgba(10, 15, 28, .55); border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), padding var(--t-med);
}
.nav.scrolled .nav-inner { background: rgba(8, 12, 22, .82); border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--text); }
.brand span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 100px; font-size: .94rem; font-weight: 500; color: var(--text-dim);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links > li > a:hover, .nav-links > li > button:hover { color: #fff; background: var(--surface); }
.nav-links > li > a.active { color: #fff; background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.chev { width: 14px; height: 14px; transition: transform var(--t-fast); }

/* Dropdown for services */
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 540px; padding: 14px; border-radius: var(--radius-lg);
  background: rgba(12, 18, 32, .96); border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med) var(--ease), visibility var(--t-med);
}
/* invisible bridge across the gap so the menu doesn't close while moving the cursor into it */
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.has-dd:hover .chev { transform: rotate(180deg); }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius); transition: background var(--t-fast); }
.dd-item:hover { background: var(--surface-2); }
.dd-item .ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad-primary-soft); border: 1px solid var(--border); color: var(--cyan); }
.dd-item .ico svg { width: 20px; height: 20px; }
.dd-item h5 { font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: #fff; margin-bottom: 2px; }
.dd-item p { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.dd-foot { grid-column: 1 / -1; margin-top: 4px; padding: 13px 14px; border-radius: var(--radius); background: var(--grad-primary-soft); display: flex; align-items: center; justify-content: space-between; }
.dd-foot span { font-size: .85rem; color: var(--text-dim); }

/* Mobile menu */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform var(--t-med), opacity var(--t-med); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-overlay); padding: 100px 24px 40px;
  background: rgba(6, 9, 18, .97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med), visibility var(--t-med);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { padding: 16px 18px; border-radius: var(--radius); font-size: 1.15rem; font-weight: 600; font-family: var(--font-display); border: 1px solid transparent; transition: background var(--t-fast), border-color var(--t-fast); }
.mobile-menu a:hover { background: var(--surface); border-color: var(--border); }
.mobile-menu .mm-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 18px 18px 6px; }
.mobile-menu .mm-cta { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* ----------------------------- Hero -------------------------------- */
.hero { position: relative; padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid { position: relative; z-index: var(--z-base); display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .h1 { margin: 22px 0 24px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-trust .ti { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-dim); }
.hero-trust .ti svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

/* Hero visual — animated "Forge Network" (unique · no spheres) */
.hero-visual { position: relative; aspect-ratio: 1; min-height: 360px; display: grid; place-items: center; }
.forge-core { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; display: grid; place-items: center; }
.forge-net { width: 100%; height: 100%; overflow: visible; }

/* connection wires + flowing energy */
.forge-net .wire { stroke: rgba(255,255,255,.07); stroke-width: 1.4; fill: none; }
.forge-net .flow { fill: none; stroke: url(#fgLine); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 17; animation: fgFlow 2.6s linear infinite; }

/* service nodes */
.forge-net .node { transform-box: fill-box; transform-origin: center; animation: fgNode 4.5s ease-in-out infinite; }
.forge-net .node .halo { opacity: .3; filter: url(#fgBlur); }
.forge-net .node .chip-bg { fill: rgba(12,18,32,.94); stroke: var(--border-strong); stroke-width: 1.2; }
.forge-net .node .ico { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* central forge core (hexagon, rotating outline, glow) */
.forge-net .core-glow { animation: fgGlow 5s ease-in-out infinite; }
.forge-net .core-ring { fill: none; stroke: rgba(34,211,238,.4); stroke-width: 1.4; stroke-dasharray: 5 10; transform-box: fill-box; transform-origin: center; animation: fgSpin 24s linear infinite; }
.forge-net .core-hex { transform-box: fill-box; transform-origin: center; animation: fgCore 5s ease-in-out infinite; }
.forge-net .core-hex .hex { fill: url(#fgCore); stroke: rgba(255,255,255,.28); stroke-width: 1.2; }
.forge-net .core-hex .bolt { fill: #fff; }

/* scanning beam */
.forge-net .scan { fill: url(#fgScan); opacity: 0; transform-box: view-box; animation: fgScan 6.5s ease-in-out infinite; }

@keyframes fgFlow  { to { stroke-dashoffset: -200; } }
@keyframes fgNode  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fgCore  { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes fgGlow  { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes fgSpin  { to { transform: rotate(360deg); } }
@keyframes fgScan  { 0% { transform: translateX(-50px); opacity: 0; } 14% { opacity: .55; } 82% { opacity: .3; } 100% { transform: translateX(430px); opacity: 0; } }

/* Floating labels (anchored to corners — never overlap) */
.orbit-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; z-index: 3;
  padding: 9px 14px; border-radius: 100px; font-family: var(--font-mono); font-size: .74rem;
  background: rgba(12,18,32,.86); border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md); white-space: nowrap; animation: floatY 5s ease-in-out infinite;
}
.orbit-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); display: inline-block; box-shadow: 0 0 8px rgba(34,211,238,.8); }
.orbit-chip.c1 { top: 1%; left: -6%; }
.orbit-chip.c2 { top: 46%; right: -7%; animation-delay: -1.6s; }
.orbit-chip.c2 i { background: var(--ember); box-shadow: 0 0 8px rgba(255,138,76,.8); }
.orbit-chip.c3 { bottom: 2%; left: -2%; animation-delay: -3.1s; }
.orbit-chip.c3 i { background: var(--violet); box-shadow: 0 0 8px rgba(139,92,246,.8); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Floating decorative orbs (blurred blobs) */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: var(--z-bg); pointer-events: none; animation: drift 18s ease-in-out infinite; }
.orb.blue { background: var(--blue); }
.orb.cyan { background: var(--cyan); }
.orb.ember { background: var(--ember); }
.orb.violet { background: var(--violet); }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.12); }
  66% { transform: translate(-30px,20px) scale(.92); }
}

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 1.5px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } }

/* --------------------------- Marquee ------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .item { display: inline-flex; align-items: center; gap: 12px; color: var(--text-dim); font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; opacity: .7; transition: opacity var(--t-fast), color var(--t-fast); }
.marquee-track .item:hover { opacity: 1; color: #fff; }
.marquee-track .item svg { width: 26px; height: 26px; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ----------------------------- Cards ------------------------------- */
.card {
  position: relative; padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
}
.card::before { /* sheen on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59,130,246,.18), transparent 60%);
  transition: opacity var(--t-med); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }

.card-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: var(--grad-primary-soft); border: 1px solid var(--border-strong); color: var(--cyan); }
.card-ico svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: .96rem; }
.card .tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted); padding: 5px 10px; border-radius: 100px; border: 1px solid var(--border); }

/* Service card extras */
.svc-card .card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.svc-card .price { font-family: var(--font-display); font-weight: 700; }
.svc-card .price small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .78rem; display: block; }

/* ----------------------------- Bento ------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { padding: 28px; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; }
.b-6 { grid-column: span 6; } .b-tall { grid-row: span 2; }
.bento .card.feature { background: linear-gradient(150deg, rgba(59,130,246,.16), rgba(34,211,238,.06)); }

/* Mini animated viz inside bento */
.viz-bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: 18px; }
.viz-bars span { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad-primary); opacity: .85; animation: barPulse 2.4s ease-in-out infinite; }
.viz-bars span:nth-child(2) { animation-delay: .2s; } .viz-bars span:nth-child(3) { animation-delay: .4s; }
.viz-bars span:nth-child(4) { animation-delay: .6s; } .viz-bars span:nth-child(5) { animation-delay: .8s; }
@keyframes barPulse { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

.code-chip { font-family: var(--font-mono); font-size: .82rem; line-height: 1.9; color: var(--text-dim); margin-top: 14px; }
.code-chip .k { color: var(--cyan); } .code-chip .s { color: var(--ember); } .code-chip .c { color: var(--muted); }

/* --------------------------- Stats / counters ---------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 32px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color var(--t-med), transform var(--t-med) var(--ease); }
.stat:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .num .suf { -webkit-text-fill-color: var(--cyan); color: var(--cyan); }
.stat .lbl { margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* --------------------------- Process / steps ----------------------- */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color var(--t-med), background var(--t-med); }
.step:hover { border-color: var(--border-strong); background: var(--surface-2); }
.step .n { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-primary-soft); border: 1px solid var(--border-strong); color: var(--cyan); }
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .95rem; }

/* ----------------------------- Pricing ----------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); position: relative; transition: transform var(--t-med) var(--ease), border-color var(--t-med); }
.tier:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.tier.featured { background: linear-gradient(180deg, rgba(59,130,246,.14), rgba(34,211,238,.05)); border-color: rgba(34,211,238,.4); box-shadow: var(--glow-blue); }
.tier .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; background: var(--grad-primary); color: #02101f; font-weight: 700; }
.tier .tname { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.tier .tdesc { color: var(--muted); font-size: .88rem; margin: 6px 0 20px; min-height: 40px; }
.tier .tprice { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.tier .tprice .cur { font-size: 1.3rem; vertical-align: super; color: var(--text-dim); }
.tier .tprice .per { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 8px; }
.tier ul.feat { display: grid; gap: 12px; margin: 24px 0 28px; }
.tier ul.feat li { display: flex; gap: 11px; font-size: .92rem; color: var(--text-dim); }
.tier ul.feat li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* ----------------------------- FAQ --------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color var(--t-med); }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 1px solid var(--border-strong); display: grid; place-items: center; position: relative; transition: background var(--t-fast); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform var(--t-med) var(--ease); }
.faq-q .pm::before { width: 12px; height: 2px; } .faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .pm::after { transform: rotate(90deg) scaleX(0); }
.faq-item.open .pm { background: var(--grad-primary-soft); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--text-dim); font-size: .96rem; }

/* ----------------------------- CTA band ---------------------------- */
.cta-band { position: relative; border-radius: var(--radius-xl); padding: clamp(44px, 6vw, 80px); overflow: hidden; background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(34,211,238,.08)); border: 1px solid var(--border-strong); text-align: center; }
.cta-band .h2 { margin-bottom: 18px; }
.cta-band .lead { margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------- Footer ------------------------------ */
.footer { position: relative; margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--border); padding: 70px 0 36px; background: linear-gradient(180deg, transparent, rgba(8,12,22,.6)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer .fdesc { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-bottom: 22px; }
.footer h5 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-dim); font-size: .92rem; transition: color var(--t-fast); }
.footer ul a:hover { color: #fff; }
.footer-contact a { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); font-size: .92rem; margin-bottom: 14px; transition: color var(--t-fast); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 17px; height: 17px; color: var(--cyan); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); transition: all var(--t-fast); }
.socials a:hover { color: #fff; border-color: var(--cyan); transform: translateY(-3px); background: var(--surface-3); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* --------------------------- Page hero (inner) --------------------- */
.page-hero { position: relative; padding-top: clamp(140px, 16vh, 200px); padding-bottom: clamp(40px, 6vw, 70px); overflow: hidden; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }

/* --------------------------- Legal / prose ------------------------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 48px 0 16px; scroll-margin-top: 120px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 14px; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose ul li { list-style: disc; } .prose ol li { list-style: decimal; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose .updated { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: inline-block; margin-bottom: 10px; }
.toc { position: sticky; top: 110px; align-self: start; }
.toc h5 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ul { display: grid; gap: 9px; border-left: 1px solid var(--border); padding-left: 16px; }
.toc a { font-size: .88rem; color: var(--text-dim); transition: color var(--t-fast); }
.toc a:hover { color: var(--cyan); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }

/* Contact specifics */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; gap: 18px; align-items: flex-start; transition: border-color var(--t-med), transform var(--t-med) var(--ease); }
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.contact-card .ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad-primary-soft); border: 1px solid var(--border-strong); color: var(--cyan); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--text-dim); font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: var(--cyan); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.3) invert(.92) hue-rotate(180deg) contrast(.9); }

/* --------------------------- Reveal anim --------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"] { transform: translateX(-40px); }
[data-reveal][data-reveal="right"] { transform: translateX(40px); }
[data-reveal][data-reveal="scale"] { transform: scale(.92); }
[data-delay="1"] { transition-delay: .08s; } [data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; } [data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .4s; } [data-delay="6"] { transition-delay: .48s; }

/* Scroll progress bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: var(--z-overlay); background: var(--grad-primary); box-shadow: var(--glow-cyan); transition: width .1s linear; }

/* Custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.6); transform: translate(-50%, -50%); transition: width var(--t-med), height var(--t-med), border-color var(--t-med), background var(--t-med); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--cyan); background: rgba(34,211,238,.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* Particle canvas */
.spark-canvas { position: absolute; inset: 0; z-index: var(--z-bg); pointer-events: none; }

/* --------------------------- Utilities ----------------------------- */
.text-center { text-align: center; }
.flex { display: flex; } .grid { display: grid; }
.gap-sm { gap: 12px; } .gap-md { gap: 20px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; font-size: .82rem; font-family: var(--font-mono); color: var(--text-dim); background: var(--surface); border: 1px solid var(--border); }
.chip svg { width: 15px; height: 15px; color: var(--cyan); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.check-list li svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 3px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* --------------------------- Responsive ---------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: relative; top: 0; }
  .bento .card { padding: 24px; }
  .b-3, .b-2, .b-4 { grid-column: span 3; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-3, .b-2, .b-4, .b-6, .b-tall { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav { top: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-3, .b-2, .b-4, .b-6, .b-tall { grid-column: span 1; }
  .hero-actions .btn { width: 100%; }
  .orbit-chip { display: none; }
}

/* --------------------------- Reduced motion ------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .orb, .ring, .core-orb, .marquee-track, .orbit-chip { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
