:root {
  --brand: #102080;
  --brand-700: #0b1758;
  --brand-600: #1a2b9c;
  --brand-300: #7b8ade;
  --brand-50: #eef1fb;
  --brand-25: #f7f8fd;
  --accent: #c8327e;
  --accent-50: #fdf0f6;
  --teal: #0f6e56;
  --amber: #b26a00;
  --ink: #14161c;
  --body: #3f4557;
  --muted: #6b7285;
  --line: #e6e8ef;
  --line-soft: #f0f2f7;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 128, .06);
  --shadow: 0 8px 28px rgba(16, 32, 128, .09);
  --shadow-lg: 0 18px 50px rgba(16, 32, 128, .13);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.35; font-weight: 700; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-text { line-height: 1.25; }
.brand-name { font-size: 16px; font-weight: 700; color: var(--brand); letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--body);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.active { color: var(--brand); font-weight: 600; background: var(--brand-50); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .18s, transform .18s;
}
.header-cta:hover { background: var(--brand-600); transform: translateY(-1px); }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--brand); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--brand);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(16, 32, 128, .22); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 32, 128, .3); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-50); transform: translateY(-2px); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-light:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }

/* ============ hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b1758 0%, #16259c 55%, #2a3fbe 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 82% 12%, rgba(200, 50, 126, .32), transparent 62%),
              radial-gradient(700px 380px at 10% 92%, rgba(15, 110, 86, .26), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 84px 24px 92px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.22; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #ffc7e2; }
.hero-lead { margin-top: 22px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badge {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; padding-bottom: 62px; }
.hero-visual img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}
.hero-stats {
  position: absolute; right: 0; bottom: 0;
  background: #fff; color: var(--body); border-radius: var(--radius);
  padding: 18px 22px; display: grid; grid-template-columns: repeat(2, auto); gap: 14px 26px;
  box-shadow: var(--shadow-lg);
}
.hero-stats div b { display: block; font-size: 24px; color: var(--brand); line-height: 1.2; }
.hero-stats div span { font-size: 12px; color: var(--muted); }

/* ============ section ============ */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-700); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.4px; }
.sec-head p { margin-top: 14px; font-size: 16px; color: var(--muted); }
.section-dark .sec-head p { color: rgba(255, 255, 255, .72); }

/* ============ cards ============ */
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card-index { font-size: 13px; font-weight: 700; color: var(--brand-300); letter-spacing: 1.5px; }

.prod-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prod-card .prod-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-card .prod-index {
  font-size: 34px; font-weight: 800; color: var(--brand-50); line-height: 1;
  -webkit-text-stroke: 1.4px var(--brand-300);
}
.prod-card h3 { font-size: 20px; margin: 10px 0 8px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600); border: 1px solid #dfe4f7;
}
.tag-accent { background: var(--accent-50); color: var(--accent); border-color: #f7dbe8; }
.prod-more { margin-top: 20px; font-size: 14px; color: var(--brand); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.prod-more::after { content: "→"; transition: transform .2s; }
.card:hover .prod-more::after { transform: translateX(4px); }

/* ============ feature split ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.reverse > *:first-child { order: 2; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.checklist li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: 4px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102080' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ============ stats band ============ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat-band > div { background: #fff; padding: 30px 24px; text-align: center; }
.stat-band b { display: block; font-size: 36px; color: var(--brand); line-height: 1.15; font-weight: 800; }
.stat-band b i { font-style: normal; font-size: 18px; font-weight: 600; margin-left: 2px; }
.stat-band span { font-size: 14px; color: var(--muted); }

/* ============ timeline ============ */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 52px; height: 2px; background: var(--line); }
.tl-item { position: relative; text-align: center; }
.tl-year { font-size: 26px; font-weight: 800; color: var(--brand); }
.tl-dot {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand);
  margin: 14px auto 18px; position: relative; z-index: 2;
}
.tl-item:nth-child(2) .tl-dot { border-color: var(--brand-300); }
.tl-item:nth-child(3) .tl-dot { border-color: var(--accent); }
.tl-item:nth-child(4) .tl-dot { border-color: var(--teal); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; height: calc(100% - 20px); }
.tl-card h4 { font-size: 16px; margin-bottom: 8px; }
.tl-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.section-dark .tl-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section-dark .tl-card h4 { color: #fff; }
.section-dark .tl-card p { color: rgba(255, 255, 255, .68); }
.section-dark .tl-year { color: #ffc7e2; }
.section-dark .timeline::before { background: rgba(255, 255, 255, .18); }

/* ============ spec table ============ */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec th, .spec td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.spec thead th { background: var(--brand); color: #fff; font-weight: 600; font-size: 14.5px; }
.spec tbody tr:last-child td { border-bottom: none; }
.spec tbody tr:hover { background: var(--brand-25); }
.spec td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ============ case grid ============ */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card img { width: 100%; height: 190px; object-fit: cover; background: var(--bg-soft); }
.case-card .case-body { padding: 16px 18px 20px; }
.case-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.case-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.case-tag { font-size: 11.5px; color: var(--accent); font-weight: 600; letter-spacing: .5px; }

/* ============ pillars ============ */
.pillar { border-left: 3px solid var(--brand); padding-left: 20px; }
.pillar.accent { border-color: var(--accent); }
.pillar.teal { border-color: var(--teal); }
.pillar.amber { border-color: var(--amber); }
.pillar h4 { font-size: 17px; margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--muted); }
.pillar ul { margin-top: 10px; display: grid; gap: 5px; }
.pillar li { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.pillar li::before { content: "·"; position: absolute; left: 3px; color: var(--brand-300); font-weight: 800; }

/* ============ cta ============ */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #16259c, #2f45c9);
  padding: 54px 52px; color: #fff; display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); position: relative; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .8); position: relative; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; }

/* ============ contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.contact-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 21px; height: 21px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.contact-item h4 { font-size: 15px; color: var(--muted); font-weight: 500; }
.contact-item .val { font-size: 18px; color: var(--ink); font-weight: 600; margin-top: 3px; word-break: break-all; }

.license-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.license-box img { width: 100%; object-fit: contain; background: #fff; }
.license-meta { padding: 22px 26px; border-top: 1px solid var(--line); }
.license-meta dl, dl.license-meta {
  display: grid; grid-template-columns: 118px 1fr; gap: 10px 16px; font-size: 14.5px; align-items: start;
}
.license-meta dt, dl.license-meta dt { color: var(--muted); }
.license-meta dd, dl.license-meta dd { color: var(--ink); }

/* ============ footer ============ */
.site-footer { background: var(--brand-700); color: rgba(255, 255, 255, .68); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-grid h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .5px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-logo { height: 40px; margin-bottom: 18px; }
.footer-brand-name { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; line-height: 1.8; max-width: 320px; }
.footer-contact b { color: #fff; font-weight: 600; display: block; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ============ breadcrumbs / pagehead ============ */
.pagehead {
  background: linear-gradient(135deg, #0b1758, #1c2f9f); color: #fff;
  padding: 62px 0; position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: rgba(200, 50, 126, .2);
}
.pagehead h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); position: relative; }
.pagehead p { margin-top: 14px; color: rgba(255, 255, 255, .78); max-width: 680px; position: relative; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin-bottom: 14px; position: relative; }
.crumb a:hover { color: #fff; }

/* ============ misc ============ */
.note {
  background: var(--brand-25); border-left: 3px solid var(--brand-300); border-radius: 0 10px 10px 0;
  padding: 18px 22px; font-size: 14.5px; color: var(--body);
}
.note b { color: var(--brand); }
.section-dark .note { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); }

.structure-list { display: grid; gap: 12px; }
.structure-item {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 15px 20px;
}
.structure-item code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14.5px; color: var(--brand); font-weight: 600;
}
.structure-item span { font-size: 14px; color: var(--muted); }

.sub-head { margin-bottom: 22px; }
.sub-head h3 { font-size: 22px; margin-bottom: 6px; }
.sub-head p { font-size: 15px; color: var(--muted); }
.spacer-56 { height: 56px; }
.spacer-32 { height: 32px; }

/* ============ reveal ============ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 62px 24px 74px; }
  .hero-stats { right: 10px; bottom: 0; }
  .g4, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .split { gap: 36px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 72px 0 auto; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .g2, .g3, .g4, .case-grid, .contact-grid, .stat-band, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .tl-dot { margin: 10px auto 14px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .hero-inner { padding: 48px 20px 66px; }
  .hero-stats { position: static; margin-top: 24px; grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 38px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .license-meta dl, dl.license-meta { grid-template-columns: 1fr; gap: 2px 0; }
  .license-meta dt, dl.license-meta dt { margin-top: 10px; }
  .brand-sub { display: none; }
}
