/* =========================================================
   联系我们 · 主体独有样式
   复用 home.css 的全局变量 / 导航栏 / 页脚 / 按钮 / 弹窗
   本文件只包含联系我们页主体区所需的样式
   ========================================================= */

/* ---------- 页面顶部留白（导航栏高度 64px） ---------- */
.contact-page {
    padding-top: 88px;
    padding-bottom: 80px;
    background: #0a0a14;
    min-height: 100vh;
}
.hero-section {
    text-align: center;
    margin-bottom: 40px;

}
.hero-tag {
    color: #88adf2;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-family: monospace;
}
.hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #dbe7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ---------- 三栏合作方式卡片 ---------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 36px 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}
.contact-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(59, 130, 246, 0.15);
}
.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.contact-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-card-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
    line-height: 1.4;
}
.contact-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 20px;
}
.contact-card-action {
    margin-bottom: 16px;
}
.contact-card-action .btn {
    font-size: 15px;
    padding: 10px 22px;
    cursor: pointer;
}
.contact-card-footer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-card-footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.contact-card-footer a:hover {
    color: #3b82f6;
}
.contact-card-footer svg {
    width: 14px;
    height: 14px;
}

/* ---------- 下一行：直接联系 + 扫码 ---------- */
.contact-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* 直接联系卡片 */
.contact-direct {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 24px;
    padding: 36px 32px;
}
.contact-direct-title {
    margin: 0 0 24px;
}
.contact-direct-title .tag {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.contact-direct-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}
.contact-direct-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.25s;
}
.contact-item:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.06);
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: #93c5fd;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-item-body {
    flex: 1;
    min-width: 0;
}
.contact-item-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 3px;
}
.contact-item-value {
    font-size: 15px;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-item-value a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-item-value a:hover {
    color: #3b82f6;
}

/* 扫码卡片 */
.contact-qr {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-qr-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 6px;
}
.contact-qr-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 28px;
}
.contact-qr-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.contact-qr-item {
    text-align: center;
}
.contact-qr-img {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    background: white;
    padding: 8px;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
.contact-qr-img img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}
.contact-qr-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- 底部 CTA ---------- */
.contact-cta {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.35) 0%, rgba(59, 130, 246, 0.18) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 28px;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.2), transparent 60%),
                radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
}
.contact-cta-inner {
    position: relative;
    z-index: 1;
}
.contact-cta-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0 0 14px;
    letter-spacing: 1px;
}
.contact-cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px;
}
.contact-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-cta-buttons .btn {
    font-size: 17px;
    padding: 14px 36px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .contact-cards { grid-template-columns: 1fr; }
    .contact-row { grid-template-columns: 1fr; }
    .contact-direct-grid { grid-template-columns: 1fr; }
    .contact-cta-title { font-size: 32px; }
}
@media (max-width: 560px) {
    .contact-page { padding-top: 72px; padding-bottom: 48px; }
    .contact-card { padding: 28px 22px 22px; }
    .contact-direct { padding: 28px 22px; }
    .contact-qr { padding: 32px 22px; }
    .contact-qr-grid { gap: 16px; }
    .contact-qr-img { width: 108px; height: 108px; }
    .contact-cta { padding: 40px 22px; }
    .contact-cta-title { font-size: 26px; }
}
