/* 信安云母营销页样式：本地 CSS，无运行时 Tailwind CDN 依赖 */
:root {
    --navy: #102b50;
    --navy-deep: #0b1f3a;
    --blue: #174779;
    --gold: #c58a2a;
    --gold-dark: #a96d16;
    --ink: #1b293b;
    --muted: #617084;
    --line: #dfe5ec;
    --paper: #ffffff;
    --mist: #f4f7fa;
    --soft-gold: #fff6e7;
    --radius: 18px;
    --shadow: 0 14px 40px rgba(16, 43, 80, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(197, 138, 42, .55);
    outline-offset: 3px;
}
.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.container-narrow { width: min(940px, calc(100% - 44px)); margin-inline: auto; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 1000;
    background: white; color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.topbar { background: #f0f3f7; border-bottom: 1px solid var(--line); color: #526176; font-size: 12px; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; }
.topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.topbar-right > a:hover, .language-switch a:hover { color: var(--blue); }
.language-switch { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.language-switch a[aria-current="page"] { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.site-header {
    position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(223,229,236,.9); backdrop-filter: blur(14px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    color: #f9d78e; font-size: 23px; font-weight: 900;
    background: linear-gradient(140deg, #1b4c80, #081a32);
    box-shadow: 0 7px 16px rgba(16,43,80,.18);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { color: var(--navy); font-size: 20px; letter-spacing: 1px; }
.brand-copy small { margin-top: 4px; color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 29px); color: #415168; font-size: 13px; font-weight: 700; }
.desktop-nav a, .mobile-nav a { transition: color .18s ease; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--gold-dark); }
.mobile-nav { display: none; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 11px;
    font-size: 14px; font-weight: 800; text-align: center; line-height: 1.35;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-small { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.button-primary { color: white; background: var(--navy); box-shadow: 0 7px 16px rgba(16,43,80,.14); }
.button-primary:hover { background: var(--navy-deep); }
.button-accent { color: white; background: var(--gold); box-shadow: 0 8px 20px rgba(197,138,42,.2); }
.button-accent:hover { background: var(--gold-dark); }
.button-outline { color: var(--navy); border-color: #cbd5e1; background: #fff; }
.button-outline:hover { border-color: var(--navy); background: #f7f9fc; }
.button-full { width: 100%; }
.section { padding: 82px 0; }
.section-white { background: #fff; }
.section-muted { background: var(--mist); border-block: 1px solid #e9eef4; }
.hero { padding-top: 66px; padding-bottom: 58px; background: linear-gradient(120deg, #fff 0%, #fbfcfe 65%, #f8f4ed 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 54px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow-pill {
    display: inline-flex; align-items: center; margin: 0 0 22px; padding: 7px 13px;
    color: #895b13; background: var(--soft-gold); border: 1px solid #f1ddb8;
    border-radius: 999px; font-size: 12px; font-weight: 800;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; color: #101e31; font-size: clamp(32px, 4.1vw, 53px); line-height: 1.18; letter-spacing: -.035em; font-weight: 900; }
h1 span { display: block; margin-top: 14px; color: var(--gold-dark); font-size: clamp(19px, 2.1vw, 26px); line-height: 1.45; letter-spacing: -.015em; }
.hero-description { max-width: 650px; margin: 23px 0 27px; color: #596a7f; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 25px; color: #68778a; font-size: 12px; }
.hero-contact a { color: var(--navy); font-weight: 750; }
.hero-contact a:hover { color: var(--gold-dark); }
.dot-separator { color: #b7c0ca; }
.hero-media { min-width: 0; }
.image-frame { position: relative; overflow: hidden; border: 7px solid white; border-radius: 23px; background: #e7ebef; box-shadow: 0 20px 55px rgba(11,31,58,.16); }
.hero-image { min-height: 390px; }
.cover-image { width: 100%; height: 100%; object-fit: cover; }
.hero-image .cover-image { position: absolute; inset: 0; min-height: 390px; transition: transform .45s ease; }
.hero-image:hover .cover-image { transform: scale(1.025); }
.image-caption {
    position: absolute; left: 18px; bottom: 17px; padding: 6px 10px; border-radius: 7px;
    color: white; background: rgba(9,26,48,.72); font-size: 10px; font-weight: 800; letter-spacing: 2px;
}
.image-placeholder {
    min-height: 220px; padding: 25px; display: grid; place-items: center; text-align: center;
    color: #66768b; background: linear-gradient(135deg, #edf1f5, #e2e7ed); font-size: 13px;
}
.hero-image .image-placeholder { min-height: 390px; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 52px; }
.highlight-card {
    display: flex; gap: 14px; align-items: flex-start; padding: 21px 22px;
    background: white; border: 1px solid #e5eaf0; border-radius: 15px;
}
.highlight-number { color: var(--gold-dark); font-size: 12px; font-weight: 900; letter-spacing: 1px; padding-top: 3px; }
.highlight-card h2 { margin: 0 0 5px; color: var(--navy); font-size: 15px; line-height: 1.4; }
.highlight-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-kicker { margin: 0 0 7px; color: var(--gold-dark); font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--navy-deep); font-size: clamp(26px, 3vw, 35px); line-height: 1.35; letter-spacing: -.02em; }
.section-intro { max-width: 760px; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.feature-card {
    padding: 30px 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(16,43,80,.025); transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-index { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 20px; border-radius: 12px; color: var(--blue); background: #e8f0fa; font-size: 15px; font-weight: 900; }
.feature-index-gold { color: #8d5b10; background: #fff0d4; }
.feature-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 23px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fbfcfe; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image { position: relative; height: 245px; overflow: hidden; background: #e7ebef; }
.product-image .cover-image { position: absolute; inset: 0; transition: transform .35s ease; }
.product-card:hover .product-image .cover-image { transform: scale(1.035); }
.product-tag { position: absolute; top: 15px; left: 15px; max-width: calc(100% - 30px); padding: 5px 10px; border-radius: 999px; color: white; background: var(--gold-dark); font-size: 11px; font-weight: 800; }
.product-tag-blue { background: var(--blue); }
.product-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 23px 23px 24px; }
.product-body h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; }
.product-body p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 13px; font-weight: 850; }
.text-link:hover { color: var(--gold-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gallery-card { margin: 0; overflow: hidden; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.gallery-card .cover-image { height: 235px; border-radius: 10px; object-fit: cover; }
.gallery-card figcaption { padding: 12px 7px 5px; color: #536379; text-align: center; font-size: 12px; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px rgba(16,43,80,.05); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 610px; background: white; font-size: 13px; }
.spec-table thead { color: white; background: var(--navy); }
.spec-table th, .spec-table td { padding: 17px 19px; border-bottom: 1px solid #e5eaf0; text-align: left; vertical-align: top; }
.spec-table thead th { font-weight: 850; }
.spec-table tbody th { width: 26%; color: var(--navy); font-weight: 800; background: #fbfcfe; }
.spec-table tbody td { color: #5d6b7d; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin: 14px 0 0; color: #6b7788; font-size: 12px; line-height: 1.8; }
.contact-section { padding-bottom: 92px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); gap: 24px; align-items: start; }
.form-card, .wechat-card, .contact-details { padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,43,80,.035); }
.form-card form { display: grid; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #35455b; font-size: 12px; font-weight: 850; }
.form-field label span { color: #b56a1a; }
.form-field input, .form-field textarea {
    width: 100%; min-width: 0; padding: 12px 14px; color: var(--ink); background: #fbfcfe;
    border: 1px solid #d4dce6; border-radius: 10px; font-size: 14px; line-height: 1.6;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,71,121,.1); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #99a4b2; }
.privacy-note { margin: 0; color: #7a8797; font-size: 11px; line-height: 1.8; }
.privacy-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form-result { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.7; }
.form-result-success { color: #17623d; background: #eaf7ef; border: 1px solid #c8e9d4; }
.form-result-error { color: #9c2f2f; background: #fff0ef; border: 1px solid #f1c8c5; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-side { display: grid; gap: 18px; }
.wechat-card { text-align: center; }
.wechat-image { width: 190px; height: 190px; margin: 0 auto 17px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #f7f9fc; }
.qr-image { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.wechat-image .image-placeholder, .modal-qr .image-placeholder { min-height: 100%; font-size: 11px; }
.wechat-card h3 { margin: 0 0 7px; color: var(--navy); font-size: 18px; }
.wechat-card p { margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.contact-details { display: grid; gap: 12px; }
.contact-details p { display: grid; grid-template-columns: 85px 1fr; gap: 10px; margin: 0; font-size: 12px; }
.contact-details p span { color: #7a8797; }
.contact-details p a { color: var(--navy); font-weight: 800; overflow-wrap: anywhere; }
.phone-open { margin-top: 4px; }
.site-footer { padding: 35px 0 27px; color: #bdc8d7; background: #0c203b; font-size: 12px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 10px 30px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-brand { margin-bottom: 5px !important; color: white; font-size: 18px; font-weight: 900; letter-spacing: 1px; }
.footer-brand span { margin-left: 8px; color: #d5a04a; font-size: 10px; letter-spacing: 1.5px; }
.footer-legal { grid-column: 1 / -1; margin-top: 18px !important; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #8292a7; font-size: 11px; }
.footer-legal a { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #f3ca82; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,17,34,.72); backdrop-filter: blur(4px); }
.modal-panel { position: relative; z-index: 1; width: min(100%, 390px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border-radius: 20px; background: white; text-align: center; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.modal-close { position: absolute; top: 12px; right: 13px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #59677a; background: #f0f3f7; font-size: 24px; line-height: 1; }
.modal-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; font-size: 20px; font-weight: 900; }
.modal-icon-wechat { color: #18875a; background: #e4f6ed; }
.modal-icon-phone { color: var(--navy); background: #eaf0f8; }
.modal-panel h2 { margin: 0 0 7px; color: var(--navy); font-size: 22px; }
.modal-panel > p:not(.modal-icon) { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.modal-qr { width: 220px; height: 220px; margin: 0 auto 19px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #f7f9fc; }
.modal-phone-number { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc; font-size: 24px !important; font-weight: 900; letter-spacing: 1px; }
.modal-phone-number a { color: var(--navy); }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.modal-open { overflow: hidden; }

/* 右侧圆形一键置顶箭头：滚动页面后出现，颜色与网站蓝金配色统一。 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(197, 138, 42, .9);
    border-radius: 50%;
    color: #fff;
    background: var(--navy, #102b50);
    box-shadow: 0 7px 22px rgba(11, 31, 58, .22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, visibility .2s ease;
}
.back-to-top[hidden] { display: none !important; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    color: var(--navy-deep, #0b1f3a);
    background: var(--gold, #c58a2a);
    box-shadow: 0 9px 25px rgba(11, 31, 58, .28);
    transform: translateY(-3px);
}
.back-to-top:focus-visible { outline: 3px solid rgba(197, 138, 42, .48); outline-offset: 4px; }
.back-to-top svg { display: block; width: 22px; height: 22px; }

@media (max-width: 980px) {
    .desktop-nav { gap: 13px; font-size: 12px; }
    .header-cta { padding-inline: 12px; }
    .hero-grid { gap: 32px; grid-template-columns: minmax(0,1fr) minmax(300px,.85fr); }
    .hero-image, .hero-image .image-placeholder, .hero-image .cover-image { min-height: 350px; }
    .highlights { gap: 12px; }
    .highlight-card { padding: 17px; }
    .product-image { height: 215px; }
}
@media (max-width: 760px) {
    .container, .container-narrow { width: min(100% - 32px, 600px); }
    .topbar-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 9px; }
    .topbar-right { gap: 10px 14px; }
    .header-inner { min-height: 70px; gap: 12px; }
    .brand-mark { width: 39px; height: 39px; font-size: 20px; }
    .brand-copy strong { font-size: 18px; }
    .brand-copy small { font-size: 9px; }
    .desktop-nav { display: none; }
    .header-cta { margin-left: auto; }
    .mobile-nav { display: flex; align-items: center; gap: 22px; padding-bottom: 11px; overflow-x: auto; white-space: nowrap; color: #536278; font-size: 12px; font-weight: 800; }
    .section { padding: 62px 0; }
    .hero { padding-top: 42px; padding-bottom: 42px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy { text-align: left; }
    h1 { font-size: clamp(32px, 8.2vw, 44px); }
    h1 span { font-size: 20px; }
    .hero-description { font-size: 14px; margin-block: 18px 22px; }
    .hero-media { max-width: 580px; width: 100%; margin-inline: auto; }
    .hero-image, .hero-image .image-placeholder, .hero-image .cover-image { min-height: 300px; }
    .highlights { grid-template-columns: 1fr; margin-top: 30px; gap: 10px; }
    .highlight-card { padding: 15px 17px; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2 { font-size: 27px; }
    .section-intro { font-size: 13px; }
    .feature-grid, .product-grid, .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 23px; }
    .feature-index { margin-bottom: 14px; }
    .product-image { height: 255px; }
    .gallery-card .cover-image { height: 245px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-card, .wechat-card, .contact-details { padding: 22px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-legal { grid-column: auto; }
}
@media (max-width: 420px) {
    .back-to-top { right: 14px; bottom: 20px; width: 44px; height: 44px; }
    .back-to-top svg { width: 20px; height: 20px; }
    .container, .container-narrow { width: calc(100% - 26px); }
    .topbar-right { font-size: 11px; }
    .header-cta { padding: 9px 10px; font-size: 11px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-contact { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; }
    .hero-contact .dot-separator { display: none; }
    .hero-contact a:last-child { grid-column: 2; }
    .hero-image, .hero-image .image-placeholder, .hero-image .cover-image { min-height: 250px; }
    .product-image { height: 225px; }
    .modal-panel { padding: 25px 20px; }
    .modal-qr { width: 195px; height: 195px; }
    .modal-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
