/* ===================================
   首页样式 - index.css
   北京硕宸行科技有限公司官网
   =================================== */

/* ===== Hero Banner ===== */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 24px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 16px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1.4s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 14px;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== 核心数据展示 ===== */
.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(43, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(43, 90, 160, 0.2);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
}

.stat-label {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.5;
}

/* ===== 核心业务 ===== */
.business-section {
    padding: 96px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.business-card {
    background: white;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.business-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 90, 160, 0.1), rgba(212, 175, 55, 0.1));
}

.business-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.business-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.business-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.business-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.business-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    display: inline-block;
}

/* ===== 企业成就 ===== */
.achievement-section {
    padding: 96px 0;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.achievement-card {
    background: white;
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.achievement-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.achievement-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.achievement-card h3 {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.achievement-card p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===== 合作伙伴 ===== */
.partners-section {
    padding: 96px 0;
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.partner-stat {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.partner-stat-number {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    font-family: Arial, sans-serif;
}

.partner-stat-label {
    font-size: 14px;
    color: var(--text-medium);
}

.partners-showcase {
    text-align: center;
}

.partners-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.partners-names {
    font-size: 18px;
    color: white;
    line-height: 2;
}

/* ===== 响应式设计 ===== */

/* 平板端 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .stats-grid,
    .business-grid,
    .achievement-grid,
    .partners-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
    }

    .stat-number {
        font-size: 40px;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 500px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .stats-grid,
    .business-grid,
    .achievement-grid,
    .partners-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    .business-card,
    .achievement-card {
        padding: 32px 24px;
    }

    .achievement-icon {
        font-size: 56px;
    }

    .achievement-card h3 {
        font-size: 24px;
    }

    .partner-stat-number {
        font-size: 32px;
    }

    .partners-names {
        font-size: 16px;
    }
}
