:root {
  --blue-950: #032a61;
  --blue-900: #073b82;
  --blue-800: #084c9e;
  --blue-600: #086bea;
  --cyan: #09b8dd;
  --red: #e32127;
  --ink: #13243a;
  --muted: #607086;
  --line: #dce4ed;
  --soft: #f3f7fb;
  --white: #fff;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 65px rgba(2, 35, 78, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; color: #fff; background: var(--blue-950); border-radius: 0 0 8px 8px; transition: top .2s; }
.skip-link:focus { top: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; background: linear-gradient(180deg, rgba(0, 24, 65, .78), transparent); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(3, 42, 97, .97); box-shadow: 0 8px 28px rgba(0, 20, 48, .24); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 180px; }
.brand-mark { width: 42px; height: 42px; }
.brand-copy { display: grid; line-height: 1.05; letter-spacing: .02em; }
.brand-copy strong { font-size: 19px; font-weight: 800; }
.brand-copy small { margin-top: 6px; font-size: 11px; letter-spacing: .28em; opacity: .82; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; padding: 26px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 18px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 0; color: inherit; background: transparent; width: 42px; height: 42px; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--blue-950) url("assets/hero-fireworks.webp") center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 31, 79, .18) 0%, rgba(3, 31, 79, .02) 52%, rgba(3, 31, 79, .08) 100%); }
.hero-inner { position: relative; padding-top: 210px; padding-bottom: 70px; }
.hero-panel { width: min(570px, 54%); padding: 30px 36px 34px; background: rgba(166, 8, 19, .35); border: 1px solid rgba(255,255,255,.19); backdrop-filter: blur(4px); }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.hero-panel .eyebrow { color: #fff; opacity: .8; }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -.04em; }
.hero-panel > p:not(.eyebrow) { max-width: 470px; margin: 22px 0 0; font-size: 17px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 2px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--blue-950); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.text-link { font-weight: 700; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.hero-scroll { position: absolute; left: 50%; bottom: 25px; width: 30px; height: 48px; border: 1px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; top: 10px; left: 13px; width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(17px); } }

.metrics { position: relative; z-index: 3; margin-top: -1px; color: #fff; background: var(--blue-950); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { position: relative; min-height: 150px; padding: 34px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.metric:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.metric::before { content: ""; position: absolute; top: 0; left: 27px; width: 28px; height: 3px; background: var(--red); }
.metric strong { display: block; font-size: clamp(25px, 3vw, 38px); line-height: 1.2; }
.metric span { display: block; margin-top: 9px; color: rgba(255,255,255,.66); font-size: 13px; }

.section { padding: 105px 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; margin-bottom: 50px; }
.section-heading h2, .software-copy h2, .about-title h2 { margin: 0; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-heading.light { color: #fff; }
.section-heading.light > p { color: rgba(255,255,255,.68); }

.capability-section { background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-card { min-height: 290px; padding: 32px 28px 34px; border-left: 1px solid var(--line); transition: color .25s, background .25s, transform .25s; }
.capability-card:last-child { border-right: 1px solid var(--line); }
.capability-card:hover { color: #fff; background: var(--blue-800); transform: translateY(-6px); }
.capability-no { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.capability-card h3 { margin: 46px 0 14px; font-size: 21px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 14px; }
.capability-card:hover p { color: rgba(255,255,255,.74); }

.products-section { color: #fff; background: var(--blue-950); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.product-card { overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 20px 55px rgba(0,0,0,.16); }
.product-image { aspect-ratio: 1.45; overflow: hidden; background: var(--blue-900); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-copy { padding: 30px 34px 34px; }
.product-type { margin: 0; color: var(--blue-600); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.product-copy h3 { margin: 6px 0 12px; font-size: 31px; line-height: 1.2; }
.product-copy > p:not(.product-type) { min-height: 54px; margin: 0; color: var(--muted); font-size: 14px; }
.product-copy ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; }
.product-copy li { position: relative; padding-left: 13px; }
.product-copy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--red); }

.compare-section { background: var(--soft); }
.table-wrap { overflow-x: auto; background: #fff; box-shadow: var(--shadow); outline: none; }
.table-wrap:focus-visible { box-shadow: 0 0 0 3px rgba(8,107,234,.25), var(--shadow); }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
th, td { padding: 19px 24px; border-bottom: 1px solid var(--line); }
thead th { color: #fff; background: var(--blue-900); font-size: 15px; }
thead th:first-child { width: 22%; background: var(--blue-950); }
tbody th { color: var(--blue-900); background: #f7f9fc; font-size: 14px; }
tbody td { font-size: 14px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.software-section { padding: 0; overflow: hidden; color: #fff; background: linear-gradient(130deg, var(--blue-950), var(--blue-800)); }
.software-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 680px; }
.software-copy { padding: 90px 70px 90px 0; }
.software-copy .kicker { color: #36c7ef; }
.software-copy > p:not(.kicker) { max-width: 590px; margin: 26px 0 0; color: rgba(255,255,255,.72); }
.software-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.software-features > div { padding-top: 18px; border-top: 2px solid rgba(255,255,255,.26); }
.software-features strong { display: block; font-size: 22px; }
.software-features span { display: block; margin-top: 6px; color: rgba(255,255,255,.62); font-size: 12px; }
.software-image { align-self: stretch; min-height: 680px; margin: 0; }
.software-image img { width: 100%; height: 100%; object-fit: cover; }

.about-section { padding-bottom: 115px; }
.about-banner { overflow: hidden; height: clamp(270px, 32vw, 430px); box-shadow: var(--shadow); }
.about-banner img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 70px 7% 0; }
.about-copy { color: var(--muted); font-size: 16px; }
.about-copy p { margin: 0 0 18px; }

.site-footer { color: #fff; background: #021f49; }
.footer-inner { min-height: 220px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 50px; }
.footer-brand small { letter-spacing: .04em; }
.footer-inner > p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }
.footer-inner > p span { color: rgba(255,255,255,.4); font-size: 12px; }
.copyright { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 760px); }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 0 0 auto; display: grid; gap: 0; padding: 92px 24px 24px; background: rgba(3,42,97,.98); transform: translateY(-110%); transition: transform .25s; }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a::after { display: none; }
  .hero { min-height: 700px; background-position: 60% center; }
  .hero-panel { width: min(620px, 78%); }
  .metrics-grid, .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .capability-card:nth-child(3), .capability-card:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .software-grid { grid-template-columns: 1fr; }
  .software-copy { padding: 80px 0 55px; }
  .software-image { min-height: 520px; }
  .about-grid { gap: 45px; padding-inline: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 50px 0; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  html { scroll-padding-top: 68px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 9px; }
  .hero { min-height: 720px; background-position: 64% center; }
  .hero-shade { background: rgba(1,24,61,.28); }
  .hero-inner { padding-top: 205px; }
  .hero-panel { width: 100%; padding: 28px 24px; background: rgba(141,5,15,.56); }
  .hero h1 { font-size: 43px; }
  .hero-panel > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-scroll { display: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 128px; padding: 28px 16px; }
  .metric strong { font-size: 25px; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .software-copy h2, .about-title h2 { font-size: 36px; }
  .capability-grid, .product-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 230px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .capability-card:first-child { border-top: 0; }
  .capability-card h3 { margin-top: 30px; }
  .product-copy { padding: 25px 22px 28px; }
  .product-copy h3 { font-size: 27px; }
  .product-copy > p:not(.product-type) { min-height: 0; }
  .product-copy ul { grid-template-columns: 1fr; }
  th, td { padding: 15px 16px; }
  .software-copy { padding-top: 72px; }
  .software-features { grid-template-columns: 1fr; }
  .software-image { min-height: 430px; }
  .about-banner { height: 260px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 45px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

