/* ============================= TOKENS ============================= */
:root{
  --bg:#090c11;
  --bg-alt:#0c1017;
  --surface:#111621;
  --surface-2:#161d2b;
  --surface-hover:#1b2333;
  --border:#212a3b;
  --border-light:#2a3549;
  --text:#eef1f7;
  --text-dim:#98a2b8;
  --text-faint:#5b6579;
  --accent:#5b7cfa;
  --accent-bright:#7d97ff;
  --accent-soft:rgba(91,124,250,.12);
  --accent-2:#22d3c5;
  --accent-2-soft:rgba(34,211,197,.12);
  --amber:#f0a93f;
  --red:#ef6a5f;
  --font-display:'Space Grotesk','Avenir Next','Segoe UI',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-mono:'IBM Plex Mono','SF Mono','Cascadia Code','Consolas',monospace;
  --radius-sm:6px;
  --radius:10px;
  --radius-lg:16px;
  --maxw:1280px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; background:var(--bg);}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  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-family:inherit; cursor:pointer;}
::selection{background:var(--accent); color:#fff;}
:focus-visible{outline:2px solid var(--accent-2); outline-offset:3px;}

.container{max-width:var(--maxw); margin:0 auto; padding:0 40px;}
@media(max-width:900px){.container{padding:0 24px;}}
.text-faint{color:var(--text-faint);}
.lede-spaced{margin-top:16px;}
.lede-center-spaced{margin:16px auto 0; text-align:center;}
.eyebrow-center{justify-content:center;}
.hide-sm{display:inline;}
@media(max-width:560px){.hide-sm{display:none;}}

.eyebrow{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-2); font-weight:500; display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.eyebrow::before{content:""; width:16px; height:1px; background:var(--accent-2);}

h1,h2,h3,h4{font-family:var(--font-display); font-weight:600; letter-spacing:-.01em; color:var(--text);}
.h1{font-size:clamp(38px,5.6vw,68px); line-height:1.04; letter-spacing:-.02em;}
.h2{font-size:clamp(28px,3.4vw,44px); line-height:1.1;}
.h3{font-size:20px; line-height:1.3;}
.lede{font-size:clamp(16px,1.4vw,19px); color:var(--text-dim); line-height:1.6; max-width:640px;}
.section-head{max-width:720px; margin-bottom:56px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head.center .eyebrow{justify-content:center;}
.section-head.center .eyebrow::before{display:none;}

section{position:relative; padding:120px 0;}
@media(max-width:900px){section{padding:80px 0;}}
.divider{height:1px; background:linear-gradient(90deg, transparent, var(--border), transparent);}

.btn{
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14.5px;
  padding:13px 24px; border-radius:8px; border:1px solid transparent; transition:all .18s ease; white-space:nowrap;
}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 1px 0 rgba(255,255,255,.15) inset, 0 8px 24px -8px rgba(91,124,250,.55);}
.btn-primary:hover{background:var(--accent-bright); transform:translateY(-1px);}
.btn-ghost{border-color:var(--border-light); color:var(--text);}
.btn-ghost:hover{background:var(--surface-2); border-color:var(--accent-2);}
.btn-sm{padding:9px 16px; font-size:13px;}
.btn svg{width:15px; height:15px;}

.pill{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11px;
  padding:4px 10px; border-radius:99px; border:1px solid var(--border-light); color:var(--text-dim);
}
.dot{width:6px; height:6px; border-radius:50%;}
.dot-green{background:#3ecf8e;} .dot-amber{background:var(--amber);} .dot-red{background:var(--red);} .dot-blue{background:var(--accent-2);}

.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px;}
.card:hover{border-color:var(--border-light);}

.reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1; transform:none; transition:none;}}

/* ============================= NAV ============================= */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid var(--border);
  background:rgba(9,12,17,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.nav-inner{max-width:var(--maxw); margin:0 auto; padding:0 40px; height:68px; display:flex; align-items:center; justify-content:space-between;}
@media(max-width:900px){.nav-inner{padding:0 24px;}}
.logo{display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:18px; letter-spacing:-.01em;}
.logo-mark{width:26px; height:26px;}
.nav-links{display:flex; align-items:center; gap:34px;}
.nav-links a{font-size:14px; color:var(--text-dim); font-weight:500; transition:color .15s;}
.nav-links a:hover{color:var(--text);}
.nav-right{display:flex; align-items:center; gap:22px;}
.nav-right .sep{width:1px; height:20px; background:var(--border-light);}
.nav-portal-link{font-size:13.5px; color:var(--text-dim); font-weight:500;}
.nav-portal-link:hover{color:var(--accent-2);}
.hamburger{display:none; flex-direction:column; gap:4px; background:none; border:none; padding:6px;}
.hamburger span{width:20px; height:2px; background:var(--text);}
@media(max-width:980px){
  .nav-links{display:none;}
  .nav-right .nav-portal-link{display:none;}
  .hamburger{display:flex;}
}
.mobile-menu{
  position:fixed; top:68px; left:0; right:0; bottom:0; background:var(--bg); z-index:99;
  padding:32px 24px; display:none; flex-direction:column; gap:4px; overflow-y:auto;
}
.mobile-menu.open{display:flex;}
.mobile-menu[hidden]{display:none;}
.mobile-menu a{padding:16px 4px; font-size:17px; border-bottom:1px solid var(--border); color:var(--text);}
.mobile-menu .btn{margin-top:20px;}

/* ============================= HERO ============================= */
.hero{padding:180px 0 100px; position:relative; overflow:hidden;}
.hero-bg{position:absolute; inset:0; z-index:0; width:100%; height:100%; opacity:.55;}
.hero-glow{position:absolute; top:-200px; left:50%; transform:translateX(-50%); width:900px; height:900px;
  background:radial-gradient(circle, rgba(91,124,250,.16) 0%, rgba(91,124,250,0) 65%); z-index:0; pointer-events:none;}
.hero-content{position:relative; z-index:2; max-width:820px; margin:0 auto; text-align:center;}
.hero h1{margin:22px 0 22px;}
.hero h1 .accent-text{background:linear-gradient(90deg, var(--accent-bright), var(--accent-2)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero .lede{max-width:600px; margin:0 auto 36px; text-align:center;}
.hero-badge{display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 6px; border-radius:99px; border:1px solid var(--border-light); background:var(--surface); font-size:13px; color:var(--text-dim); margin-bottom:6px;}
.hero-badge .tag{background:var(--accent-soft); color:var(--accent-bright); font-family:var(--font-mono); font-size:11px; padding:3px 8px; border-radius:99px;}
.hero-ctas{display:flex; gap:14px; justify-content:center; margin-bottom:64px; flex-wrap:wrap;}
.hero-stats{
  display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; background:var(--surface); position:relative; z-index:2;
}
.hero-stat{padding:22px 20px; text-align:center; border-right:1px solid var(--border);}
.hero-stat:last-child{border-right:none;}
.hero-stat .num{font-family:var(--font-display); font-size:26px; font-weight:700; color:var(--text);}
.hero-stat .lbl{font-family:var(--font-mono); font-size:11.5px; color:var(--text-faint); margin-top:4px; letter-spacing:.03em;}
.cert-chips{display:flex; justify-content:center; gap:8px; flex-wrap:wrap; min-height:31px; align-items:center;}
.cert-chips span{display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--border-light); background:var(--bg-alt); border-radius:999px; padding:6px 10px; color:var(--text); font-weight:800; font-size:13px; white-space:nowrap;}
@media(max-width:760px){.hero-stats{grid-template-columns:repeat(2,1fr);} .hero-stat{border-bottom:1px solid var(--border);}}

/* ============================= PRODUCT SCREENS ============================= */
.screens{display:flex; flex-direction:column; gap:96px;}
.screen-row{display:grid; grid-template-columns:0.72fr 1.28fr; gap:56px; align-items:center;}
.screen-row.reverse{grid-template-columns:1.28fr 0.72fr;}
.screen-row.reverse .screen-copy{order:2;}
@media(max-width:980px){
  .screen-row, .screen-row.reverse{grid-template-columns:1fr;}
  .screen-row.reverse .screen-copy{order:0;}
}
.screen-copy .kicker{font-family:var(--font-mono); font-size:12px; color:var(--accent-2); letter-spacing:.1em; text-transform:uppercase; margin-bottom:14px;}
.screen-copy h3{font-size:clamp(22px,2.6vw,30px); margin-bottom:14px;}
.screen-copy p{color:var(--text-dim); font-size:15.5px; line-height:1.65; margin-bottom:22px;}
.screen-feature-list{display:flex; flex-direction:column; gap:11px;}
.screen-feature-list li{display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--text-dim);}
.screen-feature-list svg{flex-shrink:0; margin-top:2px; width:15px; height:15px; color:var(--accent-2);}

/* browser chrome mock */
.mock{border:1px solid var(--border-light); border-radius:14px; overflow:hidden; background:var(--surface); box-shadow:0 30px 80px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.02);}
.mock-bar{display:flex; align-items:center; gap:8px; padding:11px 16px; background:var(--bg-alt); border-bottom:1px solid var(--border);}
.mock-bar .mdot{width:9px; height:9px; border-radius:50%; background:var(--border-light);}
.mock-bar .mock-url{margin-left:12px; font-family:var(--font-mono); font-size:11.5px; color:var(--text-faint); background:var(--surface); padding:4px 12px; border-radius:5px; flex:1;}

/* OCC mock */
.occ{display:grid; grid-template-columns:190px 1fr; min-height:400px;}
.occ-side{background:var(--bg-alt); border-right:1px solid var(--border); padding:18px 14px; display:flex; flex-direction:column; gap:2px;}
.occ-side .side-item{display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:7px; font-size:12.5px; color:var(--text-dim);}
.occ-side .side-item.active{background:var(--accent-soft); color:var(--accent-bright); font-weight:600;}
.occ-side .side-item svg{width:14px; height:14px;}
.occ-main{padding:20px 22px;}
.occ-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:20px;}
.occ-top h4{font-size:15px; font-weight:600;}
.occ-kpis{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:20px;}
.kpi{background:var(--bg-alt); border:1px solid var(--border); border-radius:9px; padding:13px 14px;}
.kpi .kv{font-family:var(--font-display); font-size:19px; font-weight:700;}
.kpi .kl{font-size:10.5px; color:var(--text-faint); margin-top:2px; text-transform:uppercase; letter-spacing:.04em;}
.kpi .kd{font-size:10.5px; margin-top:5px; font-weight:600;}
.kd.up{color:#3ecf8e;} .kd.down{color:var(--red);}
.occ-grid2{display:grid; grid-template-columns:1.4fr 1fr; gap:14px;}
.chart-box{background:var(--bg-alt); border:1px solid var(--border); border-radius:9px; padding:15px;}
.chart-box .cbh{display:flex; justify-content:space-between; margin-bottom:10px;}
.chart-box .cbh span{font-size:11.5px; color:var(--text-dim); font-weight:600;}
.table-mini{width:100%; border-collapse:collapse; font-size:11px;}
.table-mini th{text-align:left; color:var(--text-faint); font-weight:500; padding:6px 4px; border-bottom:1px solid var(--border); text-transform:uppercase; font-size:9.5px; letter-spacing:.03em;}
.table-mini td{padding:8px 4px; border-bottom:1px solid var(--border); color:var(--text-dim);}
.status{display:inline-flex; align-items:center; gap:5px; font-size:10px; padding:2px 8px; border-radius:99px; font-weight:600;}
.status.s-open{background:rgba(91,124,250,.14); color:var(--accent-bright);}
.status.s-risk{background:rgba(240,169,63,.14); color:var(--amber);}
.status.s-crit{background:rgba(239,106,95,.14); color:var(--red);}
.status.s-done{background:rgba(62,207,142,.14); color:#3ecf8e;}

/* Workflow designer mock */
.wf{min-height:560px; display:grid; grid-template-rows:auto 1fr auto auto; background:var(--surface);}
.wf-header{display:grid; grid-template-columns:240px 1fr; gap:16px; align-items:center; padding:16px 18px; border-bottom:1px solid var(--border); background:linear-gradient(135deg, rgba(91,124,250,.08), rgba(34,211,197,.04)), var(--bg-alt);}
.wf-kicker{font-family:var(--font-mono); color:var(--accent-2); font-size:10px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px;}
.wf-header strong{font-size:16px;}
.wf-header-meta{display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap;}
.wf-header-meta span{border:1px solid var(--border); background:var(--surface); border-radius:999px; padding:6px 9px; color:var(--text-dim); font-size:10.5px;}
.wf-header-meta .published{color:#3ecf8e; border-color:rgba(62,207,142,.35);}
.wf-main{display:grid; grid-template-columns:1fr 250px; min-height:350px;}
.wf-canvas{position:relative; background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0/28px 28px, var(--bg-alt);
  padding:24px; overflow:auto;}
.wf-flow{width:680px; min-height:520px; margin:0 auto; display:flex; flex-direction:column; align-items:center;}
.wf-node{position:relative; min-width:190px; text-align:center; background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), var(--surface); border:1px solid var(--border-light); border-radius:12px; padding:12px 16px; font-size:12px; font-weight:700; box-shadow:0 18px 34px -26px rgba(0,0,0,.9);}
.wf-node.start{border-color:rgba(34,211,197,.45);}
.wf-node.selected{border-color:rgba(91,124,250,.75); box-shadow:0 0 0 4px rgba(91,124,250,.12), 0 22px 40px -28px rgba(0,0,0,.9);}
.wf-node.warning{border-color:rgba(240,169,63,.5);}
.wf-node.done{border-color:rgba(62,207,142,.5);}
.wf-node::before{content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent-2); margin-right:8px; box-shadow:0 0 0 5px rgba(34,211,197,.1);}
.wf-node.decision{min-width:150px; border-radius:8px; transform:rotate(45deg); margin:10px 0 18px;}
.wf-node.decision::before{display:none;}
.wf-node.decision{font-size:0;}
.wf-node.decision::after{content:"Approved?"; font-size:12px; display:block; transform:rotate(-45deg);}
.wf-connector.down{width:2px; height:26px; background:linear-gradient(var(--accent-2), rgba(91,124,250,.55)); position:relative;}
.wf-connector.down::after{content:""; position:absolute; left:50%; bottom:-1px; width:7px; height:7px; border-right:1px solid var(--accent-2); border-bottom:1px solid var(--accent-2); transform:translateX(-50%) rotate(45deg);}
.wf-branch{display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:start; position:relative; margin-top:4px;}
.wf-branch::before{content:""; position:absolute; top:-18px; left:18%; right:18%; height:1px; background:var(--border-light);}
.wf-branch > div{display:flex; flex-direction:column; align-items:center;}
.wf-branch span{font-size:11px; color:var(--text-faint); margin-bottom:6px;}
.wf-connector.merge{height:22px; margin-top:8px;}
.wf-panel{background:var(--bg-alt); border-left:1px solid var(--border); padding:16px 14px;}
.wf-panel h5{font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); margin-bottom:10px;}
.wf-panel > strong{display:block; margin-bottom:14px;}
.wf-property-grid{display:grid; grid-template-columns:1fr; gap:8px;}
.wf-property-grid span{font-size:10px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em;}
.wf-property-grid b{font-size:12px; color:var(--text); padding-bottom:8px; border-bottom:1px solid var(--border);}
.wf-integration-list,.wf-capabilities{display:flex; flex-wrap:wrap; gap:8px;}
.wf-integration-list span,.wf-capabilities span{border:1px solid var(--border); background:var(--surface); border-radius:999px; padding:7px 9px; color:var(--text-dim); font-size:11px;}
.wf-bottom{display:grid; grid-template-columns:repeat(6,1fr); gap:1px; border-top:1px solid var(--border); background:var(--border);}
.wf-stat{background:var(--surface); padding:12px;}
.wf-stat span{display:block; font-size:10px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.05em; margin-bottom:5px;}
.wf-stat strong{font-size:15px;}
.wf-stat i{display:block; height:18px; margin-top:8px; border-radius:5px; background:linear-gradient(135deg, rgba(91,124,250,.24), rgba(34,211,197,.18));}
.wf > .wf-panel:last-child{border-left:none; border-top:1px solid var(--border);}
.sw-teal{background:#22d3c5;}
.sw-blue{background:#5b7cfa;}
.sw-amber{background:#f0a93f;}
.sw-green{background:#3ecf8e;}
.wf-properties-heading{margin-top:18px;}
@media(max-width:700px){
  .occ{grid-template-columns:1fr;}
  .occ-side{border-right:none; border-bottom:1px solid var(--border); flex-direction:row; overflow-x:auto;}
  .occ-kpis,.occ-grid2{grid-template-columns:1fr;}
  .wf-header,.wf-main{grid-template-columns:1fr;}
  .wf-header-meta{justify-content:flex-start;}
  .wf-panel{border-left:none; border-top:1px solid var(--border);}
  .wf-flow{margin:0; transform:scale(.86); transform-origin:top left;}
  .wf-canvas{min-height:470px;}
  .wf-bottom{grid-template-columns:repeat(2,1fr);}
}

/* ============================= ECOSYSTEM ============================= */
.eco-wrap{position:relative; max-width:760px; margin:0 auto; aspect-ratio:1/1; max-height:640px;}
.eco-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:188px; height:188px; border-radius:50%;
  background:radial-gradient(circle at 32% 25%, rgba(34,211,197,.22), rgba(91,124,250,.13) 42%, var(--surface) 72%);
  border:1px solid var(--border-light); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  box-shadow:0 0 0 1px rgba(91,124,250,.12), 0 0 110px -18px rgba(91,124,250,.65), 0 24px 70px -48px rgba(0,0,0,.9);
  z-index:3;
}
.eco-core::before{content:""; position:absolute; inset:-18px; border-radius:50%; border:1px solid rgba(34,211,197,.12); animation:platformGlow 5.5s ease-in-out infinite;}
.eco-core .cm{font-family:var(--font-display); font-weight:800; font-size:17px; text-align:center;}
.eco-core .cs{font-family:var(--font-mono); font-size:9.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em;}
.eco-ring{position:absolute; border:1px dashed var(--border-light); border-radius:50%; top:50%; left:50%; transform:translate(-50%,-50%); opacity:.5;}
.eco-ring-outer{width:520px; height:520px;}
.eco-node{
  position:absolute; width:118px; padding:12px 14px; background:var(--surface); border:1px solid var(--border);
  border-radius:12px; text-align:center; transform:translate(-50%,-50%); transition:border-color .2s, transform .2s;
  z-index:2;
}
.eco-node:hover{border-color:var(--accent-2); transform:translate(-50%,-50%) translateY(-3px);}
.eco-node .en-ic{width:22px; height:22px; margin:0 auto 8px;}
.eco-node .en-t{font-size:12.5px; font-weight:600;}
.eco-svg{position:absolute; inset:0; z-index:1; width:100%; height:100%;}
.eco-svg line{stroke:var(--border-light); stroke-width:1;}
.eco-svg line.pulse-line{stroke:url(#ecoPulseGradient); stroke-width:1.3; stroke-dasharray:8 16; animation:linePulse 7s linear infinite; opacity:.62;}
.shared-platform,.deployment-models{margin-top:56px;}
.section-head.compact{margin-bottom:26px;}
.section-head .h3{font-size:28px; font-family:var(--font-display);}
.shared-service-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.shared-service{border:1px solid var(--border); background:linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--surface); border-radius:10px; padding:14px; display:flex; align-items:center; gap:10px; min-height:64px;}
.shared-service span{width:9px; height:9px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 0 6px rgba(34,211,197,.08); flex-shrink:0;}
.shared-service strong{font-size:13px;}
.deployment-option-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.deployment-option{border:1px solid var(--border); background:var(--surface); border-radius:12px; padding:18px; display:grid; gap:8px; min-height:152px;}
.deployment-option svg{width:24px; height:24px; color:var(--accent-2);}
.deployment-option strong{font-size:15px;}
.deployment-option span{font-size:13px; color:var(--text-dim); line-height:1.55;}
@media(max-width:700px){
  .eco-wrap{max-height:none; aspect-ratio:auto; position:static;}
  .eco-ring,.eco-svg,.eco-core{display:none;}
  .eco-fallback{display:grid; grid-template-columns:repeat(2,1fr); gap:12px;}
  .shared-service-grid,.deployment-option-grid{grid-template-columns:1fr;}
}

/* ============================= ARCHITECTURE ============================= */
.arch{border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); padding:36px; overflow-x:auto;}
.arch-subhead{margin-bottom:18px;}
.arch-subhead span{font-family:var(--font-mono); color:var(--accent-2); font-size:11px; text-transform:uppercase; letter-spacing:.08em;}
.arch-subhead strong{display:block; font-family:var(--font-display); font-size:24px; margin-top:8px;}
.arch-subhead p{color:var(--text-dim); line-height:1.7; margin-top:8px; max-width:760px;}
.compact-grid{grid-template-columns:repeat(4,1fr);}
.compact-deploy{grid-template-columns:repeat(3,1fr);}
.arch-layer{margin-bottom:22px;}
.arch-layer:last-child{margin-bottom:0;}
.arch-layer-label{font-family:var(--font-mono); font-size:10.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.07em; margin-bottom:10px; padding-left:2px;}
.arch-row{display:grid; gap:10px;}
.arch-row.c2{grid-template-columns:repeat(2,1fr);}
.arch-row.c5{grid-template-columns:repeat(5,1fr);}
.arch-row.c1{grid-template-columns:1fr;}
@media(max-width:820px){.arch-row.c5{grid-template-columns:repeat(2,1fr);} .arch-row.c2{grid-template-columns:1fr;}}
.arch-box{
  background:var(--bg-alt); border:1px solid var(--border-light); border-radius:8px; padding:14px 12px;
  font-size:12.5px; font-weight:600; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; min-height:64px; justify-content:center;
}
.arch-box svg{width:16px; height:16px; color:var(--accent-2);}
.arch-box.core{background:linear-gradient(135deg, rgba(91,124,250,.14), rgba(34,211,197,.08)); border-color:var(--accent); color:var(--accent-bright); font-family:var(--font-display); letter-spacing:.02em;}
.arch-runtime{font-size:14px; padding:18px;}
.arch-connector{height:22px; display:flex; align-items:center; justify-content:center;}
.arch-connector svg{height:100%; color:var(--border-light);}
@media(max-width:900px){
  .arch{padding:22px;}
  .compact-grid,.compact-deploy{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:620px){
  .compact-grid,.compact-deploy{grid-template-columns:1fr;}
}

/* ============================= GENERIC GRIDS ============================= */
.grid{display:grid; gap:20px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr);} .grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.grid-3,.grid-4{grid-template-columns:1fr;}}

.sol-card{padding:26px;}
a.sol-card,a.ind-card,a.co-card{color:inherit; text-decoration:none;}
.sol-card .icwrap{width:38px; height:38px; border-radius:9px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.sol-card .icwrap svg{width:19px; height:19px; color:var(--accent-bright);}
.sol-card h4{font-size:16px; margin-bottom:9px;}
.sol-card p{font-size:13.5px; color:var(--text-dim); line-height:1.55;}
.sol-card .link{display:inline-flex; align-items:center; gap:5px; font-size:13px; color:var(--accent-2); font-weight:600; margin-top:16px;}

.ind-card{padding:22px; display:flex; flex-direction:column; gap:14px;}
.ind-card .icwrap{width:34px; height:34px; border-radius:8px; background:var(--surface-2); display:flex; align-items:center; justify-content:center;}
.ind-card .icwrap svg{width:17px; height:17px; color:var(--accent-2);}
.ind-card h4{font-size:14.5px;}

/* ============================= PORTAL SECTIONS ============================= */
.portal-row{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
@media(max-width:900px){.portal-row{grid-template-columns:1fr;}}
.portal-features{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:26px 0 30px;}
.pf-item{display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--text-dim);}
.pf-item svg{width:15px; height:15px; color:var(--accent-2); flex-shrink:0; margin-top:2px;}
.portal-mock{border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); padding:22px; position:relative;}
.partner-mock{order:1;}
.partner-copy{order:2;}
.portal-mock .pm-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:18px;}
.portal-mock .pm-head h5{font-size:14px;}
.pm-list{display:flex; flex-direction:column; gap:10px;}
.pm-row{display:flex; justify-content:space-between; align-items:center; background:var(--bg-alt); border:1px solid var(--border); border-radius:8px; padding:12px 14px;}
.pm-row .pr-l{font-size:12.5px; color:var(--text-dim);}
.pm-row .pr-r{font-size:12.5px; font-weight:600;}

/* ============================= TRUST ============================= */
.trust-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:16px;}
@media(max-width:900px){.trust-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:560px){.trust-grid{grid-template-columns:repeat(2,1fr);}}
.trust-badge{border:1px solid var(--border); border-radius:10px; padding:18px 10px; text-align:center; font-family:var(--font-mono); font-size:11px; color:var(--text-dim); letter-spacing:.02em;}
.trust-badge strong{display:block; font-family:var(--font-display); font-size:13px; color:var(--text); margin-bottom:2px;}
.resource-strip{display:flex; flex-wrap:wrap; gap:12px; margin-top:40px;}
.res-link{display:flex; align-items:center; gap:8px; padding:11px 18px; border:1px solid var(--border); border-radius:8px; font-size:13.5px; color:var(--text-dim); transition:.15s;}
.res-link:hover{border-color:var(--accent-2); color:var(--text);}
.res-link svg{width:15px; height:15px; color:var(--accent-2);}

/* ============================= COMPANY ============================= */
.company-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
@media(max-width:900px){.company-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.company-grid{grid-template-columns:1fr;}}
.co-card{padding:24px;}
.co-card .con{font-family:var(--font-mono); font-size:11px; color:var(--text-faint); margin-bottom:10px;}
.co-card h4{font-size:15px; margin-bottom:8px;}
.co-card p{font-size:13px; color:var(--text-dim); line-height:1.55;}
.regions{display:flex; gap:0; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; margin-top:20px;}
.region{flex:1; padding:20px; border-right:1px solid var(--border); text-align:center;}
.region:last-child{border-right:none;}
.region .rn{font-family:var(--font-display); font-weight:700; font-size:15px;}
.region .rd{font-size:12px; color:var(--text-faint); margin-top:4px;}
@media(max-width:700px){.regions{flex-direction:column;} .region{border-right:none; border-bottom:1px solid var(--border);} .region:last-child{border-bottom:none;}}

/* ============================= CTA BAND ============================= */
.cta-band{
  border-radius:24px; padding:64px 48px; text-align:center;
  background:linear-gradient(135deg, rgba(91,124,250,.16), rgba(34,211,197,.07)), var(--surface);
  border:1px solid var(--border-light); position:relative; overflow:hidden;
}
.cta-band h2{margin-bottom:14px;}
.cta-band p{color:var(--text-dim); max-width:520px; margin:0 auto 32px;}
.cta-actions{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

/* ============================= FOOTER ============================= */
footer{border-top:1px solid var(--border); padding:80px 0 32px; background:var(--bg-alt);}
.footer-top{display:grid; grid-template-columns:1.6fr repeat(6,1fr); gap:32px; margin-bottom:60px;}
@media(max-width:1100px){.footer-top{grid-template-columns:repeat(4,1fr);}}
@media(max-width:700px){.footer-top{grid-template-columns:repeat(2,1fr);}}
.footer-brand p{font-size:13px; color:var(--text-faint); margin-top:14px; max-width:220px; line-height:1.6;}
.footer-col h6{font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); margin-bottom:16px;}
.footer-col ul{display:flex; flex-direction:column; gap:11px;}
.footer-col a{font-size:13.5px; color:var(--text-dim);}
.footer-col a:hover{color:var(--text);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:28px; border-top:1px solid var(--border); flex-wrap:wrap; gap:16px;}
.footer-bottom .fl{font-size:12.5px; color:var(--text-faint);}
.footer-legal{display:flex; gap:22px; flex-wrap:wrap;}
.footer-legal a{font-size:12.5px; color:var(--text-faint);}
.footer-legal a:hover{color:var(--text-dim);}

/* ============================= INTERNAL PAGES ============================= */
.page-main{padding-top:68px;}
.page-hero{
  position:relative; overflow:hidden; padding:96px 0 64px;
  background:
    linear-gradient(180deg, rgba(91,124,250,.08), transparent 62%),
    radial-gradient(circle at 82% 18%, rgba(34,211,197,.12), transparent 34%),
    var(--bg);
}
.page-hero::after{
  content:""; position:absolute; inset:auto 0 0; height:1px;
  background:linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.breadcrumb{font-size:13px; color:var(--text-faint); margin-bottom:28px;}
.breadcrumb a{color:var(--text-dim);}
.breadcrumb a:hover{color:var(--text);}
.page-hero-grid{display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:56px; align-items:end;}
.page-kicker{font-family:var(--font-mono); font-size:12px; color:var(--accent-2); letter-spacing:.14em; text-transform:uppercase; margin-bottom:16px;}
.page-title{font-family:var(--font-display); font-size:clamp(36px,5vw,62px); line-height:1.04; letter-spacing:-.02em; margin-bottom:22px;}
.page-summary{font-size:18px; color:var(--text-dim); line-height:1.7; max-width:720px;}
.page-hero-panel{border:1px solid var(--border-light); background:rgba(17,22,33,.74); border-radius:14px; padding:24px;}
.page-panel-label{font-family:var(--font-mono); font-size:11px; color:var(--text-faint); letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px;}
.page-panel-metric{display:flex; justify-content:space-between; gap:18px; border-top:1px solid var(--border); padding:14px 0;}
.page-panel-metric:last-child{padding-bottom:0;}
.page-panel-metric strong{font-size:14px;}
.page-panel-metric span{font-size:13px; color:var(--text-dim); text-align:right;}
.page-section{padding:72px 0;}
.page-section.alt{background:var(--bg-alt);}
.page-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.page-card{border:1px solid var(--border); background:var(--surface); border-radius:12px; padding:24px; min-height:168px;}
.page-card h3{font-size:17px; margin-bottom:10px;}
.page-card p{font-size:14px; color:var(--text-dim); line-height:1.65;}
.page-split{display:grid; grid-template-columns:.82fr 1.18fr; gap:48px; align-items:start;}
.page-list{display:grid; gap:12px;}
.page-list li{display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); color:var(--text-dim);}
.page-list li::before{content:""; width:7px; height:7px; border-radius:50%; margin-top:8px; background:var(--accent-2); flex-shrink:0;}
.page-copy{display:grid; gap:14px; color:var(--text-dim); line-height:1.75;}
.page-cta{border-top:1px solid var(--border); padding:56px 0; background:var(--surface);}
.page-cta-row{display:flex; justify-content:space-between; gap:32px; align-items:center;}
.page-cta-row p{color:var(--text-dim); margin-top:8px; max-width:620px;}
.page-directory{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.directory-link{display:flex; justify-content:space-between; gap:16px; align-items:center; border:1px solid var(--border); background:var(--surface); border-radius:10px; padding:16px; color:var(--text-dim); font-size:14px; transition:border-color .15s, background .15s, transform .15s;}
.directory-link strong{color:var(--text); font-size:15px;}
.directory-link:hover{border-color:var(--accent-2); background:var(--surface-2); color:var(--text); transform:translateY(-1px);}
.company-about-grid{display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:18px; align-items:start;}
.company-about-lead{display:grid; gap:14px;}
.company-about-lead p,.company-about .page-card p{color:var(--text-dim); line-height:1.75;}
.company-foundation-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.page-hero-actions{margin-top:28px;}
.platform-capability-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.platform-deploy-row{display:grid; grid-template-columns:.86fr 1.14fr; gap:56px; align-items:start;}
.deployment-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.deployment-tile,.benefit-tile{border:1px solid var(--border); background:var(--surface); border-radius:10px; padding:16px; color:var(--text); font-weight:700; font-size:14px;}
.platform-architecture{border:1px solid var(--border-light); border-radius:16px; padding:28px; background:
  linear-gradient(180deg, rgba(91,124,250,.08), transparent 36%),
  var(--surface); box-shadow:0 32px 90px -54px rgba(0,0,0,.85);}
.arch-users{width:max-content; margin:0 auto; border:1px solid rgba(34,211,197,.45); color:var(--accent-2); background:rgba(34,211,197,.08); border-radius:999px; padding:10px 22px; font-weight:800; letter-spacing:.04em;}
.arch-flow{height:34px; width:1px; margin:0 auto; background:linear-gradient(var(--accent-2), rgba(91,124,250,.35)); position:relative;}
.arch-flow::after{content:""; position:absolute; left:50%; bottom:-1px; width:8px; height:8px; border-right:1px solid var(--accent-2); border-bottom:1px solid var(--accent-2); transform:translateX(-50%) rotate(45deg);}
.arch-layer{border:1px solid var(--border); border-radius:14px; padding:18px; background:var(--bg-alt);}
.arch-layer-core{background:linear-gradient(135deg, rgba(91,124,250,.12), rgba(34,211,197,.08)), var(--bg-alt); border-color:rgba(91,124,250,.35);}
.arch-layer-deploy{background:rgba(255,255,255,.035);}
.arch-layer-title{font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; font-weight:800;}
.arch-chip-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
.arch-chip-grid.wide{grid-template-columns:repeat(5,1fr);}
.arch-chip-grid span{border:1px solid var(--border); background:var(--surface); border-radius:8px; padding:11px 10px; color:var(--text-dim); font-size:12px; text-align:center; min-height:42px; display:flex; align-items:center; justify-content:center;}
.arch-enterprise{display:grid; gap:32px; overflow:hidden; background:
  radial-gradient(circle at 18% 12%, rgba(34,211,197,.08), transparent 28%),
  radial-gradient(circle at 82% 30%, rgba(91,124,250,.11), transparent 30%),
  linear-gradient(180deg, rgba(255,255,255,.025), transparent 44%),
  var(--surface);}
.arch-stack{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:22px; align-items:stretch;}
.arch-main{position:relative; display:grid;}
.arch-main::before{content:""; position:absolute; left:50%; top:28px; bottom:28px; width:1px; background:linear-gradient(180deg, transparent, rgba(34,211,197,.4), rgba(91,124,250,.26), transparent); opacity:.7;}
.arch-enterprise .arch-layer{position:relative; margin:0; border-color:rgba(126,144,178,.22); background:rgba(8,13,22,.72); box-shadow:0 24px 70px -58px rgba(0,0,0,.9);}
.arch-layer-apps{border-color:rgba(34,211,197,.32) !important; background:
  linear-gradient(135deg, rgba(34,211,197,.13), rgba(91,124,250,.08)),
  rgba(12,18,30,.96) !important; box-shadow:0 0 0 1px rgba(34,211,197,.08), 0 30px 90px -62px rgba(34,211,197,.9) !important;}
.arch-layer-shared{border-color:rgba(91,124,250,.38) !important; background:
  linear-gradient(135deg, rgba(91,124,250,.12), rgba(34,211,197,.055)),
  rgba(10,15,25,.92) !important;}
.arch-layer-thin{opacity:.82;}
.arch-layer-runtime{background:linear-gradient(135deg, rgba(91,124,250,.16), rgba(34,211,197,.1)), rgba(9,15,26,.98) !important; border-color:rgba(91,124,250,.45) !important;}
.arch-enterprise .arch-layer-label{color:var(--text-faint); margin-bottom:14px;}
.arch-row.app-row{grid-template-columns:repeat(4,1fr);}
.arch-enterprise .arch-box{position:relative; min-height:72px; color:var(--text); text-decoration:none; transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;}
.arch-enterprise .arch-box:hover{transform:translateY(-3px); border-color:rgba(34,211,197,.48); box-shadow:0 18px 48px -34px rgba(34,211,197,.65);}
.arch-box.app-card{background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)), rgba(14,20,32,.96); border-color:rgba(34,211,197,.25); font-weight:800;}
.arch-box.app-card::after,.arch-box.active-service::after{content:""; position:absolute; top:10px; right:10px; width:6px; height:6px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 16px rgba(34,211,197,.9); animation:serviceGlow 4.2s ease-in-out infinite;}
.arch-box.muted{opacity:.7; min-height:62px;}
.arch-box.active-service{background:linear-gradient(135deg, rgba(91,124,250,.12), rgba(34,211,197,.08)), var(--bg-alt); border-color:rgba(91,124,250,.36); box-shadow:0 0 34px -24px rgba(91,124,250,.95);}
.vertical-pulse{position:relative; overflow:hidden; height:26px;}
.vertical-pulse::before{content:""; width:1px; height:100%; background:rgba(126,144,178,.18);}
.vertical-pulse::after{content:""; position:absolute; top:-24px; left:50%; width:2px; height:24px; transform:translateX(-50%); background:linear-gradient(180deg, transparent, var(--accent-2), transparent); box-shadow:0 0 14px rgba(34,211,197,.9); animation:verticalPulse 3.8s ease-in-out infinite;}
.arch-runtime-card{position:relative; display:grid; gap:8px; padding:22px; text-align:center; border:1px solid rgba(91,124,250,.58); border-radius:10px; background:linear-gradient(90deg, rgba(91,124,250,.18), rgba(34,211,197,.1)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.025), 0 26px 70px -46px rgba(91,124,250,.8);}
.arch-runtime-card strong{font-family:var(--font-display); color:var(--accent-bright); font-size:16px;}
.arch-runtime-card span{color:var(--text-dim); font-size:12px; line-height:1.6;}
.integration-panel{position:relative; border:1px solid rgba(126,144,178,.24); border-radius:14px; padding:18px; background:rgba(8,13,22,.72); overflow:hidden;}
.integration-panel::before{content:""; position:absolute; left:-22px; top:112px; width:22px; height:1px; background:linear-gradient(90deg, transparent, rgba(34,211,197,.55));}
.integration-panel p{color:var(--text-dim); line-height:1.55; font-size:13px; margin:0 0 16px;}
.integration-grid{display:grid; gap:10px;}
.integration-grid span{position:relative; min-height:42px; display:flex; align-items:center; border:1px solid var(--border); border-radius:8px; background:rgba(14,20,32,.82); padding:10px 12px 10px 26px; color:var(--text); font-size:12.5px; font-weight:700;}
.integration-grid span::before{content:""; position:absolute; left:11px; width:6px; height:6px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 12px rgba(34,211,197,.7);}
.arch-deployment-layer,.platform-benefits{border-top:1px solid rgba(126,144,178,.2); padding-top:28px;}
.platform-benefit-grid .benefit-tile{display:grid; gap:8px; min-height:136px; transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;}
.platform-benefit-grid .benefit-tile:hover{transform:translateY(-3px); border-color:rgba(34,211,197,.35); box-shadow:0 18px 50px -36px rgba(34,211,197,.5);}
.platform-benefit-grid span{color:var(--text-dim); font-size:13px; line-height:1.55; font-weight:500;}
@keyframes verticalPulse{0%{top:-24px; opacity:0;}18%,72%{opacity:1;}100%{top:100%; opacity:0;}}
@keyframes serviceGlow{0%,100%{opacity:.45; transform:scale(.9);}50%{opacity:1; transform:scale(1.12);}}
.platform-visual-grid{display:grid; grid-template-columns:.82fr 1.18fr; gap:56px; align-items:center;}
.platform-isometric{min-height:360px; position:relative; border:1px solid var(--border-light); border-radius:16px; background:
  radial-gradient(circle at 68% 22%, rgba(34,211,197,.14), transparent 20%),
  radial-gradient(circle at 24% 72%, rgba(91,124,250,.18), transparent 24%),
  var(--surface); overflow:hidden;}
.platform-isometric::before{content:""; position:absolute; inset:26px; background:linear-gradient(90deg, rgba(126,144,178,.12) 1px, transparent 1px), linear-gradient(rgba(126,144,178,.1) 1px, transparent 1px); background-size:44px 44px; transform:skewY(-8deg); opacity:.7;}
.iso-layer{position:absolute; left:18%; right:18%; min-height:54px; border:1px solid var(--border-light); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; color:var(--text); background:rgba(18,24,36,.94); box-shadow:0 24px 50px -34px rgba(0,0,0,.9); transform:skewY(-8deg);}
.iso-layer::after{content:""; position:absolute; inset:auto 18px -28px; height:28px; background:linear-gradient(180deg, rgba(91,124,250,.22), transparent); clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);}
.iso-apps{top:46px; border-color:rgba(34,211,197,.45);}
.iso-services{top:126px; left:14%; right:14%; border-color:rgba(91,124,250,.5);}
.iso-integrations{top:208px; left:19%; right:19%;}
.iso-deployments{top:286px; left:24%; right:24%; color:var(--text-dim);}
.benefit-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.product-showcase{display:grid; gap:28px;}
.product-shot-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:22px;}
.product-shot{
  border:1px solid var(--border-light); border-radius:14px; overflow:hidden; background:var(--surface);
  box-shadow:0 28px 80px -42px rgba(0,0,0,.8);
}
.product-shot.wide{grid-column:1 / -1;}
.product-shot-bar{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 16px; border-bottom:1px solid var(--border); background:var(--bg-alt);}
.product-shot-title{font-size:13px; color:var(--text); font-weight:700;}
.product-shot-meta{font-family:var(--font-mono); font-size:10.5px; color:var(--text-faint);}
.product-shot-body{padding:18px; display:grid; gap:16px;}
.product-metrics{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
.product-metric{border:1px solid var(--border); background:var(--bg-alt); border-radius:8px; padding:12px;}
.product-metric strong{display:block; font-size:20px; margin-bottom:3px;}
.product-metric span{font-size:11px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.04em;}
.product-chart{height:150px; border:1px solid var(--border); border-radius:10px; background:
  linear-gradient(var(--border) 1px, transparent 1px) 0 0/100% 25%,
  linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0/16.66% 100%,
  var(--bg-alt); position:relative; overflow:hidden;
}
.product-chart svg{position:absolute; inset:14px; width:calc(100% - 28px); height:calc(100% - 28px);}
.product-dashboard{gap:18px;}
.enterprise-dashboard-grid{display:grid; grid-template-columns:300px 1fr 300px; gap:14px; align-items:stretch;}
.dashboard-side-panel,.dashboard-main-panel,.dashboard-map-panel,.dashboard-activity-panel{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px;}
.dashboard-main-panel{grid-column:2 / 4;}
.dashboard-panel-head{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px;}
.dashboard-panel-head strong{font-size:13px;}
.dashboard-panel-head span,.panel-label{font-family:var(--font-mono); color:var(--text-faint); font-size:10px; text-transform:uppercase; letter-spacing:.06em;}
.account-row{display:grid; gap:5px; padding:11px 0; border-bottom:1px solid var(--border); position:relative;}
.account-row:last-child{border-bottom:0;}
.account-row strong{font-size:12.5px; color:var(--text);}
.account-row span,.account-row em{font-size:11.5px; color:var(--text-faint); font-style:normal;}
.account-row i{display:block; height:3px; border-radius:999px; background:linear-gradient(90deg, var(--accent-2), var(--accent)); margin-top:4px;}
.dashboard-chart{height:190px;}
.pipeline-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px;}
.pipeline-strip div{border:1px solid var(--border); background:var(--surface); border-radius:8px; padding:10px;}
.pipeline-strip span{display:block; font-size:10px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.04em; margin-bottom:5px;}
.pipeline-strip strong{font-size:16px;}
.product-map-panel{min-height:150px; border:1px solid var(--border); border-radius:10px; background:
  radial-gradient(circle at 24% 34%, rgba(34,211,197,.22), transparent 12%),
  radial-gradient(circle at 72% 62%, rgba(91,124,250,.2), transparent 14%),
  linear-gradient(135deg, rgba(255,255,255,.04), transparent 42%),
  var(--bg-alt); position:relative; overflow:hidden;
}
.product-map-panel::before{content:""; position:absolute; inset:18px; border:1px solid rgba(126,144,178,.15); border-radius:18px; transform:skew(-8deg) rotate(-4deg);}
.product-map-panel span{position:absolute; width:10px; height:10px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 0 7px rgba(34,211,197,.12);}
.timeline-row{display:grid; grid-template-columns:12px 1fr auto; gap:9px; align-items:center; padding:9px 0; border-bottom:1px solid var(--border);}
.timeline-row:last-child{border-bottom:0;}
.timeline-row b{width:8px; height:8px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 0 5px rgba(34,211,197,.1);}
.timeline-row span{font-size:12px; color:var(--text-dim);}
.timeline-row em{font-size:11px; color:var(--text-faint); font-style:normal;}
.crm-executive-dashboard{background:
  radial-gradient(circle at 18% 12%, rgba(34,211,197,.08), transparent 20%),
  radial-gradient(circle at 82% 18%, rgba(91,124,250,.1), transparent 22%);
}
.crm-kpi-row{display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:12px;}
.crm-kpi{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px; display:grid; gap:5px;}
.crm-kpi.primary{background:linear-gradient(135deg, rgba(91,124,250,.18), rgba(34,211,197,.09)), var(--bg-alt); border-color:rgba(91,124,250,.4);}
.crm-kpi span{font-size:10px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em;}
.crm-kpi strong{font-size:24px;}
.crm-kpi em{font-size:12px; color:var(--accent-2); font-style:normal;}
.crm-dashboard-grid{display:grid; grid-template-columns:290px 1.05fr .85fr; gap:14px;}
.crm-dashboard-grid section{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px;}
.crm-forecast-panel{grid-column:2 / 4;}
.crm-account-panel{grid-row:1 / 3;}
.crm-opportunity-panel{grid-column:2 / 4;}
.crm-account{border:1px solid var(--border); border-radius:9px; background:var(--surface); padding:12px; display:grid; gap:7px; margin-bottom:10px;}
.crm-account.active{border-color:rgba(34,211,197,.42);}
.crm-account b{font-size:13px;}
.crm-account span{font-size:12px; color:var(--text-faint);}
.crm-account i{height:4px; border-radius:999px; background:linear-gradient(90deg, var(--accent-2), var(--accent));}
.crm-funnel{display:grid; gap:10px;}
.crm-funnel div{width:var(--w); border:1px solid var(--border); border-radius:9px; padding:12px 14px; background:linear-gradient(90deg, rgba(91,124,250,.22), rgba(34,211,197,.08)); display:flex; justify-content:space-between; gap:16px;}
.crm-funnel span{font-size:12px; color:var(--text-dim);}
.crm-funnel strong{font-size:13px;}
.crm-region-list{display:grid; gap:10px;}
.crm-region-list div{border:1px solid var(--border); background:var(--surface); border-radius:9px; padding:11px; display:grid; grid-template-columns:1fr auto; gap:5px 12px; align-items:center;}
.crm-region-list strong{font-size:12.5px;}
.crm-region-list span{font-size:11.5px; color:var(--text-faint);}
.crm-region-list em{grid-column:2; grid-row:1 / 3; color:var(--text); font-size:13px; font-style:normal; font-weight:800;}
.crm-region-list i{grid-column:1 / 3; height:4px; border-radius:999px; background:linear-gradient(90deg, var(--accent-2), var(--accent));}
.erp-dashboard-grid{display:grid; grid-template-columns:300px 1fr 330px; gap:14px;}
.erp-dashboard-grid section{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px;}
.erp-cash-panel{grid-column:2 / 4;}
.erp-assets-panel{grid-column:1 / 4;}
.erp-donut{width:168px; aspect-ratio:1; border-radius:50%; margin:16px auto; background:conic-gradient(var(--accent-2) 0 58%, var(--accent) 58% 82%, rgba(126,144,178,.25) 82% 100%); display:grid; place-items:center; position:relative;}
.erp-donut::before{content:""; position:absolute; inset:22px; border-radius:50%; background:var(--bg-alt); border:1px solid var(--border);}
.erp-donut span{position:relative; z-index:1; text-align:center; font-size:20px; font-weight:800;}
.erp-donut em{display:block; color:var(--text-faint); font-size:11px; font-style:normal; margin-top:3px;}
.erp-legend{display:grid; gap:8px; font-size:12px; color:var(--text-dim);}
.erp-legend span{display:flex; align-items:center; gap:8px;}
.erp-legend b{width:9px; height:9px; border-radius:50%; background:var(--accent-2);}
.erp-legend span:nth-child(2) b{background:var(--accent);}
.erp-legend span:nth-child(3) b{background:rgba(126,144,178,.55);}
.erp-bars{height:212px; display:grid; grid-template-columns:repeat(12,1fr); gap:8px; align-items:end; padding:10px 4px 0; border:1px solid var(--border); border-radius:9px; background:linear-gradient(var(--border) 1px, transparent 1px) 0 0/100% 25%, var(--surface);}
.erp-bars i{display:block; min-height:22px; border-radius:6px 6px 0 0; background:linear-gradient(180deg, var(--accent), var(--accent-2)); position:relative;}
.erp-bars span{position:absolute; bottom:-18px; left:50%; transform:translateX(-50%); font-size:9px; color:var(--text-faint); font-style:normal;}
.erp-request{display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid var(--border);}
.erp-request:last-child{border-bottom:0;}
.erp-request strong{font-size:12px;}
.erp-request span{color:var(--text-dim); font-size:12px;}
.erp-request em{color:var(--text-faint); font-size:11px; font-style:normal;}
.erp-mini-table td{font-size:12px;}
.task-board{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.task-board section,.emergency-layout section,.ops-report aside,.ops-report main,.case-workspace aside,.case-workspace main,.identity-access aside,.identity-access main,.analytics-grid section{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px;}
.task-board h4{font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:12px;}
.task-card{border:1px solid var(--border); background:var(--surface); border-radius:9px; padding:12px; margin-bottom:10px; display:grid; gap:6px;}
.task-card strong{font-size:13px;}
.task-card span{font-size:12px; color:var(--text-faint);}
.task-card.hot{border-color:rgba(239,106,95,.45);}
.task-card.done{border-color:rgba(34,211,197,.38);}
.process-lane{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px;}
.process-lane b{border:1px solid var(--border); background:var(--surface); border-radius:999px; padding:7px 9px; font-size:11px;}
.process-lane i{width:18px; height:1px; background:var(--accent-2);}
.emergency-command-board{display:grid; grid-template-columns:1.05fr 1.15fr .8fr; gap:14px;}
.emergency-command-board section{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:14px;}
.em-ticket{border:1px solid var(--border); background:var(--surface); border-radius:10px; padding:12px; display:grid; gap:6px; margin-bottom:10px;}
.em-ticket b{font-family:var(--font-mono); color:var(--text-faint); font-size:10px;}
.em-ticket strong{font-size:13px;}
.em-ticket span{font-size:12px; color:var(--text-dim);}
.em-ticket em{font-size:11px; color:var(--text-faint); font-style:normal;}
.em-ticket.critical{border-color:rgba(239,106,95,.55); box-shadow:inset 3px 0 0 var(--red);}
.em-ticket.critical em{color:var(--red);}
.em-ticket.high{border-color:rgba(240,169,63,.5); box-shadow:inset 3px 0 0 var(--amber);}
.response-timeline{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:14px;}
.response-timeline div{border:1px solid var(--border); background:var(--surface); border-radius:8px; padding:10px;}
.response-timeline b{display:block; font-size:11px; margin-bottom:5px;}
.response-timeline span{font-size:11px; color:var(--text-faint);}
.incident-summary{border:1px solid var(--border); background:var(--surface); border-radius:9px; padding:14px; color:var(--text-dim); font-size:13px; line-height:1.6;}
.ticket,.crew-row{display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; padding:12px 0; border-bottom:1px solid var(--border);}
.ticket b,.crew-row b{font-size:12px;}
.ticket span,.crew-row span{font-size:12px; color:var(--text-dim);}
.ticket em{font-size:11px; color:var(--text-faint); font-style:normal;}
.ticket.critical em{color:var(--red);}
.incident-page,.ai-copilot,.ops-report,.case-workspace,.identity-access{display:grid; grid-template-columns:.85fr 1.15fr; gap:14px;}
.incident-page aside,.chat-panel,.ai-actions{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:16px;}
.incident-page h3{margin:12px 0 8px;}
.incident-page p{color:var(--text-dim); font-size:14px; line-height:1.6;}
.incident-meta{display:grid; gap:8px; margin-top:16px; color:var(--text-faint); font-size:12px;}
.comment-box{margin-top:14px; border:1px solid var(--border); border-radius:9px; padding:14px; color:var(--text-dim); background:var(--surface);}
.chat-panel{display:grid; gap:12px;}
.chat{max-width:82%; border:1px solid var(--border); border-radius:12px; padding:12px; font-size:13px; color:var(--text-dim); line-height:1.55;}
.chat.user{justify-self:end; background:rgba(91,124,250,.12); color:var(--text);}
.chat.bot{justify-self:start; background:var(--surface);}
.ai-actions{display:grid; gap:10px; align-content:start;}
.ai-actions button{border:1px solid var(--border); background:var(--surface); color:var(--text); border-radius:8px; padding:11px; text-align:left;}
.ops-report aside div,.case-row{border:1px solid var(--border); background:var(--surface); border-radius:8px; padding:10px; color:var(--text-dim); font-size:12px; margin-top:9px;}
.case-row.active{border-color:rgba(34,211,197,.42); color:var(--text);}
.analytics-grid{display:grid; grid-template-columns:1.3fr .7fr; gap:14px;}
.heatmap{display:grid; grid-template-columns:repeat(6,1fr); gap:8px;}
.heatmap i{display:block; aspect-ratio:1; border-radius:6px; background:linear-gradient(135deg, var(--accent), var(--accent-2));}
.product-table{width:100%; border-collapse:collapse; font-size:12px;}
.product-table th,.product-table td{padding:10px 8px; border-bottom:1px solid var(--border); text-align:left;}
.product-table th{color:var(--text-faint); font-size:10px; text-transform:uppercase; letter-spacing:.05em;}
.product-table td{color:var(--text-dim);}
.product-workflow{display:grid; gap:10px;}
.product-step{display:flex; justify-content:space-between; gap:12px; align-items:center; border:1px solid var(--border); background:var(--bg-alt); border-radius:9px; padding:12px;}
.product-step strong{font-size:13px;}
.product-step span{font-size:12px; color:var(--text-faint);}
.commercial-actions{display:flex; flex-wrap:wrap; gap:12px; align-items:center;}
.commercial-phone{font-size:13px; color:var(--text-dim);}
@media(max-width:980px){
  .page-hero-grid,.page-split{grid-template-columns:1fr;}
  .page-hero-panel{max-width:520px;}
  .page-grid{grid-template-columns:repeat(2,1fr);}
  .page-directory{grid-template-columns:repeat(2,1fr);}
  .company-about-grid,.company-foundation-grid{grid-template-columns:1fr;}
  .platform-capability-grid{grid-template-columns:repeat(2,1fr);}
  .platform-deploy-row,.platform-visual-grid{grid-template-columns:1fr;}
  .arch-stack{grid-template-columns:1fr;}
  .arch-main::before,.integration-panel::before{display:none;}
  .arch-row.app-row{grid-template-columns:repeat(2,1fr);}
  .arch-enterprise .arch-row.c5{grid-template-columns:repeat(2,1fr);}
  .arch-chip-grid,.arch-chip-grid.wide{grid-template-columns:repeat(3,1fr);}
  .benefit-grid{grid-template-columns:repeat(2,1fr);}
  .product-shot-grid{grid-template-columns:1fr;}
  .enterprise-dashboard-grid{grid-template-columns:1fr;}
  .crm-kpi-row,.crm-dashboard-grid{grid-template-columns:1fr;}
  .crm-account-panel,.crm-forecast-panel,.crm-opportunity-panel{grid-column:auto; grid-row:auto;}
  .erp-dashboard-grid{grid-template-columns:1fr;}
  .task-board,.emergency-command-board,.incident-page,.ai-copilot,.ops-report,.case-workspace,.identity-access,.analytics-grid{grid-template-columns:1fr;}
  .response-timeline{grid-template-columns:repeat(2,1fr);}
  .erp-cash-panel,.erp-assets-panel{grid-column:auto;}
  .dashboard-main-panel{grid-column:auto;}
  .page-cta-row{align-items:flex-start; flex-direction:column;}
}
@media(max-width:620px){
  .page-hero{padding:72px 0 48px;}
  .page-grid,.page-directory{grid-template-columns:1fr;}
  .product-metrics{grid-template-columns:repeat(2,1fr);}
  .pipeline-strip{grid-template-columns:repeat(2,1fr);}
  .arch-enterprise{padding:18px;}
  .arch-row.app-row,.arch-enterprise .arch-row.c5,.arch-enterprise .arch-row.c2{grid-template-columns:1fr;}
  .platform-capability-grid,.deployment-grid,.arch-chip-grid,.arch-chip-grid.wide,.benefit-grid{grid-template-columns:1fr;}
  .platform-architecture{padding:18px;}
  .platform-isometric{min-height:300px;}
  .iso-layer{left:10%; right:10%;}
  .iso-services{left:8%; right:8%;}
  .iso-integrations{left:12%; right:12%;}
  .iso-deployments{left:16%; right:16%; top:252px;}
  .page-card{min-height:auto;}
}

/* ============================= CUSTOMER PORTAL ============================= */
.auth-shell{min-height:calc(100vh - 68px); display:grid; grid-template-columns:minmax(0,1fr) 440px; gap:64px; align-items:center; padding:88px 0;}
.auth-panel{border:1px solid var(--border-light); background:var(--surface); border-radius:14px; padding:30px; box-shadow:0 30px 80px -40px rgba(0,0,0,.85);}
.form-grid{display:grid; gap:14px;}
.field label{display:block; font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.07em; margin-bottom:7px;}
.field input,.field textarea,.field select{
  width:100%; border:1px solid var(--border-light); background:var(--bg-alt); color:var(--text);
  border-radius:8px; padding:12px 13px; font:inherit; outline:none;
}
.field textarea{min-height:108px; resize:vertical;}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent-2);}
.auth-note{font-size:13px; color:var(--text-faint); line-height:1.6; margin-top:18px;}
.portal-layout{display:grid; grid-template-columns:260px 1fr; gap:28px; align-items:start;}
.portal-sidebar{position:sticky; top:92px; border:1px solid var(--border); border-radius:12px; background:var(--surface); padding:18px;}
.portal-account{padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:12px;}
.portal-account strong{display:block; font-size:15px;}
.portal-account span{display:block; color:var(--text-faint); font-size:12px; margin-top:4px;}
.portal-nav{display:grid; gap:4px;}
.portal-nav a{font-size:13px; color:var(--text-dim); padding:10px 8px; border-radius:7px;}
.portal-nav a:hover{background:var(--surface-2); color:var(--text);}
.portal-stack{display:grid; gap:24px;}
.portal-section{border:1px solid var(--border); background:var(--surface); border-radius:12px; padding:24px;}
.portal-section-head{display:flex; justify-content:space-between; gap:18px; align-items:start; margin-bottom:18px;}
.portal-section-head p{color:var(--text-dim); font-size:14px; margin-top:6px;}
.license-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.license-card{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:18px;}
.license-card h3{font-size:16px; margin-bottom:10px;}
.license-meta{display:grid; gap:8px; margin-top:14px;}
.license-meta div{display:flex; justify-content:space-between; gap:12px; color:var(--text-dim); font-size:13px; border-top:1px solid var(--border); padding-top:8px;}
.license-meta strong{color:var(--text);}
.status-chip{display:inline-flex; align-items:center; width:max-content; border-radius:99px; padding:4px 9px; font-size:11px; font-weight:700; color:#3ecf8e; background:rgba(62,207,142,.13);}
.status-chip.warning{color:var(--amber); background:rgba(240,169,63,.14);}
.download-table{width:100%; border-collapse:collapse;}
.download-table th,.download-table td{padding:13px 10px; border-bottom:1px solid var(--border); text-align:left; font-size:13px;}
.download-table th{color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; font-size:10.5px;}
.download-table td{color:var(--text-dim);}
.download-table td strong{color:var(--text);}
.support-status{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.support-kpi{border:1px solid var(--border); background:var(--bg-alt); border-radius:10px; padding:16px;}
.support-kpi strong{display:block; font-size:20px; margin-bottom:4px;}
.support-kpi span{color:var(--text-faint); font-size:12px;}
@media(max-width:1000px){
  .auth-shell,.portal-layout{grid-template-columns:1fr;}
  .portal-sidebar{position:static;}
  .license-grid{grid-template-columns:1fr;}
  .support-status{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:620px){
  .auth-shell{padding:56px 0;}
  .portal-section-head{flex-direction:column;}
  .download-table{display:block; overflow-x:auto;}
  .support-status{grid-template-columns:1fr;}
}
