:root {
  --bg: #ffffff;
  --bg-soft: #f7f6ff;
  --panel: #f9fafb;
  --panel-strong: #ffffff;
  --panel-border: #e5e7eb;
  --panel-border-strong: #d3d3fc;
  --text: #191c1f;
  --text-dim: #374151;
  --text-muted: #6a7282;
  --text-soft: #8a8a8e;
  --primary: #4d49fd;
  --primary-soft: #d3d3fc;
  --primary-pale: #f1f2fc;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 45px rgba(25, 28, 31, 0.08);
  --shadow-card: 0 18px 50px rgba(77, 73, 253, 0.12);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --topbar-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-padding-top: var(--topbar-height);
  scroll-behavior: smooth;
}

body {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 100%;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: 100%;
}

.modal {
  position: relative;
  z-index: 1;
}

.hero {
  background: #fff;
  padding-top: var(--topbar-height);
}

.hero .shell {
  min-height: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  padding: 0 80px;
  background: #fff;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9.6px;
}

.brand__mark {
  height: 38px;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  color: var(--text);
}

.nav a {
  color: rgba(25, 28, 31, 0.82);
  font-size: 16px;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav__cta {
  padding: 7px 19px;
  border-radius: 22px;
  background: var(--text);
  color: #fff !important;
}

.hero__content {
  min-width: 1100px;
  margin: 0 auto;
  padding: 94px 24px 0;
  text-align: center;
  background-image: url('./assets/hero_bg@2x.png');
  background-size: 100% 100%;
}

.hero h1,
.section-heading h2,
.cta h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.22;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 0;
}

.hero__lead,
.cta p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  margin-top: 46px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 60px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--ghost {
  border: 1px solid #d9dce3;
  background: #fff;
  color: var(--text);
}

.button--primary {
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  box-shadow: 0 16px 36px rgba(25, 28, 31, 0.18);
}

.button--hero {
  padding-inline: 40px 20px;
}

.button__badge {
  width: 35px;
  height: 35px;
  margin-left: 12px;
  flex: none;
}

.hero__preview {
  width: min(1200px, 100%);
  margin: 30px auto 0;
  overflow: hidden;
}

.hero__preview img {
  width: 100%;
}

.section-container {
  padding: 32px 0;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.section {
  padding-bottom: 120px;
  background: #fff;
}

.section:last-child {
  padding-bottom: 0;
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(32px, 3.5vw, 40px);
  line-height: 1.5;
}

.section-heading__summary {
  margin: 40px 0 0;
  color: var(--text);
  font-size: 18px;
}

.value-grid,
.product-grid,
.tech-grid {
  display: grid;
  gap: 32px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.value-card,
.product-card,
.showcase,
.agent-card,
.tech-card,
.modal__dialog {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.value-card,
.product-card,
.showcase,
.tech-card {
  box-shadow: none;
}

.value-card {
  min-height: 203px;
  padding: 24px;
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.value-card__icon img {
  width: 24px;
  height: 24px;
}

.value-card h3,
.product-card h3,
.agent-card h3,
.tech-card h3 {
  margin: 18px 0 10px;
  color: var(--text);
  font-size: 20px;
}

.value-card p,
.product-card p,
.agent-card p,
.tech-card p,
.showcase__list li {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 50px;
  align-items: flex-start;
  height: 384px;
  margin-top: 40px;
  padding: 40px 30px;
  border-color: var(--panel-border-strong);
  background-image: url('./assets/showcase-bg@2x.png');
  background-size: 100% 100%;
  color: #fff;
  overflow: hidden;
}

.showcase__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}

.showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.showcase__list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.showcase__list li {
  color: rgba(255, 255, 255, 0.84);
}

.showcase__visual {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(4px);
}

.showcase__visual img {
  width: 100%;
  min-height: 362px;
  object-fit: cover;
  object-position: left top;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 552px;
  border-color: var(--panel-border);
  background: linear-gradient(180deg, #f7f6ff 40.39%, #cfc8fc 100%);
}

.product-card__copy {
  padding: 24px;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  padding: 11px;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: #fff;
}

.product-card__copy h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.55;
}

.product-card__copy p + p {
  margin-top: 6px;
}

.product-card__visual {
  margin-top: auto;
  padding: 0 0 0 20px;
  overflow: hidden;
}

.product-card__visual img {
  width: 100%;
  border-radius: 24px 0 0 0;
  object-fit: cover;
  object-position: left top;
}

.agent-tabs {
  display: flex;
  justify-content: center;
  gap: 58px;
  margin-top: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--panel-border);
  overflow-x: auto;
  overflow-y: hidden;
}

.agent-tabs__item {
  flex-shrink: 0;
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 12px;
  color: rgba(25, 28, 31, 0.65);
  font-size: 20px;
  cursor: pointer;
}

.agent-tabs__item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--text);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.agent-tabs__item--active {
  color: var(--text);
  font-weight: 600;
}

.agent-tabs__item--active::after {
  width: 48px;
}

.agent-carousel {
  max-width: 100%;
  margin-top: 50px;
  overflow: hidden;
  padding: 0 1px;
  contain: layout paint;
}

.agent-track::-webkit-scrollbar {
  display: none;
}

.agent-track {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.agent-card {
  width: 337px;
  height: 358px;
  flex: 0 0 337px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: #f9fafb;
  border: none;
}

.agent-card__image {
  width: 100%;
  height: 218px;
  flex: 0 0 218px;
  object-fit: cover;
  object-position: top center;
}

.agent-card__body {
  width: 100%;
  padding: 20px 16px 22px;
  background: #fff;
}

.agent-card__body h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tags span,
.model-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: #fbfbfb;
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
}

.model-cloud {
  min-height: 420px;
  margin-top: 35px;
  padding: 50px 42px 48px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background:
    url('./assets/model-cloud-bg@2x.png') center / cover no-repeat,
    #f7f6ff;
}

.model-cloud__title {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

.model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 35px 40px;
  justify-content: center;
  max-width: 910px;
  margin: 51px auto 0;
}

.model-pills span {
  min-height: 51px;
  padding: 10px 26px;
  border: 1px solid var(--panel-border);
  background: #fff;
  color: var(--text);
  font-size: 16px;
}

.model-pills span img {
  width: 28px;
  height: 28px;
  flex: none;
}

.tech-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  min-height: 535px;
  border-color: var(--panel-border);
  background: linear-gradient(180deg, #f7f6ff 40%, #cfc8fc 100%);
}

.tech-card__copy {
  padding: 30px 36px 20px;
}

.tech-card__copy h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.55;
}

.tech-card__copy p + p {
  margin-top: 10px;
}

.tech-card__visual {
  margin-top: auto;
  height: 336px;
  margin-left: 36px;
  overflow: hidden;
  border-top-left-radius: 14px;
  background: rgba(155, 156, 160, 0.15);
}

.tech-card__visual img {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 27% top;
  background: transparent;
}

.cta {
  position: relative;
  padding: 100px 0 0;
  text-align: center;
  background: #fff;
}

.cta .shell {
  width: 100%;
  min-height: 651px;
  padding: 80px 16px 60px;
  overflow: hidden;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  background: #07143a url('./assets/cta-bg@2x.png');
  background-size: 100% 100%;
}

.logo-bottom {
  height: 32px;
  margin: 60px auto 0;
}

.cta__logo-image {
  width: 115px;
  height: 115px;
  margin: 0 auto 56px;
  border-radius: 26px;
}

.cta h2 {
  color: #fff;
  font-size: clamp(42px, 5.4vw, 69px);
  line-height: 1.1;
  text-shadow: 0 4px 29px rgba(255, 255, 255, 0.25);
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions--center {
  gap: 54px;
  margin-top: 54px;
}

.cta .button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(33, 35, 77, 0.34);
  color: #fff;
}

.cta .button--primary {
  border-color: #d9dce3;
  background: #fff;
  color: var(--text);
}

.copyright {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 14px;
  color: #d9dce3;
}

.copyright a {
  text-decoration: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 100;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 28, 31, 0.56);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - 40px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-color: transparent;
  background: #fff;
  box-shadow: var(--shadow-modal);
}

.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.modal__close img {
  width: 18px;
  height: 18px;
}

.modal__dialog--download {
  padding: 44px 40px 24px;
}

.download-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.download-head__icon {
  width: 115px;
  height: 115px;
  border-radius: 24px;
}

.download-head h3,
.contact-copy h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--text);
  font-size: 38px;
  line-height: 1.1;
}

.download-head p,
.contact-copy p,
.download-card p,
.contact-card p,
.download-foot span {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.45;
}

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

.download-card,
.contact-card {
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: #f9fafb;
}

.download-card {
  padding: 20px 24px 28px;
}

.download-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-card__header img {
  width: 60px;
  height: 60px;
}

.download-card__header h4,
.contact-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.3;
}

.download-card__header p,
.contact-card p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.download-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.download-card__actions--single {
  grid-template-columns: 1fr;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  background: #2c2f34;
  color: #fff;
}

.download-btn:hover img {
  filter: invert(0);
}

.download-btn--disabled,
.download-btn--disabled:hover {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.download-btn img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.download-btn.download-btn--disabled img,
.download-btn.download-btn--disabled:hover img {
  filter: none;
  opacity: 0.45;
}

.download-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 36px;
}

.download-foot span {
  margin: 0;
}

.download-foot img {
  width: 24px;
  height: 24px;
}

.modal__dialog--contact {
  padding: 56px 66px 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.contact-copy {
  position: relative;
}

img.contact-copy__underline {
  width: 110px;
  height: 16px;
  position: absolute;
  top: 32px;
  z-index: 1;
}

.contact-copy p {
  max-width: 620px;
  margin-top: 22px;
}

.contact-copy p + p {
  margin-top: 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 40px;
}

.contact-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card img {
  width: 30px;
  height: 30px;
  flex: none;
}

.contact-card p {
  color: var(--text);
}

@media (max-width: 1000px) {
  :root {
    --topbar-height: 144px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    min-width: auto;
  }

  .topbar {
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    padding: 18px 24px;
  }
  .nav {
    gap: 20px;
    row-gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__content {
    padding-top: 72px;
  }

  .hero__actions,
  .hero__actions--center {
    gap: 18px;
  }

  .value-grid,
  .product-grid,
  .tech-grid,
  .download-grid,
  .contact-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase {
    grid-template-columns: 1fr;
    height: auto;
  }

  .showcase__visual img {
    min-height: auto;
  }

  .agent-tabs {
    gap: 24px;
  }

  .section-container {
    padding: 24px;
  }

  .section {
    padding-bottom: 60px;
  }

  .cta {
    padding-top: 60px;
  }

  .value-grid,
  .product-grid,
  .tech-grid {
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .brand__word {
    width: 80px;
    height: 14.7px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero__content {
    padding: 58px 12px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__lead,
  .cta p {
    font-size: 17px;
  }

  .hero__actions,
  .hero__actions--center {
    flex-direction: column;
    margin-top: 34px;
  }

  .button {
    width: min(100%, 260px);
    font-size: 18px;
  }

  .hero__preview {
    margin-top: 50px;
  }

  .section-container {
    padding: 16px;
  }

  .value-grid,
  .product-grid,
  .tech-grid,
  .download-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .showcase,
  .product-card__copy,
  .tech-card__copy {
    padding: 24px;
  }

  .product-card,
  .tech-card {
    min-height: auto;
  }

  .agent-card {
    width: min(337px, calc(100vw - 48px));
    flex-basis: min(337px, calc(100vw - 48px));
  }

  .model-cloud {
    padding: 34px 18px;
  }

  .model-pills {
    gap: 14px;
  }

  .cta {
    margin-top: 80px;
    padding-top: 0;
  }

  .cta .shell {
    min-height: 560px;
    padding-top: 104px;
  }

  .modal {
    padding: 18px;
  }

  .modal__dialog--download,
  .modal__dialog--contact {
    padding: 42px 22px 28px;
  }

  .download-head {
    align-items: flex-start;
  }

  .download-head__icon {
    width: 72px;
    height: 72px;
  }

  .download-card__actions {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }
}
