/* 首页样式 */

/* Hero Banner */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
    min-width: 160px;
    padding: 12px 32px;
    font-size: 16px;
}

/* 轮播控制器 */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* 公司简介 */
.about-section {
    background: #ffffff;
}

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

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

.about-image {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

/* 核心优势 */
.advantages-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
}

.advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.advantage-description {
    color: var(--gray-color);
    line-height: 1.8;
}

/* 产品展示 */
.products-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 100px 0;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.product-card {
    background: #ffffff;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.products-grid .product-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.product-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid .product-card:nth-child(2) .product-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.products-grid .product-card:nth-child(2):hover .product-icon {
    box-shadow: 0 12px 30px rgba(240, 147, 251, 0.4);
}

.product-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.products-grid .product-card:nth-child(2) .product-badge {
    background: linear-gradient(135deg, #f093fb20 0%, #f5576c20 100%);
    color: #f5576c;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-desc {
    color: #718096;
    line-height: 1.75;
    font-size: 16px;
    margin-bottom: 28px;
}

.product-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag i {
    color: #667eea;
}

.product-card:nth-child(2) .feature-tag i {
    color: #f5576c;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
}

.product-card:nth-child(2) .feature-tag:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-tag:hover i {
    color: #ffffff;
}

.product-actions {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.product-actions .btn {
    width: 100%;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.products-grid .product-card:nth-child(2) .btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.products-grid .product-card:nth-child(2) .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.4);
}

/* 合作伙伴 */
.partners-section {
    background: #f5f7fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 80px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
    text-align: center;
}

/* 动画 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-section {
        height: 500px;
    }

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

    .about-content {
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card {
        padding: 40px 32px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .products-section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 36px 28px;
    }

    .product-title {
        font-size: 26px;
    }

    .product-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .product-features {
        flex-direction: column;
    }

    .feature-tag {
        width: 100%;
        justify-content: center;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

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

    .product-card {
        padding: 32px 24px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .product-desc {
        font-size: 14px;
    }

    .product-badge {
        padding: 6px 16px;
        font-size: 13px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}
