.detail-body {
  background:
    radial-gradient(circle at top left, rgba(68, 138, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f6faff 38%, #f3f7ff 100%);
}

.detail-scroll {
  background:
    linear-gradient(180deg, rgba(10, 24, 58, 0.02), rgba(10, 24, 58, 0)),
    radial-gradient(circle at top right, rgba(111, 179, 255, 0.08), transparent 20%);
}

.detail-body .desktop-nav a.is-active::after {
  background: linear-gradient(90deg, rgba(92, 170, 255, 0), #6cb6ff, rgba(92, 170, 255, 0));
}

.detail-hero-panel {
  color: var(--title-light);
}

.detail-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2, 14, 40, 0.98), rgba(8, 27, 71, 0.94) 48%, rgba(3, 15, 39, 0.98)),
    radial-gradient(circle at 76% 22%, rgba(67, 132, 255, 0.14), transparent 24%);
}

.detail-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 90, 176, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 90, 176, 0.06) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 100%);
  opacity: 0.5;
}

.detail-hero-shell,
.detail-section-shell {
  position: relative;
  z-index: 1;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(241, 247, 255, 0.72);
  font-size: 14px;
}

.detail-breadcrumb span:not(:last-child)::after,
.detail-breadcrumb a::after {
  content: "›";
  margin-left: 14px;
  color: rgba(241, 247, 255, 0.38);
}

.detail-breadcrumb a:hover {
  color: #fff;
}

.detail-hero-card {
  padding-bottom: 34px;
}

.detail-hero-card::after {
  z-index: 4;
}

.detail-hero-copy h1 {
  font-size: clamp(3.4rem, 4.9vw, 5.4rem);
}

.detail-hero-visual {
  min-height: 430px;
  align-self: end;
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(10, 30, 71, 0.14), rgba(10, 30, 71, 0.04)),
    linear-gradient(145deg, rgba(22, 60, 126, 0.24), rgba(22, 60, 126, 0));
}

.detail-train {
  display: block;
  opacity: 0.97;
  transform: none;
  filter: none;
  object-position: center 56%;
}

.detail-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.detail-ghost-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.detail-ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 184, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.detail-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(121, 176, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at center, rgba(116, 182, 255, 0.12), transparent 36%);
  box-shadow: 0 24px 64px rgba(12, 39, 92, 0.14);
}

.detail-metric {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
}

.detail-metric:not(:last-child) {
  border-right: 1px solid rgba(118, 176, 255, 0.16);
}

.detail-metric i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 22px;
  background: linear-gradient(180deg, rgba(55, 121, 255, 0.08), rgba(55, 121, 255, 0.04));
  box-shadow: 0 0 0 1px rgba(111, 175, 255, 0.16) inset;
}

.detail-metric strong {
  display: block;
  color: var(--text-main);
  font-size: 1.25rem;
}

.detail-metric span {
  display: block;
  margin-top: 6px;
  color: var(--text-mid);
  font-size: 14px;
}

.detail-light-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)),
    radial-gradient(circle at right top, rgba(81, 151, 255, 0.08), transparent 18%);
}

.detail-light-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left bottom, rgba(90, 162, 255, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(100, 168, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(100, 168, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 100%);
  opacity: 0.55;
}

.detail-section-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-section-head {
  text-align: left;
  margin: 0 0 36px;
}

.detail-section-head span {
  justify-content: flex-start;
}

.detail-section-head h2 {
  white-space: normal;
  max-width: 840px;
  font-size: clamp(2.5rem, 3.2vw, 4rem);
}

.detail-section-head p {
  max-width: 720px;
}

.section-heading-left span::before {
  display: none;
}

.detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.detail-highlight-card {
  position: relative;
  padding: 34px 30px 28px;
  border: 1px solid rgba(110, 171, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at center, rgba(89, 154, 255, 0.08), transparent 40%);
  box-shadow: 0 18px 48px rgba(18, 48, 98, 0.08);
}

.detail-icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 255, 0.96));
  box-shadow:
    0 16px 30px rgba(61, 124, 255, 0.08),
    0 0 0 1px rgba(89, 154, 255, 0.12) inset;
}

.detail-highlight-card h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--text-main);
}

.detail-highlight-card p {
  margin: 16px 0 0;
  color: var(--text-mid);
  line-height: 1.9;
}

.detail-card-line {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c78ff, #5eb6ff);
}

.detail-functions-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 38px;
}

.detail-functions-head {
  margin-bottom: 0;
}

.detail-bullets {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.detail-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-main);
}

.detail-bullets i {
  margin-top: 2px;
  color: var(--primary);
  font-size: 18px;
}

.detail-process-panel {
  display: grid;
  gap: 20px;
}

.detail-process-card,
.detail-support-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(111, 175, 255, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98)),
    radial-gradient(circle at right top, rgba(98, 164, 255, 0.08), transparent 30%);
  box-shadow: 0 18px 44px rgba(16, 48, 98, 0.08);
}

.detail-process-card::before,
.detail-support-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(93, 154, 255, 0.3);
  border-radius: 22px;
  pointer-events: none;
}

.detail-process-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 18px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  background: #f8fbff;
}

.detail-process-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.detail-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 248px;
}

.detail-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 255, 0.96));
  box-shadow:
    0 10px 24px rgba(61, 124, 255, 0.08),
    0 0 0 1px rgba(89, 154, 255, 0.12) inset;
}

.detail-process-step h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.detail-process-step p {
  margin: 10px 0 0;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

.detail-arrow {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(63, 131, 255, 0.45);
}

.detail-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(63, 131, 255, 0.55);
  border-right: 1px solid rgba(63, 131, 255, 0.55);
  transform: rotate(45deg);
}

.detail-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-support-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  color: var(--text-main);
  font-weight: 600;
}

.detail-support-grid i {
  color: var(--primary);
}

.detail-scenarios-panel {
  background:
    radial-gradient(circle at top right, rgba(81, 151, 255, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
}

.detail-scenarios-shell {
  justify-content: space-between;
}

.detail-section-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.detail-section-inline p {
  max-width: 760px;
  margin: 0;
}

.detail-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.detail-scenario-card {
  overflow: hidden;
  border: 1px solid rgba(111, 175, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(18, 48, 98, 0.08);
}

.detail-scenario-card img {
  width: 100%;
  aspect-ratio: 4 / 2.4;
  object-fit: cover;
}

.detail-scenario-copy {
  position: relative;
  padding: 24px 24px 26px;
}

.detail-scenario-copy h3 {
  margin: 0;
  font-size: 1.6rem;
}

.detail-scenario-copy p {
  margin: 14px 0 0;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: calc(100% - 48px);
}

.detail-scenario-link {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2d7bff, #145adf);
}

.detail-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 32px;
  padding: 34px 38px;
  border: 1px solid rgba(120, 180, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(6, 23, 56, 0.98), rgba(10, 34, 86, 0.94)),
    radial-gradient(circle at 80% 50%, rgba(71, 142, 255, 0.16), transparent 22%);
  box-shadow: 0 22px 48px rgba(2, 12, 33, 0.3);
}

.detail-cta-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Rajdhani", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 2.7vw, 3.2rem);
}

.detail-cta-copy p {
  margin: 12px 0 0;
  color: rgba(242, 247, 255, 0.72);
}

.detail-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-ghost-btn-light {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.detail-ghost-btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1200px) {
  .detail-scenarios-shell {
    justify-content: center;
    gap: 20px;
  }

  .detail-section-inline {
    gap: 10px;
  }

  .detail-section-inline h2 {
    white-space: nowrap;
    font-size: clamp(2.7rem, 3.2vw, 4rem);
    line-height: 1.08;
  }

  .detail-section-inline p {
    max-width: 680px;
    font-size: 1rem;
  }

  .detail-scenario-grid {
    margin-top: 0;
    gap: 18px;
  }

  .detail-scenario-card img {
    aspect-ratio: 4 / 2.15;
  }

  .detail-scenario-copy {
    padding: 20px 22px 22px;
  }

  .detail-scenario-copy h3 {
    font-size: 1.35rem;
  }

  .detail-scenario-copy p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .detail-scenario-link {
    right: 20px;
    bottom: 24px;
    width: 40px;
    height: 40px;
  }

  .detail-cta-band {
    margin-top: 18px;
    padding: 24px 30px;
  }

  .detail-cta-copy h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.8rem);
  }

  .detail-cta-copy p {
    margin-top: 8px;
  }
}

@media (max-width: 1199px) {
  .detail-hero-visual {
    min-height: 360px;
    margin-bottom: 8px;
  }

  .detail-metric-strip,
  .detail-highlight-grid,
  .detail-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-functions-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-process-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .detail-arrow {
    display: none;
  }

  .detail-process-step {
    min-height: auto;
  }

  .detail-process-card::before,
  .detail-support-card::before {
    inset: 14px;
  }
}

@media (max-width: 899px) {
  .detail-hero-card {
    gap: 20px;
    padding: 24px 24px 30px;
  }

  .detail-breadcrumb {
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    row-gap: 6px;
    font-size: 12px;
    line-height: 1.55;
  }

  .detail-breadcrumb a,
  .detail-breadcrumb span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .detail-breadcrumb span:last-child {
    flex-basis: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .detail-hero-copy h1 {
    font-size: clamp(2.5rem, 9vw, 3.7rem);
  }

  .detail-hero-visual {
    min-height: 300px;
    margin-bottom: 0;
  }

  .detail-hero-copy,
  .detail-section-head,
  .detail-functions-head,
  .detail-cta-copy {
    text-align: left;
  }

  .detail-hero-copy .hero-text,
  .detail-section-head p,
  .detail-section-inline p {
    max-width: none;
  }

  .detail-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    gap: 0;
  }

  .detail-metric {
    min-height: 100px;
    padding: 16px 18px;
    border-right: 0;
  }

  .detail-metric:nth-child(odd) {
    border-right: 1px solid rgba(118, 176, 255, 0.16);
  }

  .detail-metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(118, 176, 255, 0.16);
  }

  .detail-section-inline,
  .detail-cta-band,
  .detail-cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-highlight-grid,
  .detail-scenario-grid {
    grid-template-columns: 1fr;
  }

  .detail-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-process-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-process-step {
    min-height: auto;
    padding: 6px 8px;
  }

  .detail-process-step p br {
    display: none;
  }

  .detail-cta-band {
    padding: 28px 24px;
  }

  .detail-cta-actions {
    width: 100%;
  }

  .detail-cta-actions .primary-btn,
  .detail-cta-actions .detail-ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 639px) {
  .detail-hero-card {
    padding: 22px 18px 26px;
  }

  .detail-breadcrumb {
    margin-bottom: 14px;
  }

  .detail-hero-copy h1 {
    word-break: keep-all;
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 1.08;
  }

  .detail-hero-visual {
    min-height: 220px;
  }

  .detail-metric-strip,
  .detail-cta-band,
  .detail-highlight-card,
  .detail-process-card,
  .detail-support-card {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .detail-metric {
    min-height: auto;
    padding-left: 8px;
    padding-right: 8px;
  }

  .detail-metric:nth-child(odd) {
    border-right: 0;
  }

  .detail-metric:not(:last-child) {
    border-bottom: 1px solid rgba(118, 176, 255, 0.16);
  }

  .detail-process-card,
  .detail-support-card {
    border-radius: 24px;
  }

  .detail-process-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    font-size: 28px;
  }

  .detail-process-step h3 {
    font-size: 1rem;
  }

  .detail-process-step p {
    font-size: 0.9rem;
  }

  .detail-scenario-copy {
    padding: 20px;
  }

  .detail-support-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
