/* ============================================================
   About 页面样式（page-about.php）
   Fixed layout: Hero / Company Profile / Our Services / CTA
   ============================================================ */

.about-page {
    --about-acc: #0066cc;
    --about-acc-2: #0066ff;
    background: #0a0e1a;
    color: #fff;
}

.about-page * {
    box-sizing: border-box;
}

.about-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- 1. Hero ---------- */
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.68) 0%, rgba(10, 14, 26, 0.84) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.about-hero-title {
    font-size: 62px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(0, 102, 255, 0.4);
}

.about-hero-sub {
    font-size: 20px;
    font-weight: 500;
    color: #6cc8ff;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ---------- 2. Company Profile ---------- */
.about-profile {
    padding: 100px 0;
    background: #0a0e1a;
}

.about-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-profile-left {
    text-align: center;
}

.about-profile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.about-logo-img {
    width: 340px;
    max-width: 100%;
    height: auto;
    display: block;
}

.about-profile-title {
    font-size: 22px;
    font-weight: 600;
    color: #6cc8ff;
    margin: 14px 0 0;
    letter-spacing: 0.02em;
}

.about-profile-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-profile-text {
    font-size: 16px;
    line-height: 1.8;
    color: #c3cce8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 3. Our Services ---------- */
.about-services {
    padding: 90px 0;
    background: #0d1220;
}

.about-services-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 60px;
    letter-spacing: -0.01em;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.about-service-card {
    background: linear-gradient(180deg, #0f1730 0%, #0d1220 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 44px 26px 40px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
    border-color: rgba(0, 102, 255, 0.4);
}

.about-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    color: var(--about-acc-2);
    margin-bottom: 24px;
}

.about-service-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #8b96b5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 4. CTA ---------- */
.about-cta {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(180deg, #0a0e1a 0%, #0d1220 100%);
}

.about-cta-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.about-cta-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #8b96b5;
    max-width: 620px;
    margin: 0 auto 40px;
}

.about-cta-btn {
    display: inline-block;
    padding: 16px 46px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, var(--about-acc) 0%, var(--about-acc-2) 100%);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 26px rgba(0, 102, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 34px rgba(0, 102, 255, 0.55);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-profile-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 22px;
    }
    .about-hero-title {
        font-size: 42px;
    }
    .about-hero {
        min-height: 55vh;
    }
    .about-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-profile-right {
        display: grid;
        grid-template-columns: 1fr;
    }
    .about-services-title {
        font-size: 30px;
        margin-bottom: 44px;
    }
    .about-profile-text {
        -webkit-line-clamp: unset;
    }
}

@media (max-width: 480px) {
    .about-services-grid {
        grid-template-columns: 1fr;
    }
}