/* ========== Hero ========== */
.srl-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 420px;
  height: clamp(360px, 46vw, 520px);
  overflow: hidden;
  background: #0d2133;
}

.srl-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.srl-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.srl-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px;
}

.srl-hero__content {
  max-width: 760px;
  text-align: left;
}

.srl-hero__eyebrow {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.srl-hero__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}

.srl-hero__desc {
  max-width: 640px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

/* ========== Buttons ========== */
.srl-btn {
  display: inline-block;
  padding: 11px 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.srl-btn--ghost-light {
  color: var(--color-white);
  border-color: var(--color-white);
  background: transparent;
}

.srl-btn--ghost-light:hover,
.srl-btn--ghost-light:focus-visible {
  color: var(--color-primary);
  background: var(--color-white);
}

.srl-btn--ghost-dark {
  color: var(--color-text);
  border-color: var(--color-text);
  background: transparent;
}

.srl-btn--ghost-dark:hover,
.srl-btn--ghost-dark:focus-visible {
  color: var(--color-white);
  background: var(--color-text);
}

.srl-btn--primary {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.srl-btn--primary:hover,
.srl-btn--primary:focus-visible {
  opacity: 0.92;
}

.srl-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ========== Card (Container) ========== */
.srl-card {
  background: var(--color-white);
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.1);
}

.srl-card--feature {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 460px;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ========== Intro ========== */
.srl-intro {
  padding: 72px 0;
  background: var(--color-white);
}

.srl-intro__head {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.srl-intro__eyebrow {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.srl-intro__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.srl-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}

.srl-intro__col p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.srl-intro__col p:last-child {
  margin-bottom: 0;
}

/* ========== Feature Cards ========== */
.srl-feature-wrap {
  padding: 0 0 56px;
  background: var(--color-white);
}

/* Hero 后无 Intro 时，与首张 Feature 卡片留出白底间隔 */
.srl-hero + .srl-feature-wrap {
  padding-top: 56px;
}

.srl-feature-wrap__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.srl-feature--blue {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.srl-feature--blue .srl-feature__bg {
  opacity: 1;
  transform: scale(1.06);
}

.srl-feature--blue .srl-feature__overlay {
  background: rgba(0, 83, 135, 0.78);
}

.srl-feature__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.srl-feature__overlay {
  position: absolute;
  inset: 0;
}

.srl-feature__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: 40px;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 100%;
  padding: 56px 48px;
}

.srl-feature__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.srl-feature__text {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
}

.srl-feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.srl-feature__media img {
  display: block;
  width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: contain;
}

/* ========== Feature Band (Light) ========== */
.srl-feature--light {
  background-color: var(--color-white);
}

.srl-feature--light .srl-feature__bg {
  opacity: 1;
  transform: scale(1.06);
}

.srl-feature--light .srl-feature__overlay {
  background: rgba(255, 255, 255, 0.76);
}

.srl-feature--light .srl-feature__title,
.srl-feature--light .srl-feature__text {
  color: var(--color-text);
}

.srl-feature__inner--light {
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
}

/* ========== DELEM Product ========== */
.srl-delem {
  padding: 64px 0 72px;
  background: var(--color-white);
}

.srl-delem__head {
  margin-bottom: 48px;
  text-align: center;
}

.srl-delem__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
}

.srl-delem__line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  background: #2aa8c8;
}

.srl-delem__stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.srl-delem__grid {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: center;
}

.srl-delem__media {
  margin: 0;
  text-align: center;
}

.srl-delem__media img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.srl-delem__eyebrow {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.srl-delem__name {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.srl-delem__desc {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.srl-checklist--single {
  margin-bottom: 28px;
}

.srl-delem__btn {
  display: inline-block;
  padding: 11px 36px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.srl-delem__btn:hover,
.srl-delem__btn:focus-visible {
  color: var(--color-white);
  background: var(--color-primary);
}

.srl-delem__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ========== ToolStation ========== */
.srl-toolstation {
  padding: 64px 0;
  background: var(--color-bg-light);
}

.srl-toolstation__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: center;
  margin-bottom: 48px;
}

.srl-toolstation__media {
  margin: 0;
}

.srl-toolstation__media img {
  display: block;
  width: 100%;
  height: auto;
}

.srl-toolstation__summary p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.srl-toolstation__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  align-items: start;
}

.srl-toolstation__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
}

.srl-toolstation__text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

/* ========== Advantage ========== */
.srl-advantage {
  padding: 64px 0;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.srl-advantage__title {
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.srl-advantage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 48px;
  margin-bottom: 40px;
}

.srl-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.srl-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.srl-checklist__icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-primary);
  line-height: 0;
}

.srl-checklist__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.srl-align__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.srl-align__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

/* ========== Diagrams ========== */
.srl-diagrams {
  padding: 56px 0 64px;
  background: var(--color-white);
}

.srl-diagrams__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: 32px;
}

.srl-diagram {
  margin: 0;
  text-align: center;
}

.srl-diagram img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
}

.srl-diagram figcaption {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.srl-cert {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.srl-cert__title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.srl-cert__text {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.srl-cert__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.srl-cert__logos li {
  list-style: none;
}

.srl-cert__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border-radius: 4px;
  background: var(--color-bg-light);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.srl-cert__link:hover,
.srl-cert__link:focus-visible {
  background: #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.srl-cert__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.srl-cert__logos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========== PCSS ========== */
.srl-pcss {
  padding: 64px 0;
  background: var(--color-white);
}

.srl-pcss__title {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.srl-pcss__intro {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.srl-pcss__figure {
  margin: 0 0 24px;
  text-align: center;
}

.srl-pcss__figure img {
  display: block;
  width: 60%;
  max-width: 60%;
  height: auto;
  margin: 0 auto;
}

.srl-pcss__note {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

/* ========== Specifications ========== */
.srl-spec {
  padding: 64px 0 72px;
  background: var(--color-white);
}

.srl-spec__head {
  margin-bottom: 36px;
  text-align: center;
}

.srl-spec__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.srl-spec__line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  background: #2aa8c8;
}

.srl-spec__list {
  max-width: 1200px;
  margin: 0 auto;
}

.srl-spec__item {
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  overflow: hidden;
}

.srl-spec__item:last-child {
  margin-bottom: 0;
}

.srl-spec__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.srl-spec__trigger::-webkit-details-marker {
  display: none;
}

.srl-spec__icon {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.srl-spec__icon::before,
.srl-spec__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.srl-spec__icon::before {
  width: 14px;
  height: 2px;
}

.srl-spec__icon::after {
  width: 2px;
  height: 14px;
  transition: transform var(--transition), opacity var(--transition);
}

.srl-spec__item[open] .srl-spec__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.srl-spec__panel {
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ========== Download ========== */
.srl-download {
  padding: 72px 0 88px;
  background: var(--color-white);
}

.srl-download__head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.srl-download__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
}

.srl-download__line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  background: var(--color-primary);
}

.srl-download__media {
  margin: 0 auto 32px;
  text-align: center;
}

.srl-download__media img {
  display: inline-block;
  width: 60%;
  max-width: 480px;
  height: auto;
}

.srl-download__action {
  text-align: center;
}

/* ========== Video ========== */
.srl-video {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--color-primary);
}

.srl-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.srl-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 83, 135, 0.62);
}

.srl-video__inner {
  position: relative;
  z-index: 2;
}

.srl-video__frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px;
  background: var(--color-white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.srl-video__frame-border {
  padding: 4px;
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
}

.srl-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  vertical-align: middle;
  background: #000000;
  object-fit: cover;
  border: 0;
}

.srl-video__player--youtube {
  object-fit: unset;
}

.page-main--retrofit-landing {
  background: var(--color-white);
}

/* ========== Tablet ========== */
@media (max-width: 960px) {
  .srl-card--feature {
    min-height: 400px;
  }

  .srl-feature__inner,
  .srl-feature__inner--light {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .srl-intro__grid,
  .srl-advantage__grid,
  .srl-diagrams__grid,
  .srl-delem__grid,
  .srl-toolstation__intro,
  .srl-toolstation__details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .srl-diagram img,
  .srl-pcss__figure img {
    width: 80%;
    max-width: 80%;
  }
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .srl-hero__inner {
    padding: 40px 24px;
  }

  .srl-intro {
    padding: 48px 0;
  }

  .srl-feature-wrap {
    padding-bottom: 40px;
  }

  .srl-hero + .srl-feature-wrap {
    padding-top: 40px;
  }

  .srl-feature-wrap__stack {
    gap: 24px;
  }

  .srl-card--feature {
    min-height: auto;
  }

  .srl-feature__inner {
    padding: 32px 24px;
  }

  .srl-feature__media img {
    max-height: none;
  }

  .srl-advantage,
  .srl-delem,
  .srl-toolstation,
  .srl-diagrams,
  .srl-pcss,
  .srl-spec,
  .srl-download {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .srl-video {
    padding: 48px 0 64px;
  }

  .srl-video__frame {
    padding: 10px;
  }

  .srl-diagram img,
  .srl-pcss__figure img,
  .srl-download__media img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .srl-hero__title,
  .srl-intro__title,
  .srl-feature__title,
  .srl-advantage__title,
  .srl-delem__title,
  .srl-delem__name,
  .srl-toolstation__title,
  .srl-align__title,
  .srl-cert__title,
  .srl-pcss__title,
  .srl-spec__title,
  .srl-download__title {
    font-size: 24px;
  }
}
