﻿@import url("assets/fonts/misans/MiSans-Light.min.css");
@import url("assets/fonts/misans/MiSans-Regular.min.css");

:root {
  --ink: #07111f;
  --muted: #5b6c83;
  --line: rgba(7, 17, 31, .12);
  --blue: #245bff;
  --cyan: #28d7e0;
  --paper: #ffffff;
  --display: "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Manrope", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: 1600px; max-width: calc(100% - 64px); margin: 0 auto; }

/* utility + header */
.utility {
  height: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: #6e8097;
  display: flex;
  align-items: center;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; }
.utility-links { display: flex; gap: 18px; align-items: center; }
.utility-links a:hover { color: var(--ink); }

.site-head {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 20;
}
.site-head .container { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  color: #3e4f64;
  border-radius: 4px;
}
.nav a:hover { color: var(--ink); background: rgba(7, 17, 31, .04); }
.nav .new {
  margin-left: 5px;
  padding: 1px 4px;
  border-radius: 2px;
  background: #245bff;
  color: #fff;
  font-size: 7px;
  letter-spacing: .08em;
}
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search {
  width: 190px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #7b8ca0;
  font-size: 10px;
}
.search svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.head-login { font-size: 12px; color: #3e4f64; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity .2s, transform .2s;
}
.btn-dark:hover { opacity: .86; transform: translateY(-1px); }
.btn-dark svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.lab-tag {
  position: fixed;
  right: 24px;
  top: 104px;
  z-index: 99;
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(7, 17, 31, .45);
  text-transform: uppercase;
  pointer-events: none;
}
.lab-tag b { font-weight: 700; color: rgba(7, 17, 31, .7); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: .2em;
  color: #69809b;
  text-transform: uppercase;
}
.kicker i { width: 32px; height: 1px; background: #a9bdd5; flex: none; }
.kicker b { color: #245bff; font-weight: 700; }

@media (max-width: 1180px) {
  .site-head .container { gap: 22px; }
  .nav a { padding: 0 8px; }
  .search { width: 150px; }
  .logo { height: 28px; }
}
@media (max-width: 900px) {
  .container { max-width: calc(100% - 40px); }
  .nav, .search, .head-login { display: none; }
  .site-head .container { gap: 16px; }
  .site-head { height: 64px; }
  .logo { height: 26px; }
  .utility { display: none; }
  .lab-tag { display: none; }
}



/* header spans full viewport */
.site-head .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 3.2vw, 72px);
  padding-right: clamp(20px, 3.2vw, 72px);
}


/* hero typography */
.hero-v7 h1 { font-weight: 400 !important; font-size: 62px; line-height: 1.18 !important; letter-spacing: -.028em !important; color: #07111f; }
.hero-v7 .hero-accent { color: transparent; background: linear-gradient(100deg,#245bff 0%,#2fb7dc 62%,#6b52e8 100%); -webkit-background-clip: text; background-clip: text; }
.hero-v7 .sub { max-width: 610px; margin-top: 20px; font-size: 17px !important; line-height: 1.85 !important; color: #485f76 !important; }
@media (max-width: 900px) {
  .hero-v7 h1 { font-size: 46px; line-height: 1.2; letter-spacing: -.02em !important; }
  .hero-v7 .sub { font-size: 15px !important; line-height: 1.8 !important; }
}


/* homepage status/news strip readability */
.hero-status span { font-size: 11px !important; letter-spacing: .06em !important; color: #60748a !important; }
.hero-status b { font-size: 13px !important; font-weight: 500 !important; color: #1e344c !important; }
.hero-status i { width: 6px !important; height: 6px !important; }
.hero-news span { font-size: 10.5px !important; letter-spacing: .06em !important; color: #7b8fa5 !important; }
.hero-news b { margin-top: 6px !important; font-size: 14px !important; line-height: 1.5 !important; color: #1e344c !important; }
.hero-news i { font-size: 14px !important; }
@media (max-width: 900px) {
  .hero-status span { font-size: 10px !important; }
  .hero-status b { font-size: 12px !important; }
  .hero-news b { font-size: 13px !important; }
}


/* homepage: AI onboarding strip + partner stats readability */
.ai-steps > span { font-size: 11.5px !important; letter-spacing: .06em !important; color: #52687f !important; }
.ai-step { padding: 18px 16px !important; }
.ai-step b { font-family: "Manrope","MiSans",sans-serif !important; font-size: 12px !important; font-weight: 600 !important; }
.ai-step span { margin-top: 5px !important; font-size: 12px !important; line-height: 1.5 !important; color: #1e344c !important; }
.partner-stat b { font-weight: 400 !important; font-size: 32px !important; }
.partner-stat span { margin-top: 5px !important; font-size: 11.5px !important; color: #52687f !important; }
.partner p[style] { font-size: 12px !important; line-height: 1.8 !important; color: #60748a !important; }
@media (max-width: 900px) {
  .ai-steps > span { font-size: 10.5px !important; }
  .ai-step b { font-size: 11px !important; }
  .ai-step span { font-size: 11px !important; }
  .partner-stat b { font-size: 28px !important; }
  .partner-stat span { font-size: 10.5px !important; }
}


/* homepage dark offer cards + partner labels */
.offer { border-top: 2px solid rgba(255,220,168,.35) !important; }
.offer .type { font-size: 10.5px !important; letter-spacing: .1em !important; color: #a8bdd6 !important; }
.offer h3 { font-size: 20px !important; }
.offer p { font-size: 12.5px !important; line-height: 1.75 !important; color: #b5c8dd !important; }
.offer .price b { font-size: 34px !important; }
.offer .price b small { font-size: 12px !important; color: #b5c8dd !important; }
.offer .price span { font-size: 11px !important; color: #8ea6c2 !important; }
.activity-foot span { font-size: 12.5px !important; color: #b5c8dd !important; }
.activity-foot a { font-size: 12px !important; }
.partner-stat span { font-size: 12.5px !important; color: #4f657b !important; }
.partner p[style] { font-size: 12px !important; color: #60748a !important; }
.campaign-strip b { font-size: 13px !important; }
.campaign-strip span { font-size: 11.5px !important; }
.campaign-strip a { font-size: 12px !important; }
@media (max-width: 900px) {
  .offer p { font-size: 12px !important; }
  .offer .type { font-size: 10px !important; }
}


/* dynamic pricing focus card */
.plan { transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease; }
.plan:hover { transform: translateY(-3px); }

.footer-col h3 { margin-bottom: 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; color: #7f9ab8; text-transform: uppercase; }


/* ===== 移动端兼容修正 ===== */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  .container { max-width: calc(100% - 32px) !important; }
  .site-header, .site-head { height: 64px !important; }
  .header-inner, .site-head .container { gap: 12px !important; padding-left: 16px !important; padding-right: 16px !important; }
  .header-actions, .head-actions { margin-left: auto !important; gap: 8px !important; min-width: 0; }
  .header-actions .header-console,
  .header-actions .header-search,
  .header-actions .header-login,
  .head-actions .header-console,
  .head-actions .search,
  .head-actions .head-login { display: none !important; }
  .header-actions .btn, .head-actions .btn, .head-actions .btn-dark {
    height: 34px !important; padding: 0 10px !important; font-size: 10px !important; white-space: nowrap;
  }
  .header-actions .menu-toggle, .head-actions .menu-toggle {
    display: flex !important; flex: 0 0 34px !important; margin-left: 0 !important;
  }
  .logo img, .logo { height: 24px !important; width: auto !important; }
  .phone-panel { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .page-hero { padding: 36px 0 42px !important; }
  .hero-grid { gap: 22px !important; }
  .page-hero h1, .hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.03em !important;
  }
  .page-hero .lead, .hero-copy .lead {
    max-width: 100% !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }
  .hero-actions { gap: 12px !important; margin-top: 20px !important; }
  .hero-actions .btn { height: 42px !important; padding: 0 16px !important; font-size: 12px !important; }
  .section { padding: 46px 0 !important; }
  .section-title, .section-head h2, .split h2 { font-size: 28px !important; line-height: 1.25 !important; }
  .section-head { gap: 12px !important; margin-bottom: 22px !important; }
  .section-head p { max-width: 100% !important; font-size: 12.5px !important; }
  .feature-grid, .plan-grid, .use-grid, .price-tables, .footer-grid,
  .scenario-grid, .practice-grid, .price-grid, .doc-list, .product-grid { grid-template-columns: 1fr !important; }
  .metrics-grid { grid-template-columns: 1fr 1fr !important; }
  .spec-table th { width: 118px !important; }
  .table-wrap, .endpoint-table, .code-block { max-width: 100%; overflow-x: auto !important; }
  .footer-grid { gap: 20px !important; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:nth-child(5) { display: block !important; }
  .cta-band h2 { font-size: 27px !important; }
  .cta-band .container { gap: 18px !important; }
  .auth-wrap { min-height: auto !important; }
  .auth-main { padding: 28px 16px 48px !important; }
  .auth-box { padding: 22px 18px 18px !important; }
}
@media (max-width: 600px) {
  .header-actions .btn--primary, .head-actions .btn-dark { display: none !important; }
  .page-hero h1, .hero-copy h1 { font-size: 32px !important; }
  .hero-actions .btn { flex: 1 1 40%; padding: 0 10px !important; }
  .hero-metrics div { padding: 0 10px !important; }
  .section-title, .section-head h2, .split h2 { font-size: 25px !important; }
}
