:root {
  --blue: #3366ff;
  --blue-strong: #0170c1;
  --navy: #0f2347;
  --ink: #222a3f;
  --muted: #60697f;
  --line: #eff3f7;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 72, 133, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Source Han Sans", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(239, 243, 247, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 5vw, 82px);
  color: #000;
  font-size: 16px;
}

.nav a {
  position: relative;
  height: 56px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  font-weight: 700;
}

.nav a:hover::after,
.nav a.active::after {
  width: 28px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 21, 48, 0.92) 0%, rgba(8, 24, 57, 0.76) 42%, rgba(8, 21, 48, 0.3) 100%),
    url("../assets/hero-reference.png") center / cover no-repeat;
}

.hero.compact {
  min-height: 330px;
}

.hero-inner {
  width: min(1200px, calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(820px, 100%);
  padding: 58px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #7cd7ff;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: #7cd7ff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(51, 102, 255, 0.25);
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--soft);
}

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

.section-title {
  margin-bottom: 42px;
  text-align: center;
}

.section-title .kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--ink);
}

.section-title p {
  max-width: 740px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.news-band {
  margin-top: -1px;
  padding: 36px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.news-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

.news-label {
  padding-top: 5px;
}

.news-label strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.news-label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.news-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list a {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.news-list time {
  color: var(--blue-strong);
  font-family: Arial, sans-serif;
}

.news-list a:hover {
  color: var(--blue);
}

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

.scenario-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -18px 0 36px;
}

.scenario-tabs span {
  min-width: 70px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.scenario-tabs span.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.category-item {
  min-height: 118px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-item:hover {
  transform: translateY(-3px);
  border-color: rgba(51, 102, 255, 0.26);
  box-shadow: var(--shadow);
}

.category-item strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 10px;
}

.category-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-card {
  min-height: 160px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 102, 255, 0.24);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 88px;
  height: 88px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  color: #939597;
  font-size: 14px;
  line-height: 1.7;
}

.service-card .more {
  min-width: 108px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.service-card:hover .more {
  background: var(--blue);
  color: #fff;
}

.scenario-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px;
}

.scenario-card .tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 20px;
  background: rgba(51, 102, 255, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.scenario-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.scenario-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.about-visual {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rich-text {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.86;
}

.rich-text p {
  margin: 0 0 18px;
}

.rich-text strong {
  color: var(--blue-strong);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.stat {
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  min-height: 210px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
}

.feature .num {
  color: var(--blue);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.feature h3 {
  margin: 22px 0 12px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

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

.solution {
  min-height: 220px;
  padding: 28px 24px;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.solution h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.solution p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  min-height: 180px;
  padding: 28px;
  background: #fff;
}

.process-step span {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.process-step h3 {
  margin: 16px 0 10px;
  font-size: 18px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}

.contact-panel {
  padding: 44px;
  background: var(--navy);
  color: #fff;
}

.contact-panel h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.contact-panel p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.contact-items {
  display: grid;
  gap: 22px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #77d9ff;
  font-size: 21px;
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.contact-item strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.map-panel {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(51, 102, 255, 0.9), rgba(1, 112, 193, 0.82)),
    url("../assets/hero-reference.png") center / cover no-repeat;
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.map-panel::before {
  inset: 44px;
}

.map-panel::after {
  width: 240px;
  height: 240px;
  right: 72px;
  top: 72px;
  border-radius: 50%;
}

.map-copy {
  position: absolute;
  left: 64px;
  bottom: 58px;
  right: 64px;
  color: #fff;
}

.map-copy h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.map-copy p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.site-footer {
  padding: 34px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  color: #989898;
  font-size: 12px;
  text-align: center;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--blue);
}

.icp-link {
  margin-top: 8px;
}

.icp-link a:hover {
  color: var(--blue);
}

@media (max-width: 960px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 56px;
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 14px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    height: 44px;
    justify-content: center;
    border-top: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .hero,
  .hero.compact {
    min-height: 430px;
  }

  .hero p {
    font-size: 17px;
  }

  .news-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .category-grid,
  .solutions,
  .process,
  .stats,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner,
  .container,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 58px 0;
  }

  .hero,
  .hero.compact {
    min-height: 390px;
  }

  .hero-copy {
    padding: 42px 0 52px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .news-list a,
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }

  .service-card .more {
    width: fit-content;
  }

  .service-grid,
  .category-grid,
  .solutions,
  .process,
  .stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 32px 26px;
  }

  .map-panel {
    min-height: 330px;
  }

  .map-copy {
    left: 28px;
    right: 28px;
    bottom: 34px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

.models-section {
  background: #fff;
}

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

.model-group {
  min-height: 360px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.model-group:hover {
  transform: translateY(-3px);
  border-color: rgba(51, 102, 255, 0.24);
  box-shadow: var(--shadow);
}

.model-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.model-group-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.model-group-head span {
  min-width: 48px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: rgba(1, 112, 193, 0.08);
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.model-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.model-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.model-list strong,
.model-list em {
  min-width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(51, 102, 255, 0.22);
  color: var(--blue);
  background: rgba(51, 102, 255, 0.07);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .model-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .model-groups {
    grid-template-columns: 1fr;
  }

  .model-group {
    min-height: 0;
    padding: 24px 20px;
  }
}

/* Model coverage showcase */
.models-section {
  background: #fff;
  padding-top: 92px;
  padding-bottom: 72px;
}

.model-title {
  margin-bottom: 62px;
}

.model-title h2 {
  color: #14171f;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.1;
}

.model-title p {
  max-width: 860px;
  margin-top: 24px;
  color: #566176;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.model-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.model-brand-card {
  min-height: 512px;
  padding: 42px 34px 34px;
  background: #fbfcfe;
  border: 1px solid #e8ebf0;
  border-radius: 20px;
  box-shadow: none;
}

.model-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 102, 255, 0.22);
  box-shadow: 0 18px 42px rgba(26, 45, 82, 0.08);
}

.model-brand-head {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  margin-bottom: 30px;
}

.model-brand-head h3 {
  margin: 0;
  color: #1d1f27;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.model-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.deepseek-logo {
  border-radius: 50%;
  background: linear-gradient(135deg, #3867ff, #6a87ff);
}

.moonshot-logo {
  border-radius: 50%;
  background: repeating-linear-gradient(14deg, #050505 0 8px, #fff 8px 13px);
  color: transparent;
}

.zhipu-logo {
  border-radius: 10px;
  background: #282828;
  font-size: 42px;
}

.minimax-logo {
  border-radius: 0;
  background: transparent;
  color: #ff4565;
  font-size: 42px;
  font-weight: 800;
}

.model-pills {
  gap: 12px;
}

.model-pills li {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 14px;
  color: #374154;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(15, 25, 45, 0.04);
}

.model-pills li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-pills strong,
.model-pills em {
  min-width: 58px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff3d66, #ff7668);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.model-pills em {
  min-width: 46px;
  background: #eef3ff;
  color: var(--blue);
}

.model-note {
  margin: 48px 0 0;
  color: #9aa3b2;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1180px) {
  .model-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-brand-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .models-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .model-title {
    margin-bottom: 34px;
  }

  .model-title p,
  .model-note {
    font-size: 16px;
  }

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

  .model-brand-card {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }

  .model-brand-head {
    gap: 16px;
    min-height: 58px;
    margin-bottom: 22px;
  }

  .model-brand-head h3 {
    font-size: 22px;
  }

  .model-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 28px;
  }

  .zhipu-logo,
  .minimax-logo {
    font-size: 34px;
  }

  .model-pills li {
    min-height: 50px;
    padding: 0 14px;
    font-size: 15px;
  }

  .model-pills strong,
  .model-pills em {
    min-width: 48px;
    height: 26px;
    font-size: 13px;
  }
}
