/* ============ Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue-deep: #0D47A1;
  --blue: #1565C0;
  --blue-bright: #1A6DFF;
  --gold: #C9A84C;
  --gold-light: #E3C76C;
  --teal: #0097A7;
  --teal-deep: #006064;
  --violet: #673AB7;
  --violet-deep: #4527A0;
  --bg: #F6F9FC;
  --text: #455A64;
  --text-light: #607D8B;
  --muted: #90A4AE;
  --border: #E3F2FD;
  --card-shadow: 0 2px 12px rgba(13,71,161,0.06);
  --card-shadow-hover: 0 12px 32px rgba(13,71,161,0.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'PingFang SC','Microsoft YaHei','Noto Sans SC',sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* ============ Scroll progress bar ============ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold));
  z-index: 200; transition: width .1s linear;
}

/* ============ Header ============ */
.header {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 80px; height: 72px; position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s, height .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(13,71,161,0.12); }
.header-left { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; object-fit: contain; transition: transform .3s; }
.brand-text { font-size: 20px; font-weight: 700; color: var(--blue-deep); letter-spacing: 3px; line-height: 1.1; }
.brand-en { font-size: 10px; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }
.nav { display: flex; gap: 34px; }
.nav a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav a:hover { color: var(--blue-bright); }
.nav a::after { content:''; position:absolute; left:50%; bottom:-6px; width:0; height:2px; background:var(--blue-bright); transition: width .2s, left .2s; }
.nav a:hover::after { width:100%; left:0; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 50%, var(--blue-bright) 100%);
  padding: 100px 80px 90px; color: #fff; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.hero-bg-1 { top:-100px; right:-80px; width:380px; height:380px; background:radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%); }
.hero-bg-2 { bottom:-80px; left:-60px; width:300px; height:300px; background:radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 65%); }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: 46px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; letter-spacing: 2px; }
.hero-text .accent { color: var(--gold); }
.hero-text p { font-size: 16px; color: rgba(255,255,255,0.88); line-height: 1.8; margin-bottom: 32px; max-width: 560px; }
.hero-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: 1px; transition: transform .2s, box-shadow .2s; }
.hero-btn.primary { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(201,168,76,0.35); }
.hero-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.45); }
.hero-btn.ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.hero-btn.ghost:hover { background: rgba(255,255,255,0.2); }
.hero-logo { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-logo::before { content:''; position:absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15); }
.hero-logo-img { width: 240px; height: 240px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); position: relative; z-index: 1; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============ Stats ============ */
.stats { background: #fff; padding: 30px 80px; box-shadow: 0 4px 20px rgba(13,71,161,0.06); position: relative; z-index: 2; }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 12px; border-right: 1px solid #ECEFF1; }
.stat:last-child { border-right: none; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--blue-deep); letter-spacing: 1px; }
.stat-num .unit { font-size: 17px; color: var(--blue-bright); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: 2px; }

/* ============ Section common ============ */
.section { padding: 80px 80px; }
.section.bg-gray { background: var(--bg); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--blue-deep); letter-spacing: 2px; }
.section-head .en { color: var(--blue-bright); font-size: 13px; letter-spacing: 4px; margin-top: 6px; }
.section-head .divider { width: 50px; height: 3px; background: linear-gradient(90deg, var(--blue-bright), var(--gold)); margin: 16px auto 0; border-radius: 2px; }
.section-head .desc { font-size: 15px; color: var(--text-light); margin-top: 16px; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ============ Reveal animations (scroll) ============ */
.reveal { opacity: 0; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal[data-reveal="up"]    { transform: translateY(42px); }
.reveal[data-reveal="left"]  { transform: translateX(-56px); }
.reveal[data-reveal="right"] { transform: translateX(56px); }
.reveal[data-reveal="zoom"]  { transform: scale(.9); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ Cards (products / services) ============ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: #fff; border-radius: 16px; padding: 34px 30px; box-shadow: var(--card-shadow); transition: box-shadow .25s; border-top: 4px solid var(--blue-bright); position: relative; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
.product-card::before { content:''; position:absolute; top:0; right:0; width:90px; height:90px; background:radial-gradient(circle at top right, rgba(26,109,255,0.08), transparent 70%); }
.product-card:hover { box-shadow: var(--card-shadow-hover); }
.product-card.p2 { border-top-color: var(--gold); }
.product-card.p2::before { background: radial-gradient(circle at top right, rgba(201,168,76,0.1), transparent 70%); }
.product-card.p3 { border-top-color: var(--teal); }
.product-card.p3::before { background: radial-gradient(circle at top right, rgba(0,151,167,0.1), transparent 70%); }
.product-card.p4 { border-top-color: var(--violet); }
.product-card.p4::before { background: radial-gradient(circle at top right, rgba(103,58,183,0.1), transparent 70%); }
.product-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(135deg, #E3F2FD, #BBDEFB); color: var(--blue-bright); font-size: 26px; }
.product-card.p2 .product-icon { background: linear-gradient(135deg, #FFF3D6, #F5E6B8); color: var(--gold); }
.product-card.p3 .product-icon { background: linear-gradient(135deg, #E0F7FA, #B2EBF2); color: var(--teal); }
.product-card.p4 .product-icon { background: linear-gradient(135deg, #EDE7F6, #D1C4E9); color: var(--violet); }
.product-tag { display: inline-block; font-size: 11px; color: var(--blue-bright); background: #E3F2FD; padding: 3px 10px; border-radius: 10px; margin-bottom: 10px; letter-spacing: 1px; }
.product-card.p2 .product-tag { color: var(--gold); background: #FFF3D6; }
.product-card.p3 .product-tag { color: var(--teal); background: #E0F7FA; }
.product-card.p4 .product-tag { color: var(--violet); background: #EDE7F6; }
.product-card h3 { font-size: 20px; font-weight: 700; color: var(--blue-deep); margin-bottom: 4px; }
.product-card .sub-en { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 12px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.product-card .features { list-style: none; margin-bottom: 20px; }
.product-card .features li { font-size: 13px; color: var(--text); padding: 4px 0 4px 18px; position: relative; }
.product-card .features li::before { content:'✓'; position:absolute; left:0; color: var(--blue-bright); font-weight: 700; }
.product-card.p2 .features li::before { color: var(--gold); }
.product-card.p3 .features li::before { color: var(--teal); }
.product-card.p4 .features li::before { color: var(--violet); }
.product-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue-bright); text-decoration: none; transition: gap .2s; }
.product-card.p2 .product-link { color: var(--gold); }
.product-card.p3 .product-link { color: var(--teal); }
.product-card.p4 .product-link { color: var(--violet); }
.product-link:hover { gap: 10px; }

/* ============ Product detail showcase (alternating) ============ */
.showcase { padding: 80px 80px; }
.showcase.s1 { background: #fff; }
.showcase.s2 { background: var(--bg); }
.showcase.s3 { background: #fff; }
.showcase.s4 { background: var(--bg); }
.showcase-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase.reverse .showcase-inner { direction: rtl; }
.showcase.reverse .showcase-text { direction: ltr; }
.showcase-text .tag { display: inline-block; font-size: 12px; color: var(--blue-bright); background: #E3F2FD; padding: 4px 12px; border-radius: 12px; margin-bottom: 14px; letter-spacing: 1px; font-weight: 600; }
.showcase.s2 .tag { color: var(--gold); background: #FFF3D6; }
.showcase.s3 .tag { color: var(--teal); background: #E0F7FA; }
.showcase.s4 .tag { color: var(--violet); background: #EDE7F6; }
.showcase-text h2 { font-size: 30px; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; letter-spacing: 1px; }
.showcase-text .h2-en { font-size: 12px; color: var(--muted); letter-spacing: 3px; margin-bottom: 20px; }
.showcase-text > p { font-size: 15px; color: var(--text-light); line-height: 1.85; margin-bottom: 22px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.feature-item { background: var(--bg); border-radius: 10px; padding: 16px; border-left: 3px solid var(--blue-bright); }
.showcase.s2 .feature-item { background: #fff; border-left-color: var(--gold); }
.showcase.s3 .feature-item { border-left-color: var(--teal); }
.showcase.s4 .feature-item { border-left-color: var(--violet); }
.feature-item .ft-title { font-size: 14px; font-weight: 700; color: var(--blue-deep); margin-bottom: 4px; }
.feature-item .ft-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }
.metric-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.metric .m-num { font-size: 26px; font-weight: 700; color: var(--blue-deep); }
.metric .m-num .m-unit { font-size: 14px; color: var(--blue-bright); }
.showcase.s2 .metric .m-num .m-unit { color: var(--gold); }
.showcase.s3 .metric .m-num .m-unit { color: var(--teal); }
.showcase.s4 .metric .m-num .m-unit { color: var(--violet); }
.metric .m-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-top: 2px; }

/* Showcase visual */
.showcase-visual { position: relative; }
.visual-card { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); border-radius: 20px; padding: 36px; color: #fff; box-shadow: 0 20px 50px rgba(13,71,161,0.25); position: relative; overflow: hidden; }
.showcase.s2 .visual-card { background: linear-gradient(135deg, #8B6914, var(--gold)); box-shadow: 0 20px 50px rgba(201,168,76,0.25); }
.showcase.s3 .visual-card { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); box-shadow: 0 20px 50px rgba(0,96,100,0.25); }
.showcase.s4 .visual-card { background: linear-gradient(135deg, var(--violet-deep), var(--violet)); box-shadow: 0 20px 50px rgba(69,39,160,0.25); }
.visual-card::before { content:''; position:absolute; top:-40px; right:-40px; width:160px; height:160px; background:radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%); border-radius:50%; }
.visual-card::after { content:''; position:absolute; bottom:-40px; left:-40px; width:120px; height:120px; background:radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%); border-radius:50%; }
.visual-icon { font-size: 44px; margin-bottom: 14px; position: relative; z-index: 1; }
.visual-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; position: relative; z-index: 1; letter-spacing: 1px; }
.visual-card .v-en { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 2px; margin-bottom: 18px; position: relative; z-index: 1; }
.visual-list { position: relative; z-index: 1; }
.visual-list .vl-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 13px; }
.visual-list .vl-item:last-child { border-bottom: none; }
.visual-list .vl-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.visual-list .vl-text strong { display: block; font-weight: 600; }
.visual-list .vl-text span { font-size: 11px; color: rgba(255,255,255,0.75); }

/* Tech badges */
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.tech-badge { font-size: 11px; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.showcase.s2 .tech-badge { background: #FFFDF5; border-color: #F5E6B8; }
.showcase.s3 .tech-badge { background: #F0FDFF; border-color: #B2EBF2; }
.showcase.s4 .tech-badge { background: #F5F2FA; border-color: #D1C4E9; }

/* ============ Pipeline flow (开源生态) ============ */
.flow-chain { position: relative; z-index: 1; }
.flow-step { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 12px 14px; }
.flow-step .fs-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.flow-step .fs-text strong { display: block; font-size: 14px; font-weight: 700; }
.flow-step .fs-text span { font-size: 11px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.flow-arrow { text-align: center; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1; padding: 3px 0; }

/* ============ Architecture diagram (AI 自评小助手) ============ */
.arch-stack { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.arch-layer { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 12px 14px; opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.arch-stack.visible .arch-layer { opacity: 1; transform: none; }
.arch-stack.visible .arch-layer:nth-child(1) { transition-delay: .05s; }
.arch-stack.visible .arch-layer:nth-child(2) { transition-delay: .2s; }
.arch-stack.visible .arch-layer:nth-child(3) { transition-delay: .35s; }
.arch-stack.visible .arch-layer:nth-child(4) { transition-delay: .5s; }
.arch-layer-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.arch-layer-title .lt-en { font-size: 9px; font-weight: 400; color: rgba(255,255,255,0.6); letter-spacing: 1px; }
.arch-layer-title .lt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); flex-shrink: 0; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.arch-chip { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.12); white-space: nowrap; }
.arch-groups { display: flex; flex-direction: column; gap: 8px; }
.arch-group-label { font-size: 10px; color: var(--gold-light); letter-spacing: 1px; margin-bottom: 4px; font-weight: 600; }

/* ============ Services (网络安全服务) ============ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: 16px; padding: 30px 28px; box-shadow: var(--card-shadow); transition: box-shadow .25s; border-left: 4px solid var(--blue-bright); position: relative; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
.service-card::after { content:''; position:absolute; bottom:-50px; right:-50px; width:120px; height:120px; background:radial-gradient(circle, rgba(26,109,255,0.06), transparent 70%); }
.service-card:hover { box-shadow: var(--card-shadow-hover); }
.service-card.gold { border-left-color: var(--gold); }
.service-card.teal { border-left-color: var(--teal); }
.service-card .svc-icon { font-size: 30px; margin-bottom: 14px; display: block; }
.service-card h4 { font-size: 17px; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.service-card .svc-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .svc-tags span { font-size: 11px; color: var(--muted); background: var(--bg); padding: 2px 8px; border-radius: 6px; }

/* ============ Solutions / Industries ============ */
.solutions { background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%); padding: 90px 80px; color: #fff; position: relative; overflow: hidden; }
.solutions::before {
  content:''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 42px 42px;
  background-attachment: fixed;
  opacity: .5; pointer-events: none;
}
.solutions-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.solutions .section-head h2 { color: #fff; }
.solutions .section-head .en { color: var(--gold-light); }
.solutions .section-head .desc { color: rgba(255,255,255,0.8); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 24px 20px; transition: background .2s, transform .2s; }
.industry-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.industry-card .ind-icon { font-size: 30px; margin-bottom: 12px; }
.industry-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.industry-card p { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ============ CTA Strip ============ */
.cta-strip { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); padding: 60px 80px; color: #fff; text-align: center; }
.cta-strip h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-strip .hero-btn.primary { padding: 15px 40px; font-size: 16px; }

/* ============ Footer ============ */
.footer { background: #082D5C; color: rgba(255,255,255,0.6); padding: 50px 80px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.footer-col p, .footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; line-height: 1.9; display: block; transition: color .2s; overflow-wrap: anywhere; word-break: break-word; }
.footer-col a:hover { color: #42A5F5; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-logo { width: 36px; height: 36px; }
.footer-brand .name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.footer-copy { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .header { padding: 0 20px; height: 64px; }
  .brand-text { font-size: 17px; }
  .nav { display: none; }
  .hero { padding: 60px 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-text h1 { font-size: 30px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btn-group { justify-content: center; }
  .hero-logo-img { width: 160px; height: 160px; }
  .hero-logo::before { width: 190px; height: 190px; }
  .stats { padding: 24px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { border-right: none; }
  .section, .showcase, .solutions, .cta-strip { padding: 50px 20px; }
  .section-head h2 { font-size: 26px; }
  .product-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { grid-template-columns: 1fr; gap: 36px; }
  .showcase.reverse .showcase-inner { direction: ltr; }
  .feature-list { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .visual-card { padding: 24px; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translateY(30px); }
}

/* ============ Contact Modal ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 45, 92, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-content {
  position: relative;
  background: #fff; border-radius: 18px;
  width: 100%; max-width: 560px;
  padding: 36px 40px 32px;
  box-shadow: 0 30px 80px rgba(8, 45, 92, 0.35);
  transform: translateY(24px) scale(.96);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.is-open .modal-content { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--bg); color: var(--text-light);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: #E3F2FD; color: var(--blue-deep); transform: rotate(90deg); }
.modal-title { font-size: 24px; font-weight: 700; color: var(--blue-deep); letter-spacing: 1px; }
.modal-sub { font-size: 12px; color: var(--muted); letter-spacing: 2px; margin-top: 6px; }
.modal-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 24px; align-items: center; }
.modal-info { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.modal-info li { display: flex; align-items: flex-start; gap: 12px; }
.mi-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
}
.mi-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; letter-spacing: 1px; }
.mi-text { font-size: 15px; font-weight: 600; color: var(--blue-deep); word-break: break-all; }
.mi-text a { color: var(--blue-bright); text-decoration: none; }
.mi-text a:hover { text-decoration: underline; }
.modal-qr { text-align: center; }
.qr-img {
  width: 100%; max-width: 170px; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(13,71,161,0.10);
}
.qr-label { font-size: 12px; color: var(--text-light); margin-top: 10px; letter-spacing: 1px; }
@media (max-width: 900px) {
  .modal-content { padding: 28px 22px 24px; }
  .modal-body { grid-template-columns: 1fr; gap: 22px; }
  .modal-qr { order: -1; }
  .qr-img { max-width: 150px; }
}

/* ============ 防复制保护 ============ */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img { -webkit-user-drag: none; user-drag: none; }
