/* NAS CodeWorks — Team Orbit polish pass
   Adds role-specific placeholders, lighter motion, and stronger scalable reflow. */
.team-grid{
  grid-auto-flow:dense;
}
.tm{
  min-height:292px;
}
.tm-photo{
  height:164px!important;
}
.tm:first-child .tm-photo{
  height:196px!important;
}
.tm:first-child .tm-photo img{
  object-position:center 18%;
}
.tm-photo .tm-ph{
  font-size:0!important;
  color:transparent!important;
}
.tm-photo .tm-ph::before{
  content:"⌘";
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:rgba(234,241,251,.82);
  font-size:29px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.04em;
}
.tm:nth-child(2) .tm-photo .tm-ph::before{
  content:"</>";
  font-size:25px;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}
.tm:nth-child(3) .tm-photo .tm-ph::before{
  content:"✓";
  font-size:34px;
}
.tm:nth-child(4n) .tm-photo .tm-ph::before{
  content:"▦";
  font-size:31px;
}
.tm:nth-child(5n) .tm-photo .tm-ph::before{
  content:"↯";
  font-size:34px;
}
.tm::after{
  animation:nasTeamPulse 2.8s ease-in-out infinite;
}
.tm-body::after{
  content:"";
  position:absolute;
  inset-inline:18px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,212,255,.52),transparent);
  opacity:.34;
  transform:scaleX(.72);
  transition:opacity .32s ease,transform .32s ease;
}
.tm:hover .tm-body::after{
  opacity:.82;
  transform:scaleX(1);
}
.tm-body::before{
  letter-spacing:.01em;
}
.tm:nth-child(2) .tm-body::before{
  content:"Build Track";
  color:#7ddcff;
  border-color:rgba(0,212,255,.22);
  background:rgba(0,212,255,.07);
}
.tm:nth-child(3) .tm-body::before{
  content:"Enablement";
  color:#80f0c0;
  border-color:rgba(34,201,138,.22);
  background:rgba(34,201,138,.07);
}
.tm:nth-child(n+4) .tm-body::before{
  content:"Team Node";
}
.tm-body .bio{
  min-height:38px;
}
@keyframes nasTeamPulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(.76);opacity:.62}
}
@media (min-width:980px){
  .team-grid:has(.tm:nth-child(4)){
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
    max-width:1120px;
  }
  .team-grid:has(.tm:nth-child(4)) .tm{
    order:initial!important;
  }
}
@media (max-width:760px){
  .tm-photo,.tm:first-child .tm-photo{
    height:154px!important;
  }
  .tm-body .bio{
    min-height:auto;
  }
}
@media (prefers-reduced-motion:reduce){
  .tm::after{animation:none!important;}
}

/* NAS CodeWorks — comparison table focus
   Makes the NAS column visibly premium while preserving rounded geometry. */
#why .vs-wrap{
  position:relative;
  overflow-x:auto;
  border:1px solid rgba(30,51,84,.78)!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,rgba(15,26,46,.72),rgba(8,12,20,.56)),
    radial-gradient(circle at 50% 0%,rgba(0,212,255,.09),transparent 38%);
  box-shadow:0 26px 80px -54px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.03);
}
#why table.vs{
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed;
  overflow:hidden;
  min-width:720px;
}
#why table.vs th,
#why table.vs td{
  border-bottom:1px solid rgba(30,51,84,.72)!important;
  background:rgba(8,12,20,.18);
}
#why table.vs thead th{
  background:linear-gradient(180deg,rgba(19,35,62,.96),rgba(15,26,46,.96))!important;
}
#why table.vs th:first-child{
  border-start-start-radius:20px;
}
#why table.vs th:last-child{
  border-start-end-radius:20px;
}
#why table.vs tbody tr:last-child td{
  border-bottom:none!important;
}
#why table.vs tbody tr:last-child td:first-child{
  border-end-start-radius:20px;
}
#why table.vs tbody tr:last-child td:last-child{
  border-end-end-radius:20px;
}
#why table.vs th.us,
#why table.vs td.us{
  position:relative;
  color:#EAFBFF!important;
  background:
    linear-gradient(180deg,rgba(0,212,255,.145),rgba(0,212,255,.055)),
    linear-gradient(90deg,rgba(124,58,237,.10),rgba(0,212,255,.12))!important;
  border-inline:1px solid rgba(0,212,255,.46)!important;
  box-shadow:
    inset 0 0 0 1px rgba(0,212,255,.10),
    inset 0 0 42px rgba(0,212,255,.055);
}
#why table.vs th.us{
  color:var(--cyan)!important;
  font-weight:800!important;
  padding-top:22px!important;
  padding-bottom:26px!important;
  border-top:1px solid rgba(0,212,255,.75)!important;
  border-start-start-radius:18px!important;
  border-start-end-radius:18px!important;
  overflow:hidden;
}
#why table.vs th.us::before{
  content:"الاختيار العملي";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  padding:2px 9px;
  border-radius:999px;
  color:#06131B;
  background:linear-gradient(135deg,var(--cyan),var(--green));
  font-size:10.5px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:0;
  box-shadow:0 8px 20px -12px rgba(0,212,255,.9);
}
#why table.vs th.us::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border:1px solid rgba(0,212,255,.75)!important;
  border-bottom:none!important;
  border-radius:18px 18px 0 0!important;
  pointer-events:none!important;
}
#why table.vs tbody tr:last-child td.us{
  border-bottom:1px solid rgba(0,212,255,.72)!important;
  border-end-start-radius:18px!important;
  border-end-end-radius:18px!important;
}
#why table.vs td.us::before{
  content:"";
  position:absolute;
  inset-inline:10px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,212,255,.42),transparent);
  opacity:.5;
}
#why .vs-yes{
  color:#2EF2B1!important;
  font-weight:800;
  text-shadow:0 0 18px rgba(34,201,138,.18);
}
#why td.us .vs-yes{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
#why td.us .vs-yes svg{
  color:#25E6A5!important;
  filter:drop-shadow(0 0 10px rgba(34,201,138,.28));
}
#why table.vs tbody tr{
  transition:background .22s ease;
}
#why table.vs tbody tr:hover td{
  background-color:rgba(19,35,62,.34);
}
#why table.vs tbody tr:hover td.us{
  background:
    linear-gradient(180deg,rgba(0,212,255,.19),rgba(0,212,255,.075)),
    linear-gradient(90deg,rgba(124,58,237,.12),rgba(0,212,255,.15))!important;
}
#why table.vs td:not(.us),
#why table.vs th:not(.us){
  color:rgba(148,167,194,.78);
}
#why table.vs td:first-child,
#why table.vs th:first-child{
  color:#DCE8F7!important;
  font-weight:700;
}
@media (max-width:760px){
  #why .vs-wrap{
    border-radius:18px!important;
  }
  #why table.vs{
    min-width:680px;
  }
  #why table.vs th,
  #why table.vs td{
    padding:14px 15px!important;
    font-size:13.5px!important;
  }
  #why table.vs th.us{
    padding-bottom:28px!important;
  }
}

/* NAS CodeWorks — unification pass across all sections */
:root{
  --nas-surface:linear-gradient(180deg,rgba(19,35,62,.92),rgba(10,18,32,.94));
  --nas-surface-soft:linear-gradient(180deg,rgba(15,26,46,.72),rgba(8,12,20,.55));
  --nas-card-border:rgba(30,51,84,.74);
  --nas-card-radius:20px;
  --nas-grid-gap:16px;
}
section{
  padding:60px 0!important;
}
.hero{
  padding-top:72px!important;
  padding-bottom:48px!important;
}
.pain-grid,.svc-grid,.proof-grid,.proc{
  gap:var(--nas-grid-gap)!important;
}
.pain-card,.svc,.proof-card,.proc-step,.faq,.start,.founder,.offer,.form-card{
  border-radius:var(--nas-card-radius)!important;
  border-color:var(--nas-card-border)!important;
  background:var(--nas-surface)!important;
  box-shadow:0 22px 62px -48px rgba(0,0,0,.88),inset 0 1px 0 rgba(255,255,255,.025);
}
.pain-card,.svc,.proof-card,.proc-step,.faq{
  transition:transform .28s cubic-bezier(.22,.61,.36,1),border-color .28s ease,box-shadow .28s ease!important;
}
.pain-card:hover,.svc:hover,.proof-card:hover,.proc-step:hover,.faq:hover{
  transform:translateY(-4px)!important;
  border-color:rgba(0,212,255,.44)!important;
  box-shadow:0 26px 70px -50px rgba(0,212,255,.42),0 20px 58px -46px rgba(0,0,0,.9)!important;
}
.sec-sub{
  color:rgba(148,167,194,.86)!important;
}
.kicker{
  letter-spacing:1.1px!important;
}
.proof-shot,.mock,.founder-av,.svc .ic,.pain-card .ic{
  border-radius:16px!important;
}
.svc.featured{
  border-color:rgba(124,58,237,.78)!important;
  box-shadow:0 0 0 1px rgba(124,58,237,.48),0 24px 70px -46px rgba(124,58,237,.58)!important;
}
.pricing-note span{
  background:rgba(15,26,46,.72)!important;
  border-color:rgba(30,51,84,.72)!important;
}
.ba-col{
  background:var(--nas-surface)!important;
}
.ba-col.after{
  background:linear-gradient(160deg,rgba(0,212,255,.10),rgba(15,26,46,.92))!important;
}
.start{
  background:linear-gradient(135deg,rgba(0,212,255,.09),rgba(19,35,62,.94) 40%,rgba(10,18,32,.96))!important;
}
.faq-list{
  gap:10px!important;
}

/* NAS CodeWorks — redesigned team section for transparent PNG portraits */
#team{
  padding:54px 0 64px!important;
}
#team .sec,
#team .sec-sub{
  text-align:center;
  margin-inline:auto;
}
#team .kicker{
  display:flex;
  justify-content:center;
  width:max-content;
  margin-inline:auto;
}
#team .wrap::before{
  inset:120px 16% auto 16%!important;
  height:260px!important;
  opacity:.34!important;
  filter:blur(8px)!important;
}
.team-grid{
  max-width:920px!important;
  grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;
  gap:18px!important;
}
.team-grid::before{
  inset:34px 16% auto 16%!important;
  opacity:.38!important;
}
.tm{
  min-height:266px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(0,212,255,.08),transparent 36%),
    linear-gradient(180deg,rgba(19,35,62,.94),rgba(10,18,32,.96))!important;
  transform:translateZ(0);
}
.tm:hover{
  transform:translateY(-8px) scale(1.012)!important;
  border-color:rgba(0,212,255,.76)!important;
  box-shadow:0 30px 80px -48px rgba(0,212,255,.72),0 26px 68px -54px rgba(124,58,237,.55)!important;
}
.tm::before{
  background:
    radial-gradient(circle at 50% 18%,rgba(0,212,255,.15),transparent 30%),
    linear-gradient(135deg,rgba(0,212,255,.09),transparent 42%),
    radial-gradient(circle at 86% 86%,rgba(124,58,237,.14),transparent 24%)!important;
}
.tm-photo{
  height:136px!important;
  padding:0!important;
  background:
    radial-gradient(circle at 50% 78%,rgba(0,212,255,.10),transparent 36%),
    linear-gradient(145deg,rgba(0,212,255,.07),rgba(124,58,237,.08)),
    linear-gradient(180deg,#0B1628,#0A1220)!important;
}
.tm:first-child .tm-photo{
  height:152px!important;
}
.tm-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  padding:12px 22px 0!important;
  filter:grayscale(100%) contrast(1.08) brightness(.88)!important;
  transform:scale(.82)!important;
  transition:filter .72s ease,transform .72s cubic-bezier(.19,1,.22,1),opacity .55s ease!important;
}
.tm:first-child .tm-photo img{
  object-position:center bottom!important;
  transform:scale(.78)!important;
  padding:10px 18px 0!important;
}
.tm:hover .tm-photo img{
  filter:grayscale(0%) contrast(1.03) brightness(1.02)!important;
  transform:scale(.90)!important;
}
.tm:first-child:hover .tm-photo img{
  transform:scale(.86)!important;
}
.tm-photo::before{
  content:"";
  position:absolute;
  inset:18px 24px 8px;
  border-radius:26px;
  opacity:.28;
  pointer-events:none;
  background:radial-gradient(circle at 50% 74%,rgba(0,212,255,.35),transparent 40%);
  transform:scale(.86);
  transition:opacity .55s ease,transform .55s cubic-bezier(.19,1,.22,1);
}
.tm:hover .tm-photo::before{
  opacity:.68;
  transform:scale(1);
}
.tm-photo::after{
  background:
    linear-gradient(0deg,rgba(8,12,20,.54),transparent 64%),
    linear-gradient(90deg,rgba(0,212,255,.08),transparent,rgba(124,58,237,.08))!important;
  opacity:.82!important;
  transition:opacity .55s ease!important;
}
.tm:hover .tm-photo::after{
  opacity:.28!important;
}
.tm-photo .tm-ph{
  width:68px!important;
  height:68px!important;
  border-radius:20px!important;
}
.tm-body{
  padding:15px 17px 18px!important;
  min-height:116px;
}
.tm-body .nm{
  font-size:16px!important;
}
.tm-body .rl{
  font-size:12.5px!important;
}
.tm-body .bio{
  min-height:auto!important;
  font-size:12.4px!important;
}
@media (min-width:980px){
  .team-grid:has(.tm:nth-child(3):last-child){
    grid-template-columns:repeat(3,minmax(210px,1fr))!important;
  }
  .team-grid:has(.tm:nth-child(3):last-child) .tm:first-child{
    order:2;
  }
  .team-grid:has(.tm:nth-child(3):last-child) .tm:nth-child(2){
    order:3;
  }
  .team-grid:has(.tm:nth-child(3):last-child) .tm:nth-child(3){
    order:1;
  }
}
@media (max-width:760px){
  section{padding:46px 0!important;}
  .team-grid{max-width:380px!important;}
  .tm-photo,.tm:first-child .tm-photo{height:142px!important;}
  .tm-photo img,.tm:first-child .tm-photo img{transform:scale(.82)!important;}
  .tm:hover .tm-photo img,.tm:first-child:hover .tm-photo img{transform:scale(.88)!important;}
}
