/* =========================================================
   SERVICES EXPLORER
========================================================= */

.services-section {
  position: relative;
  padding: 140px var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(21, 103, 151, 0.12), transparent 25%),
    linear-gradient(180deg, #03101a 0%, #02080e 100%);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(92, 169, 217, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 169, 217, 0.11) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.services-shell {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.8fr);
  gap: 34px;
}

.services-sidebar,
.services-stage {
  border: 1px solid rgba(108, 181, 223, 0.1);
  background:
    linear-gradient(145deg, rgba(5, 20, 31, 0.82), rgba(2, 10, 17, 0.78));
  backdrop-filter: blur(16px);
}

.services-sidebar {
  padding: 34px 28px;
  border-radius: 18px;
}

.services-eyebrow,
.services-stage-kicker {
  color: #5b8aa7;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.services-sidebar h2 {
  margin: 18px 0 0;
  color: white;
  font-size: clamp(34px, 3.1vw, 52px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.services-sidebar h2 span {
  color: var(--blue);
}

.services-intro {
  margin: 19px 0 26px;
  color: #7892a3;
  font-size: 11px;
  line-height: 1.7;
}

.service-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-tab {
  width: 100%;
  min-height: 64px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.service-tab:hover {
  transform: translateX(3px);
  background: rgba(14, 63, 92, 0.12);
}

.service-tab.active {
  border-color: rgba(87, 183, 237, 0.16);
  background:
    linear-gradient(90deg, rgba(22, 108, 157, 0.14), rgba(8, 33, 48, 0.06));
}

.service-tab > span {
  color: #365c72;
  font-family: var(--font-mono);
  font-size: 7px;
}

.service-tab.active > span {
  color: var(--blue);
}

.service-tab strong {
  display: block;
  color: #8ba5b4;
  font-size: 10px;
  font-weight: 600;
}

.service-tab.active strong {
  color: #eff9fe;
}

.service-tab small {
  display: block;
  margin-top: 3px;
  color: #456477;
  font-size: 7px;
}

.services-stage {
  min-height: 760px;
  padding: 34px;
  border-radius: 18px;
}

.services-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.services-stage-top h3 {
  max-width: 700px;
  margin: 10px 0 0;
  color: white;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.service-index {
  color: #4f758c;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.service-summary {
  max-width: 700px;
  margin: 18px 0 0;
  color: #7f9aaa;
  font-size: 11px;
  line-height: 1.75;
}

.service-visual {
  position: relative;
  height: 230px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(88, 176, 226, 0.1);
  border-radius: 15px;
  background:
    radial-gradient(circle at 70% 45%, rgba(32, 135, 192, 0.13), transparent 26%),
    linear-gradient(145deg, rgba(8, 31, 45, 0.68), rgba(2, 12, 19, 0.78));
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(80, 171, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 171, 224, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.visual-radar {
  position: absolute;
  right: 9%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translateY(-50%);
  border: 1px solid rgba(92, 188, 246, 0.16);
  border-radius: 50%;
}

.visual-radar i {
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(92, 188, 246, 0.11);
  border-radius: 50%;
}

.visual-radar i:nth-child(2) {
  inset: 34%;
}

.visual-radar i:nth-child(3) {
  inset: 48%;
}

.visual-radar::before,
.visual-radar::after {
  content: "";
  position: absolute;
  background: rgba(92, 188, 246, 0.09);
}

.visual-radar::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.visual-radar::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
}

.visual-radar span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(92,188,246,.65), transparent);
  animation: servicesRadar 3.8s linear infinite;
}

@keyframes servicesRadar {
  to { transform: rotate(360deg); }
}

.visual-status {
  position: absolute;
  left: 30px;
  bottom: 28px;
}

.visual-status small {
  color: #51758a;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.visual-status strong {
  display: block;
  margin-top: 8px;
  color: #d7e9f2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.visual-status span {
  display: block;
  margin-top: 5px;
  color: #658598;
  font-size: 8px;
}

.micro-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.micro-service {
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid rgba(102, 178, 223, 0.09);
  border-radius: 11px;
  background: rgba(4, 18, 28, 0.42);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.micro-service:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 188, 246, 0.2);
}

.micro-service.active {
  border-color: rgba(92, 188, 246, 0.26);
  background:
    linear-gradient(145deg, rgba(21, 93, 135, 0.14), rgba(4, 18, 28, 0.58));
}

.micro-service small {
  color: #456a80;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.micro-service strong {
  display: block;
  margin-top: 7px;
  color: #b7ceda;
  font-size: 10px;
  font-weight: 600;
}

.micro-service.active strong {
  color: white;
}

.micro-service p {
  margin: 6px 0 0;
  color: #5f7e90;
  font-size: 8px;
  line-height: 1.45;
}

.service-detail {
  margin-top: 18px;
  padding: 20px;
  border-left: 2px solid var(--blue);
  background: rgba(18, 73, 105, 0.08);
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.5fr) auto;
  gap: 22px;
  align-items: center;
}

.service-detail small {
  color: #4f758c;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.service-detail h4 {
  margin: 6px 0 0;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.service-detail p {
  margin: 0;
  color: #7795a6;
  font-size: 9px;
  line-height: 1.7;
}

.service-cta {
  color: #71c8f8;
  text-decoration: none;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.service-cta span {
  margin-left: 6px;
}


/* =========================================================
   ASKARI PREVIEW / LANDING CTA
========================================================= */

.askari-preview-section,
.landing-cta {
  position: relative;
  overflow: hidden;
  padding: 150px var(--page-pad);
  text-align: center;
}

.askari-preview-section {
  background:
    radial-gradient(circle at 50% 42%, rgba(22, 114, 166, 0.15), transparent 24%),
    #02080e;
}

.askari-preview-orb {
  width: 78px;
  height: 78px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92, 188, 246, 0.23);
  border-radius: 50%;
  background: rgba(13, 61, 90, 0.18);
  color: var(--blue);
  font-size: 28px;
  box-shadow:
    0 0 0 15px rgba(92,188,246,.025),
    0 0 65px rgba(92,188,246,.12);
}

.askari-preview-eyebrow {
  margin-top: 28px;
  color: #5c87a0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.askari-preview-section h2,
.landing-cta h2 {
  margin: 18px auto 0;
  max-width: 880px;
  color: white;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.05em;
}

.askari-preview-section h2 span {
  color: var(--blue);
}

.askari-preview-section p,
.landing-cta p {
  max-width: 620px;
  margin: 22px auto 28px;
  color: #7691a2;
  font-size: 11px;
  line-height: 1.8;
}

.landing-cta {
  background:
    linear-gradient(180deg, #03101a, #02070c);
}

.landing-cta small {
  color: #557d95;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
}

.landing-cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-cta-actions .button {
  min-height: 48px;
}

@media (max-width: 980px) {
  .services-shell {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .services-section {
    padding: 100px 18px;
  }

  .services-sidebar,
  .services-stage {
    padding: 22px;
  }

  .service-tabs {
    grid-template-columns: 1fr;
  }

  .services-stage {
    min-height: auto;
  }

  .services-stage-top {
    flex-direction: column;
  }

  .service-visual {
    height: 190px;
  }

  .visual-radar {
    width: 112px;
    height: 112px;
    right: 5%;
  }

  .micro-services {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .askari-preview-section,
  .landing-cta {
    padding: 110px 18px;
  }
}
