:root{
  --navy:        #151748;
  --navy-2:      #1F2170;
  --navy-deep:   #0A0B26;
  --navy-mid:    #4347A8;
  --periwinkle:  #B9BCF2;
  --periwinkle-dim: #8286CF;
  --ink:         #13142C;
  --paper:       #F5F5FB;
  --paper-2:     #FFFFFF;
  --line:        #E2E2F1;
  --line-dark:   rgba(255,255,255,0.14);
  --muted:       #55577D;
  --muted-dark:  #A4A6D8;

  --display: 'Bricolage Grotesque', 'Georgia', serif;
  --body: 'IBM Plex Sans', -apple-system, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-pill: 999px;

  --shadow-navy: 0 20px 45px -20px rgba(21,23,72,0.35);
  --shadow-navy-lg: 0 30px 70px -25px rgba(21,23,72,0.45);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font:inherit; cursor:pointer; border:none; background:none;}
.container{max-width:1180px; margin:0 auto; padding:0 28px;}
section{position:relative;}

h1,h2,h3,h4{font-family:var(--display); color:var(--navy); font-weight:700; letter-spacing:-0.015em; line-height:1.08;}
h1.on-dark, h2.on-dark, h3.on-dark, h4.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .hero-copy h1{color:#ffffff;}
p{color:var(--muted);}
.on-dark p{color:var(--muted-dark);}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600; color:var(--navy-mid);
  margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:var(--navy-mid); flex-shrink:0;
}
.on-dark .eyebrow{color:var(--periwinkle);}
.on-dark .eyebrow::before{background:var(--periwinkle);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px; border-radius:var(--radius-pill);
  font-weight:600; font-size:15px; white-space:nowrap;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .25s, color .25s, border-color .25s;
}
.btn-primary{
  background:var(--navy); color:#fff;
  box-shadow:var(--shadow-navy);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-navy-lg); }
.btn-ghost{
  background:transparent; color:var(--navy); border:1.5px solid var(--line);
}
.btn-ghost:hover{ border-color:var(--navy); background:rgba(21,23,72,0.04); }
.hero .btn-ghost, .on-dark .btn-ghost{ color:#ffffff; border-color:rgba(255,255,255,0.4); }
.hero .btn-ghost:hover, .on-dark .btn-ghost:hover{ border-color:#ffffff; background:rgba(255,255,255,0.14); color:#ffffff; }
.btn-light{ background:#fff; color:var(--navy); box-shadow:0 20px 45px -18px rgba(0,0,0,0.35); }
.btn-light:hover{ transform:translateY(-2px); }

header{
  position:fixed; top:20px; left:50%; transform:translateX(-50%);
  width:calc(100% - 48px); max-width:1180px; z-index:200;
  padding:12px 20px 12px 28px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.45);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(255, 255, 255, 0.4);
  box-shadow:0 12px 35px -10px rgba(19, 20, 44, 0.15);
  transition:top .35s cubic-bezier(.2,.8,.2,1), background .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease;
}
header.scrolled{
  top:12px;
  background:rgba(255, 255, 255, 0.65);
  backdrop-filter:blur(24px) saturate(200%);
  -webkit-backdrop-filter:blur(24px) saturate(200%);
  box-shadow:0 16px 45px -10px rgba(19, 20, 44, 0.2);
  border-color:rgba(255, 255, 255, 0.6);
  padding:8px 16px 8px 24px;
}
header .container{max-width:100%; width:100%; padding:0;}
nav{display:flex; align-items:center; justify-content:space-between; gap:20px; position:relative;}
.brand{display:flex; align-items:center; gap:10px; color:var(--navy); transition:color .3s ease; text-decoration:none;}
.header-brand{display:flex; align-items:center; gap:10px;}
.nav-logo-mark{width:32px; height:32px; object-fit:contain; flex-shrink:0;}
.nav-brand-text{height:22px; width:auto; max-width:180px; object-fit:contain; flex-shrink:0; transform:translateY(3px);}

header .dark-logo{display:block;}
header .light-logo{display:none;}

header.is-dark .dark-logo{display:none;}
header.is-dark .light-logo{display:block;}

/* Nav links & buttons on light background: dark text */
.nav-links{
  display:flex; align-items:center; gap:24px;
  background:transparent;
  border:none;
  padding:0;
  border-radius:0;
}
.nav-links a{
  font-size:14.5px; font-weight:600; color:var(--navy); opacity:0.9;
  position:relative; padding:6px 0;
  transition:opacity .25s ease, color .25s ease;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--navy); transition:width .3s ease, background .3s ease;
  border-radius:2px;
}
.nav-links a:hover, .nav-links a.active{opacity:1; color:var(--navy);}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-cta{display:flex; align-items:center; gap:14px;}
.nav-cta .btn{
  padding:10px 22px; font-size:14px;
  background:rgba(21, 23, 72, 0.08);
  color:var(--navy);
  border:1.5px solid rgba(21, 23, 72, 0.2);
  box-shadow:none;
}
.nav-cta .btn:hover{
  background:var(--navy); color:#ffffff; border-color:var(--navy);
}

/* Mobile Toggle */
.mobile-toggle{
  display:none;
  align-items:center; justify-content:center;
  width:38px; height:38px;
  background:transparent; border:none; cursor:pointer;
  color:var(--navy); transition:color .3s ease;
  padding:0;
}
.mobile-toggle svg{width:24px; height:24px;}
.mobile-toggle .icon-close{display:none;}
.mobile-toggle.active .icon-menu{display:none;}
.mobile-toggle.active .icon-close{display:block;}

/* ---------- DARK BACKGROUND CONTRAST (header.is-dark) ---------- */
header.is-dark{
  background:rgba(15, 17, 45, 0.45);
  border-color:rgba(255, 255, 255, 0.25);
  box-shadow:0 12px 35px -10px rgba(0, 0, 0, 0.35);
}
header.is-dark.scrolled{
  background:rgba(15, 17, 45, 0.70);
  border-color:rgba(255, 255, 255, 0.35);
}
header.is-dark .brand{color:#ffffff;}
header.is-dark .brand-name{color:#ffffff;}
header.is-dark .brand-mark rect, header.is-dark .brand-mark path, header.is-dark .brand-mark circle{stroke:#ffffff;}

/* Nav links on dark background: WHITE text */
header.is-dark .nav-links a{color:#ffffff; opacity:0.9;}
header.is-dark .nav-links a::after{background:#ffffff;}
header.is-dark .nav-links a:hover, header.is-dark .nav-links a.active{color:#ffffff; opacity:1;}

/* Nav CTA button on dark background: WHITE text */
header.is-dark .nav-cta .btn{
  background:rgba(255, 255, 255, 0.15);
  color:#ffffff;
  border:1.5px solid rgba(255, 255, 255, 0.5);
}
header.is-dark .nav-cta .btn:hover{
  background:#ffffff; color:var(--navy); border-color:#ffffff;
}

header.is-dark .mobile-toggle{color:#ffffff;}

/* ---------- Sub-page Hero ---------- */
.page-hero{
  background:var(--navy-deep);
  padding:150px 0 75px;
  position:relative;
  overflow:hidden;
  text-align:center;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 400px at 20% 20%, rgba(67,71,168,0.35), transparent 60%),
    radial-gradient(800px 500px at 85% 80%, rgba(31,33,112,0.5), transparent 60%);
  pointer-events:none;
}
.page-hero .container{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.page-hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center; text-align:left;
}
.page-hero h1{font-size:clamp(32px, 4vw, 52px); max-width:26ch; margin:0 auto; color:#ffffff; text-align:center;}
.page-hero-grid h1{margin:0; text-align:left; max-width:18ch;}
.page-hero p.sub{margin:18px auto 0 auto; font-size:17.5px; max-width:54ch; color:var(--muted-dark); text-align:center;}
.page-hero-grid p.sub{margin:18px 0 0 0; text-align:left;}

/* ---------- Hero ---------- */
.hero{
  background:var(--navy-deep);
  padding:150px 0 90px;
  overflow:hidden;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 500px at 12% 15%, rgba(67,71,168,0.35), transparent 60%),
    radial-gradient(900px 700px at 90% 80%, rgba(31,33,112,0.5), transparent 60%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center;
}
.hero-copy .eyebrow{color:#ffffff; opacity:0; animation:riseIn .7s .1s ease forwards;}
.hero-copy .eyebrow::before{background:#ffffff;}
.hero-copy h1{
  font-size:clamp(34px, 4.6vw, 56px);
  max-width:12.5ch;
  opacity:0; animation:riseIn .8s .22s ease forwards;
}
.hero-copy .sub{
  margin-top:22px; font-size:17.5px; max-width:46ch; color:var(--muted-dark);
  opacity:0; animation:riseIn .8s .38s ease forwards;
}
.hero-actions{
  margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; align-items:center;
  opacity:0; animation:riseIn .8s .52s ease forwards;
}
.hero-note{
  margin-top:26px; display:flex; align-items:center; gap:10px;
  font-size:13.5px; color:var(--muted-dark);
  opacity:0; animation:riseIn .8s .64s ease forwards;
}
.hero-note .avatars{display:flex;}
.hero-note .avatars span{
  width:26px; height:26px; border-radius:50%;
  background:linear-gradient(135deg, var(--navy-mid), var(--periwinkle));
  border:2px solid var(--navy-deep); margin-left:-8px;
}
.hero-note .avatars span:first-child{margin-left:0;}

@keyframes riseIn{
  from{opacity:0; transform:translateY(16px);}
  to{opacity:1; transform:translateY(0);}
}

/* ---------- 3D Hero Enterprise Operations Command Workspace ---------- */
.scene-wrap{
  position:relative; width:100%; max-width:620px; margin:0 auto;
  perspective:1200px;
  opacity:0; animation:riseIn 1s .3s ease forwards;
  display:flex; align-items:center; justify-content:center;
}
.scene{
  position:relative; width:100%;
  transform-style:preserve-3d;
  transform:rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg));
  transition:transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.console-window{
  background:linear-gradient(160deg, rgba(20, 24, 52, 0.95), rgba(10, 12, 30, 0.98));
  border:1px solid rgba(185, 188, 242, 0.22);
  border-radius:20px;
  box-shadow:0 30px 80px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  overflow:hidden;
  transform:translateZ(20px);
}

.console-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 18px;
  background:rgba(255, 255, 255, 0.03);
  border-bottom:1px solid rgba(255, 255, 255, 0.08);
}
.console-dots{display:flex; gap:7px;}
.dot{width:10px; height:10px; border-radius:50%;}
.dot.red{background:#ff5f56;}
.dot.yellow{background:#ffbd2e;}
.dot.green{background:#27c93f;}

.console-title{display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:rgba(255, 255, 255, 0.75);}
.console-icon{width:14px; height:14px; stroke:var(--periwinkle); fill:none; stroke-width:2;}

.console-status-pill{
  display:flex; align-items:center; gap:6px; font-size:10px; font-weight:700; color:#34d399;
  background:rgba(52, 211, 153, 0.12); border:1px solid rgba(52, 211, 153, 0.25);
  padding:3px 10px; border-radius:999px; letter-spacing:0.04em;
}
.live-dot{width:6px; height:6px; border-radius:50%; background:#34d399; box-shadow:0 0 8px #34d399; animation:pulse 2s infinite;}

.console-body{padding:20px;}

.console-metrics{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-bottom:18px;}
.c-metric{background:rgba(255, 255, 255, 0.03); border:1px solid rgba(255, 255, 255, 0.07); border-radius:12px; padding:12px;}
.c-metric-head{display:flex; justify-content:space-between; align-items:center; font-size:11px; color:var(--muted-dark); margin-bottom:4px;}
.c-tag{font-size:9.5px; font-weight:700; padding:1px 6px; border-radius:4px;}
.c-tag.green{background:rgba(52, 211, 153, 0.15); color:#34d399;}
.c-tag.blue{background:rgba(56, 189, 248, 0.15); color:#38bdf8;}
.c-metric-val{font-family:var(--display); font-size:17px; font-weight:800; color:#ffffff;}
.c-metric-sub{font-size:10px; color:rgba(255, 255, 255, 0.5); margin-top:2px;}

.console-grid{display:grid; grid-template-columns:1.2fr 0.8fr; gap:14px;}
.console-pane{background:rgba(255, 255, 255, 0.02); border:1px solid rgba(255, 255, 255, 0.06); border-radius:14px; padding:14px;}

.pane-title{
  display:flex; justify-content:space-between; align-items:center;
  font-size:10.5px; font-weight:700; color:var(--periwinkle); letter-spacing:0.05em;
  margin-bottom:12px; border-bottom:1px solid rgba(255, 255, 255, 0.05); padding-bottom:8px;
}
.pulse-chip{font-size:9px; font-weight:700; color:#34d399;}

.stream-feed{display:flex; flex-direction:column; gap:10px;}
.stream-item{
  display:flex; gap:10px; align-items:flex-start;
  background:rgba(0,0,0,0.25); border-radius:8px; padding:8px 10px; border:1px solid rgba(255,255,255,0.04);
}
.s-icon{width:24px; height:24px; border-radius:6px; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;}
.s-icon.green{background:rgba(52, 211, 153, 0.15); color:#34d399;}
.s-icon.blue{background:rgba(56, 189, 248, 0.15); color:#38bdf8;}
.s-icon.purple{background:rgba(185, 188, 242, 0.15); color:#b9bcf2;}
.s-icon svg{width:13px; height:13px;}
.s-content{flex:1;}
.s-header{display:flex; justify-content:space-between; align-items:center;}
.s-header strong{font-size:11.5px; color:#ffffff; font-weight:600;}
.s-time{font-size:9.5px; color:rgba(255, 255, 255, 0.4);}
.s-content p{font-size:10.5px; color:var(--muted-dark); margin-top:1px;}

.sla-metric{margin-bottom:10px;}
.sla-row{display:flex; justify-content:space-between; font-size:11px; color:var(--muted-dark); margin-bottom:4px;}
.sla-row strong{color:#ffffff; font-weight:700;}
.sla-track{height:5px; background:rgba(255, 255, 255, 0.08); border-radius:999px; overflow:hidden;}
.sla-bar{height:100%; background:linear-gradient(90deg, var(--navy-mid), #34d399); border-radius:999px;}

.console-footer-badges{display:flex; gap:8px; margin-top:14px;}
.c-badge{font-size:9.5px; font-weight:600; color:rgba(255,255,255,0.7); background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); padding:3px 8px; border-radius:6px;}

.glass-float{
  position:absolute; background:rgba(15, 17, 45, 0.9); border:1px solid rgba(185, 188, 242, 0.35);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  border-radius:14px; padding:12px 16px; display:flex; align-items:center; gap:12px;
  box-shadow:0 20px 40px rgba(0, 0, 0, 0.6); z-index:20;
}
.glass-float.gf-1{top:-18px; right:-20px; transform:translateZ(50px); animation:floatCard 5s ease-in-out infinite;}
.glass-float.gf-2{bottom:-18px; left:-20px; transform:translateZ(40px); animation:floatCard 6s ease-in-out infinite reverse;}
.gf-icon{font-size:18px;}
.gf-text strong{display:block; font-size:12px; color:#ffffff; font-weight:700;}
.gf-text span{font-size:10.5px; color:var(--muted-dark);}

@keyframes floatCard{
  0%,100%{transform:translateZ(45px) translateY(0);}
  50%{transform:translateZ(45px) translateY(-8px);}
}

/* ---------- Stat bar ---------- */
.statbar{
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
  padding:36px 0;
}
.statbar .container{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.stat{text-align:left; border-left:1px solid var(--line); padding-left:20px;}
.stat:first-child{border-left:none; padding-left:0;}
.stat .num{
  font-family:var(--display); font-size:32px; font-weight:700; color:var(--navy);
  display:block;
}
.stat .label{font-size:13.5px; color:var(--muted); margin-top:2px;}

/* ---------- Services ---------- */
.services{padding:120px 0 60px; background:var(--paper);}
.section-head{
  max-width:640px; margin-bottom:64px;
}
.section-head h2{font-size:clamp(28px,3.4vw,40px);}
.section-head p{margin-top:16px; font-size:16.5px; max-width:52ch;}

.service-row{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;
  padding:56px 0; border-top:1px solid var(--line);
}
.service-row:last-child{border-bottom:1px solid var(--line);}
.service-row.flip{grid-template-columns:1.1fr 0.9fr;}
.service-row.flip .service-visual{order:2;}
.service-row.flip .service-text{order:1;}

.service-visual{
  position:relative; height:340px; border-radius:20px;
  background:#090a1f;
  overflow:hidden;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow:0 25px 60px -20px rgba(9, 10, 31, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  border:1px solid rgba(255, 255, 255, 0.1);
  padding:24px;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.service-visual:hover{
  transform:translateY(-6px);
  border-color:rgba(112, 117, 237, 0.4);
  box-shadow:0 35px 80px -20px rgba(15, 17, 45, 0.7), 0 0 35px rgba(112, 117, 237, 0.18);
}
.service-visual .glow{
  position:absolute; width:320px; height:320px; border-radius:50%;
  background:radial-gradient(circle, rgba(112, 117, 237, 0.22), transparent 70%);
  pointer-events:none; top:-70px; right:-70px;
}

/* Premium Card Mock Window Header */
.visual-header{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:14px; border-bottom:1px solid rgba(255, 255, 255, 0.08);
  position:relative; z-index:2;
}
.visual-dots{display:flex; gap:6px;}
.visual-dots span{width:8px; height:8px; border-radius:50%;}
.visual-dots span:nth-child(1){background:#ff5f56; opacity:0.8;}
.visual-dots span:nth-child(2){background:#ffbd2e; opacity:0.8;}
.visual-dots span:nth-child(3){background:#27c93f; opacity:0.8;}
.visual-title{font-size:11.5px; font-weight:600; color:rgba(255, 255, 255, 0.55); letter-spacing:0.04em; text-transform:uppercase;}

/* Content Mocks */
.visual-body{
  flex:1; display:flex; flex-direction:column; justify-content:center; gap:12px;
  position:relative; z-index:2; padding:10px 0;
}

/* Metric Display Card */
.visual-stat-card{
  background:rgba(255, 255, 255, 0.04);
  border:1px solid rgba(255, 255, 255, 0.09);
  border-radius:14px; padding:14px 16px;
  display:flex; align-items:center; justify-content:space-between;
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  box-shadow:0 10px 25px rgba(0, 0, 0, 0.3);
}
.visual-stat-val{font-family:var(--display); font-size:24px; font-weight:700; color:#ffffff; line-height:1;}
.visual-stat-lbl{font-size:11.5px; color:rgba(255, 255, 255, 0.55); margin-top:4px;}
.visual-badge{
  display:inline-flex; align-items:center; gap:5px;
  padding:4px 10px; border-radius:999px; font-size:11px; font-weight:600;
}
.visual-badge.green{background:rgba(16, 185, 129, 0.15); color:#34d399; border:1px solid rgba(52, 211, 153, 0.3);}
.visual-badge.blue{background:rgba(59, 130, 246, 0.15); color:#60a5fa; border:1px solid rgba(96, 165, 250, 0.3);}
.visual-badge.purple{background:rgba(112, 117, 237, 0.15); color:#b9bcf2; border:1px solid rgba(185, 188, 242, 0.3);}

/* Mini Tag Pills at Card Bottom */
.service-visual .mini-tag{
  display:flex; gap:8px; flex-wrap:wrap; position:relative; z-index:2;
}
.service-visual .mini-tag span{
  font-size:12px; font-weight:600; color:rgba(255, 255, 255, 0.85);
  background:rgba(255, 255, 255, 0.06);
  padding:6px 14px; border-radius:999px;
  border:1px solid rgba(255, 255, 255, 0.12);
  transition:all .25s ease;
}
.service-visual:hover .mini-tag span{
  border-color:rgba(112, 117, 237, 0.35); background:rgba(255, 255, 255, 0.09);
}
.service-visual .mini-tag span:hover{
  background:var(--navy-mid); border-color:#ffffff; color:#ffffff;
}

.service-text .kicker{font-size:13px; font-weight:600; color:var(--navy-mid); margin-bottom:10px;}
.service-text h3{font-size:26px; margin-bottom:14px;}
.service-text p{font-size:15.5px; margin-bottom:20px; max-width:46ch;}
.checklist{display:flex; flex-direction:column; gap:11px;}
.checklist li{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink);}
.checklist svg{width:17px; height:17px; flex-shrink:0; margin-top:2px; stroke:var(--navy); fill:none; stroke-width:2;}

/* ---------- Process ---------- */
.process{background:var(--navy-deep); padding:120px 0;}
.process .section-head{max-width:560px;}
.steps{
  position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
  margin-top:20px;
}
.steps::before{
  content:""; position:absolute; top:27px; left:6%; right:6%; height:1px;
  background:var(--line-dark);
}
.step-progress{
  position:absolute; top:27px; left:6%; height:1px; width:0%;
  background:var(--periwinkle); transition:width 1.2s ease;
}
.step{position:relative;}
.step .idx{
  width:54px; height:54px; border-radius:50%; background:var(--navy-2);
  border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; font-size:18px; color:var(--periwinkle);
  margin-bottom:22px; position:relative; z-index:2;
  transition:background .4s ease, border-color .4s ease, color .4s ease;
}
.step.active .idx{ background:var(--periwinkle); color:var(--navy-deep); border-color:var(--periwinkle);}
.step h4{font-size:17.5px; margin-bottom:8px;}
.step p{font-size:14px; max-width:26ch;}

/* ---------- Compare / Why us (Executive Split-Contrast Matrix Redesign) ---------- */
.why{padding:120px 0; background:var(--paper-2); position:relative;}
.why-grid{display:grid; grid-template-columns:0.75fr 1.25fr; gap:50px; align-items:start;}
.why-sticky{position:sticky; top:120px; align-self:start;}
.why-sticky .eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--navy-mid); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:14px;}
.why-sticky h2{font-size:clamp(28px,3.4vw,42px); font-weight:800; line-height:1.15; color:var(--navy); letter-spacing:-0.02em; margin-bottom:18px;}
.why-sticky p{font-size:16px; line-height:1.6; color:var(--muted); max-width:38ch; margin-bottom:28px;}

.why-stat-callout{
  display:flex; flex-direction:column; gap:4px; padding:20px 24px;
  background:#ffffff; border:1px solid rgba(21, 23, 72, 0.08);
  border-radius:16px; box-shadow:0 15px 35px -10px rgba(21, 23, 72, 0.05);
}
.why-stat-callout .val{font-family:var(--display); font-size:32px; font-weight:800; color:var(--navy); line-height:1;}
.why-stat-callout .lbl{font-size:13.5px; font-weight:500; color:var(--muted);}

/* Comparison Split Matrix Container */
.compare-matrix{
  display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:stretch;
}

.matrix-col{
  border-radius:20px; padding:32px 28px;
  display:flex; flex-direction:column; position:relative; overflow:hidden;
}

/* Legacy Column (Light Slate) */
.matrix-col.legacy-col{
  background:#ffffff; border:1px solid rgba(21, 23, 72, 0.08);
  box-shadow:0 10px 30px -10px rgba(21, 23, 72, 0.04);
}
.matrix-col.legacy-col .matrix-tag{
  font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:#94a3b8; margin-bottom:8px;
}
.matrix-col.legacy-col h3{
  font-size:22px; font-weight:700; color:var(--navy); margin-bottom:24px; padding-bottom:16px;
  border-bottom:1px solid rgba(21, 23, 72, 0.08);
}

/* JASS Column (Dark Obsidian Card) */
.matrix-col.jass-col{
  background:linear-gradient(165deg, #090a1f 0%, #151748 100%);
  border:1px solid rgba(112, 117, 237, 0.3);
  box-shadow:0 25px 60px -15px rgba(9, 10, 31, 0.4), 0 0 30px rgba(112, 117, 237, 0.12);
  color:#ffffff;
}
.matrix-col.jass-col .glow-accent{
  position:absolute; top:-80px; right:-80px; width:250px; height:250px; border-radius:50%;
  background:radial-gradient(circle, rgba(112, 117, 237, 0.25), transparent 70%); pointer-events:none;
}
.matrix-col.jass-col .matrix-tag{
  display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; text-transform:uppercase;
  letter-spacing:0.05em; color:#34d399; background:rgba(52, 211, 153, 0.15); border:1px solid rgba(52, 211, 153, 0.3);
  padding:4px 12px; border-radius:999px; margin-bottom:12px; align-self:flex-start;
}
.matrix-col.jass-col h3{
  font-size:22px; font-weight:700; color:#ffffff; margin-bottom:24px; padding-bottom:16px;
  border-bottom:1px solid rgba(255, 255, 255, 0.12);
}

/* List Items */
.matrix-list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:22px;}
.matrix-list li{display:flex; align-items:flex-start; gap:14px;}

.matrix-icon{
  width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-top:2px;
}
.matrix-icon.cross{
  background:rgba(244, 63, 94, 0.1); color:#f43f5e; border:1px solid rgba(244, 63, 94, 0.2);
}
.matrix-icon.check{
  background:rgba(52, 211, 153, 0.18); color:#34d399; border:1px solid rgba(52, 211, 153, 0.35);
  box-shadow:0 0 10px rgba(52, 211, 153, 0.2);
}
.matrix-icon svg{width:14px; height:14px; fill:none; stroke:currentColor;}

.matrix-list strong{display:block; font-size:14.5px; font-weight:700; line-height:1.3; margin-bottom:3px;}
.legacy-col .matrix-list strong{color:var(--navy);}
.jass-col .matrix-list strong{color:#ffffff;}

.matrix-list p{font-size:13px; line-height:1.45; margin:0;}
.legacy-col .matrix-list p{color:#64748b;}
.jass-col .matrix-list p{color:rgba(255, 255, 255, 0.72);}



/* ---------- Testimonials (Executive Review Cards) ---------- */
.testimonials{padding:110px 0; background:var(--paper); position:relative;}
.t-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:28px;}

.t-card{
  background:#ffffff;
  border:1px solid rgba(21, 23, 72, 0.08);
  border-radius:20px;
  padding:32px 28px;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow:0 15px 35px -10px rgba(21, 23, 72, 0.04);
  transition:all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position:relative;
}

.t-card:hover{
  transform:translateY(-6px);
  border-color:rgba(112, 117, 237, 0.3);
  box-shadow:0 25px 50px -15px rgba(21, 23, 72, 0.12), 0 0 25px rgba(112, 117, 237, 0.1);
}

.t-header{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;
}

.t-stars{
  display:flex; gap:3px; color:#f59e0b; font-size:14px; letter-spacing:1px;
}

.t-badge{
  display:inline-flex; align-items:center; gap:5px;
  font-size:11px; font-weight:600; color:#10b981;
  background:rgba(16, 185, 129, 0.1); border:1px solid rgba(16, 185, 129, 0.2);
  padding:3px 9px; border-radius:999px;
}

.t-card .quote{
  font-size:15px; line-height:1.6; color:var(--navy);
  font-weight:400; margin-bottom:24px; font-style:normal;
  flex:1;
}

.t-person{
  display:flex; align-items:center; gap:14px;
  padding-top:18px; border-top:1px solid rgba(21, 23, 72, 0.06);
}

.t-avatar{
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display:flex; align-items:center; justify-content:center;
  color:#ffffff; font-weight:700; font-size:15px; letter-spacing:0.04em;
  flex-shrink:0;
  box-shadow:0 6px 16px -4px rgba(21, 23, 72, 0.25);
}

.t-name{font-size:15px; font-weight:700; color:var(--navy); line-height:1.2;}
.t-role{font-size:12.5px; color:var(--muted); margin-top:2px;}


/* ---------- CTA banner ---------- */
.cta-banner{
  margin:0 28px; border-radius:28px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-mid) 100%);
  padding:64px 56px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; width:320px; height:320px; border-radius:50%;
  background:radial-gradient(circle, rgba(185,188,242,0.28), transparent 70%);
  top:-120px; right:-60px;
}
.cta-banner h2{color:#fff; font-size:clamp(24px,2.8vw,32px); max-width:16ch; position:relative;}
.cta-banner p{color:var(--muted-dark); margin-top:10px; max-width:40ch; position:relative;}
.cta-actions{display:flex; gap:14px; flex-shrink:0; position:relative;}

/* ---------- Contact ---------- */
.contact{padding:130px 0 100px; background:var(--paper-2);}
.contact-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px;}
.contact-info h2{font-size:clamp(26px,3vw,36px); margin-bottom:16px;}
.contact-info p{font-size:15.5px; max-width:38ch; margin-bottom:34px;}
.info-line{display:flex; align-items:flex-start; gap:14px; margin-bottom:22px;}
.info-line svg{width:19px; height:19px; stroke:var(--navy); fill:none; stroke-width:1.6; margin-top:2px; flex-shrink:0;}
.info-line .label{font-size:12.5px; color:var(--muted); margin-bottom:2px;}
.info-line .value{font-size:14.5px; font-weight:500; color:var(--ink);}

.form-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-m);
  padding:38px; box-shadow:0 30px 70px -35px rgba(21,23,72,0.25);
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.field{margin-bottom:18px;}
.field label{display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:7px;}
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border-radius:var(--radius-s);
  border:1.5px solid var(--line); background:var(--paper-2);
  font-family:var(--body); font-size:14.5px; color:var(--ink);
  transition:border-color .25s ease, box-shadow .25s ease;
}
.field textarea{resize:vertical; min-height:100px;}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(21,23,72,0.1);
}
.form-card .btn{width:100%; padding:15px;}
.form-success{
  display:none; text-align:center; padding:40px 10px;
}
.form-success svg{width:52px; height:52px; stroke:var(--navy); fill:none; stroke-width:1.4; margin:0 auto 18px;}
.form-success h3{font-size:20px; margin-bottom:8px;}
.form-success p{font-size:14.5px;}

/* ---------- Footer ---------- */
footer{background:var(--navy-deep); padding:70px 0 30px;}
.footer-top{
  display:grid; grid-template-columns:1.3fr 0.9fr 0.9fr 0.9fr 1fr; gap:32px;
  padding-bottom:50px; border-bottom:1px solid var(--line-dark);
}
.footer-brand .brand{gap:12px; align-items:center;}
.footer-brand .brand-name{color:#fff;}
.footer-logo-mark{width:40px; height:40px; object-fit:contain; flex-shrink:0;}
.footer-brand-name-img{height:27px; width:auto; max-width:220px; object-fit:contain; flex-shrink:0; transform:translateY(4px);}
.footer-brand p{margin-top:14px; font-size:14px; max-width:32ch; color:var(--muted-dark);}
.footer-col h5{color:#fff; font-size:13.5px; font-weight:600; margin-bottom:16px;}
.footer-col a{display:block; font-size:14px; color:var(--muted-dark); margin-bottom:11px; transition:color .2s ease;}
.footer-col a:hover{color:#fff;}
.footer-col .footer-address{display:block; font-size:13.5px; color:var(--muted-dark); line-height:1.45; margin-bottom:11px;}
.footer-bottom{
  padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
}
.footer-bottom p{font-size:13px; color:var(--muted-dark);}
.socials{display:flex; gap:12px;}
.socials a{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s ease, background .2s ease;
}
.socials a svg{width:15px; height:15px; stroke:var(--muted-dark); fill:none; stroke-width:1.6;}
.socials a:hover{border-color:var(--periwinkle); background:rgba(185,188,242,0.08);}

/* ---------- Floating contact button ---------- */
.float-cta{
  position:fixed; bottom:26px; right:26px; z-index:150;
  display:flex; align-items:center; gap:10px;
  background:var(--navy); color:#fff; padding:14px 20px; border-radius:var(--radius-pill);
  box-shadow:0 20px 45px -16px rgba(21,23,72,0.55);
  font-size:14px; font-weight:600;
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.float-cta:hover{transform:translateY(-3px);}
.float-cta svg{width:17px; height:17px; stroke:#fff; fill:none; stroke-width:1.8;}

/* ---------- Scroll progress ---------- */
.scroll-bar{
  position:fixed; top:0; left:0; height:3px; background:var(--navy-mid); z-index:300; width:0%;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .scene-wrap{height:auto; order:-1; margin-bottom: 30px;}
  .glass-float{display:none;}
  .statbar .container{grid-template-columns:repeat(2,1fr); row-gap:24px;}
  .stat:nth-child(3){border-left:none; padding-left:0;}
  .service-row, .service-row.flip{grid-template-columns:1fr; gap:30px;}
  .service-row.flip .service-visual, .service-row.flip .service-text{order:0;}
  .steps{grid-template-columns:repeat(2,1fr); row-gap:40px;}
  .steps::before, .step-progress{display:none;}
  .why-grid{grid-template-columns:1fr; gap:36px;}
  .why-sticky{position:static;}
  .t-grid{grid-template-columns:1fr;}
  .cta-banner{flex-direction:column; align-items:flex-start; padding:44px 32px;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr; row-gap:34px;}
}
@media (max-width:880px){
  .mobile-toggle{display:flex;}
  .nav-links{
    position:absolute; top:calc(100% + 14px); left:0; right:0;
    background:rgba(255, 255, 255, 0.96);
    backdrop-filter:blur(24px) saturate(180%);
    -webkit-backdrop-filter:blur(24px) saturate(180%);
    border-radius:20px;
    padding:20px 24px;
    flex-direction:column; align-items:stretch; gap:12px;
    box-shadow:0 20px 50px -15px rgba(15, 17, 45, 0.25);
    border:1px solid rgba(255, 255, 255, 0.6);
    display:none; opacity:0; transform:translateY(-10px);
    transition:opacity .3s ease, transform .3s ease;
  }
  header.is-dark .nav-links{
    background:rgba(15, 17, 45, 0.95);
    border-color:rgba(255, 255, 255, 0.2);
  }
  .nav-links.active{
    display:flex; opacity:1; transform:translateY(0);
  }
  .nav-links a{
    font-size:16px; padding:10px 0; width:100%; border-bottom:1px solid rgba(0,0,0,0.06);
  }
  header.is-dark .nav-links a{
    border-bottom-color:rgba(255,255,255,0.08);
  }
  .nav-links a:last-child{border-bottom:none;}
  .nav-links a::after{display:none;}
}
@media (max-width:720px){
  .form-row{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .cta-banner{margin:0 16px;}
  .float-cta span{display:none;}
  .float-cta{padding:14px; border-radius:50%;}
}
@media (max-width:540px){
  header{
    width:calc(100% - 24px);
    padding:10px 14px 10px 18px;
  }
  header.scrolled{
    padding:8px 12px 8px 16px;
  }
  .brand-name{font-size:15px;}
  .brand-mark{width:28px; height:28px;}
  .nav-cta .btn{padding:8px 14px; font-size:12.5px;}
  .container{padding:0 18px;}
}
