.sd-page {
  background: #04060f;
  color: rgba(230, 240, 255, 0.94);
}

.sd-shell {
  width: min(1160px, calc(100% - 2.6rem));
  margin: 0 auto;
}

/* ===== SERVICE HERO ===== */
.sd-hero {
  padding: calc(var(--nav-h, 76px) + 2.2rem) 0 2.5rem;
  background:
    radial-gradient(70% 60% at 15% 0%, rgba(44, 141, 255, 0.2), transparent 65%),
    radial-gradient(70% 60% at 90% 10%, rgba(76, 116, 255, 0.14), transparent 68%),
    #04060f;
}

.sd-kicker {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(61, 152, 255, 0.92);
}

.sd-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.sd-tagline {
  margin: 0.95rem 0 0;
  max-width: 780px;
  color: rgba(194, 210, 237, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

/* ===== SERVICE EXPLANATION ===== */
.sd-overview {
  padding: 0 0 2.2rem;
}

.sd-panel {
  border-radius: 24px;
  border: 1px solid rgba(99, 126, 174, 0.38);
  background: rgba(16, 22, 35, 0.9);
  padding: 1.6rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.sd-intro {
  margin: 0;
  color: rgba(206, 220, 243, 0.9);
  line-height: 1.65;
}

.sd-bullets {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.sd-bullets li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(192, 208, 232, 0.9);
  line-height: 1.5;
}

.sd-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(60, 147, 255, 0.96);
}

/* ===== SERVICE TIMELINE ===== */
.sd-timeline {
  padding: 2.4rem 0 2.2rem;
}

.sd-timeline-intro {
  margin-bottom: 2.3rem;
  max-width: 700px;
}

.sd-timeline-intro h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.sd-timeline-intro p {
  margin: 0.6rem 0 0;
  color: rgba(188, 204, 230, 0.78);
  line-height: 1.62;
}

.sd-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
}

.sd-steps-line {
  position: absolute;
  top: 25px;
  left: 74px;
  right: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(44, 141, 255, 0.45), rgba(106, 114, 255, 0.45));
  z-index: 0;
}

.sd-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 0.8rem;
}

.sd-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: rgba(81, 162, 255, 0.98);
  border: 1px solid rgba(67, 145, 255, 0.45);
  background: linear-gradient(135deg, rgba(50, 118, 255, 0.16), rgba(87, 122, 255, 0.14));
  box-shadow: 0 0 0 4px rgba(4, 6, 15, 1), 0 0 18px rgba(64, 145, 255, 0.26);
}

.sd-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.sd-step p {
  margin: 0;
  color: rgba(188, 204, 230, 0.76);
  line-height: 1.55;
  font-size: 0.9rem;
}

/* ===== CTA ===== */
.sd-cta {
  padding: 1.3rem 0 4.8rem;
}

.sd-cta-panel {
  border-radius: 24px;
  border: 1px solid rgba(108, 135, 183, 0.34);
  background: rgba(12, 18, 31, 0.9);
  padding: 2rem 1.4rem;
  text-align: center;
}

.sd-cta-panel h2 {
  margin: 0;
}

.sd-cta-panel p {
  margin: 0.7rem auto 0;
  max-width: 720px;
  color: rgba(192, 208, 232, 0.8);
}

.sd-cta-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sd-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(133, 158, 203, 0.34);
  color: rgba(223, 234, 252, 0.9);
  text-decoration: none;
}

/* ===== INFRASTRUCTURE PAGE (RITEFLOW-INSPIRED) ===== */
.sd-inf-hero {
  padding: calc(var(--nav-h, 76px) + 3.5rem) 0 4rem;
  border-bottom: 1px solid rgba(79, 70, 229, 0.2);
  background:
    radial-gradient(70% 70% at 10% 0%, rgba(79, 70, 229, 0.2), transparent 65%),
    radial-gradient(50% 60% at 90% 20%, rgba(125, 118, 255, 0.17), transparent 72%),
    #0e1422;
}

.sd-inf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}

.sd-inf-kicker {
  margin: 0 0 0.9rem;
  padding: 0.38rem 0.72rem;
  display: inline-flex;
  border: 1px solid rgba(125, 118, 255, 0.48);
  border-radius: 10px;
  background: rgba(28, 31, 70, 0.55);
  color: rgba(187, 179, 255, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.sd-inf-copy h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: rgba(248, 248, 248, 0.98);
  background-image: linear-gradient(180deg, #f8f8f8 24%, #8e88ef 95%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.sd-inf-tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  color: rgba(228, 233, 255, 0.96);
  max-width: 640px;
}

.sd-inf-lead {
  margin: 0.9rem 0 0;
  max-width: 680px;
  color: rgba(202, 210, 234, 0.76);
  line-height: 1.7;
}

.sd-inf-actions {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.sd-inf-metrics {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(79, 70, 229, 0.26);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(125, 118, 255, 0.16), rgba(47, 39, 177, 0.16));
}

.sd-inf-metric {
  padding: 0.95rem 0.95rem 1.02rem;
}

.sd-inf-metric + .sd-inf-metric {
  border-left: 1px solid rgba(79, 70, 229, 0.2);
}

.sd-inf-metric h3 {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(244, 247, 255, 0.97);
}

.sd-inf-metric p {
  margin: 0.42rem 0 0;
  color: rgba(202, 208, 230, 0.78);
  font-size: 0.85rem;
  line-height: 1.48;
}

.sd-inf-visual {
  border: 1px solid rgba(79, 70, 229, 0.24);
  border-radius: 20px;
  background: rgba(14, 20, 34, 0.78);
  padding: 0.95rem;
  display: grid;
  gap: 0.8rem;
}

.sd-inf-node {
  border: 1px solid rgba(79, 70, 229, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(125, 118, 255, 0.1), rgba(28, 31, 70, 0.36));
  padding: 1rem 0.95rem;
}

.sd-inf-node-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(189, 183, 255, 0.95);
}

.sd-inf-node-body {
  margin: 0.45rem 0 0;
  color: rgba(216, 223, 245, 0.85);
  line-height: 1.58;
  font-size: 0.93rem;
}

.sd-inf-capabilities {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(79, 70, 229, 0.2);
  background: #0e1422;
}

.sd-inf-section-head {
  margin: 0 auto 1.7rem;
  max-width: 740px;
  text-align: center;
}

.sd-inf-section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.95rem);
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: rgba(245, 247, 255, 0.97);
}

.sd-inf-section-head p {
  margin: 0.8rem 0 0;
  color: rgba(194, 202, 227, 0.77);
  line-height: 1.66;
}

.sd-inf-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sd-inf-cap-card {
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, 0.24);
  background: #121a2b;
  padding: 1.15rem 1.15rem;
  min-height: 124px;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sd-inf-cap-card:hover {
  border-color: rgba(125, 118, 255, 0.45);
  transform: translateY(-2px);
}

.sd-inf-cap-index {
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #4f46e5;
  color: rgba(245, 247, 255, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.sd-inf-cap-card p {
  margin: 0;
  color: rgba(209, 219, 242, 0.88);
  line-height: 1.62;
}

.sd-inf-process {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(79, 70, 229, 0.2);
  background: #0e1422;
}

.sd-inf-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.sd-inf-steps-line {
  position: absolute;
  left: 3.8%;
  right: 3.8%;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 96, 232, 0.2), rgba(125, 118, 255, 0.65), rgba(88, 96, 232, 0.2));
  z-index: 0;
}

.sd-inf-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.sd-inf-step-marker {
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.sd-inf-step-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(125, 118, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(125, 118, 255, 0.22), rgba(47, 39, 177, 0.18)),
    #0f1628;
  box-shadow: 0 0 0 4px #0e1422, 0 8px 20px rgba(0, 0, 0, 0.42);
  color: rgba(216, 211, 255, 0.98);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sd-inf-step-content {
  border-radius: 14px;
  border: 1px solid rgba(79, 70, 229, 0.22);
  background: rgba(18, 26, 43, 0.8);
  padding: 0.72rem 0.7rem 0.82rem;
  min-height: 160px;
}

.sd-inf-step-content h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(246, 248, 255, 0.96);
}

.sd-inf-step-content p {
  margin: 0.5rem 0 0;
  color: rgba(192, 201, 224, 0.74);
  line-height: 1.5;
  font-size: 0.8rem;
}

.sd-inf-cta {
  padding: 4rem 0 5rem;
  background: #0e1422;
}

.sd-inf-cta-panel {
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, 0.28);
  background:
    linear-gradient(180deg, rgba(125, 118, 255, 0.14), rgba(47, 39, 177, 0.14)),
    #121a2b;
  padding: 2.2rem 1.35rem;
  text-align: center;
}

.sd-inf-cta-panel h2 {
  margin: 0;
  font-size: clamp(1.58rem, 3vw, 2.4rem);
  color: rgba(245, 247, 255, 0.97);
}

.sd-inf-cta-panel p {
  margin: 0.9rem auto 0;
  max-width: 700px;
  color: rgba(194, 203, 227, 0.8);
}

@media (max-width: 820px) {
  .sd-inf-hero {
    padding-top: calc(var(--nav-h, 76px) + 2.3rem);
  }

  .sd-inf-hero-grid {
    grid-template-columns: 1fr;
  }

  .sd-inf-metrics {
    grid-template-columns: 1fr;
  }

  .sd-inf-metric + .sd-inf-metric {
    border-left: none;
    border-top: 1px solid rgba(79, 70, 229, 0.2);
  }

  .sd-inf-cap-grid,
  .sd-inf-steps {
    grid-template-columns: 1fr;
  }

  .sd-inf-steps {
    gap: 1rem;
  }

  .sd-inf-steps-line {
    display: none;
  }

  .sd-inf-step {
    text-align: left;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
  }

  .sd-inf-step-marker {
    justify-content: flex-start;
    margin: 0;
  }

  .sd-inf-step-content {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .sd-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .sd-steps-line {
    display: none;
  }

  .sd-step {
    max-width: 440px;
  }
}
