:root {
  --navy: #07101f;
  --navy-2: #101d32;
  --blue: #236fb4;
  --blue-dark: #164f86;
  --blue-soft: #edf6ff;
  --gold: #c59b3a;
  --green: #16836f;
  --text: #183653;
  --muted: #667c91;
  --line: #dfe8f1;
  --surface: #f5f8fc;
  --white: #fff;
  --shadow: 0 10px 28px rgba(20, 54, 86, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--white); }
a { color: inherit; }
button, input { font: inherit; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; padding-bottom: 68px; }
.page-main { flex: 1; }
.page-width { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 38px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.site-brand img { width: 48px; height: 48px; object-fit: contain; }
.site-brand strong { display: block; font-size: 17px; color: #102a43; }
.site-brand small { display: block; margin-top: 2px; color: #7890a7; font-size: 11px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.main-nav a { padding: 28px 0 24px; color: #4d6074; font-size: 14px; text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.header-actions { display: flex; gap: 10px; margin-left: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #496177; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { color: var(--blue); border-color: #9ec7ed; }
.button.primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.button.primary:hover { color: #fff; background: var(--blue-dark); }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font-size: 20px; }

.hero { padding: 72px 0 68px; background: linear-gradient(135deg, #eff7ff 0%, #f8fbff 52%, #eef6fc 100%); text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; color: var(--blue); background: #fff; border: 1px solid #cde2f5; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { max-width: 900px; margin: 0 auto 20px; color: #133c64; font-size: clamp(38px, 5vw, 58px); line-height: 1.18; letter-spacing: -.04em; }
.hero .lead { max-width: 780px; margin: 0 auto 30px; color: #60788f; font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-points { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.point-card { padding: 21px; background: rgba(255, 255, 255, .88); border: 1px solid #dbe9f5; border-radius: 10px; box-shadow: 0 6px 22px rgba(27, 74, 116, .05); }
.point-card strong { display: block; margin-bottom: 8px; color: #193f64; font-size: 15px; }
.point-card span { color: #71879b; font-size: 13px; line-height: 1.7; }

.section { padding: 72px 0; }
.section.soft { background: var(--surface); }
.section-heading { margin-bottom: 34px; text-align: center; }
.section-heading .eyebrow { display: block; margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2 { margin: 0 0 12px; color: #173d63; font-size: clamp(28px, 3vw, 36px); }
.section-heading p { max-width: 760px; margin: 0 auto; color: #71869a; font-size: 14px; line-height: 1.8; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.resource-card { min-height: 268px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 14px rgba(28, 67, 103, .04); }
.resource-card:hover { transform: translateY(-3px); border-color: #b8d7f0; box-shadow: var(--shadow); transition: .2s ease; }
.resource-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.resource-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; }
.resource-status { padding: 4px 9px; color: #24855a; background: #edfff4; border: 1px solid #c7efd9; border-radius: 20px; font-size: 10px; }
.resource-card h3 { margin: 0 0 6px; color: #20364d; font-size: 15px; }
.resource-card h4 { margin: 14px 0 7px; color: #204a70; font-size: 13px; }
.resource-card p { margin: 0; color: #6a7f93; font-size: 12px; line-height: 1.75; }
.resource-flow { margin-top: 15px !important; padding-top: 13px; border-top: 1px dashed #dfe7ef; color: #3977ac !important; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.workflow-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 16px; color: var(--blue); background: var(--blue-soft); border: 1px solid #cde4f7; border-radius: 50%; font-size: 12px; font-weight: 800; }
.workflow-card h3 { margin: 0 0 8px; font-size: 16px; }
.workflow-card p { margin: 0; color: #71869a; font-size: 13px; line-height: 1.75; }
.statement { padding: 28px 32px; color: #52708b; background: #eaf7ff; border: 1px solid #bde3fa; border-left: 4px solid var(--blue); border-radius: 10px; font-size: 14px; line-height: 1.9; }
.statement p { margin: 0; }
.statement p + p { margin-top: 8px; }
.statement a { color: var(--blue-dark); font-weight: 700; }
.registration-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 42px; color: #fff; background: linear-gradient(120deg, #12385f, #2879bc); border-radius: 12px; }
.registration-cta h2 { margin: 0 0 8px; font-size: 25px; }
.registration-cta p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.registration-cta .button { min-width: 136px; border-color: #fff; }

.page-banner { padding: 54px 0 48px; background: linear-gradient(180deg, #eff7ff, #fff); border-bottom: 1px solid #edf2f7; }
.breadcrumb { margin: 0 0 18px; color: #7890a7; font-size: 12px; }
.page-banner h1 { margin: 0 0 13px; color: #173d63; font-size: 34px; }
.page-banner .description { max-width: 840px; margin: 0; color: #687e93; font-size: 14px; line-height: 1.9; }
.info-note { margin-top: 32px; padding: 26px 28px; background: #f4f8fc; border: 1px solid var(--line); border-radius: 10px; }
.info-note h3 { margin: 0 0 12px; font-size: 16px; }
.info-note p { margin: 0; color: #6c8195; font-size: 13px; line-height: 1.9; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.method-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; }
.method-card .method-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-weight: 800; }
.method-card h3 { margin: 0 0 10px; font-size: 16px; }
.method-card p { margin: 0; color: #71869a; font-size: 13px; line-height: 1.8; }
.quota-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quota-card { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; }
.quota-card.recommended { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.recommendation { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 5px 14px; color: #fff; background: var(--blue); border-radius: 20px; font-size: 11px; }
.quota-card h3 { margin: 0 0 18px; color: #7a8da0; font-size: 15px; font-weight: 500; }
.quota-price { margin: 0 0 10px; color: #173d63; font-size: 34px; font-weight: 800; }
.quota-price small { color: #90a0b0; font-size: 12px; font-weight: 400; }
.quota-card > p:not(.quota-price) { color: #74899d; font-size: 13px; line-height: 1.7; }
.quota-card ul { flex: 1; padding: 0; margin: 18px 0 24px; list-style: none; }
.quota-card li { position: relative; margin: 10px 0; padding-left: 22px; color: #607a92; font-size: 13px; }
.quota-card li::before { content: "✓"; position: absolute; left: 0; color: #2f9a6c; }

.faq-list { width: min(900px, 100%); margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.faq-item + .faq-item { margin-top: 14px; }
.faq-item summary { padding: 20px 24px; color: #193f64; font-size: 15px; font-weight: 700; cursor: pointer; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: #6c8296; font-size: 13px; line-height: 1.8; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.about-card { padding: 28px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(22, 57, 89, .05); }
.about-card.wide { grid-column: 1 / -1; }
.about-card h2 { margin: 0 0 14px; color: #173d63; font-size: 20px; }
.about-card h3 { margin: 24px 0 10px; color: #244e73; font-size: 16px; }
.about-card p { margin: 0; color: #667d92; font-size: 14px; line-height: 1.95; }
.about-card p + p { margin-top: 10px; }
.about-card a { color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.contact-item { padding: 22px; text-align: center; background: #f8fbfe; border: 1px solid var(--line); border-radius: 8px; }
.contact-item strong { display: block; margin-bottom: 8px; }
.contact-item span, .contact-item a { color: #47749e; font-size: 13px; text-decoration: none; }

.legal-section { padding-top: 48px; padding-bottom: 64px; background: var(--surface); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.legal-toc { position: sticky; top: 100px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(22, 57, 89, .05); }
.legal-toc strong { display: block; margin-bottom: 12px; color: #173d63; }
.legal-toc a { display: block; padding: 7px 0; color: #657d93; font-size: 13px; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-content { padding: 36px 42px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(22, 57, 89, .05); }
.legal-notice { margin-bottom: 30px; padding: 16px 18px; color: #496b89; background: #edf7ff; border-left: 4px solid var(--blue); border-radius: 6px; font-size: 13px; line-height: 1.8; }
.legal-content section { scroll-margin-top: 98px; }
.legal-content section + section { margin-top: 34px; padding-top: 28px; border-top: 1px solid #edf1f5; }
.legal-content h2 { margin: 0 0 14px; color: #173d63; font-size: 20px; }
.legal-content h3 { margin: 20px 0 10px; color: #244e73; font-size: 15px; }
.legal-content p, .legal-content li { color: #60778d; font-size: 14px; line-height: 1.95; }
.legal-content p { margin: 0 0 10px; }
.legal-content ul, .legal-content ol { margin: 10px 0; padding-left: 24px; }
.legal-content li + li { margin-top: 6px; }
.legal-content a { color: var(--blue); }
.legal-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 12px; color: #8193a5; font-size: 13px; }

/* 固定官网与各栏目页页脚，解决普通视口截图无法同时包含页首和企业信息的问题。 */
.site-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 45; padding: 18px 0; color: rgba(255, 255, 255, .78); background: #08101f; border-top: 1px solid #243044; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.footer-inner p { margin: 0; }
.footer-inner p:nth-child(2) { text-align: center; }
.footer-inner p:last-child { text-align: right; }
.footer-inner a { color: inherit; text-decoration: none; }
.footer-inner a:hover { color: #fff; }

.portal-page { min-height: 100vh; color: #dbe7f3; background: #050913; }
.portal-nav { display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 34px; border-bottom: 1px solid #202a40; }
.portal-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.portal-brand img { width: 44px; height: 44px; object-fit: contain; }
.portal-brand strong { color: #edf4fb; font-size: 18px; }
.portal-links { display: flex; gap: 32px; }
.portal-links a { color: #8e9bb0; font-size: 13px; text-decoration: none; }
.portal-links a:hover { color: #fff; }
.portal-actions { display: flex; gap: 10px; }
.portal-actions .button { color: #96a6bb; background: transparent; border-color: #26324b; }
.portal-actions .button.primary { color: #07101f; background: #28c7ad; border-color: #28c7ad; }
.portal-hero { padding: 94px 24px 78px; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(21, 118, 118, .16), transparent 36%); }
.portal-hero .hero-kicker { color: #27c9ae; background: rgba(21, 118, 118, .12); border-color: rgba(39, 201, 174, .35); }
.portal-hero h1 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 76px); line-height: 1.08; font-weight: 400; }
.portal-hero h1 em { display: block; color: #e6c26e; font-style: italic; }
.portal-hero .lead { margin: 0 auto 32px; max-width: 700px; color: #8c9ab0; line-height: 1.8; }
.url-box { display: flex; align-items: center; width: min(720px, 100%); margin: 0 auto 34px; padding: 10px 10px 10px 20px; background: #0d1425; border: 1px solid #25304a; border-radius: 10px; }
.url-base { flex: 1; min-width: 0; overflow: hidden; color: #96a5ba; font: 14px/1.5 "Courier New", monospace; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.url-path { padding: 8px 14px; color: #28c7ad; background: rgba(39, 201, 174, .1); border-radius: 6px; font: 13px/1.5 "Courier New", monospace; }
.url-copy { width: 36px; height: 36px; margin-left: 8px; color: #718097; background: #111a2e; border: 1px solid #28334d; border-radius: 6px; cursor: pointer; }
.portal-models { padding: 54px 24px 72px; border-top: 1px solid #202a40; }
.portal-models h2 { margin: 0 0 30px; color: #94a2b7; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.portal-model-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: min(1180px, 100%); margin: 0 auto; }
.portal-model { display: flex; align-items: center; gap: 12px; padding: 16px; background: #0c1221; border: 1px solid #202b43; border-radius: 9px; }
.portal-model .resource-icon { width: 32px; height: 32px; }
.portal-model strong { display: block; color: #edf4fb; font-size: 13px; }
.portal-model small { color: #6f7e94; }

/* 导航增加协议与隐私入口后提前切换为折叠菜单，避免中等宽度窗口发生挤压。 */
@media (max-width: 1120px) {
  .header-inner { height: auto; min-height: 70px; flex-wrap: wrap; padding: 10px 0; }
  .menu-toggle { display: block; }
  .main-nav { display: none; order: 3; width: 100%; margin: 0; padding: 8px 0 4px; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom-width: 1px; }
  .header-actions { display: none; }
  .hero-points, .resource-grid, .workflow-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .portal-links { display: none; }
  .portal-model-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .page-width { width: min(100% - 32px, 1180px); }
  .site-brand strong { font-size: 14px; }
  .site-brand small { display: none; }
  .hero { padding: 50px 0; }
  .section { padding: 50px 0; }
  .hero-points, .resource-grid, .workflow-grid, .method-grid, .quota-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card.wide { grid-column: auto; }
  .registration-cta { padding: 28px 24px; align-items: flex-start; flex-direction: column; }
  .legal-content { padding: 26px 20px; }
  .page-shell { padding-bottom: 118px; }
  .site-footer { padding: 12px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 6px; text-align: center; font-size: 16px; }
  .footer-inner p:nth-child(2), .footer-inner p:last-child { text-align: center; }
  .portal-nav { height: auto; min-height: 76px; padding: 12px 16px; }
  .portal-actions .button:first-child { display: none; }
  .portal-hero { padding-top: 64px; }
  .url-path { display: none; }
  .portal-model-grid { grid-template-columns: 1fr; }
}
