/* 蓝青色科技氛围：装饰集中在页头和面板边缘，正文保持清晰。 */
.site-page, .site-utility {
    --home-ink: #142b48;
    --home-muted: #5d718c;
    --home-blue: #245edb;
    --home-line: #dce6f3;
    --tech-cyan: #29bdd7;
    --tech-deep: #102643;
}
.site-page .header {
    background: rgba(13, 31, 56, .97);
    color: #eef5ff;
    border-bottom-color: #2e527d;
    box-shadow: 0 4px 20px rgba(11, 32, 60, .12);
}
.site-page .header::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #3b9ce8, #52d9e2, transparent); pointer-events: none; }
.site-page .nav-brand { color: #eef5ff; text-decoration: none; }
.site-page .nav-brand > i { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 10px; background: #8bd4ff; color: #153b5e; }
.site-page .nav-brand > i::before { content: "码"; font: normal 700 18px/1 "Microsoft YaHei", sans-serif; }
.site-page .nav-menu a { color: #b9cae2; }
.site-page .nav-menu a:hover:not(.btn-download), .site-page .nav-menu a.is-current { color: #79e7ec; }
.site-page .nav-menu a.is-current { border-bottom: 2px solid #4fd6df; padding-bottom: 5px; }
.site-page .nav-menu .btn-download { background: linear-gradient(120deg, #2864df, #117eac); color: white; border: 1px solid #5aa3e1; box-shadow: 0 0 16px rgba(55, 156, 223, .16); }
.site-page .btn-primary { background: linear-gradient(120deg, #245edb, #127ba8); box-shadow: 0 5px 14px rgba(36, 94, 219, .15); }
.site-page .btn-primary:hover { background: linear-gradient(120deg, #184cbf, #086783); }
.site-page .section-tag { color: #155da6; border: 1px solid #c7e1f7; background: linear-gradient(120deg, #eaf1ff, #e6f7fa); }
.site-page .hero, .site-page .page-heading, .site-page .video-hero {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 80% 15%, rgba(69, 196, 216, .18), transparent 48%), radial-gradient(ellipse at 15% 75%, rgba(81, 120, 235, .13), transparent 48%), #f0f5fc;
}
.site-page .hero::before, .site-page .page-heading::before, .site-page .video-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
    background-image: linear-gradient(rgba(49, 116, 166, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 116, 166, .07) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, #000, transparent 48%, #000);
}
.site-page .hero::after { content: ""; position: absolute; top: 58px; right: max(2%, calc((100% - 1360px) / 2)); width: 180px; height: 180px; border: 1px solid rgba(44, 142, 192, .2); border-radius: 50%; box-shadow: 0 0 0 24px rgba(36, 142, 185, .035), 0 0 0 48px rgba(36, 142, 185, .025); z-index: -1; pointer-events: none; }
.site-page .hero h1 { color: #122f57; }
.site-page .hero-capabilities span { padding: 5px 12px; background: rgba(255, 255, 255, .7); border: 1px solid #cbdff2; border-radius: 7px; }
.site-page .download-content, .site-page .video-teaching-card, .site-page .workflow-panel { border-color: #cbddef; box-shadow: 0 12px 32px rgba(21, 65, 107, .06); }
.site-page .download-content { position: relative; }
.site-page .download-content::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, transparent, #3984e5, #42cedb, transparent); }
.site-page .feature-card, .site-page .pricing-card, .site-page .step-card, .site-page .video-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.site-page .feature-card:hover, .site-page .pricing-card:hover, .site-page .step-card:hover, .site-page .video-card:hover { border-color: #84b6e8; box-shadow: 0 8px 28px rgba(32, 104, 168, .09); }
.site-page .feature-card > i { display: inline-grid; place-items: center; width: 42px; height: 42px; background: linear-gradient(135deg, #eaf1ff, #e2f7fa); border: 1px solid #d4e6f7; border-radius: 11px; font-size: 20px; }
.site-page .workflow-panel { background: linear-gradient(150deg, #eff4ff, #eaf6f8); }
.site-page .workflow-step span { border: 1px solid #c5def4; background: #fff; }
.site-page .pricing-card.featured { border-color: #adcbea; background: linear-gradient(180deg, #f5faff, #fff 180px); }
.site-page .footer { background: linear-gradient(120deg, #0f223c, #153653); border-top: 1px solid #2c5a7a; }
.site-page .instructions { padding: 42px 0 64px; background: #f7f9fc; }
.site-page .instructions-content { max-width: none; }
.site-page .page-heading { padding: 38px 42px; border: 1px solid #ccdeef; border-radius: 22px; margin-bottom: 30px; text-align: left; }
.site-page .page-heading h1 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 12px; line-height: 1.4; color: var(--home-ink); }
.site-page .page-heading > p { color: var(--home-muted); font-size: 15px; line-height: 1.9; }
.site-page .breadcrumbs { display: flex; gap: 12px; flex-wrap: wrap; color: #627894; font-size: 12px; margin-bottom: 22px; }
.site-page .breadcrumbs a { color: #2867b4; text-decoration: none; }
.site-page .breadcrumbs a:hover { text-decoration: underline; }
.site-page .instruction-steps { gap: 18px; }
.site-page .step-card { padding: 28px; border: 1px solid var(--home-line); border-radius: 16px; box-shadow: none; align-items: flex-start; gap: 24px; }
.site-page .step-number { background: linear-gradient(130deg, #e5efff, #e1f5f8); border: 1px solid #bbd8ef; border-radius: 12px; color: #225eaa; box-shadow: none; font-size: 18px; width: 68px; height: 60px; min-width: 68px; flex: 0 0 68px; display: flex; align-items: center; justify-content: center; }
.site-page .step-content { min-width: 0; }
.site-page .step-content h3 { font-size: 19px; color: var(--home-ink); margin-bottom: 10px; }
.site-page .step-content p { font-size: 14px; color: var(--home-muted); line-height: 1.9; }
.site-page .step-content p a { color: var(--home-blue); }
.site-page.guide-page .instruction-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-page.guide-page .step-card { flex-direction: column; }
.site-page.log-page .instruction-steps { position: relative; padding-left: 24px; border-left: 1px solid #c3d9ef; }
.site-page.log-page .step-card { position: relative; }
.site-page.log-page .step-card::before { content: ""; position: absolute; left: -31px; top: 40px; width: 11px; height: 11px; background: #3b88d8; border: 3px solid #e5effc; border-radius: 50%; box-shadow: 0 0 0 3px #f7f9fc; }
.site-page.log-page .step-card:first-child { border-color: #8cb8e4; background: linear-gradient(115deg, #fff, #f0f8ff); }
.site-page.log-page .step-card:first-child .step-number { color: white; border-color: #367ba8; background: linear-gradient(130deg, #2864d5, #137e9c); }
.site-page .video-page { padding: 42px 0 64px; background: #f7f9fc; }
.site-page .video-hero { padding: 38px 42px; border: 1px solid #ccdeef; border-radius: 22px; margin: 0 auto 30px; text-align: left; }
.site-page .video-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #c7e1f7; border-radius: 999px; color: #155da6; background: #e8f3ff; font-size: 13px; font-weight: 600; }
.site-page .video-hero h1 { color: var(--home-ink); font-size: clamp(28px, 3.5vw, 40px); margin: 16px 0 12px; line-height: 1.4; }
.site-page .video-hero p { color: var(--home-muted); font-size: 15px; line-height: 1.9; max-width: 820px; }
.site-page .video-switcher { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.site-page .video-switch { position: static; transform: none; width: auto; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border: 1px solid #c7d9ef; border-radius: 10px; background: #fff; color: #425e7f; text-decoration: none; font-size: 14px; box-shadow: none; }
.site-page .video-switch-active { color: white; background: linear-gradient(120deg, #245edb, #127ba8); border-color: transparent; }
.site-page .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-page .video-card { overflow: hidden; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(21, 65, 107, .05); }
.site-page .video-card-head { display: flex; align-items: flex-start; gap: 14px; padding: 24px 24px 18px; }
.site-page .video-number { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #b8d6ef; background: linear-gradient(135deg, #e5efff, #e1f5f8); color: #225eaa; font-size: 15px; font-weight: 700; }
.site-page .video-card h2 { font-size: 19px; line-height: 1.5; color: var(--home-ink); margin-bottom: 8px; }
.site-page .video-card p { font-size: 14px; color: var(--home-muted); line-height: 1.8; }
.site-page .video-frame { position: relative; width: calc(100% - 48px); aspect-ratio: 16 / 9; margin: 0 24px; overflow: hidden; border-radius: 12px; background: #11253f; }
.site-page .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-page .video-card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 24px 22px; }
.site-page .video-type { color: #68809d; font-size: 12px; background: #f1f5fb; border-radius: 5px; padding: 3px 8px; }
.site-page .video-open-link { color: var(--home-blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.site-page .video-open-link:hover { color: #117c99; text-decoration: underline; }
.site-page.medical-page .hero h1 { font-size: clamp(30px, 4vw, 44px); }
.site-page.medical-page .nav-menu { gap: 16px; }
.site-page.medical-page .nav-menu a { font-size: 13px; }
.site-page.medical-page .pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-page.medical-page .instructions h2, .site-page.medical-page .screenshots h2 { color: var(--home-ink); font-size: 32px; margin-bottom: 24px; text-align: center; }
.site-page.medical-page .contact-form ul { padding-left: 20px; color: var(--home-muted); font-size: 14px; line-height: 2; margin: 14px 0; }
.site-page .error-content { min-height: 70vh; display: grid; align-items: center; padding: 48px 0; }
.site-page .error-content > .container { width: 100%; }
.site-page .error-content .page-heading { text-align: center; margin: 0; padding: 48px 24px; }
.site-page .error-content .hero-buttons { margin-top: 24px; }
.site-page .error-code { font-size: clamp(80px, 14vw, 136px); line-height: 1.15; font-weight: 800; letter-spacing: 5px; color: #2875b9; text-shadow: 2px 2px 0 #d8f5fb; margin-bottom: 18px; }
@media (max-width: 768px) {
    .site-page .nav-menu { background: #102643; border-color: #2e527d; }
    .site-page .nav-menu li { border-color: #2a425f; }
    .site-page .nav-menu a.is-current { border-bottom: none; }
    .site-page .mobile-menu-btn { color: #9cebf0; background: #1c3b5a; border: 1px solid #385a7a; }
    .site-page .hero::after { display: none; }
    .site-page .hero-capabilities { gap: 8px; }
    .site-page .hero-capabilities span { padding: 4px 8px; }
    .site-page .page-heading, .site-page .video-hero { padding: 26px 22px; border-radius: 16px; }
    .site-page .instructions, .site-page .video-page { padding: 28px 0 44px; }
    .site-page .step-card { padding: 22px; gap: 18px; text-align: left; align-items: flex-start; }
    .site-page .step-content h3 { text-align: left; }
    .site-page.guide-page .instruction-steps { grid-template-columns: 1fr; }
    .site-page.log-page .instruction-steps { padding-left: 18px; }
    .site-page.log-page .step-card::before { left: -25px; }
    .site-page .video-grid { grid-template-columns: 1fr; gap: 18px; }
    .site-page .video-card-head { padding: 20px 18px 16px; }
    .site-page .video-frame { width: calc(100% - 36px); margin: 0 18px; }
    .site-page .video-card-foot { padding: 16px 18px 20px; }
    .site-page .video-card h2 { font-size: 17px; }
    .site-page.medical-page .pricing-cards { grid-template-columns: 1fr; }
    .site-page.medical-page .instructions h2, .site-page.medical-page .screenshots h2 { font-size: 26px; }
}
/* 辅助工具、授权及结果页只调整屏幕样式，保留条码打印规则。 */
@media screen {
    .site-utility { box-sizing: border-box; margin: 0; padding: 24px; min-height: 100vh; color: var(--home-ink); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; background: radial-gradient(ellipse at 90% 0%, rgba(41, 189, 215, .15), transparent 50%), linear-gradient(135deg, #edf3fd, #f8fafc); }
    .site-utility *, .site-utility *::before, .site-utility *::after { box-sizing: border-box; }
    .site-utility .utility-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 860px; margin: 0 auto 24px; font-size: 13px; }
    .site-utility .utility-nav a { color: #225eaa; text-decoration: none; }
    .site-utility .utility-nav a:first-child { color: var(--home-ink); font-size: 16px; font-weight: 700; }
    .site-utility .container, .site-utility.result-page .card { border: 1px solid #c8deef; border-top: 3px solid #39a2d0; border-radius: 20px; box-shadow: 0 16px 48px rgba(24, 67, 111, .08); }
    .site-utility .container { width: 100%; max-width: 680px; padding: 32px; }
    .site-utility h1, .site-utility h2 { color: var(--home-ink); line-height: 1.5; font-size: 26px; margin: 0 0 22px; }
    .site-utility input[type="text"], .site-utility input[type="number"], .site-utility input[type="tel"], .site-utility textarea { padding: 12px; border: 1px solid #cbd9ea; border-radius: 8px; font: inherit; width: 100%; min-width: 0; background: #fff; }
    .site-utility input:focus, .site-utility textarea:focus { outline: 2px solid #bfdef4; border-color: #5c9cd7; }
    .site-utility input[type="submit"], .site-utility .modal-btn, .site-utility.barcode-tool button { color: white; background: linear-gradient(120deg, #245edb, #127ba8); border: 0; border-radius: 9px; padding: 12px 22px; font-size: 15px; cursor: pointer; }
    .site-utility .modal-content { border: 1px solid #c8deef; border-radius: 18px; box-shadow: 0 20px 60px rgba(13, 35, 68, .2); }
    .site-utility.license-payment .qr-code { width: min(250px, 100%); height: auto; aspect-ratio: 1; overflow: hidden; border-color: #c8deef; border-radius: 12px; }
    .site-utility.license-payment .qr-code img { width: 100% !important; height: auto !important; display: block; }
    .site-utility.license-payment .permanent-note { border-color: #bdddef; background: linear-gradient(120deg, #eaf3ff, #e8f7fa); color: #225eaa; }
    .site-utility.license-payment .hero-note { border-color: #c7deef; background: #f0f7fc; color: #3c6183; }
    .site-utility.license-payment .benefit-list strong { color: #23729d; }
    .site-utility.license-payment .floating-wechat { display: none; }
    .site-utility.license-notice { display: block; padding-top: 32px; }
    .site-utility.license-notice .container { max-width: 600px; margin: 40px auto; }
    .site-utility.license-notice .title { color: var(--home-ink); font-size: 26px; letter-spacing: 0; }
    .site-utility.license-notice .message { color: var(--home-muted); font-size: 18px; }
    .site-utility.license-notice .phone-section { background: linear-gradient(120deg, #245edb, #127ba8); padding: 18px 24px; }
    .site-utility.license-notice .phone-number { font-size: clamp(23px, 5vw, 36px); letter-spacing: 1px; }
    .site-utility.result-page .card { width: calc(100% - 16px); max-width: 440px; padding: 32px; }
    .site-utility.result-page a { color: var(--home-blue); }
    .site-utility.barcode-tool > form { max-width: 860px; padding: 28px; margin: 0 auto 28px; border: 1px solid #c8deef; border-top: 3px solid #39a2d0; background: #fff; border-radius: 18px; box-shadow: 0 16px 48px rgba(24, 67, 111, .08); }
    .site-utility.barcode-tool .print-area { max-width: 860px; margin: 0 auto; background: #fff; }
}
@media screen and (max-width: 600px) {
    .site-utility { padding: 16px; }
    .site-utility .container, .site-utility.result-page .card { padding: 24px 20px; }
    .site-utility.barcode-tool > form { padding: 22px 18px; }
    .site-utility.license-notice .phone-section { padding: 16px; }
}
@media print {
    .utility-nav { display: none !important; }
}
