/* 主导航板块通用样式 */
.main-section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.main-section:last-of-type {
    border-bottom: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 板块标题 */
.section-header {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    opacity: 0.7;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 核心技术卡片网格 */
.tech-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.tech-highlight-card {
    padding: 32px 28px;
    background: var(--background-primary);
    border-radius: 14px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.tech-highlight-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.tech-highlight-card .card-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.tech-highlight-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.tech-highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
    align-self: flex-start;
}

.card-link:hover {
    color: var(--accent-color);
}

/* 行业应用展示 */
.applications-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.app-showcase-item {
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.app-showcase-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.app-showcase-item .app-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.app-showcase-item h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.app-showcase-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 成果展示 */
.achievements-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.achievement-highlight {
    padding: 32px 24px;
    background: var(--background-secondary);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-highlight:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.achievement-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.6;
}

.achievement-label .subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

/* 关于我们板块 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text .section-header {
    text-align: left;
    margin: 0 0 30px 0;
}

.about-text .section-header h2,
.about-text .section-subtitle {
    text-align: left;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-item {
    padding: 20px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    min-height: 350px;
}

.about-image .placeholder-image {
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
}

/* 合作单位板块 */
.partners-section {
    background: var(--background-primary);
    padding-bottom: 70px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

.partner-logo {
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(118, 75, 162, 0.3);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-logo img {
    max-height: 64px;
    width: 100%;
    max-width: 180px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
    transform: translateY(-4px);
}

.partner-logo:hover img {
    transform: scale(1.04);
}

/* 行动按钮 */
.section-action {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.action-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: transparent;
}

.action-link:hover {
    color: white;
    background-color: var(--primary-color);
}

[data-theme="light"] .action-link {
    color: var(--primary-color);
}

/* 轮播按钮样式增强 */
.carousel-btn {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 16px;
    cursor: pointer;
    border: 2px solid transparent;
}

.carousel-btn:hover {
    background: var(--background-primary);
    border-color: white;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-section {
        padding: 40px 16px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .tech-highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .applications-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .achievements-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text .section-header {
        text-align: center;
    }

    .about-text .section-header h2,
    .about-text .section-subtitle {
        text-align: center;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px;
    }

    .action-link {
        font-size: 0.9rem;
        padding: 10px 24px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .partner-logo {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .tech-highlights-grid {
        grid-template-columns: 1fr;
    }

    .applications-showcase {
        grid-template-columns: 1fr;
    }

    .achievements-highlights {
        grid-template-columns: 1fr;
    }

    .app-showcase-item {
        padding: 20px;
    }

    .achievement-highlight {
        padding: 24px 16px;
    }

    .partners-section {
        padding-bottom: 50px;
    }

    .partner-logo {
        padding: 14px;
    }
}