/* ============================================================
   量子膜首页特有样式 — 导航 · 英雄区 · 产品线 · 技术 · 品牌 · 加盟
   依赖 common.css
   ============================================================ */

/* ========== Navigation (首页深色导航) ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,31,63,.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--brand-dark); font-weight: 900; font-size: 18px; }
.nav-logo-text { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.nav-logo-sub { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .5px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition); position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-gold); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--brand-gold); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--brand-gold); color: var(--brand-dark) !important; padding: 8px 20px; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--brand-gold-light) !important; color: var(--brand-dark) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }

/* ========== Hero ========== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(160deg, #060f1e 0%, #0a1f3f 40%, #0d284f 100%); overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px), radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .15; }
.hero-glow-1 { top: -200px; right: -100px; background: var(--brand-gold); }
.hero-glow-2 { bottom: -200px; left: -100px; background: var(--accent-teal); }
.hero-inner { position: relative; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 120px 24px 0; }
.hero-topline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-tag { display: inline-block; padding: 6px 16px; background: rgba(200,164,92,.15); border: 1px solid rgba(200,164,92,.3); border-radius: 20px; color: var(--brand-gold); font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.hero-location { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.5); font-size: 14px; }
.hero-title { font-size: clamp(36px, 2.5vw, 54px); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.hero-title span { color: var(--brand-gold); }
.hero-company { font-size: clamp(14px, 1.2vw, 18px); color: rgba(255,255,255,.45); margin-bottom: 24px; font-weight: 500; }
.hero-sub { font-size: clamp(14px, 1.1vw, 18px); color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 36px; max-width: 600px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-split-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 28px 32px; backdrop-filter: blur(10px); text-decoration: none; transition: var(--transition); display: flex; align-items: center; gap: 20px; }
.hero-split-card:hover { border-color: rgba(200,164,92,.4); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.hero-split-icon { width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.hero-split-icon.window { background: rgba(26,115,232,.2); color: #6ba4ff; }
.hero-split-icon.ppf { background: rgba(217,48,37,.2); color: #ff6b6b; }
.hero-split-icon.building { background: rgba(16,185,129,.2); color: #34d399; }
.hero-split-info h4 { font-size: 16px; color: #fff; font-weight: 700; margin-bottom: 4px; }
.hero-split-info p { font-size: 13px; color: rgba(255,255,255,.45); }
.hero-split-arrow { color: var(--brand-gold); font-size: 20px; flex-shrink: 0; }

/* ========== Section Common (首页版) ========== */
.section { padding: 100px 24px; }
.section-dark { background: var(--brand-blue); color: #fff; content-visibility: auto; contain-intrinsic-size: auto 500px; }
.section-light { background: var(--bg-light); content-visibility: auto; contain-intrinsic-size: auto 500px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--brand-gold); margin-bottom: 12px; text-transform: uppercase; }
.section-title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.section-dark .section-title { color: #fff; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-sub { color: rgba(255,255,255,.5); }
.section-footer { text-align: center; margin-top: 32px; }
.section-footer a { color: var(--brand-blue); font-weight: 600; font-size: 15px; transition: var(--transition); }
.section-footer a:hover { color: var(--brand-gold); }

/* ========== Product Line ========== */
.product-line { padding: 100px 24px; content-visibility: auto; contain-intrinsic-size: auto 600px; }
.product-line.window-film { background: linear-gradient(180deg, var(--bg-white) 0%, #f0f4f8 100%); }
.product-line.ppf-film { background: linear-gradient(180deg, #fafafa 0%, var(--bg-white) 100%); }
.product-line-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-line-reverse .product-line-inner { direction: rtl; }
.product-line-reverse .product-line-inner > * { direction: ltr; }
.product-line-badge { display: inline-block; padding: 5px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.product-line-badge.window { background: #dbeafe; color: #1e40af; }
.product-line-badge.ppf { background: #fee2e2; color: #991b1b; }
.product-line-title { font-size: clamp(22px, 3vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.product-line-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.product-line-features { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.product-line-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.product-line-features li::before { content: '◆'; color: var(--brand-gold); font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.product-line-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.product-line-spec { background: var(--bg-light); padding: 16px 12px; border-radius: var(--radius-sm); text-align: center; }
.product-line-spec-val { font-size: 22px; font-weight: 800; color: var(--brand-blue); line-height: 1.2; }
.product-line-spec-lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.product-line-visual { position: relative; }
.product-line-visual-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.product-line-visual-header { padding: 20px 24px; background: var(--brand-blue); }
.product-line-visual-header h4 { color: #fff; font-size: 15px; }
.product-line-visual-header p { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 4px; }
.product-line-visual-body { padding: 20px 24px; }
.product-line-visual-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.product-line-visual-item:last-child { border-bottom: none; }
.product-line-visual-item-name { font-size: 14px; font-weight: 600; }
.product-line-visual-item-val { font-size: 14px; color: var(--brand-blue); font-weight: 700; }

/* ========== Series Grid ========== */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.series-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 28px; transition: var(--transition); }
.series-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.series-card-badge { display: inline-block; padding: 3px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; }
.badge-flagship { background: #fef3c7; color: #92400e; }
.badge-premium { background: #dbeafe; color: #1e40af; }
.badge-performance { background: #d1fae5; color: #065f46; }
.series-card-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.series-card-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.series-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.series-card-specs { display: flex; gap: 12px; flex-wrap: wrap; }
.series-spec { text-align: center; min-width: 56px; }
.series-spec-val { font-size: 17px; font-weight: 700; color: var(--brand-blue); }
.series-spec-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ========== Tech Grid ========== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tech-card { text-align: center; padding: 40px 28px; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); transition: var(--transition); }
.tech-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tech-card-icon { font-size: 40px; margin-bottom: 20px; }
.tech-card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.tech-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.tech-grid-dark .tech-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.tech-grid-dark .tech-card:hover { background: rgba(255,255,255,.08); }
.tech-grid-dark .tech-card-title { color: #fff; }
.tech-grid-dark .tech-card-desc { color: rgba(255,255,255,.5); }

/* ========== Company ========== */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.company-info h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.company-info p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.company-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.company-contact-item { background: var(--bg-light); padding: 20px; border-radius: var(--radius-sm); }
.company-contact-item .label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 4px; }
.company-contact-item .value { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.company-map { background: linear-gradient(135deg, #e8edf5, #dce3ed); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; min-height: 320px; color: var(--text-muted); font-size: 15px; text-align: center; padding: 32px; }

/* ========== Trust ========== */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trust-card { text-align: center; padding: 32px 20px; }
.trust-card-icon { font-size: 36px; margin-bottom: 12px; }
.trust-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.trust-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== CTA Banner ========== */
.cta-banner { background: linear-gradient(135deg, var(--brand-dark), var(--brand-blue)); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(200,164,92,.15), transparent 60%); }
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-banner-sub { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 32px; }
.cta-banner .btn { font-size: 16px; padding: 16px 40px; }

/* ========== Glass Shield ========== */
.shield-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.shield-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.shield-spec { background: var(--bg-light); padding: 18px; border-radius: var(--radius-sm); }
.shield-spec-val { font-size: 24px; font-weight: 800; color: var(--brand-blue); }
.shield-spec-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.shield-card { background: linear-gradient(135deg, var(--bg-light), #e8edf5); border-radius: var(--radius-lg); padding: 44px; text-align: center; }
.shield-card-icon { font-size: 72px; margin-bottom: 16px; }
.shield-card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.shield-card-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.shield-card-checks { text-align: left; padding-top: 20px; border-top: 1px solid var(--border-light); }
.shield-card-checks > div { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--text-secondary); }
.shield-card-checks > div::before { content: '✓'; color: #137333; font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* ========== 加盟咨询 ========== */
.franchise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.franchise-benefits { display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 16px; padding: 20px; background: #fff; border-radius: var(--radius-md); border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: border-color .3s, transform .3s, box-shadow .3s; }
.benefit-item:hover { border-color: var(--brand-gold); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200,164,92,.12); }
.benefit-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.benefit-text h4 { font-size: 1rem; font-weight: 600; color: var(--brand-blue); margin-bottom: 4px; }
.benefit-text p { font-size: .85rem; color: #6b7280; margin: 0; }
.franchise-form { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius-md); padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.franchise-form .form-row { display: flex; gap: 16px; }
.franchise-form .form-group { flex: 1; margin-bottom: 18px; }
.franchise-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.franchise-form label .req { color: #ef4444; }
.franchise-form input,
.franchise-form select,
.franchise-form textarea { width: 100%; padding: 10px 14px; background: #f9fafb; border: 1px solid #d1d5db; border-radius: 6px; color: var(--text-primary); font-size: .9rem; font-family: inherit; outline: none; transition: border-color .3s, box-shadow .3s; }
.franchise-form input:focus,
.franchise-form select:focus,
.franchise-form textarea:focus { border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(200,164,92,.12); }
.franchise-form input::placeholder,
.franchise-form textarea::placeholder { color: #9ca3af; }
.franchise-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.franchise-form select option { background: #fff; color: var(--text-primary); }
.franchise-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 4px; }
.form-feedback { margin-top: 12px; padding: 12px 16px; border-radius: 6px; font-size: .85rem; display: none; }
.form-feedback.success { display: block; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.form-feedback.error { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.franchise-form .field-error { border-color: #ef4444 !important; }

/* ========== Footer (首页版) ========== */
.footer { background: var(--brand-dark); color: rgba(255,255,255,.45); padding: 64px 24px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.footer-brand-sub { font-size: 13px; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.footer-brand-desc { font-size: 13px; line-height: 1.8; max-width: 320px; }
.footer-col-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; transition: var(--transition); }
.footer-col-links a:hover { color: var(--brand-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }

/* ========== Homepage Responsive ========== */
@media (max-width: 1024px) {
  .hero-title { font-size: 36px; }
  .hero-split { grid-template-columns: repeat(2, 1fr); }
  .hero-split-card { padding: 24px; }
  .product-line-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-line-visual { order: -1; }
  .shield-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--brand-blue); flex-direction: column; padding: 20px 24px; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-title { font-size: clamp(26px, 6vw, 36px); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-company { font-size: 15px; }
  .section { padding: clamp(40px, 8vw, 80px) 20px; }
  .section-title { font-size: clamp(22px, 5vw, 32px); }
  .product-line-title { font-size: clamp(22px, 5vw, 30px); }
  .product-line-specs { grid-template-columns: repeat(2, 1fr); }
  .series-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 40px); }
  .cta-banner-title { font-size: clamp(20px, 4vw, 28px); }
  .company-contact { grid-template-columns: 1fr; }
  .shield-specs { grid-template-columns: 1fr 1fr; }
  .franchise-grid { grid-template-columns: 1fr; gap: 32px; }
  .franchise-form .form-row { flex-direction: column; gap: 0; }
  .franchise-form { padding: 24px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .section-title { font-size: 20px; }
  .product-line-title { font-size: 22px; }
  .product-line-specs { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
