/* =========================================
   全局底部 (Footer) - 纯净分离版
========================================= */
.footer-section { background-color: var(--auth-blue); color: var(--white); padding: 80px 0 20px; margin-top: 0 !important; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; margin-bottom: 50px; }

/* 1. 左侧品牌矩阵 */
.footer-left-matrix { display: flex; flex-direction: column; gap: 40px; }
.footer-brand h2 { font-size: 2.2rem; font-weight: 900; line-height: 1.2; color: var(--white); margin: 0 0 20px 0; }
.footer-brand > p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0 0 25px 0; line-height: 1.7; max-width: 90%; }

.footer-contact-details { list-style: none; padding: 0; margin: 0; }
.footer-contact-details li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; color: #cbd5e1; font-size: 1.1rem; }
.footer-contact-details i { color: var(--warn-yellow); font-size: 1.4rem; width: 25px; text-align: center; }
.footer-contact-details strong { color: var(--white); font-size: 1.3rem; letter-spacing: 1px; font-weight: 700; }

/* 微信二维码模块 */
.footer-wechat-box { display: flex; gap: 20px; align-items: center; margin-top: 35px; padding-top: 35px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-wechat-img-box { background-color: var(--white); padding: 5px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); flex-shrink: 0;}
.footer-wechat-img-box img { width: 80px; height: 80px; object-fit: cover; border: 1px solid var(--border-color); border-radius: 4px; display: block; }
.footer-wechat-info p.w-title { color: var(--warn-yellow); font-weight: 900; font-size: 1.1rem; margin: 0 0 5px 0; }
.footer-wechat-info p.w-desc { color: #cbd5e1; font-size: 0.95rem; margin: 0; }

/* 链接导航 */
.footer-nav-links { display: flex; gap: 60px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.nav-column h4 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin: 0 0 20px 0; letter-spacing: 1px; }
.nav-column ul { list-style: none; padding: 0; margin: 0; }
.nav-column li { margin-bottom: 12px; }
.nav-column a { color: #cbd5e1; font-size: 0.95rem; transition: var(--transition, all 0.3s ease); display: inline-block; text-decoration: none; }
.nav-column a:hover { color: var(--warn-yellow); transform: translateX(5px); }

/* 2. 右侧悬浮表单矩阵 */
.footer-right-matrix { display: flex; flex-direction: column; }
.footer-form-breakout { transform: translateY(-30px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); position: relative; z-index: 10; background-color: var(--white); padding: 45px; border-radius: 8px; color: var(--text-main); }
.footer-form-breakout h3 { font-size: 1.8rem; color: var(--auth-blue); margin: 0 0 10px 0; font-weight: 900; }
.footer-form-breakout > p { color: var(--text-light); margin: 0 0 25px 0; font-size: 0.95rem; }

/* 带图标的高级输入框组合 */
.input-icon-wrapper { position: relative; margin-bottom: 18px; width: 100%; }
.input-icon-wrapper i { position: absolute; left: 18px; top: 18px; color: #94a3b8; font-size: 1.1rem; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; pointer-events: none; }
.input-icon-wrapper .enhanced-input { width: 100%; padding: 16px 16px 16px 48px; border: 1px solid #cbd5e1; border-radius: 4px; font-family: inherit; font-size: 1rem; color: var(--text-main); background-color: #f8fafc; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-bottom: 0; box-sizing: border-box; }
.input-icon-wrapper .enhanced-textarea { resize: vertical; min-height: 110px; padding-top: 16px; }
.input-icon-wrapper .enhanced-input:focus { outline: none; border-color: var(--auth-blue); background-color: var(--white); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }
.input-icon-wrapper:focus-within i { color: var(--auth-blue); }

.submit-btn { width: 100%; font-size: 1.15rem; padding: 16px 0; font-weight: 900; letter-spacing: 1px; transition: all 0.3s ease; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; }

/* 信任背书模块 */
.footer-trust-badges { margin-top: -5px; text-align: center; }
.footer-trust-badges p.secure-notice { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0 0 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 12px; }
.footer-trust-badges p.secure-notice i { color: var(--eco-green); margin-right: 5px; }
.trust-badges-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-badges-list span { color: #cbd5e1; font-size: 0.85rem; font-weight: 500; }
.trust-badges-list span i { color: var(--warn-yellow); margin-right: 5px; }

/* 3. 版权区域 */
.copyright-area { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 25px; color: #cbd5e1; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.copyright-area a { color: #cbd5e1; transition: color 0.3s; text-decoration: none; }
.copyright-area a:hover { color: var(--white); }

/* =========================================
   4. 移动端自适应 (Mobile Responsiveness)
========================================= */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr; gap: 40px; margin-bottom: 30px; }
    .footer-form-breakout { transform: translateY(0); box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-top: 0; }
    .footer-trust-badges { margin-top: 20px; }
    .footer-brand > p { max-width: 100%; }
}

@media (max-width: 768px) {
    .footer-section { padding: 60px 0 30px; }
    .footer-brand h2 { font-size: 1.8rem; }
    .footer-nav-links { flex-wrap: wrap; gap: 30px; }
    .nav-column { width: 45%; } /* 手机端导航两列显示 */
    
    .footer-wechat-box { flex-direction: column; align-items: flex-start; gap: 15px; }
    
    .footer-form-breakout { padding: 30px 20px; }
    .footer-form-breakout h3 { font-size: 1.5rem; }
    
    .copyright-area { flex-direction: column; gap: 15px; text-align: center; }
}