:root {
  --ink: #17202d;
  --muted: #5d697a;
  --faint: #8994a3;
  --line: #d9e2ec;
  --soft: #eef3f7;
  --page: #f6f8fb;
  --surface: #ffffff;
  --brand: #0b746d;
  --brand-dark: #075f58;
  --brand-light: #e7f5f2;
  --accent: #3157a4;
  --accent-light: #eaf0ff;
  --gold: #b26b16;
  --gold-light: #fff2df;
  --navy: #151f31;
  --green: #12715b;
  --shadow: 0 18px 48px rgba(21, 31, 49, 0.12);
  --shadow-sm: 0 2px 12px rgba(21, 31, 49, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.top-banner {
  max-height: 120px;
  overflow: hidden;
  color: #fff;
  background: #162235;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.top-banner.closed { max-height: 0; opacity: 0; }

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px clamp(18px, 5vw, 64px);
}

.top-banner-text {
  flex: 1;
  color: #d9e8f5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.top-banner-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-banner-close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
  cursor: pointer;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}

.nav nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.health {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.health.ok {
  color: var(--green);
  background: #edf9f5;
  border-color: #cbe9df;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  background: #fff;
  white-space: nowrap;
}

.lang-switch:hover { background: var(--brand-light); }

.btn,
.btn-outline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn {
  border: 0;
  color: #fff;
  background: var(--brand);
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(11, 116, 109, 0.26);
}

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-btn {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-wrap {
  background:
    radial-gradient(circle at 12% 18%, rgba(49, 87, 164, 0.12), transparent 28%),
    linear-gradient(155deg, #f7fbff 0%, #ffffff 48%, #eef7f4 100%);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 62px;
  padding: 76px clamp(18px, 5vw, 64px) 68px;
}

.section-label {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-light);
}

.hero-text h1 {
  max-width: 720px;
  font-size: clamp(42px, 6.2vw, 68px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero-text h1 span {
  color: var(--brand);
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 620px;
  color: #465367;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.85;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 32px;
}

.hero-metrics div {
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.hero-metrics dt {
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

.hero-metrics dd {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 26px;
  background: linear-gradient(150deg, var(--navy), #123e43 58%, #21436d);
  box-shadow: 0 28px 72px rgba(21, 31, 49, 0.2);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  color: #dbe9f4;
  font-size: 13px;
  font-weight: 900;
}

.panel-top span:last-child {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  color: #c9f7ee;
  background: rgba(255, 255, 255, 0.08);
}

.flow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.flow-card.active {
  border-color: rgba(201, 247, 238, 0.42);
  background: rgba(201, 247, 238, 0.14);
}

.flow-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #11342f;
  background: #d8fff9;
  font-weight: 950;
}

.flow-card strong { font-size: 16px; }

.flow-card p {
  color: #bfd2df;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.flow-line {
  width: 2px;
  height: 24px;
  margin: 5px 0 5px 33px;
  background: rgba(255, 255, 255, 0.22);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 5vw, 64px);
}

.trust-inner span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: #fbfcfe;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 88px clamp(18px, 5vw, 64px);
}

.section-alt { background: #fff; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  max-width: 820px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 42px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card,
.usecase-card,
.pricing-card,
.faq-item {
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.benefit-card {
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 34px;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--brand);
  background: var(--brand-light);
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 18px;
}

.benefit-card:nth-child(2) .benefit-icon { color: var(--accent); background: var(--accent-light); }
.benefit-card:nth-child(3) .benefit-icon { color: var(--gold); background: var(--gold-light); }

.benefit-card h3,
.usecase-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.benefit-card p,
.usecase-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-header .section-title,
.pricing-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.pricing-card {
  position: relative;
  padding: 32px;
}

.pricing-card.featured {
  border-color: rgba(11, 116, 109, 0.55);
  box-shadow: 0 12px 36px rgba(11, 116, 109, 0.12);
}

.pricing-card.featured::before {
  content: "推荐";
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 4px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.pricing-card h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.model-id {
  color: var(--muted);
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: 13px;
  margin-bottom: 22px;
}

.pricing-card dl {
  display: grid;
  gap: 13px;
}

.pricing-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--soft);
}

.pricing-card dt {
  color: var(--muted);
  font-size: 14px;
}

.pricing-card dd {
  max-width: 55%;
  font-weight: 950;
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.price-note {
  margin-top: 26px;
  border: 1px solid #cfe7e1;
  border-radius: 8px;
  padding: 15px 18px;
  color: var(--brand-dark);
  background: var(--brand-light);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.integration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.integration-tabs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.integration-tab {
  flex: 1;
  min-height: 42px;
  border: 0;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.integration-tab.active {
  color: #fff;
  background: var(--brand);
}

.integration-tab:hover:not(.active) {
  color: var(--brand);
  background: var(--brand-light);
}

.code-block {
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow-sm);
}

.code-block pre {
  min-height: 286px;
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.75;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
}

.code-block code {
  padding: 0;
  color: #d8fff9;
  background: transparent;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: inherit;
}

.steps-panel {
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.steps-panel h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--brand-light);
  font-size: 13px;
  font-weight: 950;
}

.step-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-list strong { color: var(--ink); }

.endpoint-note {
  margin-top: 22px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #435064;
  background: #f5f7fb;
  font-size: 14px;
  line-height: 1.8;
}

code {
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--brand);
  background: var(--brand-light);
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: 0.92em;
}

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

.usecase-card { padding: 28px; }

.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--accent);
  background: var(--accent-light);
  font-size: 12px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.compare-list {
  display: grid;
  gap: 14px;
}

.compare-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-row.featured {
  border-color: rgba(11, 116, 109, 0.42);
  background: linear-gradient(145deg, #ffffff, #effaf7);
}

.compare-row strong {
  font-size: 18px;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
}

.compare-row span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cta-section {
  padding: 78px clamp(18px, 5vw, 64px);
  text-align: center;
  background: linear-gradient(145deg, #142036, #0b746d);
}

.cta-section .section-label {
  color: #d8fff9;
  background: rgba(255, 255, 255, 0.14);
}

.cta-section .section-title {
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.cta-section .section-desc {
  margin-left: auto;
  margin-right: auto;
  color: #c9dde8;
}

.cta-section .btn {
  color: var(--brand);
  background: #fff;
}

.cta-section .btn:hover {
  background: #f0faf8;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.cta-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.cta-section .btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cta-actions { justify-content: center; }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 19px 22px;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-q:hover { color: var(--brand); }

.faq-arrow {
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--faint);
  font-size: 12px;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-arrow {
  color: var(--brand);
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 22px 20px;
}

.faq-a p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.footer {
  padding: 48px clamp(18px, 5vw, 64px) 28px;
  color: #94a3b8;
  background: var(--navy);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 42px;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 12px;
}

.footer-about {
  max-width: 520px;
  color: #748195;
  font-size: 14px;
  line-height: 1.8;
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  padding: 4px 0;
  color: #748195;
  font-size: 14px;
}

.footer a:hover { color: #d8fff9; }

.footer-bottom {
  max-width: 1200px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #627084;
  font-size: 13px;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-panel { max-width: 680px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid,
  .split-section,
  .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 16px;
  }

  .nav nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 10px 18px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
  }

  .nav-actions { gap: 7px; }
  .health { display: none; }
  .lang-switch { height: 32px; padding: 0 9px; }
  .nav-btn { min-height: 32px; padding: 0 12px; }

  .hero {
    padding: 48px 18px;
  }

  .hero-text h1 { font-size: 38px; }
  .hero-metrics,
  .pricing-grid,
  .usecases-grid { grid-template-columns: 1fr; }

  .section { padding: 62px 18px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; margin-bottom: 30px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .top-banner-inner {
    align-items: flex-start;
    padding: 10px 16px;
  }

  .top-banner-text {
    text-align: left;
    font-size: 12px;
  }

  .brand span:last-child { display: none; }
  .hero-text h1 { font-size: 34px; }

  .hero-cta,
  .cta-actions {
    flex-direction: column;
  }

  .hero-cta .btn,
  .hero-cta .btn-outline {
    width: 100%;
  }

  .hero-panel { padding: 18px; }
  .flow-card { grid-template-columns: 1fr; }
  .flow-line { margin-left: 20px; }
  .pricing-card,
  .steps-panel,
  .usecase-card { padding: 22px; }
  .pricing-card dl div { display: grid; gap: 6px; }
  .pricing-card dd { max-width: none; text-align: left; }
  .code-block pre { min-height: 240px; padding: 18px; font-size: 12px; }
  .faq-q { padding: 17px 18px; font-size: 15px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; }
}
