/* =========================================================
   style.css — Enterprise IT multi-page theme (NO hero video)
   Updated: hero alignment + header + logo sizing + smooth look
   ========================================================= */

:root{
  --bg:#070A14;
  --bg2:#0A1022;

  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);

  --b1:#2f6bff;
  --b2:#00c2ff;
  --b3:#18e299;

  --shadow: 0 26px 90px rgba(0,0,0,.55);
  --shadow2: 0 14px 40px rgba(0,0,0,.35);

  --r:18px;
  --r2:24px;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  overflow-x:hidden;

  /* Premium layered background (ALL pages) */
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(47,107,255,.22), transparent 60%),
    radial-gradient(900px 620px at 90% 12%, rgba(0,194,255,.18), transparent 60%),
    radial-gradient(900px 650px at 50% 120%, rgba(24,226,153,.14), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.16;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: overlay;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:min(var(--max), calc(100% - 44px)); margin:0 auto}

#fx{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.82;
}

/* ===== Scroll UI ===== */
.scroll-progress{
  position:fixed; top:0; left:0;
  height:3px; width:0%;
  z-index:2000;
  background: linear-gradient(90deg, rgba(47,107,255,.95), rgba(0,194,255,.85), rgba(24,226,153,.85));
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.to-top{
  position:fixed; right:18px; bottom:18px;
  z-index:2000;
  opacity:0; transform: translateY(8px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.show{opacity:1; transform: translateY(0); pointer-events:auto}

/* ===== Topbar ===== */
.topbar{
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(7,10,20,.35);
  backdrop-filter: blur(10px);
  color:rgba(255,255,255,.72);
  font-size:12px;
  position:relative;
  z-index:3;
}
.topbar .inner{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 0; flex-wrap:wrap;
}
.topbar .pill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}

/* ===== Header (updated) ===== */
.nav{
  position:sticky;
  top:0;
  z-index:999;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(7,10,20,.62);
  backdrop-filter: blur(18px);
}
.nav-inner{
  height:86px;                      /* ✅ updated */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
}
.brand img{
  height:52px;                      /* ✅ updated */
  width:52px;
  object-fit:contain;
  border-radius:12px;
  padding:6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-name{font-weight:950; letter-spacing:-0.02em}
.brand-tag{font-size:12px; color:rgba(255,255,255,.72)}

.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav-links a{
  padding:10px 16px;                /* ✅ updated */
  border-radius:999px;
  font-size:15px;                   /* ✅ updated */
  color:rgba(255,255,255,.78);
  border:1px solid transparent;
  transition: background .25s ease, transform .25s ease, border-color .25s ease, color .25s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
  color: rgba(255,255,255,.95);
}
.nav-links a.active{
  background: linear-gradient(135deg, rgba(47,107,255,.40), rgba(0,194,255,.22));
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.97);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.nav-cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 18px;                /* ✅ updated */
  border-radius:16px;               /* ✅ updated */
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-weight:850;
  font-size:14px;
  cursor:pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover{transform: translateY(-2px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22)}
.btn.primary{background: linear-gradient(135deg, rgba(47,107,255,.95), rgba(0,194,255,.55)); border-color: rgba(255,255,255,.18)}
.btn.ghost{background: rgba(0,0,0,.10)}

.nav-toggle{
  display:none;
  width:46px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}
.nav-toggle span{
  display:block; width:18px; height:2px;
  background:rgba(255,255,255,.9);
  margin:4px auto; border-radius:10px;
}
.nav-mobile{display:none; padding: 10px 0 16px;}
.nav-mobile.open{display:block;}
.nav-mobile a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  margin:8px 0;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
@media (max-width: 980px){
  .nav-links{display:none}
  .nav-toggle{display:inline-block}
  .brand{min-width:auto}
}

/* IMPORTANT: main padding matches header height */
main{
  position:relative;
  z-index:1;
  padding-top: 86px;               /* ✅ updated */
}

/* ===== Hero (NO video) ===== */
.hero{
  position:relative;
  padding: 66px 0 44px;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:-1px;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(47,107,255,.30), transparent 55%),
    radial-gradient(900px 520px at 90% 20%, rgba(0,194,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(7,10,20,.25), rgba(7,10,20,.90));
  pointer-events:none;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:140px;
  background: linear-gradient(180deg, rgba(7,10,20,0), rgba(7,10,20,1));
  pointer-events:none;
  z-index:1;
}

/* ✅ HERO ALIGNMENT FIX */
.hero-grid{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns: 1.20fr .80fr;
  gap: 26px;
  align-items:start;               /* ✅ aligned */
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
}

/* Text + chips */
.eyebrow{display:flex; gap:10px; flex-wrap:wrap}
.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-size:13px;
}
.h1{
  font-size: clamp(34px, 4.3vw, 58px);
  line-height:1.02;
  letter-spacing:-0.045em;
  margin: 14px 0 10px;
}
.grad{
  background: linear-gradient(90deg, var(--b1), var(--b2), var(--b3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  color: var(--muted);
  font-size: 16px;
  line-height:1.75;
  max-width: 72ch;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

/* ✅ Right card aligned nicely */
.profile-card{
  padding:18px;
  align-self:start;
  margin-top: 36px;                /* ✅ makes it align visually */
}
@media (max-width: 980px){
  .profile-card{margin-top: 14px;}
}

.profile-top{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:14px;
  align-items:center;
  padding:10px;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
}
.profile-img{
  width:110px; height:110px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
}
.name{font-weight:950; letter-spacing:-0.02em}
.divider{height:1px; background: rgba(255,255,255,.10); margin:14px 0}

/* KPIs */
.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 980px){
  .kpis{grid-template-columns:1fr}
}
.kpi{
  padding:12px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.kpi-num{font-size:22px; font-weight:950; letter-spacing:-0.02em}
.kpi-text{font-size:12px; color:rgba(255,255,255,.70); margin-top:4px}

/* Shared */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
}
.pad{padding:16px}
.muted{color:rgba(255,255,255,.70)}
.strong{color:rgba(255,255,255,.92); font-weight:850}
.h2{font-size:22px; letter-spacing:-0.02em; margin:0}
.h3{font-size:16px; letter-spacing:-0.01em; margin:0 0 8px}
.text{color: rgba(255,255,255,.78); line-height:1.75; margin: 0 0 10px}
.row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:flex-start}

.grid{display:grid; grid-template-columns: repeat(12, 1fr); gap: 14px;}
.span-4{grid-column: span 4}
.span-6{grid-column: span 6}
.span-12{grid-column: span 12}
@media (max-width: 860px){
  .span-4,.span-6{grid-column: span 12}
}

.pill-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.pill{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
}

/* Sections */
.section{padding: 86px 0}
.section.tight{padding: 56px 0}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom: 16px;
}
.subhead{color:rgba(255,255,255,.70); line-height:1.7; max-width: 70ch; margin:0}

.section.band{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.section.band::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(800px 520px at 18% 30%, rgba(47,107,255,.18), transparent 60%),
    radial-gradient(800px 520px at 80% 50%, rgba(0,194,255,.14), transparent 62%);
}
.section.band .container{position:relative; z-index:1}

.feature{
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
}
.feature p{margin:0; color: rgba(255,255,255,.78); line-height:1.75}

.big-cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
  padding:22px;
  border-radius: 26px;
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(47,107,255,.18), rgba(0,194,255,.10), rgba(24,226,153,.10));
  box-shadow: 0 18px 70px rgba(0,0,0,.35);
}
.big-cta .left{max-width: 70ch}
.big-cta .title{margin:0; font-size:18px; font-weight:950}
.big-cta .desc{margin:8px 0 0; color: rgba(255,255,255,.75); line-height:1.7}

.next-nav{
  display:flex; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  margin-top:16px;
}
.next-card{
  flex:1;
  min-width: 260px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.next-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.next-card .k{font-size:12px; color: rgba(255,255,255,.65)}
.next-card .t{font-weight:950; margin-top:6px}

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(7,10,20,.45);
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center;
  gap:14px; flex-wrap:wrap;
  color: rgba(255,255,255,.66);
  font-size: 13px;
}
