/* ===== Contact Page Styles ===== */

/* --- Hero Section --- */
.contact-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(160deg, #0b0f1a 0%, #0f1726 30%, #131f35 60%, #0e1a2d 100%);
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 178, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(254, 166, 49, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(100,50,200,0.08), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.contact-hero .hero-tag {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(0, 178, 255, 0.4);
    border-radius: 30px;
    color: var(--blue, #00B2FF);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    position: relative;
}

.contact-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.contact-hero .hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Quick Contact Cards --- */
.quick-contact {
    padding: 80px 0;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(0,178,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0,178,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.quick-contact .section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(15, 25, 35, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(15, 25, 35, 0.12);
}

.quick-card .qc-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.quick-card .qc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy, #0F1923);
    margin-bottom: 8px;
}

.quick-card .qc-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.quick-card .qc-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue, #00B2FF);
    word-break: break-all;
}

.quick-card .qc-value a {
    color: var(--blue, #00B2FF);
    text-decoration: none;
    transition: color 0.2s;
}

.quick-card .qc-value a:hover {
    color: var(--orange, #FEA631);
}

/* --- Staff Groups Section --- */
.staff-section {
    padding: 0 0 80px;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(0,178,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0,178,255,0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.staff-section .section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.staff-section .section-title {
    text-align: center;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--navy, #0F1923);
    margin-bottom: 12px;
}

.staff-section .section-desc {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 48px;
}

.staff-group {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(15, 25, 35, 0.06);
}

.staff-group-header {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef1f5;
}

.staff-group-header .group-bar {
    width: 4px;
    height: 28px;
    border-radius: 2px;
    margin-right: 14px;
    flex-shrink: 0;
}

.staff-group-header .group-bar.bar-blue { background: var(--blue, #00B2FF); }
.staff-group-header .group-bar.bar-orange { background: var(--orange, #FEA631); }
.staff-group-header .group-bar.bar-green { background: #34d399; }
.staff-group-header .group-bar.bar-purple { background: #a78bfa; }

.staff-group-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy, #0F1923);
    margin: 0;
}

.staff-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.staff-card:hover {
    border-color: rgba(0, 178, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 178, 255, 0.08);
}

.staff-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(254, 166, 49, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.staff-info {
    flex: 1;
    min-width: 0;
}

.staff-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy, #0F1923);
    margin-bottom: 4px;
}

.staff-role {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.staff-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

.staff-contact-row .label {
    color: #999;
}

.staff-contact-row .value {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--navy, #0F1923);
}

.copy-wechat-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: none;
    border-radius: 20px;
    background: var(--blue, #00B2FF);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.copy-wechat-btn:hover {
    background: #009de0;
    transform: scale(1.05);
}

.copy-wechat-btn:active {
    transform: scale(0.97);
}

/* --- Toast Notification --- */
#copyToast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(15, 25, 35, 0.92);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

#copyToast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Company Info Section --- */
.company-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
    color: #fff;
}

.company-section .section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.company-details h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 32px;
}

.company-details h2 span {
    color: var(--blue, #00B2FF);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.detail-item .detail-label {
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    min-width: 80px;
}

.detail-item .detail-value {
    color: rgba(255, 255, 255, 0.9);
}

.company-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 178, 255, 0.15), rgba(254, 166, 49, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.company-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.02) 20px,
        rgba(255, 255, 255, 0.02) 40px
    );
}

.company-photo span {
    position: relative;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 4px;
}

.company-brand {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding: 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .company-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 130px 20px 70px;
    }
    .quick-contact {
        padding: 60px 0;
    }
    .quick-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .quick-card {
        padding: 28px 20px;
    }
    .staff-group {
        padding: 24px 18px;
    }
    .staff-list {
        grid-template-columns: 1fr;
    }
    .staff-card {
        padding: 16px;
    }
    .company-section {
        padding: 60px 0;
    }
    .company-brand {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 120px 16px 60px;
    }
    .staff-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .staff-contact-row {
        justify-content: center;
    }
}
