:root {
    --ink: #202124;
    --muted: #5f6368;
    --line: #dadce0;
    --blue: #1a73e8;
    --blue-soft: #e8f0fe;
    --green: #188038;
    --green-soft: #e6f4ea;
    --yellow: #f9ab00;
    --yellow-soft: #fef7e0;
    --red: #d93025;
    --surface: #ffffff;
    --band: #f5f7fb;
    --header-height: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}
.public-nav {
    width: min(1480px, 100%);
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; }
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; }
.brand-mark i:nth-child(1) { background: #4285f4; }
.brand-mark i:nth-child(2) { background: #ea4335; }
.brand-mark i:nth-child(3) { background: #fbbc04; }
.brand-mark i:nth-child(4) { background: #34a853; }
.public-links { display: flex; align-items: stretch; align-self: stretch; gap: 28px; }
.public-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}
.public-links a:hover { color: var(--ink); }
.public-links a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--blue);
}
.nav-end { margin-left: auto; display: flex; gap: 10px; }

.public-button {
    min-height: 44px;
    padding: 0 19px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #fff;
    color: #3c4043;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.public-button svg { width: 18px; height: 18px; }
.public-button:hover { background: #f8f9fa; box-shadow: 0 2px 7px rgba(60,64,67,.16); }
.public-button:active { transform: translateY(1px); }
.public-button.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.public-button.primary:hover { background: #1765cc; }
.public-button.green { border-color: var(--green); background: var(--green); color: #fff; }
.public-button.green:hover { background: #146c30; }

.gateway-intro,
.product-hero {
    border-bottom: 1px solid #eef0f3;
    background: #fff;
}
.gateway-intro-shell,
.product-hero-shell {
    width: min(1240px, calc(100% - 48px));
    min-height: 390px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 86px;
    padding: 62px 0;
}
.gateway-kicker,
.product-kicker {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}
.gateway-kicker svg,
.product-kicker svg { width: 18px; height: 18px; }
h1, h2, h3, p { margin-top: 0; }
.gateway-intro h1,
.product-hero h1 {
    margin-bottom: 22px;
    font-size: 52px;
    line-height: 1.12;
    font-weight: 500;
}
.gateway-lead,
.product-hero-lead {
    margin-bottom: 26px;
    color: #3c4043;
    font-size: 18px;
    line-height: 1.75;
}
.gateway-map {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 42px rgba(60,64,67,.14);
}
.gateway-map-head {
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #f8f9fa;
    color: var(--muted);
    font-size: 12px;
}
.gateway-map-body { padding: 24px; }
.gateway-map-title { margin-bottom: 18px; font-size: 21px; font-weight: 700; }
.gateway-map-row {
    min-height: 64px;
    padding: 12px 14px;
    border-top: 1px solid #edf0f3;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
}
.gateway-map-row:first-of-type { border-top: 0; }
.map-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
}
.gateway-map-row:nth-of-type(3) .map-icon { background: var(--green-soft); color: var(--green); }
.map-icon svg { width: 18px; height: 18px; }
.gateway-map-row strong { display: block; font-size: 15px; }
.gateway-map-row small { color: var(--muted); }
.gateway-map-row > svg { width: 18px; color: #8a919a; }

.system-section,
.product-band { border-bottom: 1px solid #e9edf2; }
.system-section.band,
.product-band.band { background: var(--band); }
.system-shell,
.product-shell {
    width: min(1240px, calc(100% - 48px));
    min-height: 650px;
    margin: 0 auto;
    padding: 86px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 82px;
}
.system-copy h2,
.product-section-title {
    margin-bottom: 22px;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 500;
}
.system-copy .eyebrow,
.product-eyebrow {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}
.system-copy .eyebrow.green,
.product-eyebrow.green { color: var(--green); }
.system-copy .eyebrow svg,
.product-eyebrow svg { width: 18px; height: 18px; }
.system-copy > p,
.product-section-lead {
    margin-bottom: 28px;
    color: #3c4043;
    font-size: 17px;
    line-height: 1.75;
}
.system-features { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 13px; }
.system-features li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    color: #3c4043;
    line-height: 1.6;
}
.system-features svg { width: 19px; height: 19px; margin-top: 3px; color: var(--green); }
.system-entry { display: grid; grid-template-columns: 1fr; gap: 18px; }
.system-window {
    overflow: hidden;
    border: 1px solid #d7dbe0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(60,64,67,.16);
}
.system-window-bar {
    height: 40px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e3e7;
    color: var(--muted);
    font-size: 12px;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d0d4da; }
.system-window-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f6fa; }
.system-window-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.system-entry-caption { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.product-hero-shell { min-height: 540px; }
.product-hero-visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #d7dbe0;
    border-radius: 8px;
    background: #07182d;
    box-shadow: 0 18px 48px rgba(60,64,67,.18);
}
.product-hero-visual img { width: 100%; height: 360px; object-fit: cover; object-position: top left; opacity: .9; }
.product-visual-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 6px;
    background: rgba(7,24,45,.88);
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-shell { min-height: auto; display: block; }
.product-heading-row {
    margin-bottom: 38px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}
.product-heading-row .product-section-lead { max-width: 560px; margin-bottom: 0; }
.loop-grid,
.role-grid,
.module-grid,
.evidence-grid { display: grid; gap: 16px; }
.loop-grid { grid-template-columns: repeat(4, 1fr); }
.role-grid { grid-template-columns: repeat(3, 1fr); }
.module-grid { grid-template-columns: repeat(5, 1fr); }
.evidence-grid { grid-template-columns: repeat(3, 1fr); }
.info-block {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.info-index {
    width: 34px;
    height: 34px;
    margin-bottom: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
}
.info-block:nth-child(2) .info-index { background: #fce8e6; color: var(--red); }
.info-block:nth-child(3) .info-index { background: var(--yellow-soft); color: #b06000; }
.info-block:nth-child(4) .info-index { background: var(--green-soft); color: var(--green); }
.info-block h3 { margin-bottom: 10px; font-size: 18px; }
.info-block p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.module-block { min-height: 250px; }
.module-step { color: var(--blue); font-size: 13px; font-weight: 700; }
.module-block h3 { margin: 28px 0 12px; }
.role-block { min-height: 230px; }
.role-block svg { width: 28px; height: 28px; margin-bottom: 32px; color: var(--blue); }
.role-block:nth-child(2) svg { color: var(--green); }
.role-block:nth-child(3) svg { color: #b06000; }
.evidence-block { min-height: 210px; }
.evidence-block svg { width: 24px; height: 24px; margin-bottom: 26px; color: var(--blue); }
.product-wide-visual {
    margin-top: 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.product-wide-visual img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.product-cta { padding: 72px 24px; background: #07182d; color: #fff; text-align: center; }
.product-cta h2 { margin-bottom: 14px; font-size: 38px; font-weight: 500; }
.product-cta p { margin-bottom: 28px; color: #c7d2e1; font-size: 17px; }
.product-cta .product-actions { justify-content: center; }

.public-footer { padding: 40px 24px; border-top: 1px solid var(--line); background: #fff; }
.public-footer-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: var(--muted);
    font-size: 13px;
}
.beian { display: inline-flex; align-items: center; gap: 7px; }
.beian img { width: 16px; height: 16px; }

@media (max-width: 980px) {
    :root { --header-height: 62px; }
    .public-nav { padding: 0 18px; gap: 18px; }
    .public-links { margin-left: auto; gap: 18px; overflow-x: auto; }
    .nav-end { display: none; }
    .gateway-intro-shell,
    .product-hero-shell,
    .system-shell { grid-template-columns: 1fr; gap: 48px; }
    .gateway-intro-shell,
    .product-hero-shell { padding: 54px 0; }
    .system-shell { min-height: auto; padding: 68px 0; }
    .system-section.reverse .system-copy { order: 1; }
    .system-section.reverse .system-entry { order: 2; }
    .loop-grid { grid-template-columns: repeat(2, 1fr); }
    .role-grid { grid-template-columns: 1fr; }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .evidence-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .public-nav { padding: 0 14px; }
    .public-brand { font-size: 16px; }
    .public-links { gap: 14px; }
    .public-links a { font-size: 13px; }
    .public-links a:nth-child(n+3) { display: none; }
    .gateway-intro-shell,
    .product-hero-shell,
    .system-shell,
    .product-shell { width: min(100% - 32px, 1240px); }
    .gateway-intro-shell,
    .product-hero-shell { min-height: auto; padding: 42px 0; gap: 34px; }
    .gateway-intro h1,
    .product-hero h1 { font-size: 38px; }
    .gateway-lead,
    .product-hero-lead { font-size: 16px; }
    .gateway-map-body { padding: 16px; }
    .gateway-map-row { grid-template-columns: 36px 1fr 20px; padding: 10px 6px; }
    .system-shell,
    .product-shell { padding: 58px 0; gap: 36px; }
    .system-copy h2,
    .product-section-title { font-size: 33px; }
    .system-copy > p,
    .product-section-lead { font-size: 16px; }
    .product-hero-visual,
    .product-hero-visual img { min-height: 270px; height: 270px; }
    .product-heading-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
    .loop-grid,
    .role-grid,
    .module-grid,
    .evidence-grid { grid-template-columns: 1fr; }
    .info-block,
    .module-block,
    .role-block,
    .evidence-block { min-height: auto; }
    .info-index,
    .role-block svg,
    .evidence-block svg { margin-bottom: 20px; }
    .product-cta h2 { font-size: 31px; }
    .product-actions .public-button { width: 100%; }
    .public-footer-shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
