/* 首页专属样式 */

/* Hero 区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,186.7C960,181,1056,139,1152,128C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-section h1 {
    color: white;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
}

.stat-badge strong {
    font-size: 1.5rem;
    color: #FDE68A;
}

.stat-badge span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Hero 图像区域 */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    color: #1F2937;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1F2937;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #4B5563;
}

/* 优势卡片 */
.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* CTA 区域 */
.cta-section {
    background: #F9FAFB;
}

.cta-card {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-image {
        height: 300px;
        margin-top: 3rem;
    }

    .floating-card {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .floating-card i {
        font-size: 1.5rem;
    }

    .product-card {
        margin-bottom: 2rem;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-card .row {
        text-align: center;
    }

    .cta-card .col-lg-4 {
        margin-top: 1.5rem;
    }
}