:root {
  --blue-900: #12347f;
  --blue-800: #183e92;
  --blue-600: #2469d9;
  --cyan: #27b6ea;
  --ink: #22304a;
  --muted: #68748a;
  --line: #edf1f7;
  --paper: #ffffff;
  --soft: #f3f7fc;
  --surface: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  --border-soft: rgba(203, 218, 239, 0.72);
  --shadow: 0 16px 36px rgba(31, 54, 96, 0.1);
  --shadow-hover: 0 20px 44px rgba(31, 54, 96, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.72;
  background: #f7fbff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(min(38.2vw, 760px) + 56px);
  background: #14347d;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.hero__track {
  display: flex;
  width: max-content;
  min-height: calc(min(38.2vw, 760px) + 56px);
  padding-top: 56px;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero__slide {
  position: relative;
  flex: 0 0 100vw;
  min-height: min(38.2vw, 760px);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #14347d;
}

.hero__slide > img {
  width: 100%;
  height: min(38.2vw, 760px);
  min-height: min(38.2vw, 760px);
  object-fit: cover;
}

.hero__slide--image > img {
  object-fit: contain;
  object-position: center;
  background: #14347d;
}

.hero__slide--tech > img {
  object-position: center;
  filter: saturate(1.04) brightness(0.7);
}

.hero__slide--eco > img {
  object-position: center;
  filter: saturate(1.08) brightness(0.72);
}

.hero__content {
  position: absolute;
  left: clamp(40px, 10vw, 210px);
  top: 50%;
  max-width: min(760px, 70vw);
  color: #fff;
  transform: translateY(-42%);
}

.hero__content p {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.7vw, 30px);
  font-weight: 700;
  letter-spacing: 0.42em;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(40px, 6.1vw, 112px);
  font-weight: 800;
  line-height: 1.08;
}

.hero__content span {
  display: inline-block;
  margin-top: 24px;
  padding: 9px 18px;
  color: #dff7ff;
  font-size: clamp(14px, 1.4vw, 22px);
  font-weight: 700;
  background: rgba(17, 57, 136, 0.52);
  border: 1px solid rgba(151, 218, 255, 0.42);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  min-height: 56px;
  color: #fff;
  background: linear-gradient(90deg, rgba(18, 52, 127, 0.9), rgba(39, 182, 234, 0.66));
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(10, 28, 72, 0.18);
  backdrop-filter: blur(12px);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 32px);
  min-height: 56px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
}

.site-nav__auth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  color: #fff;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 800;
  white-space: nowrap;
}

.site-nav__auth[hidden] {
  display: none;
}

.site-nav__auth button {
  min-height: 32px;
  padding: 0 12px;
  color: #12347f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
}

.site-nav__item > a:first-child::after,
.site-nav > .site-nav__inner > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.42);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav__item:focus-within > a:first-child {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav__item:hover > a:first-child::after,
.site-nav__item:focus-within > a:first-child::after,
.site-nav > .site-nav__inner > a:hover::after,
.site-nav > .site-nav__inner > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
}

.site-nav__item > a[data-flyout]::before {
  content: attr(data-flyout);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 50;
  min-height: 0;
  padding: 13px 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 16px rgba(115, 220, 255, 0.85);
  background: linear-gradient(135deg, rgba(23, 70, 174, 0.94), rgba(21, 188, 226, 0.86));
  border: 1px solid rgba(202, 244, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 84, 176, 0.28), inset 0 0 22px rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.92);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.site-nav__item > a[data-flyout]::after {
  z-index: 1;
}

.site-nav__item > a[data-flyout]:hover::before,
.site-nav__item > a[data-flyout]:focus-visible::before {
  opacity: 1;
  filter: brightness(1.05);
  transform: translate(-50%, 0) scale(1);
}

.site-nav__item > a[data-flyout]:hover {
  z-index: 60;
}

.login {
  position: absolute;
  top: 8px;
  right: 14px;
  z-index: 10;
  padding: 3px 13px;
  color: #278be4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(16, 40, 96, 0.16);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 4px;
  transform: translateX(-50%);
}

.hero__dots button {
  position: relative;
  width: 42px;
  height: 24px;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.hero__dots button::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transform: translateY(-50%);
}

.hero__dots button.is-active::before {
  background: #fff;
}

.hero__arrow {
  position: absolute;
  top: calc(56px + min(19.1vw, 380px));
  z-index: 30;
  display: grid;
  width: 44px;
  height: 62px;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  background: rgba(13, 36, 91, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  transform: translateY(-50%);
  transition: background 180ms ease, opacity 180ms ease;
}

.hero__arrow:hover {
  background: rgba(13, 36, 91, 0.42);
}

.hero__arrow--prev {
  left: 22px;
}

.hero__arrow--next {
  right: 22px;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(245, 249, 255, 0.96), rgba(238, 246, 255, 0.96)),
    var(--soft);
}

.intro {
  padding: 42px 0 48px;
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: stretch;
}

.service-card,
.intro__card,
.news-card,
.vision-card {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

.intro__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-card__header h2,
.section-title h2 {
  margin: 0;
  color: var(--blue-900);
  font-weight: 800;
  letter-spacing: 0;
}

.intro__card-image {
  width: 100%;
  height: clamp(190px, 18vw, 240px);
  object-fit: cover;
  object-position: left center;
  background: #f8fbff;
  border-bottom: 1px solid rgba(218, 228, 244, 0.92);
}

.intro__card p {
  margin: clamp(18px, 2vw, 24px) clamp(20px, 2.6vw, 30px) clamp(20px, 2.5vw, 30px);
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.5vw, 28px);
  color: #4f5f77;
  font-size: 15px;
  line-height: 1.74;
  text-indent: 2em;
  background:
    linear-gradient(90deg, rgba(39, 182, 234, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(241, 247, 255, 0.88));
  border: 1px solid rgba(188, 213, 246, 0.72);
  border-left: 4px solid rgba(39, 182, 234, 0.72);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px 13px;
  background: linear-gradient(90deg, rgba(237, 246, 255, 0.96), rgba(255, 255, 255, 0.96));
  border-bottom: 1px solid rgba(218, 228, 244, 0.92);
}

.news-card__header h2 {
  position: relative;
  padding-left: 14px;
  font-size: 22px;
  line-height: 1.2;
}

.news-card__header h2::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 22px;
  content: "";
  background: linear-gradient(180deg, var(--blue-600), var(--cyan));
  border-radius: 999px;
  transform: translateY(-50%);
}

.news-card__header a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(18, 52, 127, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(188, 213, 246, 0.82);
  border-radius: 999px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.news-card__header a:hover,
.news-card__header a:focus-visible {
  color: var(--blue-900);
  background: #fff;
  border-color: rgba(39, 182, 234, 0.62);
}

.news-card__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 276px;
  overflow: hidden;
  background: #eef4fb;
}

.news-card__track {
  display: flex;
  height: 100%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card__slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 276px;
  aspect-ratio: 16 / 9;
  color: inherit;
  text-decoration: none;
}

.news-card__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(9, 25, 58, 0.04), rgba(9, 25, 58, 0.08) 44%, rgba(9, 25, 58, 0.72));
}

.news-card__slide h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 90px 24px 22px;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.28;
  text-shadow: 0 2px 12px rgba(6, 20, 48, 0.36);
}

.news-card__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 46px;
  padding: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  line-height: 1;
  background: rgba(12, 37, 85, 0.34);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.news-card__arrow--prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.news-card__arrow--next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.news-card:hover .news-card__arrow,
.news-card:focus-within .news-card__arrow {
  opacity: 1;
}

.news-card__arrow:hover,
.news-card__arrow:focus-visible {
  background: rgba(12, 37, 85, 0.56);
}

@media (hover: none) {
  .news-card__arrow {
    opacity: 0.72;
  }
}

.services {
  padding: 54px 0 70px;
}

.section-title {
  margin: 0 auto 30px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  font-size: clamp(26px, 3vw, 34px);
}

.section-title h2::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
  border-radius: 999px;
  transform: translateX(-50%);
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.service-platform-entry {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100% - 56px, 1320px);
  margin: -12px auto 34px;
  text-align: center;
}

.service-platform-entry__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 48px;
  padding: 12px 30px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(135deg, #2f75ff, #18b7eb);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(31, 117, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.service-platform-entry__button::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: #d9f7ff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 247, 255, 0.18);
}

.service-platform-entry__button:hover,
.service-platform-entry__button:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 117, 255, 0.34);
}

.service-platform-entry__button:focus-visible {
  outline: 3px solid rgba(39, 182, 234, 0.38);
  outline-offset: 4px;
}

.service-platform-entry p {
  margin: 0;
  color: #536177;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: 16px 24px;
  padding: 20px 22px 22px;
  overflow: hidden;
  background: var(--surface);
  scroll-margin-top: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(162, 197, 239, 0.86);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

#compute-resources,
#compute-models,
#opc-service,
#about-us {
  scroll-margin-top: 18px;
}

.service-card__media {
  position: relative;
  height: 168px;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 25, 58, 0.64) 0 34%, rgba(9, 25, 58, 0.16) 68%, rgba(9, 25, 58, 0.08) 100%);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__media h3 {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  margin: 0;
  padding: 8px 13px 9px;
  color: #fff;
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 900;
  line-height: 1.18;
  background: rgba(12, 37, 85, 0.68);
  border: 1px solid rgba(178, 224, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(3, 12, 34, 0.22);
  backdrop-filter: blur(6px);
}

.service-card__body {
  display: contents;
}

.service-item {
  padding: 14px 16px 14px 18px;
  background: rgba(251, 253, 255, 0.88);
  border: 1px solid rgba(221, 231, 246, 0.92);
  border-left: 3px solid rgba(36, 105, 217, 0.34);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(22, 58, 116, 0.035);
}

.service-item + .service-item {
  margin-top: 0;
}

.service-card__body > .service-item:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.service-item h4 {
  margin: 0 0 7px;
  color: #214381;
  font-size: 15px;
  line-height: 1.45;
}

.service-item p {
  margin: 0;
  color: #5e6a7d;
  font-size: 14px;
  line-height: 1.58;
}

.service-item--levels {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

.service-item--levels p + p {
  margin-top: 0;
}

.service-item--levels p {
  padding: 13px 15px;
  background: rgba(251, 253, 255, 0.9);
  border: 1px solid rgba(221, 231, 246, 0.92);
  border-left: 3px solid rgba(39, 182, 234, 0.38);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(22, 58, 116, 0.035);
}

.service-item--levels strong {
  display: block;
  margin-bottom: 5px;
  color: #214381;
  font-weight: 800;
}

.service-card__body > .service-item:not(:first-child):not(.service-item--levels) {
  grid-column: 1 / -1;
}

.service-card--support {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 168px);
}

.service-card--support .service-card__media {
  grid-column: 1;
  grid-row: 1;
}

.service-card--support .service-card__body > .service-item:first-child {
  grid-column: 2;
  grid-row: 1;
}

.service-card--support .service-card__body > .service-item:not(:first-child):not(.service-item--levels) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 3;
  grid-row: 1;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.service-card--support .service-item--levels {
  display: contents;
}

.service-card--support .service-item--levels p {
  min-height: 0;
}

.service-card--support .service-item--levels p:nth-child(1) {
  grid-column: 1;
  grid-row: 2;
}

.service-card--support .service-item--levels p:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.service-card--support .service-item--levels p:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}

.service-card--eco {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, 96px);
}

.service-card--eco .service-card__media {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.service-card--eco .service-card__body > .service-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2;
  min-height: 0;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
}

.service-card.service-card--eco .service-card__body > .service-item:nth-of-type(1) {
  grid-column: 2 / 4;
  grid-row: 1;
}

.service-card.service-card--eco .service-card__body > .service-item:nth-of-type(2) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.service-card.service-card--eco .service-card__body > .service-item:nth-of-type(3) {
  grid-column: 2 / 4;
  grid-row: 3;
}

.opc-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
}

.opc-service-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 104px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94));
  border: 1px solid rgba(221, 231, 246, 0.92);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(22, 58, 116, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.opc-service-zone:hover {
  border-color: rgba(162, 197, 239, 0.86);
  box-shadow: 0 14px 28px rgba(22, 58, 116, 0.08);
  transform: translateY(-1px);
}

.opc-service-zone h4 {
  margin: 0 0 6px;
  color: #214381;
  font-size: 14px;
  line-height: 1.35;
}

.opc-service-zone p {
  margin: 0;
  color: #5e6a7d;
  font-size: 13px;
  line-height: 1.52;
}

.compute-models {
  padding: 60px 0 72px;
}

.opc-support {
  padding: 0 0 72px;
  background:
    linear-gradient(180deg, rgba(243, 247, 252, 0.2), rgba(238, 246, 255, 0.96)),
    var(--soft);
}

.opc-support-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 520px;
  padding: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.opc-support-card__media {
  position: relative;
  grid-column: 1;
  overflow: hidden;
  min-height: 476px;
  border-radius: 10px;
  background: #0b2f62;
}

.opc-support-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 28, 68, 0.76) 0%, rgba(6, 28, 68, 0.34) 44%, rgba(6, 28, 68, 0.03) 72%),
    linear-gradient(180deg, rgba(3, 18, 45, 0.32), rgba(3, 18, 45, 0.02) 46%);
}

.opc-support-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.opc-support-card__body {
  grid-column: 2 / 4;
  min-height: 0;
}

.opc-support-card__media h3 {
  position: absolute;
  z-index: 1;
  top: 26px;
  left: 26px;
  max-width: calc(100% - 52px);
  margin: 0;
  padding: 9px 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
  background: rgba(10, 43, 93, 0.72);
  border: 1px solid rgba(177, 214, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 25, 68, 0.24);
  backdrop-filter: blur(8px);
}

.compute-models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.compute-models__lead,
.model-service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.compute-models__lead {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px 26px 30px;
  overflow: hidden;
}

.compute-models__lead:hover,
.model-service-card:hover {
  border-color: rgba(162, 197, 239, 0.86);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.compute-models__lead::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
}

.compute-models__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 12px;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  background: #eaf4ff;
  border-radius: 999px;
}

.compute-models__lead h3,
.model-service-card h3 {
  margin: 0;
  color: var(--blue-900);
  line-height: 1.35;
}

.compute-models__lead h3 {
  font-size: 20px;
}

.compute-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compute-stack__item {
  padding: 15px 16px;
  background: rgba(248, 250, 253, 0.9);
  border: 1px solid rgba(221, 231, 246, 0.92);
  border-radius: 8px;
}

.compute-stack__item strong {
  display: block;
  color: #214381;
  font-size: 15px;
}

.compute-stack__item p {
  margin: 7px 0 0;
  color: #5e6a7d;
  font-size: 14px;
  line-height: 1.65;
}

.model-service-card {
  position: relative;
  min-height: 330px;
  padding: 28px 26px 30px;
  overflow: hidden;
}

.model-service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3359df, #39bdf0);
}

.model-service-card span {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  margin-bottom: 16px;
  padding: 5px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--blue-800), var(--cyan));
  border-radius: 999px;
}

.model-service-card h3 {
  min-height: 52px;
  font-size: 20px;
}

.model-service-card p {
  margin: 14px 0 0;
  color: #5e6a7d;
  font-size: 14px;
  line-height: 1.68;
}

.model-service-card strong {
  color: #214381;
  font-weight: 800;
}

.model-service-card--agents::before {
  background: linear-gradient(90deg, #0f9f8a, #37c8ef);
}

.model-service-card--agents span {
  background: linear-gradient(135deg, #0f766e, #25b7e8);
}

.vision {
  padding: 60px 0 72px;
}

.vision-window {
  position: relative;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.vision-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vision-card:hover {
  border-color: rgba(162, 197, 239, 0.86);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.vision-card h3 {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px 16px;
  color: #fff;
  font-size: 18px;
  line-height: 1.42;
  text-align: center;
}

.vision-card ul {
  flex: 1;
  margin: 0;
  padding: 20px 18px 24px 32px;
}

.vision-card li {
  margin: 0 0 10px;
  color: #536177;
  font-size: 13px;
  line-height: 1.56;
}

.vision-card strong {
  color: inherit;
  font-weight: inherit;
}

.vision-card--purple h3 {
  background: linear-gradient(135deg, #3f2369, #4635a6);
}

.vision-card--rose h3 {
  background: linear-gradient(135deg, #4b236f, #c5457d);
}

.vision-card--green h3 {
  background: linear-gradient(135deg, #1ba676, #68d996);
}

.vision-card--blue h3 {
  background: linear-gradient(135deg, #3359df, #39bdf0);
}

.vision-card--opc h3 {
  background: linear-gradient(135deg, #18417e, #17a7b8);
}

.footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(105deg, #344fcf 0 49%, #1d2d3e 49% 100%);
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(117, 160, 246, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.footer::before {
  left: -110px;
  bottom: -190px;
}

.footer::after {
  right: -150px;
  bottom: -210px;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 58px 0 54px;
}

.footer__entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.footer p {
  margin: 5px 0;
  font-size: 13px;
}

.qr {
  width: 96px;
  height: 96px;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px 18px, #111 18px 30px, transparent 30px),
    linear-gradient(#111 12px, transparent 12px 18px, #111 18px 30px, transparent 30px),
    #fff;
  background-size: 36px 36px;
  border: 8px solid #fff;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 12px 26px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(135deg, #2f75ff, #20c4f4);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(31, 117, 255, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.resource-link:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(31, 117, 255, 0.44);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: rgba(18, 52, 127, 0.88);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 105, 217, 0.18);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(31, 54, 96, 0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(39, 182, 234, 0.5);
  outline-offset: 3px;
}

.copyright {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
  .site-nav {
    min-height: 52px;
  }

  .site-nav__inner {
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-height: 52px;
    font-size: 15px;
  }

  .hero {
    min-height: calc(min(38.2vw, 760px) + 52px);
  }

  .hero__track {
    min-height: calc(min(38.2vw, 760px) + 52px);
    padding-top: 52px;
  }

  .hero__arrow {
    top: calc(52px + min(19.1vw, 380px));
  }

  .intro__grid,
  .service-grid,
  .compute-models__grid,
  .opc-support-card,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .compute-models__lead {
    position: relative;
    top: auto;
  }

  .opc-support-card__media,
  .opc-support-card__body {
    grid-column: 1;
  }

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

  .service-card__media {
    height: 220px;
  }

  .opc-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }

  .opc-support-card {
    min-height: auto;
  }

  .opc-support-card__media {
    min-height: 300px;
    max-height: 360px;
  }

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

  .footer__entry {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1320px);
  }

  .service-platform-entry {
    width: min(100% - 28px, 1320px);
    margin: -14px auto 28px;
  }

  .service-platform-entry__button {
    width: 100%;
    min-height: 46px;
    min-width: 0;
    font-size: 16px;
  }

  .site-nav {
    min-height: 46px;
  }

  .site-nav__inner {
    justify-content: flex-start;
    gap: 18px;
    min-height: 46px;
    padding: 0 14px;
  }

  .site-nav a {
    min-height: 46px;
    font-size: 14px;
  }

  .site-nav a::after {
    bottom: 8px;
  }

  .hero {
    min-height: calc(max(150px, 38.2vw) + 46px);
    background-color: #14347d;
  }

  .hero__slide,
  .hero__slide > img {
    min-height: max(150px, 38.2vw);
  }

  .hero__track {
    min-height: calc(max(150px, 38.2vw) + 46px);
    padding-top: 46px;
  }

  .hero__slide > img {
    object-fit: cover;
  }

  .hero__slide--image > img {
    object-fit: contain;
    object-position: center top;
    background: #14347d;
  }

  .hero__content {
    left: 26px;
    max-width: calc(100% - 52px);
  }

  .hero__content p {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .hero__content h1 {
    font-size: 27px;
  }

  .hero__content span {
    margin-top: 12px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .hero__arrow {
    display: none;
  }

  .news-card__arrow {
    opacity: 0.72;
  }

  .back-to-top {
    right: 12px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .model-service-card {
    min-height: auto;
  }

  .opc-service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .intro,
  .services,
  .compute-models,
  .opc-support,
  .vision {
    padding: 48px 0;
  }

  .intro {
    padding: 28px 0 34px;
  }

  .intro__grid {
    gap: 24px;
  }

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

  .service-grid .service-card.service-card--support {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-grid .service-card.service-card--eco {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-card__body > .service-item:first-child,
  .service-card__body > .service-item:not(:first-child):not(.service-item--levels) {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card--support .service-card__media,
  .service-card--support .service-card__body > .service-item:first-child,
  .service-card--support .service-card__body > .service-item:not(:first-child):not(.service-item--levels),
  .service-card--support .service-item--levels,
  .service-card--support .service-item--levels p {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card--support .service-item--levels p:nth-child(1),
  .service-card--support .service-item--levels p:nth-child(2),
  .service-card--support .service-item--levels p:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card--eco .service-card__media,
  .service-card--eco .service-card__body > .service-item,
  .service-card--eco .service-card__body > .service-item:nth-child(1),
  .service-card--eco .service-card__body > .service-item:nth-child(2),
  .service-card--eco .service-card__body > .service-item:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card.service-card--eco .service-card__body > .service-item:nth-of-type(1),
  .service-card.service-card--eco .service-card__body > .service-item:nth-of-type(2),
  .service-card.service-card--eco .service-card__body > .service-item:nth-of-type(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card--eco .service-card__media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .service-card__body > .service-item:first-child {
    min-height: auto;
    padding: 18px;
  }

  .service-card__media {
    height: 190px;
  }

  .service-card__media h3 {
    font-size: 22px;
  }

  .service-card__body,
  .opc-support-card__body {
    padding: 22px;
  }

  .opc-support-card__media {
    min-height: 220px;
  }

  .opc-support-card__media h3 {
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
    font-size: 20px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-card h3 {
    min-height: auto;
  }

  .footer {
    background: linear-gradient(180deg, #344fcf 0 50%, #1d2d3e 50% 100%);
  }

  .footer__entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

/* footer override */
.footer {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #1d2d3e;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 64%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #3048c8;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.footer::after {
  display: none;
}
.footer__grid {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}
.footer__contact {
  position: relative;
  z-index: 1;
  min-height: 232px;
  padding: 38px 74px 38px max(40px, calc((100vw - 1320px) / 2 + 40px));
}
.footer h2 {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
}
.footer__lines {
  display: grid;
  gap: 12px;
}
.footer__lines p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}
.footer__entry {
  position: relative;
  z-index: 1;
  min-height: 232px;
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 64px;
  padding: 38px 40px;
  text-align: center;
}
.footer__action {
  width: 220px;
}
.footer__media {
  display: block;
  width: 154px;
  height: 154px;
  padding: 8px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 24px rgba(8, 18, 40, 0.18);
}
.footer__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.copyright {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__contact {
    min-height: auto;
    padding: 30px 24px;
    background: #3048c8;
  }
  .footer__entry {
    min-height: auto;
    gap: 28px;
    padding: 30px 24px 34px;
    background: #1d2d3e;
  }
}
@media (max-width: 560px) {
  .footer__lines p {
    grid-template-columns: 54px minmax(0, 1fr);
    font-size: 16px;
  }
  .footer__entry {
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
  }
  .footer__action {
    width: 220px;
  }
}
