:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe6ef;
  --primary: #155eef;
  --primary-2: #08a88a;
  --accent: #f59e0b;
  --deep: #0b1220;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(18, 38, 63, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(21, 94, 239, .22);
}
.brand-image {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(21, 94, 239, .16);
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; line-height: 1.2; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #263244;
}
.main-nav a:hover { color: var(--primary); }
.nav-cta {
  padding: 9px 14px;
  color: #fff !important;
  border-radius: var(--radius);
  background: var(--deep);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 20px;
}

.hero, .page-hero, .detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  padding: 82px 6vw 72px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(9, 18, 35, .96), rgba(9, 24, 48, .88)),
    radial-gradient(circle at 78% 18%, rgba(8, 168, 138, .30), transparent 35%);
  color: #fff;
}
.page-hero { grid-template-columns: 1fr; min-height: 330px; }
.detail-hero { background: linear-gradient(115deg, #0b1220, #12345c); }
.hero h1, .page-hero h1, .detail-hero h1 {
  margin: 14px 0 18px;
  max-width: 920px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero p, .page-hero p, .detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-2);
  font-weight: 750;
  font-size: 13px;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}
.btn.primary { color: #fff; background: var(--primary); }
.btn.ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.btn.light { color: var(--deep); background: #fff; }
.btn.secondary { color: var(--primary); border-color: #bfd0ff; background: #f5f8ff; }

.system-panel {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}
.system-panel.compact { align-self: stretch; }
.panel-bar { display: flex; gap: 7px; margin-bottom: 20px; }
.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.44);
}
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-card, .metric-line {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.dash-card b, .metric-line b { display: block; color: #fff; }
.dash-card span, .metric-line span { color: rgba(255,255,255,.68); font-size: 13px; }
.progress {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-2), var(--accent)); }
.metric-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: auto;
  margin-top: 10px;
}

.section, .line-section {
  padding: 72px 6vw;
}
.section.alt { background: #fff; }
.section-head {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
}
.section-head p { margin: 0; color: var(--muted); }
.capability-grid, .product-grid, .process-grid, .support-grid, .case-grid, .detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.capability-card, .product-card, .step-card, .support-card, .case-card, .info-block, .contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.capability-card h3, .product-card h3, .step-card h3, .support-card h3, .case-card h3, .info-block h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}
.capability-card p, .product-card p, .step-card p, .support-card p, .case-card p, .info-block p {
  margin: 0;
  color: var(--muted);
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.mini-badge {
  padding: 4px 8px;
  border-radius: 999px;
  color: #314056;
  background: #eef3f9;
  font-size: 12px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  padding: 6px 9px;
  border-radius: 999px;
  color: #314056;
  background: #eef3f9;
  font-size: 13px;
}
.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 800;
}

.yunwei-product-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.compact-grid { margin-top: 4px; }
.yunwei-card, .pricing-card, .pricing-mini {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.yunwei-card h3, .pricing-card h3, .pricing-mini h3 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.25;
}
.product-media {
  margin: -4px 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  aspect-ratio: 16 / 9;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-ui-preview {
  overflow: hidden;
  margin: 0 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  aspect-ratio: 16 / 10;
}
.product-ui-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yunwei-card p, .pricing-card p, .pricing-mini p {
  margin: 0;
  color: var(--muted);
}
.yunwei-card.is-compact h3 { font-size: 19px; }
.price-text, .price-pill {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #cfe0ff;
  border-radius: var(--radius);
  color: #1347b7;
  background: #f3f7ff;
  font-weight: 800;
  font-size: 14px;
}
.price-pill {
  display: inline-flex;
  margin-top: 10px;
  color: #eaf2ff;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
}
.card-actions, .center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}
.card-actions .btn { flex: 1; min-width: 118px; }
.center-actions {
  justify-content: center;
  margin-top: 28px;
  padding-top: 0;
}

.pricing-group + .pricing-group { margin-top: 52px; }
.pricing-card h4 {
  margin: 20px 0 0;
  font-size: 15px;
}
.pricing-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}
.pricing-row b { color: #263244; }
.pricing-row strong { color: var(--primary); }
.pricing-row span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}
.pricing-card > .btn {
  align-self: flex-start;
  margin-top: 22px;
}
.single-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pricing-mini strong {
  display: block;
  margin: 4px 0 10px;
  color: var(--primary);
  font-size: 24px;
}
.quote-notes { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-changelog-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.changelog-scroll-box {
  max-width: 980px;
  max-height: 560px;
  margin: 36px auto 0;
  padding: 4px 18px 4px 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.changelog-scroll-box::-webkit-scrollbar { width: 8px; }
.changelog-scroll-box::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf2f8;
}
.changelog-scroll-box::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8c6d8;
}
.changelog-timeline {
  position: relative;
  margin: 0;
  padding-left: 28px;
}
.changelog-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(21, 94, 239, .08));
}
.changelog-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.changelog-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(21, 94, 239, .12);
}
.changelog-date {
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.changelog-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.changelog-version {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(21, 94, 239, .08);
  font-size: 13px;
  font-weight: 800;
}
.changelog-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}
.changelog-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.changelog-card li + li { margin-top: 4px; }

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-band div {
  padding: 26px 6vw;
  background: #fff;
}
.proof-band b { display: block; font-size: 24px; }
.proof-band span { color: var(--muted); font-size: 14px; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.filter-btn {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #314056;
  background: #fff;
  cursor: pointer;
}
.filter-btn.is-active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-block.wide { grid-column: 1 / -1; }
.info-block ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.two-col { columns: 2; column-gap: 36px; }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 800;
}
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 6vw 72px;
  padding: 36px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0f9f85);
}
.cta-band h2 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 38px); }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.cta-band .eyebrow { color: #d7fff6; }

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label { display: grid; gap: 6px; color: #263244; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }

.site-footer {
  padding: 52px 6vw 24px;
  color: rgba(255,255,255,.76);
  background: var(--deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 28px;
}
.footer-brand { color: #fff; }
.site-footer h4 { margin: 0 0 12px; color: #fff; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.72); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 6vw 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 0; }
  .hero, .detail-hero, .contact-layout { grid-template-columns: 1fr; }
  .capability-grid, .product-grid, .process-grid, .support-grid, .case-grid, .detail-grid, .footer-grid, .yunwei-product-grid, .pricing-grid, .single-row, .quote-notes { grid-template-columns: 1fr 1fr; }
  .proof-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { padding: 0 18px; }
  .brand small { display: none; }
  .hero, .page-hero, .detail-hero, .section, .line-section { padding-left: 18px; padding-right: 18px; }
  .hero, .page-hero, .detail-hero { padding-top: 54px; padding-bottom: 50px; }
  .hero p, .page-hero p, .detail-hero p { font-size: 16px; }
  .capability-grid, .product-grid, .process-grid, .support-grid, .case-grid, .detail-grid, .footer-grid, .proof-band, .yunwei-product-grid, .pricing-grid, .single-row, .quote-notes { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .cta-band { display: block; margin-left: 18px; margin-right: 18px; padding: 26px; }
  .cta-band .btn { margin-top: 20px; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .center-actions .btn, .card-actions .btn { width: 100%; }
  .pricing-row { grid-template-columns: 1fr; }
  .changelog-scroll-box { max-height: 560px; margin-top: 26px; padding-right: 10px; }
  .changelog-timeline { padding-left: 22px; }
  .changelog-item { grid-template-columns: 1fr; gap: 8px; }
  .changelog-date { padding-top: 0; }
  .changelog-card { padding: 18px; }
  .metric-line { display: block; }
}
