﻿/* About.css - 边距压缩版 */

:root {
    --primary-color: #2b2bad;
    --primary-dark: #1e1e7a;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(83, 42, 211, 0.1);
    --transition: all 0.3s ease;
    --overlay-dark: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
}

.about-hero {
    position: relative;
    width: 100vw;
    height: 12vh;
    min-height: 120px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

    .hero-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-content .lead {
        font-size: 1.3rem;
        font-weight: 300;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
    }

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.about-section {
    margin-bottom: 30px;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
}

.tech-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.tech-tag {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: default;
}

    .tech-tag:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(83, 42, 211, 0.2);
    }

.tech-desc p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.cooperation-desc {
    background: var(--background-light);
    border-radius: 0;
    padding: 18px 20px;
    margin-bottom: 25px;
}

    .cooperation-desc h4 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin: 0 0 8px 0;
        font-weight: 600;
    }

    .cooperation-desc p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: var(--text-dark);
        margin: 0;
    }

.contact-section {
    text-align: center;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(83, 42, 211, 0.03), rgba(83, 42, 211, 0.08));
    border-top: 3px solid var(--primary-color);
}

    .contact-section h4 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin-bottom: 12px;
        font-weight: 600;
    }

.contact-info {
    margin-bottom: 20px;
}

.contact-email {
    font-size: 1.2rem;
}

    .contact-email a {
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: none;
    }

        .contact-email a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

    .cta-button:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(83, 42, 211, 0.2);
        color: var(--white);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .about-hero {
        height: 25vh;
        min-height: 180px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .about-container {
        padding: 20px 20px 30px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 20vh;
        min-height: 150px;
        background-attachment: scroll;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .about-container {
        padding: 16px 16px 30px;
    }

    .about-section {
        margin-bottom: 20px;
    }

    .about-intro p {
        font-size: 1rem;
    }

    .tech-tag {
        font-size: 0.85rem;
        padding: 5px 16px;
    }

    .tech-desc p {
        font-size: 0.95rem;
    }

    .cooperation-desc {
        padding: 16px 16px;
        margin-bottom: 20px;
    }

        .cooperation-desc h4 {
            font-size: 1.1rem;
        }

        .cooperation-desc p {
            font-size: 0.95rem;
        }

    .contact-section {
        padding: 25px 20px;
    }

        .contact-section h4 {
            font-size: 1.5rem;
        }

    .contact-email {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 0.7rem 1.6rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 25vh;
        min-height: 120px;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content .lead {
        font-size: 0.9rem;
    }

    .about-container {
        padding: 12px 12px 20px;
    }

    .tech-tags {
        gap: 8px;
    }

    .tech-tag {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .cooperation-desc {
        padding: 12px 12px;
        margin-bottom: 16px;
    }

        .cooperation-desc h4 {
            font-size: 1rem;
        }

        .cooperation-desc p {
            font-size: 0.9rem;
        }

    .contact-section {
        padding: 20px 16px;
    }

        .contact-section h4 {
            font-size: 1.3rem;
        }

    .contact-email {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.6rem 1.3rem;
        font-size: 0.9rem;
    }
}
