/* 英雄部分样式 */

.hero {
    background:
        linear-gradient(145deg, rgba(237, 244, 252, 0.93) 0%, rgba(221, 238, 249, 0.89) 50%, rgba(241, 243, 246, 0.93) 100%),
        url('../image/circuit_board.jpg') center / cover no-repeat;
    color: var(--primary-dark);
    padding: 5rem 20px 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(26, 95, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-dark);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    color: var(--text-main);
    position: relative;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-feature {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(13, 31, 60, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.hero-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 31, 60, 0.1);
}

.hero-feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hero-feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.5;
}

.hero-cta {
    margin-top: 2.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 20px 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}
