/* services/css/styles.css */
.navlinks a.active{
  background: rgba(255,255,255,.07);
}

:root{
  --dark0:#071126;
  --dark1:#0b1f47;

  --light0:#f4f7fb;
  --light1:#eef2f7;

  --card:#ffffff;
  --cardBorder: rgba(15, 23, 42, 0.10);

  --accent:#2f6fe3;
  --accent2:#3b82f6;
  --accent3:#93c5fd;

  --textDark:#0f172a;
  --textMuted:#475569;
  --textLight:#e8eefc;

  --shadowDark: 0 14px 45px rgba(0,0,0,.45);
  --shadowLight: 0 10px 30px rgba(15, 23, 42, 0.08);

  --radius2: 22px;
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--dark0);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px;}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(7, 17, 38, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  height:100%;
}

.brandLogo{
  height:85%;
  width:auto;
  display:block;
}

.navlinks{
  display:flex; align-items:center; gap:18px;
}
.navlinks a{
  font-weight:600;
  color:rgba(232,238,252,.92);
  padding:10px 10px;
  border-radius:12px;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.navlinks a:hover{
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
.navlinks a.active{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}

.navcta{
  display:flex; align-items:center; gap:10px;
  min-width:180px; justify-content:flex-end;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(232,238,252,.95);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.btn.primary{
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  border-color: rgba(255,255,255,.18);
  color:#ffffff;
}
.btn.ghost{
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(47,111,227,0.35);
  box-shadow: none;
}
.btn.heroSecondary{
  background: transparent;
  color: #ffffff;
  border: 2px solid rgb(255, 255, 255);
  box-shadow: none;
}
.btn.ghost:hover{
  background: rgba(47,111,227,0.08);
  border-color: rgba(47,111,227,.6);
  transform: translateY(-1px);
}

.hamburger{
  display:none;
  width:44px;height:44px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  align-items:center;justify-content:center;
}
.hamburger span{
  width:18px;height:2px;background:rgba(232,238,252,.9);display:block;position:relative;
}
.hamburger span:before,.hamburger span:after{
  content:""; position:absolute; left:0;
  width:18px;height:2px;background:rgba(232,238,252,.9);
}
.hamburger span:before{ top:-6px;}
.hamburger span:after{ top:6px;}

.mobilemenu{
  display:none;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 12px 0 16px;
}
.mobilemenu a{
  display:block;
  padding: 12px 10px;
  border-radius: 12px;
  color: rgba(232,238,252,.94);
  font-weight: 650;
}
.mobilemenu a:hover{
  background: rgba(255,255,255,.07);
}
.mobilemenu .row{
  display:flex; gap:10px; padding: 10px 10px 0;
}

/* HERO (match home) */
.heroDark{
  position: relative;
  width: 100%;
  height: calc(100vw * (692 / 1536));
  min-height: 420px;
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--textLight);
}
.heroShort{
  height: clamp(380px, 46vw, 560px);
  min-height: 380px;
  max-height: 560px;
}


.heroBgImage{
  background:
    linear-gradient(
      180deg,
      rgba(7,17,38,0) 0%,
      rgba(7,17,38,0) 55%,
      rgba(7,17,38,0) 100%
    ),
    url("../img/BackgroundPlainCrop.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

/* .heroBgImage:after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 65% 25%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(700px 520px at 20% 35%, rgba(147, 196, 253, 0.10), transparent 55%);
  pointer-events:none;
} */

.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
  position: relative;
  z-index: 1;
}

.heroCopy{
  max-width: 620px;
  position: relative;
  z-index: 2;
  padding: 18px 18px;
  border-radius: 18px;
}
.heroCopy:before{
  content:"";
  position:absolute;
  inset:-18px -240px -18px -24px;
  border-radius: 22px;
  background: linear-gradient(
    90deg,
    rgba(7,17,38,0.8) 0%,
    rgba(7,17,38,0.8) 70%,
    rgba(7,17,38,0.0) 80%
  );
  pointer-events:none;
  z-index:-1;
}

.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(232,238,252,.92);
  font-weight: 650;
  font-size: 13px;
  letter-spacing: .2px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent2));
  box-shadow: 0 0 16px rgba(59,130,246,.6);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -1.1px;
  color: var(--light0);
}
.heroDark h1 .em{color: var(--accent3);}

.sub{
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.55;
  max-width: 58ch;
}

.heroActions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin: 18px 0 0;
}

.heroAssurance{
  margin-top: 14px;
  color: #ffffff;
  font-size: 14px;
}

.heroVisual{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.monitorImg{
  width: min(560px, 100%);
  height: auto;
  filter: drop-shadow(0 22px 55px rgba(0,0,0,.60));
  transform: translateY(8px);
}

/* LIGHT PAGE BODY */
.pageLight{
  background: linear-gradient(180deg, var(--light0) 0%, var(--light1) 100%);
  color: var(--textDark);
  padding: 22px 0 0;
}

.section{padding: 26px 0;}

.freePrototype{
  padding: 56px 0;
  background: linear-gradient(180deg, rgba(244,247,251,1) 0%, rgba(238,242,247,1) 100%);
}

.freePrototypeCard{
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: 28px;
  background:
    radial-gradient(700px 260px at 30% 0%, rgba(47,111,227,.12), transparent 60%),
    #ffffff;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
  text-align: center;
}

.freePrototypeCard h2{
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.6px;
}

.freePrototypeCard p{
  max-width: 72ch;
  margin: 0 auto 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--textMuted);
}

.freePrototypeActions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 22px;
}

.freePrototypeNote{
  margin-top: 16px;
  font-size: 13px;
  color: rgba(71,85,105,.9);
}

.midTitle{
  text-align:center;
  margin: 44px 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.6px;
  color: var(--textDark);
}
.midSub{
  text-align:center;
  margin:0 auto 20px;
  max-width: 72ch;
  color: var(--textMuted);
  line-height:1.55;
  font-size: 14.5px;
}

.card{
  border-radius: var(--radius2);
  border: 1px solid var(--cardBorder);
  background: var(--card);
  overflow:hidden;
  box-shadow: var(--shadowLight);
  transition: transform .16s ease, border-color .16s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.16);
}
.cardBody{padding: 14px 14px 16px;}
.cardTitle{font-weight: 900; margin:0 0 6px; color: var(--textDark);}
.cardText{margin:0 0 12px; color: var(--textMuted); font-size:13px; line-height:1.45;}

.ctaBand{
  margin: 34px 0 56px;
  border-radius: 26px;
  border: 1px solid var(--cardBorder);
  background:
    radial-gradient(700px 240px at 35% 0%, rgba(47,111,227,.16), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.92));
  padding: 26px 18px;
  text-align:center;
  box-shadow: var(--shadowLight);
}
.ctaBand h3{margin:0 0 8px; font-size:24px; color: var(--textDark);}
.ctaBand p{margin:0 auto 16px; max-width:70ch; color: var(--textMuted); line-height:1.55; font-size:14.5px;}
.ctaActions{display:flex; justify-content:center; gap:12px; flex-wrap:wrap;}
.ctaNote{margin-top:14px; font-size:12.5px; color:rgba(71,85,105,.9);}

.footerLight{
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,.55);
  padding: 20px 0 34px;
  color: var(--textMuted);
}
.foot{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  align-items:center;
}
.foot .links{display:flex; gap:14px; flex-wrap:wrap}
.foot .links a{opacity:.92}
.foot .links a:hover{opacity:1}

/* Services page cards */
.servicesIntro{
  text-align:left;
  margin: 6px 0 14px;
}

.sectionTitle{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.6px;
  color: var(--textDark);
}

.sectionSub{
  margin: 0;
  max-width: 78ch;
  color: var(--textMuted);
  line-height: 1.55;
  font-size: 14.5px;
}

.serviceCards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.svcCard{
  border-radius: var(--radius2);
  border: 1px solid var(--cardBorder);
  background: var(--card);
  box-shadow: var(--shadowLight);
  padding: 18px 16px 16px;
  cursor:pointer;
  transition: transform .16s ease, border-color .16s ease;
  min-height: 280px;
}

.svcCard:hover{
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.16);
}

.svcIcon{
  width: 120px;
  height: 120px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.svcCard:hover .svcIcon{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47,111,227,0.18);
}

.svcHead{margin-bottom: 10px;}

.svcTitle{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
  color: var(--textDark);
}

.svcDesc{
  margin: 0;
  font-size: 13.5px;
  color: var(--textMuted);
  line-height: 1.45;
  max-width: 60ch;
}

.svcListTitle{
  margin-top: 10px;
  font-weight: 850;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.85);
}

.svcList{
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--textMuted);
  font-size: 13px;
  line-height: 1.45;
}

.engagementGrid,
.dontGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

/* Modal */
.modal{
  position:fixed; inset:0;
  background: rgba(0,0,0,.62);
  display:none;
  align-items:center; justify-content:center;
  padding: 18px;
  z-index: 80;
}
.modal.open{display:flex}
.modalCard{
  width:min(760px, 100%);
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(700px 320px at 30% 0%, rgba(96,165,250,.22), transparent 62%),
    linear-gradient(180deg, rgba(10,18,40,.96), rgba(7,11,22,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
  color: rgba(232,238,252,.95);
}
.modalHead{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.modalHead .mtitle{font-weight: 900;}
.xbtn{
  width:40px;height:40px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  color: rgba(232,238,252,.95);
}
.modalBody{padding: 16px 16px 18px; line-height: 1.55;}
.modalGrid{display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:12px;}
.mblock{border-radius:18px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); padding:12px;}
.mblock .h{font-weight:900; margin-bottom:6px;}
.mblock .t{color: rgba(183,194,225,.92); font-size:13.5px;}

/* Responsive */
@media (max-width: 980px){
  .heroGrid{grid-template-columns: 1fr; gap: 16px;}
  .heroVisual{justify-content:center;}
  .serviceCards{grid-template-columns: 1fr;}
  .engagementGrid{grid-template-columns: 1fr;}
  .dontGrid{grid-template-columns: 1fr;}
}

@media (max-width: 860px){
  .navlinks{display:none}
  .hamburger{display:flex}
}

.kicker{
  font-size: clamp(11px, 1.1vw, 13px);
  padding: clamp(6px, 0.8vw, 8px) clamp(10px, 1.2vw, 12px);
}

h1{
  font-size: clamp(26px, 4.2vw, 56px);
  line-height: 1.03;
  margin: clamp(10px, 1.5vw, 14px) 0 clamp(8px, 1.2vw, 10px);
}

.sub{
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.55;
  margin: 0 0 clamp(12px, 1.8vw, 18px);
  max-width: 60ch;
}

.heroActions .btn{
  padding: clamp(10px, 1.1vw, 12px) clamp(12px, 1.4vw, 16px);
  border-radius: clamp(12px, 1.4vw, 14px);
  font-size: clamp(13px, 1.1vw, 14.5px);
}

.heroAssurance{
  font-size: clamp(12px, 1.1vw, 14px);
  margin-top: clamp(10px, 1.3vw, 14px);
}

@media (max-width: 940px){
  .heroDark{
    height: 0vh;
    min-height: 520px;
    max-height: none;
    padding: 56px 0 64px;
  }

  .heroBgImage{
    background-position: center center;
    background-size: auto 100%;
  }

  .heroGrid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .heroCopy{
    max-width: 72ch;
  }
}
