/* =============================================
   联系页面 (contact.html) 专属样式
   ============================================= */

/* 动画关键帧 */
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-30px) scale(1.3); opacity: .8; }
}

/* ---- Hero ---- */
.contact-hero{padding:160px 0 80px;background:linear-gradient(135deg,#0b1421 0%,#162a4a 50%,#1c365a 100%);color:#fff;text-align:center;position:relative;overflow:hidden}.contact-hero::before{content:'';position:absolute;top:-60%;left:-30%;width:160%;height:200%;background:radial-gradient(ellipse at 30% 40%,rgba(37,99,235,.1) 0%,transparent 60%),radial-gradient(ellipse at 70% 60%,rgba(59,130,246,.06) 0%,transparent 50%)}.contact-hero-overlay{position:absolute;inset:0;background:rgba(0,0,0,.6);z-index:0}.contact-hero-particles{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;overflow:hidden;z-index:1}.contact-hero-particles span{position:absolute;width:6px;height:6px;background:rgba(255,255,255,.08);border-radius:50%;animation:floatParticle 8s infinite ease-in-out}.contact-hero-particles span:nth-child(1){top:15%;left:10%;width:8px;height:8px;animation-delay:0s}.contact-hero-particles span:nth-child(2){top:30%;right:15%;width:5px;height:5px;animation-delay:1.5s;background:rgba(59,130,246,.15)}.contact-hero-particles span:nth-child(3){top:55%;left:20%;width:10px;height:10px;animation-delay:3s;background:rgba(255,255,255,.05)}.contact-hero-particles span:nth-child(4){top:70%;right:25%;width:6px;height:6px;animation-delay:4.5s}.contact-hero-particles span:nth-child(5){top:40%;left:50%;width:4px;height:4px;animation-delay:2s;background:rgba(59,130,246,.12)}.contact-hero-particles span:nth-child(6){top:20%;right:40%;width:7px;height:7px;animation-delay:5.5s}.contact-hero .container{position:relative;z-index:2}.contact-hero-badge{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:3px;color:#93c5fd;background:rgba(59,130,246,.15);padding:6px 20px;border-radius:50px;border:1px solid rgba(59,130,246,.25);margin-bottom:20px;position:relative}.contact-hero h1{font-size:3rem;font-weight:800;margin-bottom:14px;position:relative;letter-spacing:-.5px}.contact-hero h1 span{background:linear-gradient(135deg,#60a5fa,#a78bfa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.contact-hero p{color:rgba(255,255,255,.6);font-size:1.1rem;max-width:600px;margin:0 auto;position:relative;line-height:1.7}

/* ---- Main Content ---- */
.contact-main { padding: 80px 0 60px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 28px; text-align: left; transition: all .3s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.07); border-color: #bfdbfe; }
.contact-card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 14px; margin: 0 0 16px; color: #2563eb; }
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: .95rem; font-weight: 700; color: #1e293b; margin: 0 0 10px; }
.contact-card-value { display: block; font-size: 1rem; font-weight: 700; color: #2563eb; text-decoration: none; margin-bottom: 6px; word-break: break-all; }
.contact-card-value:hover { color: #1d4ed8; }
.contact-card-value--text { color: #1e293b; }
.contact-card-tip { font-size: .82rem; color: #4d4d4d; margin: 0; }

.contact-wechat-row { display: flex; align-items: center; gap: 16px; text-align: left; }
.contact-wechat-qr { width: 110px; height: 110px; border-radius: 12px; flex-shrink: 0; object-fit: cover; }
.contact-wechat-id { font-size: .88rem; color: #475569; line-height: 1.5; }
.contact-wechat-id strong { color: #1e293b; }

.contact-bottom { max-width: 500px; margin: 50px auto 0; text-align: center; }
.contact-bottom-divider { position: relative; margin-bottom: 28px; }
.contact-bottom-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e2e8f0; }
.contact-bottom-divider span { position: relative; z-index: 1; background: #f8fafc; padding: 0 16px; font-size: .85rem; color: #94a3b8; display: inline-block; }
.contact-bottom-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-bottom-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: .92rem; font-weight: 600; border-radius: 12px; text-decoration: none; transition: all .3s ease; }
.contact-bottom-btn svg { width: 18px; height: 18px; }
.contact-bottom-btn--primary { color: #fff; background: #2563eb; }
.contact-bottom-btn--primary:hover { color: #fff; background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.contact-bottom-btn--secondary { color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; }
.contact-bottom-btn--secondary:hover { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; transform: translateY(-2px); }

/* ---- Responsive ---- */
@media(max-width:768px){.contact-hero{padding:140px 0 60px}.contact-hero h1{font-size:2rem}}
@media(max-width:1024px){.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.contact-main{padding:50px 0}.contact-grid{grid-template-columns:1fr}.contact-bottom{max-width:100%}}
@media(max-width:480px){.contact-bottom-btn{width:100%;justify-content:center}}

/* ---- Map ---- */
.contact-map { padding: 0 0 60px; background: #f8fafc; }
.contact-map .mapbox { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
