/* Codenixo Service Detail Premium V2
   Matches the approved Home + Services visual language.
*/

.service-detail-premium {
  --sdp-ink: #071127;
  --sdp-copy: #60708f;
  --sdp-line: rgba(148,163,184,.18);
  --sdp-soft: #f8faff;
  --sdp-card: rgba(255,255,255,.96);
  --sdp-shadow: 0 20px 54px -40px rgba(15,23,42,.28);
  color: var(--sdp-ink);
  background: #fff;
}
html.dark .service-detail-premium {
  --sdp-ink: #f8fafc;
  --sdp-copy: #cbd5e1;
  --sdp-line: rgba(255,255,255,.09);
  --sdp-soft: rgba(15,23,42,.44);
  --sdp-card: rgba(15,23,42,.88);
  background: #020617;
}
.service-detail-premium p { color: var(--sdp-copy); }
.service-detail-premium a { text-decoration: none; }

.sdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px;
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.sdp-eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg,var(--brand),transparent);
}
html.dark .sdp-eyebrow { color: var(--brand-light); }

.sdp-title {
  margin: 0;
  color: var(--sdp-ink);
  font-family: var(--font-display);
  font-size: clamp(34px,3.35vw,50px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.052em;
}
.sdp-section { padding: 76px 0; }
.sdp-section-head { margin-bottom: 28px; }
.sdp-section-head--split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.48fr);
  gap: 42px;
  align-items: end;
}
.sdp-section-head--split > p {
  max-width: 420px;
  margin: 0 0 2px auto;
  font-size: 14px;
  line-height: 1.62;
}

/* Transparent over hero; shared .scrolled navbar remains unchanged. */
@media (min-width: 1181px) {
  body[data-page="services"] .navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html.dark body[data-page="services"] .navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Hero */
.sdp-hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 66px;
  background:
    radial-gradient(circle at 75% 12%,rgba(99,102,241,.09),transparent 29%),
    linear-gradient(180deg,#fbfcff 0%,#fff 100%);
}
html.dark .sdp-hero {
  background:
    radial-gradient(circle at 75% 12%,rgba(99,102,241,.13),transparent 29%),
    linear-gradient(180deg,#020617 0%,#07101f 100%);
}
.sdp-hero__container { position: relative; }
.sdp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html.dark .sdp-back { color: var(--brand-light); }

.sdp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(420px,1.08fr);
  gap: clamp(46px,5.6vw,78px);
  align-items: center;
}
.sdp-hero__title {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--sdp-ink);
  font-family: var(--font-display);
  font-size: clamp(52px,5.8vw,84px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.sdp-hero__lead {
  max-width: 620px;
  margin: 0;
  font-size: clamp(18px,1.48vw,21px);
  line-height: 1.62;
}
.sdp-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sdp-actions .app-button,
.sdp-actions .btn-secondary {
  min-height: 50px;
  padding-inline: 26px;
}
.sdp-secondary {
  border-color: rgba(99,102,241,.15);
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
html.dark .sdp-secondary {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.075);
  color: #f8fafc;
}

.sdp-hero__trust {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 31px;
}
.sdp-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #53627f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
html.dark .sdp-hero__trust-item { color: #cbd5e1; }
.sdp-hero__trust-item > span {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(145deg,#818cf8,#4f46e5);
  box-shadow: 0 0 0 4px rgba(99,102,241,.08);
}
.sdp-notice {
  max-width: 640px;
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.sdp-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 30px;
  background: #eef2ff;
  box-shadow: 0 34px 82px -48px rgba(15,23,42,.44);
}
.sdp-hero__visual::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  z-index: 2;
  width: 60%;
  height: 130%;
  background: linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,0));
  pointer-events: none;
}
html.dark .sdp-hero__visual::before {
  background: linear-gradient(90deg,rgba(2,6,23,.5),rgba(2,6,23,0));
}
.sdp-hero__visual picture,
.sdp-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
}
.sdp-hero__visual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

/* Problem / ideal fit */
.sdp-problem { background: #fff; }
html.dark .sdp-problem { background: #020617; }
.sdp-problem__grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(330px,.72fr);
  gap: clamp(52px,7vw,94px);
  align-items: start;
}
.sdp-problem__lead {
  max-width: 720px;
  margin: 16px 0 22px;
  font-size: 15px;
  line-height: 1.68;
}
.sdp-check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sdp-check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: var(--sdp-copy);
  font-size: 14px;
  line-height: 1.48;
}
.sdp-check-list li > span {
  color: var(--brand);
  font-weight: 900;
}
.sdp-fit-card {
  padding: 28px;
  border: 1px solid var(--sdp-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%,rgba(99,102,241,.09),transparent 34%),
    var(--sdp-soft);
}
.sdp-fit-card > ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sdp-fit-card > ul li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: var(--sdp-copy);
  font-size: 14px;
  line-height: 1.48;
}
.sdp-fit-card > ul li > span { color: var(--brand); font-weight: 900; }
.sdp-fit-card__help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sdp-line);
}
.sdp-fit-card__help strong {
  display: block;
  color: var(--sdp-ink);
  font-size: 14px;
  line-height: 1.35;
}
.sdp-fit-card__help p {
  margin: 6px 0 13px;
  font-size: 12.5px;
  line-height: 1.5;
}
.sdp-fit-card__help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

/* Process */
.sdp-process {
  background:
    radial-gradient(circle at 9% 8%,rgba(99,102,241,.055),transparent 30%),
    var(--sdp-soft);
  border-top: 1px solid var(--sdp-line);
  border-bottom: 1px solid var(--sdp-line);
}
.sdp-process__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sdp-process-step {
  min-height: 166px;
  padding: 20px;
  border: 1px solid var(--sdp-line);
  border-radius: 17px;
  background: var(--sdp-card);
  box-shadow: var(--sdp-shadow);
}
.sdp-process-step__top {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.sdp-step {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  color: var(--brand-dark);
  background: linear-gradient(145deg,#eef2ff,#e0e7ff);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 850;
}
html.dark .sdp-step {
  color: #c7d2fe;
  background: rgba(99,102,241,.15);
}
.sdp-process-arrow {
  margin-left: auto;
  color: var(--brand);
  font-size: 18px;
}
.sdp-process-step p {
  margin: 0;
  color: var(--sdp-copy);
  font-size: 13.5px;
  line-height: 1.58;
}

/* What you get */
.sdp-benefits { background: #fff; }
html.dark .sdp-benefits { background: #020617; }
.sdp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.sdp-benefit {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--sdp-line);
  border-radius: 16px;
  background: var(--sdp-card);
  box-shadow: 0 16px 44px -38px rgba(15,23,42,.32);
}
.sdp-benefit__number {
  display: block;
  margin-bottom: 13px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}
.sdp-benefit h3 {
  margin: 0;
  color: var(--sdp-ink);
  font-size: 15px;
  line-height: 1.35;
}

/* Text-only technical capability section: deliberately no logos/icons/images. */
.sdp-tech {
  padding: 70px 0;
  background:
    radial-gradient(circle at 92% 12%,rgba(99,102,241,.065),transparent 28%),
    var(--sdp-soft);
  border-top: 1px solid var(--sdp-line);
  border-bottom: 1px solid var(--sdp-line);
}
.sdp-tech__grid {
  display: grid;
  grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr);
  gap: clamp(48px,6.5vw,84px);
  align-items: start;
}
.sdp-tech__grid > div:first-child > p:not(.sdp-eyebrow) {
  max-width: 520px;
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 1.65;
}
.sdp-tech__list {
  border-top: 1px solid var(--sdp-line);
}
.sdp-tech-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 55px;
  border-bottom: 1px solid var(--sdp-line);
}
.sdp-tech-row > span {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}
.sdp-tech-row strong {
  color: var(--sdp-ink);
  font-size: 15px;
  line-height: 1.3;
}

/* FAQ */
.sdp-faq { background: #fff; }
html.dark .sdp-faq { background: #020617; }
.sdp-contact-link {
  justify-self: end;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
html.dark .sdp-contact-link { color: var(--brand-light); }
.sdp-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.sdp-faq-item {
  overflow: hidden;
  border: 1px solid var(--sdp-line);
  border-radius: 13px;
  background: var(--sdp-card);
}
.sdp-faq-item summary {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 14px;
  align-items: center;
  min-height: 53px;
  padding: 12px 14px 12px 16px;
  color: var(--sdp-ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.sdp-faq-item summary::-webkit-details-marker { display: none; }
.sdp-faq-chevron {
  color: var(--brand);
  text-align: center;
  font-size: 16px;
  transition: transform .18s ease;
}
.sdp-faq-item[open] .sdp-faq-chevron { transform: rotate(180deg); }
.sdp-faq-item > div { padding: 0 42px 14px 16px; }
.sdp-faq-item > div p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
}

/* Related */
.sdp-related {
  padding-top: 0;
  background: #fff;
}
html.dark .sdp-related { background: #020617; }
.sdp-related__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.sdp-related-card {
  min-height: 190px;
  padding: 21px;
  border: 1px solid var(--sdp-line);
  border-radius: 17px;
  background: var(--sdp-card);
  box-shadow: var(--sdp-shadow);
}
.sdp-related-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(99,102,241,.09);
}
.sdp-related-card__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sdp-related-card h3 {
  margin: 0 0 7px;
  color: var(--sdp-ink);
  font-size: 17px;
  line-height: 1.3;
}
.sdp-related-card p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
}
.sdp-related-card a {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
html.dark .sdp-related-card a { color: var(--brand-light); }

/* Existing owner-approved authority/proof module, if content exists. */
.sdp-authority .section {
  padding-top: 0;
  padding-bottom: 70px;
  background: #fff;
}
html.dark .sdp-authority .section { background: #020617; }
.sdp-authority .bento-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.sdp-authority .bento-card {
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--sdp-line);
  border-radius: 17px;
  background: var(--sdp-card);
  box-shadow: var(--sdp-shadow);
}
.sdp-authority h2 {
  color: var(--sdp-ink);
  font-family: var(--font-display);
  font-size: clamp(30px,3vw,42px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-transform: none;
}

/* CTA */
.sdp-cta {
  padding: 0 0 70px;
  background: #fff;
}
html.dark .sdp-cta { background: #020617; }
.sdp-cta__panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 32px 36px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 75% 140%,rgba(255,255,255,.2),transparent 34%),
    linear-gradient(110deg,#6366f1 0%,#5c5df0 52%,#4f46e5 100%);
  box-shadow: 0 28px 66px -36px rgba(79,70,229,.55);
}
.sdp-cta__panel::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -74px;
  width: 360px;
  height: 125px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.sdp-cta__panel > * { position: relative; z-index: 1; }
.sdp-cta__eyebrow {
  margin: 0 0 7px;
  color: rgba(255,255,255,.76) !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.sdp-cta h2 {
  margin: 0 0 7px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(28px,2.9vw,40px);
  line-height: 1.04;
  letter-spacing: -.044em;
}
.sdp-cta h2 span { color: #fff; }
.sdp-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.86) !important;
  font-size: 13.5px;
  line-height: 1.55;
}
.sdp-cta .btn-white { min-height: 48px; white-space: nowrap; }

/* Bangla */
html[lang="bn"] .sdp-eyebrow,
html[lang="bn"] .sdp-back,
html[lang="bn"] .sdp-cta__eyebrow {
  font-family: var(--font-bn);
  letter-spacing: 0;
  text-transform: none;
}
html[lang="bn"] .sdp-title,
html[lang="bn"] .sdp-hero__title,
html[lang="bn"] .sdp-cta h2,
html[lang="bn"] .sdp-authority h2 {
  font-family: var(--font-bn);
  letter-spacing: -.01em;
  line-height: 1.19;
  text-transform: none;
}

/* Responsive */
@media (max-width: 1040px) {
  .sdp-hero__grid { grid-template-columns: 1fr 1fr; }
  .sdp-hero__trust { grid-template-columns: 1fr 1fr; max-width: 520px; }
  .sdp-process__grid { grid-template-columns: 1fr 1fr; }
  .sdp-benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .sdp-section { padding: 64px 0; }
  .sdp-hero { padding: 120px 0 60px; }
  .sdp-hero__grid,
  .sdp-problem__grid,
  .sdp-tech__grid,
  .sdp-section-head--split {
    grid-template-columns: 1fr;
  }
  .sdp-hero__copy { max-width: 760px; }
  .sdp-hero__visual { min-height: 0; aspect-ratio: 441 / 290; }
  .sdp-section-head--split > p { margin-left: 0; }
  .sdp-faq__grid { grid-template-columns: 1fr; }
  .sdp-related__grid,
  .sdp-authority .bento-grid { grid-template-columns: 1fr 1fr; }
  .sdp-cta__panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sdp-section { padding: 54px 0; }
  .sdp-hero { padding: 102px 0 52px; }
  .sdp-hero__title { font-size: clamp(43px,13vw,60px); line-height: .96; }
  .sdp-hero__lead { font-size: 17px; }
  .sdp-actions { align-items: stretch; }
  .sdp-actions .app-button,
  .sdp-actions .btn-secondary {
    flex: 1 1 100%;
    justify-content: center;
  }
  .sdp-hero__trust { grid-template-columns: 1fr 1fr; }
  .sdp-process__grid,
  .sdp-benefits__grid,
  .sdp-related__grid,
  .sdp-authority .bento-grid {
    grid-template-columns: 1fr;
  }
  .sdp-process-step { min-height: 0; }
  .sdp-contact-link { justify-self: start; }
  .sdp-cta { padding-bottom: 54px; }
  .sdp-cta__panel { padding: 27px 23px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sdp-faq-chevron { transition: none; }
}
