﻿/* ================================================
   MPSolution.dk — Dark Premium Design System
   ================================================ */

:root {
  --bg:            #07071b;
  --bg-2:          #0c0c26;
  --bg-3:          #11112e;
  --surface:       rgba(255,255,255,0.04);

  --primary:       #7c3aed;
  --primary-mid:   #8b5cf6;
  --primary-light: #a78bfa;
  --primary-pale:  rgba(139,92,246,0.1);

  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --accent-light:  #fcd34d;
  --green:         #4ade80;

  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;
  --white:      #ffffff;

  --border:        rgba(139,92,246,0.18);
  --border-bright: rgba(139,92,246,0.45);

  --glow-sm:   0 0 20px rgba(124,58,237,0.2);
  --glow:      0 0 40px rgba(124,58,237,0.3);
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
  --nav-h:     72px;

  /* Backwards-compat aliases for inline styles */
  --dark:        var(--white);
  --text-light:  var(--text-muted);
  --bg-light:    var(--bg-2);
  --primary-dark: var(--primary);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', 'Inter', -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; color: var(--white); }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; color: var(--text); }
p  { color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--alt { background: var(--bg-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── Gradient text ──────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 55%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: textShimmer 3.5s linear infinite;
}
@keyframes textShimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 1rem; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.25s ease; position: relative; overflow: hidden; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1a0a00; font-weight: 700; box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.btn-primary::before {
  content: ''; position: absolute; top: -50%; left: -80%;
  width: 50%; height: 200%; background: rgba(255,255,255,0.22);
  transform: skewX(-20deg); transition: left 0.5s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.55); }
.btn-primary:hover::before { left: 150%; }

.btn-outline {
  background: transparent; color: var(--text); border: 1.5px solid var(--border-bright);
}
.btn-outline:hover { background: var(--primary-pale); border-color: var(--primary-light); color: var(--white); transform: translateY(-2px); }

.btn-purple {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: white; box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-purple::before {
  content: ''; position: absolute; top: -50%; left: -80%;
  width: 50%; height: 200%; background: rgba(255,255,255,0.18);
  transform: skewX(-20deg); transition: left 0.5s ease;
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.55); }
.btn-purple:hover::before { left: 150%; }

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ── Navigation ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(7,7,27,0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: all 0.3s;
}
.navbar.scrolled { background: rgba(7,7,27,0.97); border-color: var(--border-bright); box-shadow: 0 4px 32px rgba(0,0,0,0.5); }
.navbar__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--white); }
.navbar__logo-img {
  width: 44px;
  height: auto;
  display: block;
  flex-shrink: 0;
  animation: logoImgGlow 3s ease-in-out infinite;
}
@keyframes logoImgGlow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(0,204,237,0.35)); }
  50%      { filter: drop-shadow(0 0 10px rgba(0,204,237,0.70)) drop-shadow(0 0 18px rgba(0,150,200,0.30)); }
}
.footer__logo-img {
  width: 28px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.navbar__nav { display: flex; align-items: center; gap: 36px; }
.navbar__nav a {
  font-weight: 500; color: var(--text-muted); transition: color 0.2s;
  position: relative; font-size: 0.95rem;
}
.navbar__nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transition: transform 0.2s;
}
.navbar__nav a:hover, .navbar__nav a.active { color: var(--white); }
.navbar__nav a:hover::after, .navbar__nav a.active::after { transform: scaleX(1); }
.navbar__actions { display: flex; align-items: center; gap: 16px; }
.navbar__actions .btn-purple { animation: navBtnGlow 2.5s ease-in-out infinite; }
@keyframes navBtnGlow { 0%,100% { box-shadow: 0 4px 20px rgba(124,58,237,0.35); } 50% { box-shadow: 0 4px 28px rgba(124,58,237,0.6), 0 0 0 5px rgba(124,58,237,0.1); } }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,7,27,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 24px;
  z-index: 999; flex-direction: column; gap: 20px; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }

/* Language selector shared by the Danish and English sites */
.language-switch {
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.language-switch summary {
  min-width: 52px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  text-align: center;
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 3px;
  width: min(340px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(7,7,27,0.98);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}
.language-switch:not([open]) .language-switch__menu { display: none; }
.language-switch__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: 0;
}
.language-switch__menu a:hover,
.language-switch__menu a.active {
  color: var(--white);
  background: rgba(124,58,237,0.18);
}
.language-switch__menu small { color: var(--text-dim); font-size: 0.66rem; }
.language-switch--mobile {
  display: none;
}

/* ── Page header (inner pages) ───────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--bg); text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(139,92,246,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}
.page-header::after {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.14), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.page-header__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-pale); color: var(--primary-light);
  padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
  border: 1px solid var(--border-bright); position: relative; z-index: 1;
}
.page-header h1, .page-header p { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p  { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 72px) 0 120px;
  position: relative; overflow: hidden; background: var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 55% at 65% 38%, rgba(124,58,237,0.16) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 560px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-pale); color: var(--primary-light);
  padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 28px; border: 1px solid rgba(139,92,246,0.3); letter-spacing: 0.04em;
}
.badge-pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); position: relative; flex-shrink: 0;
}
.badge-pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); animation: pulsePing 1.5s ease-out infinite;
}
@keyframes pulsePing { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }

.hero__title {
  color: var(--white); margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.025em;
}
.hero__title [data-typewrite] {
  display: inline-block; overflow: hidden; max-width: 0;
  vertical-align: bottom; border-right: 3px solid transparent; white-space: nowrap;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: textShimmer 3.5s linear infinite, heroType 1.5s steps(14,end) 0.6s forwards, heroCursor 0.7s step-end 0.6s 5 forwards;
}
@keyframes heroType  { to { max-width: 15ch; } }
@keyframes heroCursor { from { border-right-color: transparent; } 50% { border-right-color: var(--accent); } to { border-right-color: transparent; } }

.hero__subtitle { font-size: 1.12rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 40px; }
.hero__actions  { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust    { display: flex; gap: 20px; flex-wrap: wrap; }
.hero__trust span { color: var(--text-dim); font-size: 0.82rem; font-weight: 500; }
.hero__visual   { position: relative; display: flex; justify-content: center; align-items: center; }

/* ── Dashboard mockup ───────────────────────────── */
.dashboard-mockup {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-xl); padding: 22px; width: 100%; max-width: 460px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: dashFloat 5s ease-in-out infinite;
}
@keyframes dashFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.dash-topbar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-dot.red    { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green  { background: #28c840; }
.dash-titlebar { flex: 1; height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; margin-left: 6px; }

.dash-live { display: flex; align-items: center; gap: 5px; font-size: 0.6rem; font-weight: 700; color: var(--green); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.dash-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: livePulse 1.5s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 0 5px rgba(74,222,128,0); } }

.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 16px; }
.dash-stat { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); border-radius: var(--radius); padding: 11px 8px; text-align: center; }
.dash-stat__value { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.dash-stat__label { font-size: 0.6rem; color: rgba(255,255,255,0.45); margin-top: 3px; }

.dash-chart { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); height: 88px; display: flex; align-items: flex-end; gap: 4px; padding: 10px; margin-bottom: 12px; }
.dash-bar { flex: 1; background: linear-gradient(to top, var(--accent), rgba(245,158,11,0.22)); border-radius: 3px 3px 0 0; min-height: 8px; transform-origin: bottom; transform: scaleY(0); animation: barGrow 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@keyframes barGrow { to { transform: scaleY(1); } }
.dash-bar:nth-child(1){animation-delay:.40s} .dash-bar:nth-child(2){animation-delay:.55s} .dash-bar:nth-child(3){animation-delay:.70s} .dash-bar:nth-child(4){animation-delay:.85s}
.dash-bar:nth-child(5){animation-delay:1.00s} .dash-bar:nth-child(6){animation-delay:1.15s} .dash-bar:nth-child(7){animation-delay:1.30s} .dash-bar:nth-child(8){animation-delay:1.45s}

.dash-row { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 8px 11px; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dash-row:last-child { margin-bottom: 0; }
.dash-row__avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary-light)); flex-shrink: 0; }
.dash-row__text { flex: 1; }
.dash-row__line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-bottom: 4px; }
.dash-row__line--short { width: 55%; }
.dash-row__badge { font-size: 0.58rem; font-weight: 700; background: rgba(74,222,128,0.15); color: var(--green); padding: 2px 7px; border-radius: 50px; border: 1px solid rgba(74,222,128,0.3); white-space: nowrap; }

/* ── Hero floating UI cards ─────────────────────── */
.hero-card {
  position: absolute; background: rgba(255,255,255,0.97); border-radius: 14px;
  padding: 12px 15px; box-shadow: 0 12px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 10px; z-index: 3;
  animation: floatCard 4s ease-in-out infinite; border: 1px solid rgba(255,255,255,0.8);
}
.hero-card--alert  { bottom: -12px; left: -18px; animation-delay: -1.5s; min-width: 185px; }
.hero-card--metric { top: -12px; right: 8px; animation-delay: -3.2s; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 105px; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-card__dot   { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.25); flex-shrink: 0; animation: livePulse 1.5s ease-in-out infinite; }
.hero-card__title { font-size: 0.75rem; font-weight: 700; color: #0f172a; white-space: nowrap; }
.hero-card__sub   { font-size: 0.65rem; color: #64748b; white-space: nowrap; }
.hero-card__value { font-size: 1.3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-card__label { font-size: 0.64rem; color: #64748b; white-space: nowrap; }

/* ── Hero background elements ────────────────────── */
#hero-canvas { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; }
.hero-blob   { position: absolute; border-radius: 50%; filter: blur(72px); pointer-events: none; opacity: 0; }
.hero-blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(124,58,237,0.5), rgba(124,58,237,0.08)); top: -120px; right: -60px; animation: blobFadeIn 1.2s ease forwards, blobFloat1 9s ease-in-out 1.2s infinite; }
.hero-blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.38), rgba(124,58,237,0.04)); bottom: -100px; left: -70px; animation: blobFadeIn 1.2s .25s ease forwards, blobFloat2 11s ease-in-out 1.45s infinite; }
.hero-blob-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(245,158,11,0.18), transparent); top: 35%; left: 44%; animation: blobFadeIn 1.2s .5s ease forwards, blobFloat3 14s ease-in-out 1.7s infinite; }
@keyframes blobFadeIn { to { opacity: 1; } }
@keyframes blobFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-35px,25px) scale(1.06); } 66% { transform: translate(20px,-15px) scale(0.97); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(45px,-38px) scale(1.08); } 70% { transform: translate(-25px,15px) scale(0.95); } }
@keyframes blobFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-20px) scale(1.1); } }

.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; z-index: 0; -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 75%); mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 75%); }
.hero-perspective-grid { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-perspective-grid::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(139,92,246,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,0.07) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(180px) rotateX(55deg) translateY(-20%); transform-origin: bottom center; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%); }
.hero-float { position: absolute; pointer-events: none; }
.hero-float--ring { width: 80px; height: 80px; border-radius: 50%; border: 1px solid rgba(139,92,246,0.25); animation: floatBob 7s ease-in-out infinite; }
.hero-float--dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0.45; animation: floatBob 5s ease-in-out infinite; }
@keyframes floatBob { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(12deg); } }

.hero-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.3); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; z-index: 2; animation: scrollHintBob 2.5s ease-in-out infinite; pointer-events: none; }
.hero-scroll-hint__line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(139,92,246,0.6), transparent); order: -1; }
@keyframes scrollHintBob { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.45; } 50% { transform: translateX(-50%) translateY(7px); opacity: 0.85; } }

/* ── Marquee strip ───────────────────────────────── */
.marquee-strip { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; animation: marqueeScroll 28s linear infinite; width: max-content; }
.marquee-track span { color: var(--text-dim); font-size: 0.82rem; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.marquee-track span::before { content: '✦'; color: var(--primary-light); font-size: 0.65rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section labels & headings ───────────────────── */
.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-light); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.section-label::before { content: ''; display: inline-block; width: 16px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 2px; }
.section-heading { margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; }
.section-sub.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ── Service cards ───────────────────────────────── */
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; position: relative; overflow: hidden; will-change: transform;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.1s;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover { border-color: var(--border-bright); box-shadow: 0 0 40px rgba(139,92,246,0.15), var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 52px; height: 52px; background: var(--primary-pale); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.service-card h3 { margin-bottom: 10px; color: var(--white); font-size: 1.12rem; }
.service-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-light); font-weight: 600; font-size: 0.88rem; margin-top: 20px; transition: gap 0.2s, color 0.2s; }
.service-card__link:hover { gap: 10px; color: var(--white); }

/* ── Stats strip ─────────────────────────────────── */
.stats-strip { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 0; }
.stats-strip__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-item__value { font-size: clamp(2.4rem,4vw,3.5rem); font-weight: 800; line-height: 1; margin-bottom: 8px; background: linear-gradient(135deg, var(--white) 50%, var(--primary-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; cursor: default; transition: transform 0.3s; }
.stat-item__value:hover { transform: scale(1.05); }
.stat-item__label { color: var(--text-dim); font-size: 0.88rem; font-weight: 500; }

/* ── Feature items ───────────────────────────────── */
.feature-item { display: flex; gap: 16px; margin-bottom: 28px; }
.feature-item:last-child { margin-bottom: 0; }
.feature-icon { width: 44px; height: 44px; background: var(--primary-pale); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.feature-text h4 { margin-bottom: 4px; color: var(--white); }
.feature-text p  { color: var(--text-muted); font-size: 0.9rem; }

/* ── Testimonials ────────────────────────────────── */
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-card__stars  { color: var(--accent); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card__text   { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; }
.testimonial-card__name   { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.testimonial-card__role   { color: var(--text-dim); font-size: 0.78rem; }

/* ── Process steps (horizontal grid on desktop) ── */
.steps-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps-list::before { content: ''; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright) 20%, var(--border-bright) 80%, transparent); z-index: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; margin-bottom: 0; gap: 16px; position: relative; z-index: 1; }
.step-item:last-child { margin-bottom: 0; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-mid)); color: white; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 24px rgba(124,58,237,0.5); animation: stepPulse 3s ease-in-out infinite; border: 2px solid rgba(139,92,246,0.4); }
@keyframes stepPulse { 0%,100% { box-shadow: 0 0 20px rgba(124,58,237,0.35); } 50% { box-shadow: 0 0 40px rgba(124,58,237,0.65); } }
.step-content h3 { margin-bottom: 6px; color: var(--white); font-size: 1.05rem; }
.step-content p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ── Value cards ─────────────────────────────────── */
.value-card { text-align: center; padding: 32px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.value-card:hover { border-color: var(--border-bright); box-shadow: var(--glow-sm); transform: translateY(-4px); }
.value-card__icon { font-size: 1.8rem; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 10px; color: var(--white); font-size: 1.1rem; }
.value-card p  { color: var(--text-muted); font-size: 0.88rem; }

/* ── CTA Banner ──────────────────────────────────── */
.cta-banner { padding: 100px 0; background: linear-gradient(135deg, #150430 0%, #2d0b6e 40%, #1e0866 70%, #0c0330 100%); text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; width: 700px; height: 700px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: conic-gradient(from 0deg, var(--primary), var(--primary-light), var(--accent), var(--primary)); animation: ctaSpin 10s linear infinite; opacity: 0.07; filter: blur(60px); pointer-events: none; z-index: 0; }
@keyframes ctaSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Calculator ──────────────────────────────────── */
.calculator { background: var(--surface); border-radius: var(--radius-xl); padding: 40px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.calc-tabs  { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.calc-tab   { padding: 10px 20px; border-radius: 50px; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted); font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.2s; }
.calc-tab.active, .calc-tab:hover { background: var(--primary); border-color: var(--primary); color: white; }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-field { margin-bottom: 24px; }
.calc-field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--white); font-size: 0.92rem; }
.calc-field input[type="range"] { width: 100%; -webkit-appearance: none; height: 4px; border-radius: 2px; background: var(--bg-3); outline: none; cursor: pointer; }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 0 12px rgba(124,58,237,0.5); }
.calc-field-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.calc-field-row span { font-size: 0.8rem; color: var(--text-dim); }
.calc-field-row .calc-value { font-weight: 700; color: var(--primary-light); }
.calc-select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; color: var(--text); background: var(--bg-3); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.calc-select:focus { border-color: var(--primary); outline: none; }
.calc-result { background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: 28px; text-align: center; margin-top: 8px; }
.calc-result__label { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 8px; }
.calc-result__price { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.calc-result__note  { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 20px; }
.calc-info { color: var(--text-muted); font-size: 0.85rem; background: var(--primary-pale); padding: 12px 16px; border-radius: var(--radius); border-left: 3px solid var(--primary); margin-top: 8px; }

/* ── Pricing tier cards ──────────────────────────── */
.pricing-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
.pricing-box h3 { color: var(--white); margin-bottom: 20px; }
.pricing-tier { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,0.03); margin-bottom: 10px; }
.pricing-tier:last-child { margin-bottom: 0; }
.pricing-tier--featured { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); border-color: transparent; }
.pricing-tier__name { font-weight: 700; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.pricing-tier__sub  { font-size: 0.8rem; color: var(--text-dim); }
.pricing-tier--featured .pricing-tier__sub { color: rgba(255,255,255,0.65); }
.pricing-tier__price { font-weight: 800; color: var(--primary-light); font-size: 1rem; white-space: nowrap; }
.pricing-tier--featured .pricing-tier__price { color: white; }
.badge-popular { background: var(--accent); color: #1a0a00; font-size: 0.62rem; padding: 2px 8px; border-radius: 50px; font-weight: 800; margin-left: 8px; vertical-align: middle; }

/* AI capability list */
.ai-box { background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(139,92,246,0.1)); border: 1px solid var(--border-bright); border-radius: var(--radius-xl); padding: 32px; }
.ai-box h3 { color: var(--white); margin-bottom: 20px; }
.ai-capability { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(139,92,246,0.12); }
.ai-capability:last-child { border-bottom: none; padding-bottom: 0; }
.ai-capability__check { width: 26px; height: 26px; background: rgba(124,58,237,0.2); border: 1px solid var(--border-bright); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--primary-light); flex-shrink: 0; }
.ai-capability span { color: var(--text-muted); font-size: 0.92rem; }

/* Formidling pricing */
.form-pricing-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
.form-pricing-box h3 { color: var(--white); margin-bottom: 8px; }
.form-pricing-box > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

/* ── Contact form ────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--white); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; color: var(--text); background: var(--bg-3); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.form-consent input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.form-consent a { color: var(--primary-light); text-decoration: underline; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--text-muted); font-size: 0.9rem; }
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #fca5a5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success { display: none; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); border-radius: var(--radius); padding: 16px 20px; color: var(--green); font-weight: 600; margin-top: 16px; }

/* Contact info */
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item__icon { width: 44px; height: 44px; background: var(--primary-pale); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item__text h4 { margin-bottom: 4px; color: var(--white); }
.contact-info-item__text p, .contact-info-item__text a { color: var(--text-muted); font-size: 0.92rem; }
.contact-info-item__text a:hover { color: var(--primary-light); }

/* Service detail sections */
.service-detail { border-bottom: 1px solid var(--border); padding-bottom: 72px; margin-bottom: 72px; }
.service-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-detail__icon-large { width: 68px; height: 68px; background: var(--primary-pale); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--primary-pale); color: var(--primary-light); padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--border); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; font-weight: 700; }
.faq-item p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.7; color: var(--text-dim); }
.footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 12px; }
.footer__logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; color: white; }
.footer__col h4 { color: var(--text-muted); margin-bottom: 18px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 0.88rem; color: var(--text-dim); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; color: var(--text-dim); }
.footer__socials { display: flex; gap: 10px; }
.footer__social-link { width: 34px; height: 34px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; transition: all 0.2s; color: var(--text-muted); }
.footer__social-link:hover { background: var(--primary-pale); border-color: var(--border-bright); color: var(--primary-light); }

/* ── Premium effects ─────────────────────────────── */
body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 30%, var(--accent) 50%, var(--primary-light) 70%, var(--primary) 100%); background-size: 200% 100%; animation: topBarShift 4s linear infinite; z-index: 10001; pointer-events: none; }
@keyframes topBarShift { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%,-50%); will-change: left,top; }
.cursor-dot { width: 7px; height: 7px; background: var(--primary-light); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(139,92,246,0.5); transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s; }
.cursor-ring--hover { width: 50px; height: 50px; border-color: var(--accent); background: rgba(245,158,11,0.06); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease var(--stagger, 0ms), transform 0.65s ease var(--stagger, 0ms); }
.reveal-ready.revealed { opacity: 1; transform: translateY(0); }

/* ── Services dropdown ───────────────────────────── */
.navbar__nav-item--dropdown { position: relative; }

/* Invisible bridge fills the gap so mouse stays "inside" the li */
.navbar__nav-item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px; /* must be >= gap between trigger and panel */
}

.navbar__nav-dropdown-trigger { display: flex !important; align-items: center; gap: 5px; }

.nav-arrow {
  font-size: 0.62rem;
  opacity: 0.65;
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.2s;
}
.navbar__nav-item--dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8,8,26,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 272px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  z-index: 200;
  pointer-events: none;
}
.navbar__dropdown::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(8,8,26,0.98);
  border-left: 1px solid var(--border-bright);
  border-top: 1px solid var(--border-bright);
}
.navbar__nav-item--dropdown:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.navbar__dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius);
  transition: background 0.15s; color: var(--text-muted); width: 100%;
}
.navbar__dropdown-item:hover { background: var(--primary-pale); }
.navbar__dropdown-item:hover .navbar__dropdown-title { color: var(--white); }

.navbar__dropdown-icon {
  width: 36px; height: 36px;
  background: rgba(139,92,246,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.navbar__dropdown-item:hover .navbar__dropdown-icon { background: rgba(139,92,246,0.2); border-color: var(--border-bright); }

.navbar__dropdown-title { display: block; font-weight: 600; font-size: 0.88rem; color: var(--white); margin-bottom: 2px; }
.navbar__dropdown-sub   { display: block; font-size: 0.72rem; color: var(--text-dim); }

/* ── 5-service auto-grid (homepage) ─────────────── */
.grid-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .grid-services { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .grid-services { grid-template-columns: 1fr; } }

/* ── Service page stats bar ──────────────────────── */
.service-page-stats {
  display: flex;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.service-page-stats__item {
  padding: 0 36px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.service-page-stats__item:last-child { border-right: none; }
.service-page-stats__value {
  font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.service-page-stats__label { color: var(--text-dim); font-size: 0.8rem; font-weight: 500; }

@media (max-width: 640px) {
  .service-page-stats { gap: 0; }
  .service-page-stats__item { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 24px; width: 50%; }
  .service-page-stats__item:last-child, .service-page-stats__item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ── Service sub-grid & cards ────────────────────── */
.service-intro { margin-bottom: 40px; }
.service-intro h2 { margin-bottom: 12px; }
.service-intro p  { max-width: 700px; }

.service-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 16px;
}

.service-sub-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.service-sub-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 24px rgba(139,92,246,0.1);
}

.service-sub-card__title {
  font-size: 0.9rem; font-weight: 700; color: var(--white);
  margin-bottom: 13px; display: flex; align-items: center; gap: 10px;
}
.service-sub-card__title::before {
  content: ''; display: block; width: 3px; height: 14px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  border-radius: 2px; flex-shrink: 0;
}

.service-sub-list { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.service-sub-list li {
  color: var(--text-muted); font-size: 0.83rem;
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.45;
}
.service-sub-list li::before {
  content: '→'; color: var(--primary-light); font-size: 0.7rem;
  flex-shrink: 0; margin-top: 2px;
}

/* Mobile menu service sub-links */
.mobile-menu-sub {
  padding-left: 22px !important;
  font-size: 0.9rem !important;
  color: var(--text-dim) !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  border-bottom-color: transparent !important;
}
.mobile-menu-sub:hover { color: var(--primary-light) !important; }

/* Mobile navigation repair: scrollable overlay + restored visual markers */
html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu {
  bottom: 0;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  gap: 4px;
  padding: 14px 18px max(28px, env(safe-area-inset-bottom));
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 4px;
  border-bottom-color: rgba(255,255,255,0.08);
}

.mobile-menu a::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  font-size: 0.9rem;
  line-height: 1;
}

.mobile-menu a[href="index.html"]::before { content: "\2302"; }
.mobile-menu a[href="about.html"]::before { content: "i"; font-weight: 800; font-family: var(--font-body); }
.mobile-menu a[href="services.html"]::before { content: "\2630"; }
.mobile-menu a[href="marketing.html"]::before { content: "\25B6"; }
.mobile-menu a[href="saas.html"]::before { content: "\2601"; }
.mobile-menu a[href="ai.html"]::before { content: "AI"; font-size: 0.68rem; font-weight: 800; font-family: var(--font-body); }
.mobile-menu a[href="formidling.html"]::before { content: "\260E"; }
.mobile-menu a[href="konsulent.html"]::before { content: "\2606"; }
.mobile-menu a[href="contact.html"]::before { content: "\2709"; }

.mobile-menu-sub {
  gap: 10px !important;
  min-height: 38px;
  padding-left: 42px !important;
}

.mobile-menu-sub::before {
  content: "\2192" !important;
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.mobile-menu a[href="marketing.html"]::before { content: "\25B6" !important; width: 26px; height: 26px; flex-basis: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(124,58,237,0.12); color: var(--primary-light); }
.mobile-menu a[href="saas.html"]::before { content: "\2601" !important; width: 26px; height: 26px; flex-basis: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(124,58,237,0.12); color: var(--primary-light); }
.mobile-menu a[href="ai.html"]::before { content: "AI" !important; width: 26px; height: 26px; flex-basis: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(124,58,237,0.12); color: var(--primary-light); font-size: 0.68rem; font-weight: 800; font-family: var(--font-body); }
.mobile-menu a[href="formidling.html"]::before { content: "\260E" !important; width: 26px; height: 26px; flex-basis: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(124,58,237,0.12); color: var(--primary-light); }
.mobile-menu a[href="konsulent.html"]::before { content: "\2606" !important; width: 26px; height: 26px; flex-basis: 26px; border: 1px solid rgba(255,255,255,0.1); background: rgba(124,58,237,0.12); color: var(--primary-light); }

@media (max-width: 760px) {
  .navbar__inner > .language-switch {
    display: none;
  }

  .mobile-menu .language-switch--mobile {
    display: block;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 0;
  }

  .mobile-menu .language-switch--mobile summary {
    min-width: 58px;
  }

  .mobile-menu .language-switch--mobile .language-switch__menu {
    position: static;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: min(340px, calc(100vw - 36px));
    max-height: 44vh;
    margin-top: 8px;
  }

  .mobile-menu .language-switch--mobile a {
    min-height: 38px;
    padding: 8px;
    border: 0;
    font-size: 0.78rem;
  }

  .mobile-menu .language-switch--mobile a::before {
    display: none;
  }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4           { grid-template-columns: repeat(2,1fr); }
  .stats-strip__grid{ grid-template-columns: repeat(2,1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
  .steps-list       { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .steps-list::before { display: none; }
  .step-item        { padding: 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar__nav, .navbar__actions { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero .grid-2 > *:last-child { display: none; }
  .hero-card, .hero-scroll-hint { display: none; }
  .hero__trust    { gap: 12px; }
  .stats-strip__grid { grid-template-columns: repeat(2,1fr); }
  .steps-list     { grid-template-columns: 1fr; gap: 0; }
  .step-item      { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; margin-bottom: 32px; padding: 0; }
  .calculator     { padding: 24px 20px; }
  .calc-tabs      { gap: 6px; }
  .calc-tab       { padding: 8px 14px; font-size: 0.78rem; }
  .footer__grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .hero-perspective-grid { height: 120px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .stats-strip__grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS v2
   ════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ─────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10002;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 45%, var(--accent) 100%);
  width: 0%; pointer-events: none;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
}

/* ── Page Transition Overlay ─────────────────────── */
.page-transition {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg); opacity: 1;
  pointer-events: all;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-transition.is-hidden { opacity: 0; pointer-events: none; }

/* ── Tech Logos Strip ────────────────────────────── */
.tech-strip {
  background: var(--bg-2); padding: 44px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.tech-strip__label {
  text-align: center; color: var(--text-dim);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 24px;
}
.tech-logos {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; align-items: center;
}
.tech-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  transition: all 0.22s; white-space: nowrap; cursor: default;
}
.tech-badge:hover {
  background: var(--primary-pale); border-color: var(--border-bright);
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139,92,246,0.15);
}
.tech-badge__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Testimonials Section ────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .testimonials-grid { grid-template-columns: 1fr; } }

/* Override + enhance existing testimonial-card */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 40px rgba(139,92,246,0.12);
  transform: translateY(-4px);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -12px; right: 16px;
  font-size: 7.5rem; color: rgba(139,92,246,0.09);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1; pointer-events: none; z-index: 0;
}
.testimonial-card__stars  { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 3px; position: relative; z-index: 1; }
.testimonial-card__text   { color: var(--text-muted); font-size: 0.9rem; line-height: 1.78; margin-bottom: 20px; font-style: italic; position: relative; z-index: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.testimonial-card__name   { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.testimonial-card__role   { color: var(--text-dim); font-size: 0.76rem; margin-top: 2px; }

/* ── FAQ Accordion ────────────────────────────────── */
/* Override existing faq-item styles */
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; padding: 0; }
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%; background: none; border: none;
  padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer; text-align: left; gap: 16px;
  color: inherit; font-family: inherit;
}
.faq-question:hover .faq-icon { border-color: var(--border-bright); color: var(--primary-light); }
.faq-question h3 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin: 0; flex: 1; }

.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.3s ease; color: var(--text-dim);
  font-size: 1.2rem; line-height: 1; font-weight: 300;
}
.faq-item.open .faq-icon {
  background: var(--primary-pale); border-color: var(--border-bright);
  color: var(--primary-light); transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.72; padding-bottom: 22px; margin: 0; }


/* ── Cycling Typewriter (JS-controlled) ──────────── */
.hero__title [data-typewrite].tw-js {
  overflow: visible !important;
  max-width: none !important;
  animation: textShimmer 3.5s linear infinite !important;
  border-right: 3px solid var(--accent) !important;
}
@keyframes twCursor {
  0%, 49.9% { border-right-color: var(--accent); }
  50%, 100%  { border-right-color: transparent; }
}
.hero__title [data-typewrite].tw-blink {
  animation: textShimmer 3.5s linear infinite, twCursor 0.75s step-end infinite !important;
}

/* ── Team Cards ──────────────────────────────────── */
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 28px; text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,58,237,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.team-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 40px rgba(139,92,246,0.12);
  transform: translateY(-5px);
}
.team-card__avatar {
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto 20px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; font-weight: 800;
  color: white; position: relative; z-index: 1;
}
.team-card__avatar::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: inherit; opacity: 0.18; filter: blur(12px); z-index: -1;
}
.team-card__name { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; position: relative; z-index: 1; }
.team-card__role { color: var(--primary-light); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; position: relative; z-index: 1; }
.team-card__bio  { color: var(--text-muted); font-size: 0.87rem; line-height: 1.72; max-width: 240px; margin: 0 auto; position: relative; z-index: 1; }

/* ── CTA Banner Urgency Badge ────────────────────── */
.cta-urgency {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.35);
  color: var(--accent-light); padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.cta-urgency__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: livePulse 1.5s ease-in-out infinite; flex-shrink: 0; }

/* ── Footer SVG Social Icons ─────────────────────── */
.footer__social-link svg { display: block; }

/* ── Stagger reveal for testimonials ─────────────── */
.testimonials-grid .testimonial-card { will-change: transform; }

/* ── Why section cleanup ─────────────────────────── */
.why-stat-box {
  background: var(--surface); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 32px;
}
.why-stat-box__headline { font-size: 1.6rem; margin-bottom: 12px; }
.why-stat-box__heading  { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.why-stat-box__body     { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

.why-grid {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center;
}
.why-grid__value { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.why-grid__label { color: var(--text-dim); font-size: 0.8rem; }

/* ── Why col — reusable right-column card stack ────── */
.why-col { display: flex; flex-direction: column; gap: 24px; }

/* Highlighted stat card (big number + small label) */
.why-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.why-stat-card__value { font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.why-stat-card__heading { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.why-stat-card__note { color: var(--text-dim); font-size: 0.82rem; }

/* "Who we work with" arrow list */
.why-list { display: flex; flex-direction: column; gap: 10px; }
.why-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.why-list li span { color: var(--primary-light); flex-shrink: 0; }

/* About history section */
.about-founded { background: linear-gradient(135deg,rgba(124,58,237,0.25),rgba(139,92,246,0.1)); border: 1px solid var(--border-bright); border-radius: var(--radius-xl); padding: 36px; }
.about-founded__year { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.about-founded__title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.about-founded__body { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.about-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.about-mini-card__value { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.about-mini-card__label { color: var(--text-dim); font-size: 0.82rem; }

/* ═══════════════════════════════════════════════════
   PREMIUM 3D DESIGN SYSTEM v3
   Deep dark · Glassmorphism · Grain · Bento · Tilt
   ═══════════════════════════════════════════════════ */

/* ── Root: restore original premium values ──────── */
:root {
  --bg:            #07071b;
  --bg-2:          #0c0c26;
  --bg-3:          #11112e;
  --surface:       rgba(255,255,255,0.04);
  --primary:       #7c3aed;
  --primary-mid:   #8b5cf6;
  --primary-light: #a78bfa;
  --primary-pale:  rgba(139,92,246,0.1);
  --accent:        #f59e0b;
  --accent-dark:   #d97706;
  --accent-light:  #fcd34d;
  --border:        rgba(139,92,246,0.18);
  --border-bright: rgba(139,92,246,0.45);
  --glow-sm:       0 0 20px rgba(124,58,237,0.2);
  --glow:          0 0 40px rgba(124,58,237,0.3);
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.5);
}

/* ── Grain texture overlay ──────────────────────── */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none;
  z-index: 3; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── 3D card base ────────────────────────────────── */
.card-3d { transform-style: preserve-3d; will-change: transform; }

.card-shine {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.3s ease; z-index: 2;
}
.card-3d:hover .card-shine { opacity: 1; }

/* Shimmer sweep on hover */
.service-card::after, .bento-card::after, .testimonial-card::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  transform: skewX(-15deg); pointer-events: none; z-index: 3;
  transition: none;
}
.service-card:hover::after, .bento-card:hover::after, .testimonial-card:hover::after {
  left: 150%; transition: left 0.65s ease;
}

/* ── Hero 3D perspective wrapper ─────────────────── */
.hero-3d-frame { perspective: 1200px; perspective-origin: 50% 45%; }

/* ── Bento grid ──────────────────────────────────── */
.bento-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  grid-auto-rows: minmax(180px,auto); gap: 16px;
}
.bento-card {
  background: rgba(255,255,255,0.034); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; cursor: pointer; position: relative; overflow: hidden;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.bento-card:hover { background: rgba(255,255,255,0.058); border-color: var(--border-bright); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.1); }

.bento-col-4 { grid-column: span 4; }
.bento-col-3 { grid-column: span 3; }
.bento-col-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }

.bento-featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.16) 0%, rgba(139,92,246,0.07) 100%);
  border-color: var(--border-bright);
}
.bento-featured > .bento-glow {
  position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.bento-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin: 0 0 8px; line-height: 1.25; }
.bento-featured h3 { font-size: 1.35rem; }
.bento-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.65; flex: 1; margin: 0; }
.bento-card__num { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: rgba(124,58,237,0.55); text-transform: uppercase; margin-bottom: 10px; display: block; }
.bento-card__icon-wrap { font-size: 2rem; line-height: 1; margin-bottom: 14px; display: block; }
.bento-card__pill {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px;
  background: var(--primary-pale); border: 1px solid var(--border);
  color: var(--primary-light); font-size: 0.72rem; font-weight: 600;
  margin-top: 14px; width: fit-content;
}
.bento-card__arrow {
  font-size: 0.95rem; color: var(--text-dim); margin-top: 10px; align-self: flex-end;
  transition: color 0.2s, transform 0.2s; display: block;
}
.bento-card:hover .bento-card__arrow { color: var(--accent); transform: translateX(4px); }

@media(max-width:1024px) {
  .bento-grid { grid-template-columns: repeat(4,1fr); }
  .bento-col-4 { grid-column: span 4; }
  .bento-col-2 { grid-column: span 2; }
  .bento-col-3 { grid-column: span 2; }
}
@media(max-width:640px) {
  .bento-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento-col-4,.bento-col-3,.bento-col-2 { grid-column: span 2; }
  .bento-row-2 { grid-row: span 1; }
  .bento-card { padding: 20px 18px; }
  .bento-featured h3 { font-size: 1.1rem; }
}
@media(max-width:440px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-col-4,.bento-col-3,.bento-col-2 { grid-column: span 1; }
}

/* ── Stats mega section ───────────────────────────── */
.stats-mega {
  background: var(--bg-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 80px 0;
  position: relative; overflow: hidden;
}
.stats-mega::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(124,58,237,0.07) 0%, transparent 70%);
}
.stats-mega__grid { display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 1; }
.stats-mega__item {
  padding: 24px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06); transition: background 0.25s;
}
.stats-mega__item:last-child { border-right: none; }
.stats-mega__item:hover { background: rgba(139,92,246,0.04); }
.stats-mega__num {
  display: block; font-size: clamp(2.8rem,5vw,4.2rem); font-weight: 900;
  line-height: 1; letter-spacing: -0.04em; margin-bottom: 10px;
  background: linear-gradient(135deg,var(--white) 40%,var(--primary-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stats-mega__label { color: var(--text-dim); font-size: 0.88rem; font-weight: 500; }
@media(max-width:768px) {
  .stats-mega__grid { grid-template-columns: 1fr 1fr; }
  .stats-mega__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 24px 16px; }
  .stats-mega__item:nth-child(2n+1) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stats-mega__item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Mega menu ────────────────────────────────────── */
.navbar__mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(8,8,26,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  z-index: 200;
  pointer-events: none;
}
.navbar__mega::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(8,8,26,0.98);
  border-left: 1px solid var(--border-bright);
  border-top: 1px solid var(--border-bright);
}
.navbar__nav-item--dropdown:hover .navbar__mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.navbar__mega-col {
  min-width: 0;
  padding: 8px 6px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.navbar__mega-col:last-child { border-right: none; }
.navbar__mega-cat {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px; border-radius: var(--radius);
  text-decoration: none; margin-bottom: 4px;
  transition: background 0.15s;
}
.navbar__mega-cat:hover { background: var(--primary-pale); }
.navbar__mega-cat-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.2; }
.navbar__mega-cat-text { min-width: 0; }
.navbar__mega-cat-name { display: block; font-size: 0.82rem; font-weight: 700; color: var(--white); line-height: 1.2; overflow-wrap: anywhere; }
.navbar__mega-cat-sub { display: block; font-size: 0.66rem; color: var(--text-dim); margin-top: 1px; overflow-wrap: anywhere; }
.navbar__mega-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 4px 8px 6px; }
.navbar__mega-links { display: flex; flex-direction: column; }
.navbar__mega-link {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 8px; border-radius: var(--radius);
  font-size: 0.74rem; font-weight: 500; color: var(--text-muted);
  line-height: 1.35; overflow-wrap: anywhere;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.navbar__mega-link::before { content: '→'; font-size: 0.68rem; color: var(--text-dim); flex-shrink: 0; }
.navbar__mega-link:hover { background: rgba(124,58,237,0.08); color: var(--white); }
.navbar__mega-link:hover::before { color: var(--primary-light); }
/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 12px 0 0; font-size: 0.78rem; color: var(--text-dim); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb__sep { color: var(--text-dim); font-size: 0.7rem; }
.breadcrumb__current { color: var(--text-muted); font-weight: 500; }


/* ═══════════════════════════════════════════════════
   PREMIUM COMPONENT SYSTEM
   Styles for reconstructed page layouts
   ═══════════════════════════════════════════════════ */

/* ── Section header ──────────────────────────────── */
.section-header {
  margin-bottom: 56px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ── Stats row (service hero bottom) ─────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 8px;
}
.stat-item { padding: 8px 28px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: .82rem; color: var(--text-dim); font-weight: 500; }
@media(max-width:700px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 12px; }
  .stat-item:nth-child(2n+1) { border-right: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Card system ─────────────────────────────────── */
.cards-grid { display: grid; gap: 20px; }
.cards-grid--1 { grid-template-columns: 1fr; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media(max-width:1000px) { .cards-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:860px)  { .cards-grid--3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px)  {
  .cards-grid--2,.cards-grid--3,.cards-grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: rgba(255,255,255,.038);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 30px rgba(124,58,237,.13);
  transform: translateY(-3px);
}
.card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(124,58,237,.06));
  border-color: var(--border-bright);
}
.card--link { text-decoration: none; color: inherit; display: block; cursor: pointer; }
.card--link:hover h3 { color: var(--primary-light); }

.card__icon { font-size: 2.2rem; display: block; margin-bottom: 6px; line-height: 1; }
.card h2 { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -.02em; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 12px 0 10px; transition: color .2s; }
.card h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.card p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; margin: 0; }
.card ul { display: flex; flex-direction: column; gap: 7px; list-style: none; padding: 0; margin: 12px 0 0; }
.card ul li {
  color: var(--text-muted);
  font-size: .85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.card ul li::before { content: '→'; color: var(--primary-light); font-size: .7rem; flex-shrink: 0; margin-top: 2px; }

/* Value/stat card variant */
.card__badge {
  display: inline-block;
  background: var(--accent);
  color: #1a0a00;
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.card__price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin: 10px 0 20px;
}
.card__price span { font-size: 1rem; font-weight: 400; color: var(--text-dim); }
.card__label { font-size: .75rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }

/* ── Process steps — premium numbered grid ─────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.45) 20%, rgba(124,58,237,.45) 80%, transparent);
  pointer-events: none;
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 22px 0;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(124,58,237,.12), 0 0 24px rgba(124,58,237,.4);
  animation: stepGlow 3s ease-in-out infinite;
  position: relative;
}
@keyframes stepGlow {
  0%,100% { box-shadow: 0 0 0 5px rgba(124,58,237,.12), 0 0 20px rgba(124,58,237,.38); }
  50%      { box-shadow: 0 0 0 7px rgba(124,58,237,.2),  0 0 38px rgba(124,58,237,.65); }
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 9px; }
.process-step p { color: var(--text-muted); font-size: .86rem; line-height: 1.6; }
@media(max-width:900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }
}
@media(max-width:560px) { .process-steps { grid-template-columns: 1fr; gap: 28px; } }

/* ── FAQ — styled details/summary accordion ─────── */
.faq-list { display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; }
details.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
details.faq-item:first-child { border-top: none; }
details.faq-item:last-child { border-bottom: none; }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  user-select: none;
  transition: color .2s;
}
details.faq-item summary::-webkit-details-marker,
details.faq-item summary::marker { display: none; content: ''; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s ease, color .2s;
  width: 26px;
  text-align: center;
  display: inline-block;
}
details.faq-item[open] summary { color: var(--primary-light); }
details.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary-light); }
details.faq-item summary:hover { color: var(--primary-light); }
details.faq-item summary:hover::after { color: var(--primary-light); }
details.faq-item > p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.72;
  padding: 0 4px 22px;
  margin: 0;
  animation: faqReveal .25s ease;
}
@keyframes faqReveal { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* ── Two-column layout ───────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media(max-width:900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ── Feature list ────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 26px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 46px; height: 46px;
  background: var(--primary-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.feature-item:hover .feature-icon { background: rgba(124,58,237,.18); border-color: var(--border-bright); }
.feature-item h4 { font-weight: 700; color: var(--white); margin-bottom: 4px; font-size: .96rem; }
.feature-item p  { color: var(--text-muted); font-size: .88rem; line-height: 1.62; }

/* ── ROI card ─────────────────────────────────────── */
.roi-card { padding: 28px; }
.roi-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.roi-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .9rem;
}
.roi-row:last-child { border-bottom: none; }
.roi-row span { color: var(--text-muted); }
.roi-row strong { color: var(--white); font-weight: 700; }
.roi-row--total { padding-top: 16px; margin-top: 4px; }
.roi-row--total span { color: var(--white); font-weight: 600; font-size: .96rem; }
.roi-row--total strong {
  font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── CTA banner inner ────────────────────────────── */
.cta-banner .cta-banner__inner,
.cta-banner__inner {
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(99,52,220,.06));
  border: 1px solid var(--border-bright);
  position: relative; overflow: hidden;
}
.cta-banner__inner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-banner__inner > * { position: relative; z-index: 1; }
.cta-banner__inner h2 {
  font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--white);
  margin-bottom: 14px; font-weight: 900; letter-spacing: -.03em;
}
.cta-banner__inner p {
  color: rgba(255,255,255,.72); font-size: 1.1rem;
  margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-banner__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media(max-width:600px) {
  .cta-banner__inner { padding: 48px 24px; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
}

/* ── Pricing card ────────────────────────────────── */
.pricing-card { padding: 32px; text-align: center; }
.pricing-card__badge {
  display: inline-block; background: var(--accent); color: #1a0a00;
  font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px;
}
.pricing-card__name {
  font-size: .78rem; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px;
}
.pricing-card__price {
  font-size: 2.2rem; font-weight: 900; color: var(--white);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 24px;
}
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--text-dim); letter-spacing: 0; }
.pricing-card ul {
  display: flex; flex-direction: column; gap: 9px;
  text-align: left; margin-bottom: 28px; list-style: none; padding: 0;
}
.pricing-card ul li {
  color: var(--text-muted); font-size: .88rem;
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.45;
}
.pricing-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar burger (reconstructed pages use navbar__burger) ── */
.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.navbar__burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar__cta { margin-left: 16px; }
@media(max-width:768px) {
  .navbar__burger { display: flex; }
  .navbar__cta { display: none; }
}

/* ── Scroll-reveal for new components ───────────── */
.card, .process-step, details.faq-item {
  will-change: transform;
}

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: .78rem; color: var(--text-dim); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb__sep { color: rgba(255,255,255,.2); font-size: .72rem; }
.breadcrumb__current { color: var(--text-muted); font-weight: 500; }

/* ── Extend scroll reveal observer ─────────────────── */
/* JS already handles .service-card, .bento-card etc.
   Add CSS transitions for .card and .process-step */
.card.reveal-ready, .process-step.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .55s ease var(--stagger,0ms), transform .55s ease var(--stagger,0ms); }
.card.revealed, .process-step.revealed { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   3D DASHBOARD — Hero visual
═══════════════════════════════════════════════════ */

/* Wrapper & float animation */
.dash3d-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: dashFloat 5s ease-in-out infinite;
}
@keyframes dashFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Card */
.dash3d {
  background: rgba(6,8,24,.95);
  border: 1px solid rgba(139,92,246,.28);
  border-radius: 20px;
  padding: 20px 22px;
  width: 100%;
  max-width: 430px;
  box-shadow: 0 28px 80px rgba(0,0,0,.65),
              0 0 0 1px rgba(139,92,246,.1),
              inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  transition: transform .7s cubic-bezier(.2,.8,.4,1);
}
.dash3d:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(.5deg) translateZ(14px);
}

/* Header */
.dash3d__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.dash3d__live-badge {
  display:flex; align-items:center; gap:6px;
  font-size:.63rem; font-weight:800; color:#4ade80;
  text-transform:uppercase; letter-spacing:.12em;
}
.dash3d__live-dot {
  width:7px; height:7px; border-radius:50%; background:#4ade80;
  animation: liveBlip 1.5s ease-in-out infinite;
}
@keyframes liveBlip {
  0%,100%{ box-shadow:0 0 0 0 rgba(74,222,128,.5); }
  50%    { box-shadow:0 0 0 5px rgba(74,222,128,0); }
}
.dash3d__period { font-size:.7rem; color:#475569; font-weight:600; }

/* KPI row */
.dash3d__kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:16px; }
.dash3d__kpi {
  background:rgba(124,58,237,.09); border:1px solid rgba(124,58,237,.2);
  border-radius:10px; padding:10px 8px; text-align:center;
  transition: border-color .2s, background .2s;
}
.dash3d__kpi:hover { background:rgba(124,58,237,.16); border-color:rgba(139,92,246,.4); }
.dash3d__kpi-val { display:block; font-size:1.25rem; font-weight:900; color:#fff; line-height:1; letter-spacing:-.03em; }
.dash3d__kpi-lbl { display:block; font-size:.56rem; color:#475569; margin:3px 0 5px; text-transform:uppercase; letter-spacing:.07em; }
.dash3d__kpi-delta { font-size:.64rem; font-weight:700; color:#4ade80; }

/* Chart container */
.dash3d__chart { margin-bottom:14px; }
.dash3d__month-labels {
  display:flex; justify-content:space-around;
  padding:0 10px; margin-bottom:5px;
}
.dash3d__month-labels span { font-size:.58rem; color:#374151; font-weight:600; }
.dash3d__svg-wrap {
  border-radius:10px; overflow:hidden;
  background:linear-gradient(180deg,rgba(124,58,237,.04) 0%,rgba(0,0,0,.08) 100%);
  border:1px solid rgba(255,255,255,.04); padding:10px 8px 6px;
}
.dash3d__svg { display:block; width:100%; }

/* Bar animations — transform-box lets us use center bottom origin */
.b3d-front, .b3d-right {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: b3dGrow 1s cubic-bezier(.34,1.56,.64,1) both;
}
.b3d-top {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: b3dGrow 1s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes b3dGrow { from{transform:scaleY(0);opacity:0} to{transform:scaleY(1);opacity:1} }

/* Trend line */
.b3d-line { animation: lineReveal 1.4s ease .75s forwards; }
@keyframes lineReveal { to{ stroke-dashoffset:0; } }

/* Dots */
.b3d-dot {
  transform-box:fill-box; transform-origin:center center;
  animation: dotPop .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes dotPop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }

/* ROAS label */
.b3d-label { animation: b3dGrow .5s ease both; }

/* Activity feed */
.dash3d__feed { display:flex; flex-direction:column; gap:6px; }
.dash3d__feed-item {
  display:flex; align-items:center; gap:9px;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.05);
  border-radius:8px; padding:8px 11px;
}
.dash3d__feed-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.dash3d__feed-dot--green { background:#4ade80; animation:liveBlip 1.5s ease-in-out infinite; }
.dash3d__feed-dot--purple { background:#a78bfa; animation:liveBlip 1.5s ease-in-out .5s infinite; }
.dash3d__feed-text { flex:1; font-size:.74rem; color:#94a3b8; }
.dash3d__feed-time { font-size:.62rem; color:#374151; white-space:nowrap; }

/* Floating badges */
.dash3d__badge {
  position:absolute; background:rgba(255,255,255,.97);
  border-radius:14px; padding:10px 14px;
  box-shadow:0 10px 36px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.9);
  display:flex; align-items:center; gap:9px; white-space:nowrap; z-index:5;
  animation: floatBadge 4s ease-in-out infinite;
  border:1px solid rgba(255,255,255,.8);
}
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.dash3d__badge--top { top:-14px; right:-16px; animation-delay:-1.5s; flex-direction:column; align-items:flex-start; gap:2px; }
.dash3d__badge--bot { bottom:-10px; left:-16px; animation-delay:-3s; }
.dash3d__badge-val { font-size:1.2rem; font-weight:900; color:#7c3aed; line-height:1; }
.dash3d__badge-lbl { font-size:.62rem; color:#64748b; }
.dash3d__badge-dot {
  width:8px; height:8px; border-radius:50%; background:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.22); flex-shrink:0;
  animation:liveBlip 1.5s ease-in-out infinite;
}

/* Responsive */
@media(max-width:768px) {
  .dash3d {  }
  .dash3d:hover {  }
  .dash3d__badge { display:none; }
}

/* ═══════════════════════════════════════════════════
   HERO — index.html layout (stacked: text top, slideshow bottom)
═══════════════════════════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero__inner {
  display: block;
  padding: calc(var(--nav-h) + 72px) 24px 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__left {
  max-width: 640px;
  padding-bottom: 52px;
}
/* Slideshow host takes full width */
.hero__right.hero__slideshow-host {
  width: 100%;
  flex: 1;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 56px;
}

.hero__h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 520px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__trust span {
  font-size: .82rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Badge variant */
.badge { display:inline-flex; align-items:center; gap:6px; padding:5px 14px; border-radius:50px; font-size:.78rem; font-weight:700; letter-spacing:.04em; }
.badge--purple { background:rgba(124,58,237,.1); color:var(--primary-light); border:1px solid rgba(124,58,237,.28); }

/* Tech strip */
.tech-strip { background:var(--bg-2); padding:28px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section--tight { padding:28px 0; }
.tech-strip__label { text-align:center; color:var(--text-dim); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em; margin-bottom:16px; }
.tech-strip__logos { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.tech-strip__logos span {
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 14px; border-radius:50px;
  background:rgba(255,255,255,.04); border:1px solid var(--border);
  font-size:.8rem; font-weight:600; color:var(--text-muted);
  transition:all .2s; cursor:default;
}
.tech-strip__logos span:hover {
  background:var(--primary-pale); border-color:var(--border-bright);
  color:var(--white); transform:translateY(-2px);
}

/* Responsive hero */
@media(max-width:900px) {
  .hero__inner { grid-template-columns:1fr; padding:calc(var(--nav-h) + 48px) 20px 64px; gap:40px; }
  .hero__right { display:none; }
}
@media(max-width:600px) {
  .hero__h1 { font-size:clamp(2.2rem,7vw,3.2rem); }
}


/* ═══════════════════════════════════════════════════
   SERVICE HERO SLIDESHOW — v2 Clean Premium
═══════════════════════════════════════════════════ */

/* ── Hero layout: stacked so slideshow gets full width ── */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 72px) 24px 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  gap: 0;
}
.hero__left {
  max-width: 660px;
  padding-bottom: 56px;
  position: relative;
  z-index: 5;
}
.hero__right.hero__slideshow-host {
  width: 100%;
  position: relative;
  padding-bottom: 64px;
}

/* ── Slideshow stage: full-width horizontal coverflow ── */
.svc-show-stage {
  position: relative;
  width: 100%;
  height: 340px;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* track is centered, cards overflow via perspective */
.svc-show-track {
  position: relative;
  width: 300px;
  height: 320px;
  flex-shrink: 0;
}

/* ── Card base — premium glass ── */
.svc-show-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 280px;
  height: 320px;
  background: rgba(8,10,28,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 24px;
  padding: 18px 18px 14px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06),
              0 1px 3px rgba(0,0,0,.3);
  transition: box-shadow .4s ease, border-color .4s ease;
  /* JS controls transform, opacity, pointer-events */
}
/* Subtle top-edge shine */
.svc-show-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}

/*.svc-show-card.is-front {
  border-color: rgba(139,92,246,.55) !important;
  box-shadow: 0 0 0 1px rgba(139,92,246,.15),
              0 24px 72px rgba(0,0,0,.65),
              0 0 55px rgba(124,58,237,.22) !important;
}
.svc-show-card.is-front .svc-show-icon {
  background: rgba(124,58,237,.28) !important;
  border-color: rgba(139,92,246,.55) !important;
}

/* Visual area */
.svc-show-visual {
  height: 260px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  position: relative !important;
  margin-bottom: 14px !important;
}

/* Text sizes */
.svc-show-name { font-size: .9rem !important; font-weight: 700 !important; }
.svc-show-sub  { font-size: .68rem !important; }
.svc-show-icon { width: 40px !important; height: 40px !important; font-size: 1.1rem !important; }
.svc-show-header { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 12px !important; }

/* Dots + progress */
.svc-show-dots {
  position: absolute !important; bottom: 10px !important;
  left: 50% !important; transform: translateX(-50%) !important;
  display: flex !important; gap: 6px !important; z-index: 30 !important;
}
.svc-show-progress {
  position: absolute !important; bottom: 2px !important;
  left: 50% !important; transform: translateX(-50%) !important; z-index: 30 !important;
}

/* Kill old data-pos animation system */
.svc-show-card[data-pos],
.svc-show-card.is-active,
.svc-show-card.is-near { animation: none !important; }

/* Responsive */
@media (max-width: 700px) {
  .svc-show-card   { width: 290px !important; height: 400px !important; margin-left:-145px !important; margin-top:-200px !important; }
  .svc-show-visual { height: 210px !important; }
  .svc-show-stage  { height: 440px !important; perspective: 900px !important; }
}

/* ═══════════════════════════════════════════════════
   OVAL CAROUSEL — pure 2D, reliable, impressive
═══════════════════════════════════════════════════ */

/* Stage: centered reference for cards */
.svc-show-stage {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* No perspective/preserve-3d needed */
.svc-show-track {
  position: relative !important;
  width: 0 !important;
  height: 0 !important;
  transform-style: flat !important;
}

/* Cards: centred on track anchor, JS moves them */
.svc-show-card {
  position: absolute !important;
  width: 340px !important;
  height: 460px !important;
  top: 0 !important; left: 0 !important;
  margin-left: -170px !important;
  margin-top: -230px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(139,92,246,.2) !important;
  padding: 0 !important;
  cursor: pointer !important;
  will-change: transform, opacity !important;
  transition: box-shadow .35s ease, border-color .35s ease !important;
  overflow: hidden !important;
  transform-origin: center center !important;
  background: rgba(9,11,32,.97) !important;
}
.svc-show-card.is-front {
  border-color: rgba(139,92,246,.52) !important;
  box-shadow: 0 0 0 1px rgba(139,92,246,.15),
              0 20px 60px rgba(0,0,0,.65),
              0 0 50px rgba(124,58,237,.22) !important;
}

/* Coloured top-stripe per service */
.svc-show-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  height: 4px !important;
  z-index: 2 !important;
}
.svc-show-card[data-idx="0"]::before { background: linear-gradient(90deg,#f59e0b,#fcd34d) !important; }
.svc-show-card[data-idx="1"]::before { background: linear-gradient(90deg,#7c3aed,#a78bfa) !important; }
.svc-show-card[data-idx="2"]::before { background: linear-gradient(90deg,#3b82f6,#67e8f9) !important; }
.svc-show-card[data-idx="3"]::before { background: linear-gradient(90deg,#22c55e,#86efac) !important; }
.svc-show-card[data-idx="4"]::before { background: linear-gradient(90deg,#8b5cf6,#c4b5fd) !important; }

/* Card interior */
.svc-card-body {
  padding: 20px 18px 14px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* Card header */
.svc-show-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
.svc-show-icon {
  width: 40px !important; height: 40px !important;
  background: rgba(124,58,237,.15) !important;
  border: 1px solid rgba(124,58,237,.3) !important;
  border-radius: 10px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 1.1rem !important; flex-shrink: 0 !important;
}
.svc-show-name { font-size: .88rem !important; font-weight: 700 !important; color: #fff !important; }
.svc-show-sub  { font-size: .64rem !important; color: var(--text-dim) !important; margin-top: 1px !important; }

/* Visual area */
.svc-show-visual {
  flex: 1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  position: relative !important;
  margin-bottom: 14px !important;
  min-height: 220px !important;
}

/* Footer */
.svc-show-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.svc-show-stat {
  display: inline-flex !important; align-items: center !important;
  padding: 3px 10px !important; border-radius: 20px !important;
  background: rgba(124,58,237,.1) !important; border: 1px solid rgba(124,58,237,.22) !important;
  font-size: .7rem !important; font-weight: 700 !important; color: var(--primary-light) !important;
}
.svc-show-link {
  font-size: .72rem !important; font-weight: 600 !important;
  color: var(--text-dim) !important; text-decoration: none !important;
  transition: color .2s !important;
}
.svc-show-card.is-front .svc-show-link { color: var(--primary-light) !important; }

/* Dots + progress */
.svc-show-dots {
  position: absolute !important; bottom: 12px !important;
  left: 50% !important; transform: translateX(-50%) !important;
  display: flex !important; gap: 6px !important; z-index: 30 !important;
}
.svc-show-progress {
  position: absolute !important; bottom: 4px !important;
  left: 50% !important; transform: translateX(-50%) !important; z-index: 30 !important;
}

/* Hero overflow: must be visible */
.hero, .hero__inner, .hero__right,
.hero__right.hero__slideshow-host {
  overflow: visible !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.hero__right.hero__slideshow-host {
  position: relative !important;
  min-height: 580px !important;
  padding-bottom: 72px !important;
}

/* Edge fade siblings */
.svc-edge-fade { position: absolute !important; top: 0 !important; bottom: 0 !important; width: 160px !important; pointer-events: none !important; z-index: 25 !important; }
.svc-edge-fade--left  { left: 0 !important; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%) !important; }
.svc-edge-fade--right { right: 0 !important; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%) !important; }

/* Kill ALL old data-pos and position-based transforms */
.svc-show-card[data-pos],
.svc-show-card.is-active, .svc-show-card.is-near { animation: none !important; }

@media (max-width:700px) {
  .svc-show-card   { width: 290px !important; height: 410px !important; margin-left:-145px !important; margin-top:-205px !important; }
  .svc-show-visual { min-height: 180px !important; }
  .svc-show-stage  { height: 460px !important; }
}

/* === CAROUSEL FINAL FIX === */
/* Stage: sized container, overflow visible so cards spill out */
.svc-show-stage {
  position: relative !important;
  width: 100% !important;
  height: 520px !important;
  overflow: visible !important;
  display: block !important;
}
/* Track: absolutely centred anchor point — JS translateX moves cards from here */
.svc-show-track {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  transform: none !important;
  transform-style: flat !important;
}
/* Cards: centred on the anchor via negative margins; JS sets transform + opacity + zIndex */
.svc-show-card {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 340px !important;
  height: 460px !important;
  margin-left: -170px !important;
  margin-top: -230px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  will-change: transform, opacity !important;
  transition: box-shadow .4s ease, border-color .4s ease !important;
  /* JS sets transform and opacity every frame — no CSS override */
}
/* Remove ALL old transform overrides */
.svc-show-card[data-pos] { animation: none !important; transform: none !important; }
/* Hero ancestors must not clip */
.hero, .hero__inner, .hero__right, .hero__slideshow-host,
.hero__right.hero__slideshow-host {
  overflow: visible !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}
.hero__right.hero__slideshow-host {
  position: relative !important;
  min-height: 580px !important;
  padding-bottom: 64px !important;
}
/* Per-card gradient backgrounds (jobs-to-be-done colour cues) */
.svc-show-card[data-idx="0"] { background: linear-gradient(145deg, rgba(245,158,11,.15) 0%, rgba(9,11,32,.97) 50%) !important; border-color: rgba(245,158,11,.25) !important; }
.svc-show-card[data-idx="1"] { background: linear-gradient(145deg, rgba(124,58,237,.18) 0%, rgba(9,11,32,.97) 50%) !important; }
.svc-show-card[data-idx="2"] { background: linear-gradient(145deg, rgba(59,130,246,.15) 0%, rgba(9,11,32,.97) 50%) !important; border-color: rgba(59,130,246,.25) !important; }
.svc-show-card[data-idx="3"] { background: linear-gradient(145deg, rgba(34,197,94,.12) 0%, rgba(9,11,32,.97) 50%) !important; border-color: rgba(34,197,94,.22) !important; }
.svc-show-card[data-idx="4"] { background: linear-gradient(145deg, rgba(139,92,246,.15) 0%, rgba(9,11,32,.97) 50%) !important; }
/* Responsive */
@media (max-width:700px) {
  .svc-show-stage { height: 460px !important; }
  .svc-show-card  { width: 290px !important; height: 410px !important; margin-left:-145px !important; margin-top:-205px !important; }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE HERO — Growth Command Center
═══════════════════════════════════════════════════ */
.hero-command {
  min-height: min(920px, 96svh) !important;
  isolation: isolate;
  overflow: hidden !important;
  background:
    linear-gradient(115deg, rgba(245,158,11,.09) 0%, transparent 28%),
    radial-gradient(ellipse at 82% 18%, rgba(124,58,237,.18), transparent 36%),
    linear-gradient(180deg, #060616 0%, #08091f 62%, var(--bg-2) 100%);
}

.hero-command::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.88), transparent 78%);
  opacity: .32;
  pointer-events: none;
}

.hero-command__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}

.hero-command__grid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 180px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(245,158,11,.08));
  border-top: 1px solid rgba(245,158,11,.12);
}

.hero-command__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 560px);
  gap: 64px;
  align-items: center;
  min-height: min(860px, 90svh);
  padding-top: calc(var(--nav-h) + 54px);
  padding-bottom: 48px;
}

.hero-command__copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  max-width: 690px;
}

.hero-command__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(245,158,11,.34);
  border-radius: 999px;
  background: rgba(245,158,11,.08);
  color: #f8d283;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-command__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(74,222,128,.13);
  animation: liveBlip 1.5s ease-in-out infinite;
}

.hero-command__h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #fffaf1;
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-size: clamp(3rem, 5.35vw, 5.65rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-command__h1 span {
  display: block;
  width: max-content;
  max-width: none;
  padding-right: .16em;
  overflow: visible;
}

.hero-command__sub {
  max-width: 620px;
  margin-bottom: 34px;
  color: #b7c0d5;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.hero-command__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-command__ctas .btn {
  border-radius: 12px;
  min-height: 52px;
}

.hero-command__ctas .btn-purple {
  background: linear-gradient(135deg, #f59e0b 0%, #fcd34d 100%);
  color: #160d03;
  box-shadow: 0 18px 44px rgba(245,158,11,.24);
}

.hero-command__ctas .btn-outline {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
}

.hero-proof__item {
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,.09);
}

.hero-proof__item:last-child {
  border-right: 0;
}

.hero-proof__item strong {
  display: block;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.24rem;
  line-height: 1.1;
}

.hero-proof__item span {
  display: block;
  margin-top: 4px;
  color: #8792aa;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-command__visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.command-shell {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035) 42%),
    rgba(8,10,28,.74);
  box-shadow: 0 30px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.command-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245,158,11,.12);
  pointer-events: none;
}

.command-shell__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 14px;
  color: #aeb8cf;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.command-shell__status {
  color: #4ade80;
}

.command-shell__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
}

.growth-brief {
  min-height: 420px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(135deg, rgba(245,158,11,.12), transparent 38%),
    linear-gradient(180deg, rgba(12,14,38,.96), rgba(7,8,25,.98));
}

.growth-brief__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: 'IBM Plex Mono', monospace;
}

.growth-brief__header span {
  color: #8e98ad;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.growth-brief__header strong {
  color: #fcd34d;
  font-size: .86rem;
  white-space: nowrap;
}

.growth-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 28px;
}

.growth-flow__step {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
}

.growth-flow__step--hot {
  border-color: rgba(245,158,11,.36);
  background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(245,158,11,.04));
}

.growth-flow__step span {
  width: fit-content;
  grid-row: 1 / span 2;
  padding: 4px 7px;
  color: #f8d283;
  border: 1px solid rgba(245,158,11,.28);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 700;
}

.growth-flow__step strong {
  color: #fff;
  font-size: 1.02rem;
}

.growth-flow__step p {
  margin-top: 8px;
  color: #99a4ba;
  font-size: .84rem;
  line-height: 1.45;
}

.growth-flow__line {
  display: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,158,11,.2), rgba(245,158,11,.75));
}

.metric-rail {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-rail__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
}

.metric-rail__item span {
  color: #7f8aa1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric-rail__item strong {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.34rem;
  line-height: 1;
}

.hero-routes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.hero-route {
  min-height: 84px;
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.hero-route:hover,
.hero-route:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,.45);
  background: rgba(245,158,11,.08);
  outline: none;
}

.hero-route span {
  display: block;
  color: #f8d283;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-route strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: .82rem;
  line-height: 1.2;
}

@media (max-width: 1080px) {
  .hero-command {
    min-height: auto !important;
  }

  .hero-command__inner {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 46px);
    padding-bottom: 54px;
  }

  .hero-command__copy {
    max-width: 800px;
  }

  .hero-command__h1 {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .hero-command {
    overflow: hidden !important;
  }

  .hero-command__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 18px;
    padding-top: calc(var(--nav-h) + 34px);
    padding-bottom: 42px;
    overflow: hidden;
  }

  .hero-command__copy,
  .hero-command__visual,
  .hero-command__ctas,
  .hero-proof,
  .command-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-command__h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10vw, 3rem);
    line-height: .96;
    overflow-wrap: break-word;
  }

  .hero-command__sub {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-command__ctas .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .hero-proof__item:last-child {
    border-bottom: 0;
  }

  .command-shell {
    padding: 10px;
  }

  .command-shell::before {
    display: none;
  }

  .command-shell__main {
    grid-template-columns: 1fr;
  }

  .growth-brief {
    min-height: auto;
    padding: 16px;
  }

  .growth-brief__header {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
  }

  .growth-brief__header strong {
    white-space: normal;
  }

  .growth-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 18px;
  }

  .growth-flow__step {
    min-height: 0;
    padding: 14px;
  }

  .growth-flow__line {
    display: none;
  }

  .metric-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .metric-rail__item {
    min-height: 92px;
  }

  .hero-routes {
    grid-template-columns: 1fr;
  }

  .hero-route {
    min-height: 62px;
  }

  .hero-route strong {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .metric-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero-command__copy,
  .hero-command__visual,
  .hero-command__ctas,
  .hero-proof,
  .command-shell {
    max-width: 340px;
  }

  .hero-command__h1,
  .hero-command__sub {
    max-width: 340px;
  }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE TOP REWORK — header, rotator, service rail
═══════════════════════════════════════════════════ */
.navbar {
  height: 76px;
  background: linear-gradient(180deg, rgba(7,7,27,.94), rgba(7,7,27,.78));
  border-bottom: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.navbar.scrolled {
  background: rgba(7,7,27,.97);
  border-color: rgba(245,158,11,.22);
}

.navbar__inner {
  max-width: 1160px;
}

.navbar__logo {
  letter-spacing: 0;
}

.navbar__nav {
  gap: 12px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.navbar__nav > li > a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.navbar__nav > li > a::after {
  display: none;
}

.navbar__nav > li > a:hover,
.navbar__nav > li > a.active {
  color: #fffaf1;
  background: rgba(245,158,11,.1);
}

.navbar__cta {
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  box-shadow: 0 16px 34px rgba(124,58,237,.28);
}

.hero-command {
  min-height: auto !important;
}

.hero-command__inner {
  grid-template-columns: minmax(0, .9fr) minmax(430px, 520px);
  gap: 72px;
  align-items: center;
  min-height: min(720px, calc(100svh - 76px));
  padding-top: calc(var(--nav-h) + 34px);
  padding-bottom: 24px;
}

.hero-command__h1 {
  font-size: clamp(3.4rem, 5vw, 5.05rem);
}

.hero-command__visual {
  align-self: center;
}

.hero-service-rotator {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(245,158,11,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.026)),
    rgba(8,10,28,.82);
  box-shadow: 0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.09);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-service-rotator::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245,158,11,.12);
  border-radius: 22px;
  pointer-events: none;
}

.hero-service-rotator::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, rgba(252,211,77,.2), transparent);
  animation: missionScan 5s linear infinite;
}

.hero-service-rotator__top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  color: #96a0b8;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-service-rotator__top strong {
  color: #fcd34d;
}

.hero-service-card {
  position: absolute;
  inset: 72px 20px 78px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035) 40%),
    rgba(9,10,28,.94);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease;
  overflow: hidden;
}

.hero-service-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
  border-color: rgba(245,158,11,.32);
}

.hero-service-card__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.24), transparent 65%);
  pointer-events: none;
}

.hero-service-card__kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 999px;
  color: #f8d283;
  background: rgba(245,158,11,.08);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-service-card h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-size: clamp(2.05rem, 4vw, 3.6rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero-service-card p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  color: #aeb8cf;
  font-size: .98rem;
  line-height: 1.58;
}

.hero-service-card__metric {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-service-card__metric strong {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 3.6rem;
  line-height: .85;
}

.hero-service-card__metric span {
  padding-bottom: 5px;
  color: #fcd34d;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-live-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.hero-live-actions span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  color: #d7deeb;
  background: rgba(255,255,255,.04);
  font-size: .86rem;
  font-weight: 650;
}

.hero-live-actions i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74,222,128,.12);
  flex-shrink: 0;
}

.hero-service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 999px;
  color: #190f05;
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  font-weight: 800;
}

.hero-rotator-tabs {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.hero-rotator-tabs button {
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  cursor: pointer;
}

.hero-rotator-tabs button.is-active {
  background: linear-gradient(90deg, #f59e0b, #fcd34d);
}

.hero-service-rail {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 22px;
  background: rgba(8,10,28,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-service-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #e9edf7;
  background: rgba(255,255,255,.045);
  font-size: .84rem;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-service-rail a:hover,
.hero-service-rail a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245,158,11,.42);
  background: rgba(245,158,11,.11);
  outline: none;
}

.marquee-strip--legacy {
  display: none;
}

@keyframes missionScan {
  0% { transform: translateX(-35%); opacity: .25; }
  25% { opacity: 1; }
  100% { transform: translateX(80%); opacity: .15; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-service-rotator::after {
    animation: none;
  }

  .hero-service-card {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero-command__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .hero-service-rotator {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .navbar {
    height: var(--nav-h);
  }

  .navbar__nav {
    display: none;
  }

  .hero-command__inner {
    padding-bottom: 28px;
  }

  .hero-proof {
    display: none;
  }

  .hero-service-rotator {
    min-height: 540px;
    border-radius: 22px;
  }

  .hero-service-card {
    inset: 66px 12px 72px;
    padding: 20px;
    border-radius: 18px;
  }

  .hero-service-card h2 {
    font-size: 2.35rem;
  }

  .hero-service-card__metric strong {
    font-size: 2.85rem;
  }

  .hero-rotator-tabs {
    left: 14px;
    right: 14px;
    bottom: 20px;
  }

  .hero-service-rail {
    width: calc(100% - 36px);
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px;
    margin-bottom: 18px;
    scrollbar-width: none;
  }

  .hero-service-rail::-webkit-scrollbar {
    display: none;
  }

  .hero-service-rail a {
    flex: 0 0 auto;
  }
}

/* Final hero rotator fit pass */
.hero-service-card {
  padding: 24px;
}

.hero-service-card h2 {
  font-size: clamp(2rem, 3.45vw, 3.05rem);
}

.hero-service-card p {
  font-size: .94rem;
  line-height: 1.5;
}

.hero-service-card__metric {
  margin: 20px 0 16px;
}

.hero-service-card__metric strong {
  font-size: 3.05rem;
}

.hero-live-actions {
  gap: 7px;
}

.hero-live-actions span {
  padding: 8px 11px;
  font-size: .82rem;
}

.hero-live-actions span:nth-child(n+3) {
  display: none;
}

.hero-service-card__link {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin-top: 12px;
  padding: 10px 13px;
}

.hero-live-actions {
  padding-bottom: 48px;
}

.hero-service-rotator {
  min-height: 560px;
}

.hero-service-card {
  inset: 72px 20px 62px;
}

@media (max-width: 760px) {
  .hero-command__h1 {
    font-size: clamp(2.1rem, 8.8vw, 2.35rem);
  }

  .hero-service-card {
    inset: 66px 12px 60px;
    padding: 18px;
  }

  .hero-service-card__link {
    left: 18px;
    bottom: 16px;
  }

  .hero-live-actions {
    padding-bottom: 44px;
  }

  .hero-service-card h2 {
    font-size: 2.05rem;
  }

  .hero-service-card__metric strong {
    font-size: 2.45rem;
  }
}

/* ═══════════════════════════════════════════════════
   LIVING HOMEPAGE PASS — motion-inspired modules
═══════════════════════════════════════════════════ */
:root {
  --ink: #fffaf1;
  --signal: #fcd34d;
  --cyan: #22d3ee;
}

.hero-command {
  background:
    linear-gradient(115deg, rgba(34,211,238,.12) 0%, transparent 24%),
    radial-gradient(ellipse at 84% 18%, rgba(245,158,11,.18), transparent 34%),
    linear-gradient(180deg, #050511 0%, #09091b 56%, #0b1021 100%) !important;
}

.hero-command::before {
  background:
    linear-gradient(90deg, rgba(252,211,77,.08) 1px, transparent 1px),
    linear-gradient(rgba(34,211,238,.06) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  animation: livingGrid 18s linear infinite;
}

.hero-command__grid {
  height: 220px;
  background:
    linear-gradient(180deg, transparent, rgba(34,211,238,.08)),
    linear-gradient(90deg, rgba(252,211,77,.16) 1px, transparent 1px),
    linear-gradient(rgba(252,211,77,.1) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  transform: perspective(320px) rotateX(58deg);
  transform-origin: bottom center;
}

.hero-command__h1 {
  color: var(--ink);
}

.hero-command__h1 span:nth-child(2),
.hero-command__h1 span:nth-child(4) {
  color: transparent;
  background: linear-gradient(90deg, #fcd34d, #22d3ee 58%, #fffaf1);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-command__badge,
.hero-service-card__kicker {
  border-radius: 8px;
}

.hero-service-rotator {
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34,211,238,.12), transparent 30%),
    linear-gradient(315deg, rgba(245,158,11,.16), transparent 42%),
    rgba(8,10,28,.9);
}

.hero-service-rotator::before,
.hero-service-card {
  border-radius: 8px;
}

.hero-service-card {
  background:
    linear-gradient(145deg, rgba(255,250,241,.1), rgba(255,255,255,.03) 42%),
    linear-gradient(180deg, rgba(11,16,33,.96), rgba(5,5,17,.98));
}

.hero-service-card.is-active {
  animation: activeCardPop .38s cubic-bezier(.2,.8,.2,1);
}

.hero-live-actions span {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-live-actions span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.12), transparent);
  transform: translateX(-100%);
  animation: rowSweep 3.4s ease-in-out infinite;
}

.hero-service-rail,
.tech-strip--kinetic {
  border-radius: 8px;
}

.tech-strip--kinetic {
  overflow: hidden;
  background: #070a17;
}

.tech-strip--kinetic .container {
  max-width: none;
  padding: 0;
}

.tech-strip--kinetic .tech-strip__label {
  margin-bottom: 12px;
  color: #f8d283;
  font-family: 'IBM Plex Mono', monospace;
}

.tech-strip--kinetic .tech-strip__logos {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  padding-inline: 24px;
  animation: kineticTicker 32s linear infinite;
}

.tech-strip--kinetic .tech-strip__logos span {
  min-width: max-content;
  border-radius: 8px;
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  color: #dbe4f4;
}

.kinetic-services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0b1021 0%, #07071b 100%);
}

.kinetic-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 10%, black 0%, transparent 72%);
  pointer-events: none;
}

.kinetic-services .container {
  position: relative;
  z-index: 1;
}

.section-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f8d283;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kinetic-services .section-header h2 {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ink);
}

.kinetic-services .section-header p {
  max-width: 690px;
  margin-inline: auto;
}

.kinetic-services .bento-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border-color: rgba(255,255,255,.11);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025) 42%),
    #0a0d1c;
  overflow: hidden;
}

.kinetic-services .bento-card::before {
  background: linear-gradient(90deg, #22d3ee, #fcd34d, #7c3aed);
  transform: scaleX(1);
  opacity: .78;
}

.kinetic-services .bento-card:hover {
  border-color: rgba(252,211,77,.38);
  box-shadow: 0 24px 72px rgba(0,0,0,.32), 0 0 0 1px rgba(252,211,77,.1);
}

.kinetic-services .bento-card__pill {
  border-radius: 8px;
  color: #f8d283;
  background: rgba(245,158,11,.08);
  border-color: rgba(245,158,11,.22);
}

.kinetic-services .bento-card__num {
  color: rgba(255,250,241,.15);
  font-family: 'IBM Plex Mono', monospace;
}

.kinetic-services .bento-card h3 {
  max-width: 460px;
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

.kinetic-services .bento-featured h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.bento-motion {
  position: relative;
  min-height: 118px;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.bento-motion--chart {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px;
}

.bento-motion--chart span {
  flex: 1;
  height: var(--h);
  min-height: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #fcd34d, rgba(34,211,238,.36));
  transform-origin: bottom;
  animation: chartPulse 2.6s ease-in-out infinite;
}

.bento-motion--chart span:nth-child(2n) {
  animation-delay: .34s;
}

.bento-motion--nodes {
  min-height: 150px;
}

.bento-motion--nodes::before,
.bento-motion--nodes::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(34,211,238,.2);
  border-radius: 50%;
}

.bento-motion--nodes::after {
  inset: 48px;
  border-color: rgba(252,211,77,.22);
  animation: nodeSpin 8s linear infinite;
}

.bento-motion--nodes i {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 20px rgba(34,211,238,.7);
}

.bento-motion--nodes i:nth-child(1) { left: 22%; top: 26%; }
.bento-motion--nodes i:nth-child(2) { right: 18%; top: 33%; background: #fcd34d; }
.bento-motion--nodes i:nth-child(3) { left: 46%; bottom: 20%; }
.bento-motion--nodes i:nth-child(4) { right: 38%; top: 50%; background: #a78bfa; }

.bento-motion--pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.bento-motion--pipeline span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #e9edf7;
  font-size: .78rem;
  font-weight: 800;
}

.bento-motion--pipeline span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  width: 14px;
  height: 1px;
  background: #fcd34d;
}

.bento-motion--code {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
}

.bento-motion--code span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, rgba(34,211,238,.18));
  animation: codeLoad 3.2s ease-in-out infinite;
}

.bento-motion--code span:nth-child(2) {
  width: 72%;
  animation-delay: .2s;
}

.bento-motion--code span:nth-child(3) {
  width: 46%;
  animation-delay: .4s;
}

.bento-motion--radar {
  display: grid;
  place-items: center;
  min-height: 150px;
}

.bento-motion--radar i {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(252,211,77,.35);
  background:
    conic-gradient(from 0deg, rgba(252,211,77,.42), transparent 30%),
    radial-gradient(circle, rgba(34,211,238,.16), transparent 58%);
  animation: nodeSpin 4.8s linear infinite;
}

.stats-mega--kinetic {
  background:
    linear-gradient(90deg, rgba(34,211,238,.08), transparent 36%),
    #070a17;
}

.stats-mega--kinetic .stats-mega__item {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.stats-mega--kinetic .stats-mega__val {
  color: #fffaf1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.stats-mega--kinetic .stats-mega__lbl {
  margin-top: 10px;
}

.stats-mega--kinetic .stats-mega__item i {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  overflow: hidden;
}

.stats-mega--kinetic .stats-mega__item i::before {
  content: "";
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #fcd34d);
  animation: statGrow 2.8s ease-in-out infinite;
}

@keyframes livingGrid {
  to { background-position: 72px 72px; }
}

@keyframes activeCardPop {
  from { transform: translateY(22px) scale(.98); filter: blur(2px); }
  to { transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes rowSweep {
  0%, 35% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes kineticTicker {
  to { transform: translateX(-50%); }
}

@keyframes chartPulse {
  0%, 100% { transform: scaleY(.78); opacity: .72; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes nodeSpin {
  to { transform: rotate(360deg); }
}

@keyframes codeLoad {
  0%, 100% { transform: scaleX(.48); opacity: .56; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes statGrow {
  0%, 100% { transform: scaleX(.72); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-command::before,
  .tech-strip--kinetic .tech-strip__logos,
  .bento-motion *,
  .bento-motion--nodes::after,
  .bento-motion--radar i,
  .stats-mega--kinetic .stats-mega__item i::before,
  .hero-live-actions span::after {
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .tech-strip--kinetic .tech-strip__logos {
    animation-duration: 24s;
  }

  .kinetic-services .bento-card {
    min-height: 260px;
  }

  .bento-motion {
    min-height: 104px;
  }

  .stats-mega--kinetic .stats-mega__item {
    min-height: 132px;
  }
}

/* ═══════════════════════════════════════════════════
   FINAL HOMEPAGE SYSTEM — clean premium interactive
   Supersedes earlier homepage hero/kinetic passes.
═══════════════════════════════════════════════════ */
:root {
  --future-bg: #050712;
  --future-panel: rgba(9, 13, 26, .72);
  --future-panel-strong: rgba(12, 18, 34, .9);
  --future-line: rgba(187, 210, 236, .13);
  --future-line-strong: rgba(34, 211, 238, .34);
  --future-cyan: #22d3ee;
  --future-gold: #f6c453;
  --future-text: #f8fbff;
  --future-muted: #9aa8bd;
}

.hero-command {
  min-height: auto !important;
  padding: 0;
  isolation: isolate;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at 58% 8%, rgba(34, 211, 238, .12), transparent 34%),
    radial-gradient(ellipse at 88% 28%, rgba(246, 196, 83, .12), transparent 30%),
    linear-gradient(180deg, #050712 0%, #080b18 56%, #07101d 100%) !important;
}

.hero-command::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 82%);
  opacity: .55;
  animation: futureGridDrift 24s linear infinite;
}

.hero-command::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, .06) 100%),
    linear-gradient(90deg, rgba(34,211,238,.13) 1px, transparent 1px),
    linear-gradient(rgba(246,196,83,.08) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  transform: perspective(360px) rotateX(61deg);
  transform-origin: bottom center;
  opacity: .72;
}

.hero-command__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  opacity: .86;
}

.hero-command__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,7,18,.94) 0%, rgba(5,7,18,.68) 42%, rgba(5,7,18,.3) 100%),
    radial-gradient(circle at 78% 48%, rgba(34,211,238,.08), transparent 34%);
}

.hero-command__grain,
.hero-command__grid {
  display: none !important;
}

.hero-command__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  min-height: min(780px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  padding-top: calc(var(--nav-h) + 58px);
  padding-bottom: 74px;
}

.hero-command__copy {
  max-width: 700px;
}

.hero-command__badge {
  border-radius: 999px;
  border-color: rgba(34, 211, 238, .28);
  background: rgba(34, 211, 238, .07);
  color: #c8f6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.hero-command__pulse {
  background: #47f6c2;
  box-shadow: 0 0 0 5px rgba(71,246,194,.12), 0 0 18px rgba(71,246,194,.55);
}

.hero-command__h1 {
  max-width: 760px;
  color: var(--future-text);
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: .92;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-command__h1 span {
  display: block;
}

.hero-command__h1 span:nth-child(2),
.hero-command__h1 span:nth-child(4) {
  color: transparent;
  background: linear-gradient(92deg, var(--future-gold) 0%, #86efac 36%, var(--future-cyan) 72%, #eef8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-command__sub {
  max-width: 600px;
  color: #aeb9ca;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.74;
  margin-bottom: 34px;
}

.hero-command__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-command__ctas .btn {
  min-height: 52px;
  border-radius: 8px;
  padding-inline: 24px;
}

.hero-command__ctas .btn-purple {
  color: #07101d;
  background: linear-gradient(135deg, #f6b72f, #ffe08a);
  box-shadow: 0 18px 48px rgba(246,183,47,.24);
}

.hero-command__ctas .btn-outline {
  color: #e8eef8;
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.16);
}

.hero-proof {
  width: min(100%, 540px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--future-line);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-proof__item {
  padding: 15px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.hero-proof__item:last-child {
  border-right: 0;
}

.hero-proof__item strong {
  display: block;
  color: var(--future-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.24rem;
  line-height: 1;
}

.hero-proof__item span {
  display: block;
  margin-top: 6px;
  color: var(--future-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.growth-system {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(187,210,236,.16);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025) 44%),
    var(--future-panel);
  box-shadow: 0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.growth-system::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  pointer-events: none;
}

.growth-system::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 45%, rgba(34,211,238,.14), transparent 26%),
    linear-gradient(120deg, transparent, rgba(246,196,83,.08), transparent 58%);
}

.growth-system__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--future-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.growth-system__top strong {
  color: #74f7c9;
}

.growth-system__core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: 188px;
  height: 188px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(34,211,238,.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.13), rgba(8,12,24,.82) 68%);
  box-shadow: 0 0 70px rgba(34,211,238,.14), inset 0 0 30px rgba(34,211,238,.08);
}

.growth-system__ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(246,196,83,.34);
  animation: systemSpin 18s linear infinite;
}

.growth-system__core strong {
  margin-top: 28px;
  color: var(--future-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.4rem;
  line-height: 1;
}

.growth-system__core small {
  width: 118px;
  margin-top: -36px;
  color: var(--future-muted);
  font-size: .72rem;
  line-height: 1.35;
}

.growth-system__nodes {
  position: absolute;
  z-index: 3;
  inset: 88px 30px 138px;
}

.growth-node {
  position: absolute;
  width: 156px;
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(7, 11, 22, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.growth-node:hover,
.growth-node:focus-visible {
  transform: translateY(-4px);
  border-color: var(--future-line-strong);
  background: rgba(13, 24, 40, .86);
  outline: none;
}

.growth-node::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,.5), transparent);
  opacity: .75;
}

.growth-node span {
  display: block;
  color: var(--future-gold);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  font-weight: 800;
}

.growth-node strong {
  display: block;
  margin-top: 10px;
  color: var(--future-text);
  font-size: .98rem;
  line-height: 1.1;
}

.growth-node small {
  display: block;
  margin-top: 5px;
  color: var(--future-muted);
  font-size: .72rem;
}

.growth-node--marketing { left: 0; top: 8px; }
.growth-node--saas { right: 0; top: 48px; }
.growth-node--ai { left: 24px; bottom: 2px; }
.growth-node--sales { right: 18px; bottom: 18px; }

.growth-node--marketing::after { left: 100%; top: 54%; transform: rotate(17deg); }
.growth-node--saas::after { right: 100%; top: 58%; transform: rotate(158deg); }
.growth-node--ai::after { left: 100%; top: 28%; transform: rotate(-22deg); }
.growth-node--sales::after { right: 100%; top: 30%; transform: rotate(202deg); }

.growth-system__metrics {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.growth-system__metrics div {
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.growth-system__metrics strong,
.growth-system__metrics span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
}

.growth-system__metrics strong {
  color: var(--future-text);
  font-size: 1.28rem;
  line-height: 1;
}

.growth-system__metrics span {
  margin-top: 7px;
  color: var(--future-muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.growth-system__signal {
  position: absolute;
  z-index: 1;
  left: -20%;
  top: 86px;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.8), transparent);
  animation: signalSweep 4.8s ease-in-out infinite;
}

.hero-service-rail {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 48px));
  margin: -38px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(187,210,236,.13);
  border-radius: 10px;
  background: rgba(8, 12, 24, .74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-service-rail a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #e8eef8;
  background: rgba(255,255,255,.035);
  font-size: .84rem;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-service-rail a:hover,
.hero-service-rail a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.36);
  background: rgba(34,211,238,.08);
  outline: none;
}

.marquee-strip--legacy {
  display: none;
}

.tech-strip--kinetic {
  overflow: hidden;
  background: #07101d;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tech-strip--kinetic .container {
  max-width: none;
  padding: 0;
}

.tech-strip--kinetic .tech-strip__label {
  color: var(--future-gold);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .14em;
}

.tech-strip--kinetic .tech-strip__logos {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  padding-inline: 24px;
  animation: kineticTicker 34s linear infinite;
}

.tech-strip--kinetic .tech-strip__logos span {
  min-width: max-content;
  border-radius: 8px;
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  color: #d9e2ef;
}

.kinetic-services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #07101d 0%, #060815 100%);
}

.kinetic-services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 72%);
}

.section-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--future-gold);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kinetic-services .section-header h2 {
  max-width: 820px;
  margin-inline: auto;
  color: var(--future-text);
}

.kinetic-services .section-header p {
  max-width: 690px;
  margin-inline: auto;
}

.kinetic-services .bento-card {
  min-height: 278px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border-color: rgba(187,210,236,.13);
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02) 46%),
    rgba(8, 12, 24, .88);
  box-shadow: none;
  overflow: hidden;
}

.kinetic-services .bento-card::before {
  background: linear-gradient(90deg, rgba(34,211,238,.72), rgba(246,196,83,.62), transparent);
  transform: scaleX(1);
  opacity: .7;
}

.kinetic-services .bento-card:hover {
  border-color: rgba(34,211,238,.28);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.kinetic-services .bento-card__pill {
  border-radius: 999px;
  color: #c8f6ff;
  background: rgba(34,211,238,.07);
  border-color: rgba(34,211,238,.18);
}

.kinetic-services .bento-card__num {
  color: rgba(246,196,83,.42);
  font-family: 'IBM Plex Mono', monospace;
}

.kinetic-services .bento-card h3 {
  max-width: 460px;
}

.bento-motion {
  min-height: 92px;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  opacity: .9;
}

.bento-motion--chart span {
  background: linear-gradient(180deg, rgba(34,211,238,.82), rgba(246,196,83,.22));
}

.bento-motion--radar i {
  width: 78px;
  height: 78px;
}

.stats-mega--kinetic {
  background: #060815;
}

.stats-mega--kinetic .stats-mega__item {
  position: relative;
  min-height: 142px;
}

.stats-mega--kinetic .stats-mega__val {
  color: var(--future-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.stats-mega--kinetic .stats-mega__item i {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.stats-mega--kinetic .stats-mega__item i::before {
  content: "";
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--future-cyan), var(--future-gold));
}

@keyframes futureGridDrift {
  to { background-position: 96px 96px; }
}

@keyframes systemSpin {
  to { transform: rotate(360deg); }
}

@keyframes signalSweep {
  0%, 18% { transform: translateX(0); opacity: 0; }
  44% { opacity: .9; }
  100% { transform: translateX(330%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-command::before,
  .growth-system__ring,
  .growth-system__signal,
  .tech-strip--kinetic .tech-strip__logos,
  .bento-motion *,
  .bento-motion::before,
  .bento-motion::after {
    animation: none !important;
  }

  .hero-command__canvas {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-command__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 84px;
  }

  .growth-system {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-command {
    width: 100%;
    max-width: 100vw;
  }

  .hero-command__canvas {
    opacity: .5;
  }

  .hero-command__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    margin: 0;
    padding-inline: 18px;
    padding-top: calc(var(--nav-h) + 34px);
    padding-bottom: 54px;
    overflow: hidden;
  }

  .hero-command__copy,
  .hero-command__visual,
  .hero-command__badge,
  .hero-command__h1,
  .hero-command__sub,
  .hero-command__ctas,
  .hero-proof,
  .growth-system {
    width: min(320px, calc(100vw - 40px)) !important;
    max-width: min(320px, calc(100vw - 40px)) !important;
    min-width: 0;
  }

  .hero-command__copy > *,
  .hero-command__visual > * {
    box-sizing: border-box;
    max-width: 100%;
  }

  .hero-command__h1 {
    max-width: 100%;
    font-size: clamp(2.16rem, 8.7vw, 2.58rem);
    line-height: .96;
    overflow-wrap: anywhere;
  }

  .hero-command__h1 span,
  .hero-command__sub {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-command__ctas .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .hero-proof__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero-proof__item:last-child {
    border-bottom: 0;
  }

  .growth-system {
    min-height: 560px;
    overflow: hidden;
  }

  .growth-system__core {
    top: 41%;
    width: 150px;
    height: 150px;
  }

  .growth-system__core strong {
    font-size: 1.9rem;
  }

  .growth-system__nodes {
    inset: 86px 18px 160px;
  }

  .growth-node {
    width: calc(50% - 8px);
    min-height: 82px;
  }

  .growth-node::after {
    display: none;
  }

  .growth-node--marketing { left: 0; top: 0; }
  .growth-node--saas { right: 0; top: 28px; }
  .growth-node--ai { left: 0; bottom: 8px; }
  .growth-node--sales { right: 0; bottom: 0; }

  .growth-system__metrics {
    grid-template-columns: 1fr;
    bottom: 18px;
    left: 18px;
    right: 18px;
    gap: 8px;
  }

  .growth-system__metrics div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 12px;
  }

  .hero-service-rail {
    width: calc(100% - 36px);
    max-width: calc(100vw - 36px);
    margin-top: -30px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-service-rail::-webkit-scrollbar {
    display: none;
  }

  .hero-service-rail a {
    flex: 0 0 auto;
  }

  .kinetic-services .bento-card {
    min-height: 250px;
  }
}

/* ── Final live stack marquee ───────────────────── */
.tech-strip--kinetic .tech-stack-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.tech-strip--kinetic .tech-stack-track {
  width: max-content;
  display: flex;
  flex-wrap: nowrap;
  animation: techStackLoop 44s linear infinite;
  will-change: transform;
}

.tech-strip--kinetic .tech-stack-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.tech-strip--kinetic .tech-chip {
  min-width: max-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #d9e2ef;
  background: rgba(255,255,255,.035);
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.tech-strip--kinetic .tech-chip img {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

@keyframes techStackLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (hover: hover) {
  .tech-strip--kinetic .tech-stack-marquee:hover .tech-stack-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-strip--kinetic .tech-stack-track {
    animation: none !important;
    transform: none !important;
  }
}
