/* 首屏部分 */
.hero-section {
    height: 50vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(20, 40, 80, 0.98) 0%,
        rgba(42, 82, 152, 0.90) 35%,
        rgba(50, 100, 180, 0.85) 50%,
        rgba(42, 82, 152, 0.90) 65%,
        rgba(20, 40, 80, 0.98) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

#matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--light-text);
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-content .slogan {
    font-size: 2.5rem;
    letter-spacing: 3px;
    line-height: 1.4;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content .highlight {
    font-size: 3.2rem;
    font-weight: 700;
    margin-right: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务内容区域 */
.products-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--dark-bg);
    font-weight: 700;
    letter-spacing: 1px;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.product-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.product-icon {
    flex: 0 0 300px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.product-icon .icon {
    width: 120px;
    height: 120px;
    fill: #fff;
}

.product-content {
    flex: 1;
    padding: 4rem;
}

.product-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.product-content .description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 1;
}

.features h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.features li {
    position: relative;
    padding-left: 1.8rem;
    color: #666;
    font-size: 1.1rem;
}

.features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .hero-image {
        width: 45%;
        right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 100px;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        position: relative;
        width: 80%;
        right: auto;
        top: auto;
        transform: none;
        margin: 3rem auto 0;
    }

    .product-card,
    .product-card:nth-child(even) {
        flex-direction: column;
    }

    .product-icon {
        flex: 0 0 auto;
        padding: 3rem;
    }

    .product-content {
        padding: 2rem;
    }

    .features ul {
        grid-template-columns: 1fr;
    }

    .hero-content .slogan {
        font-size: 1.8rem;
    }
    
    .hero-content .highlight {
        font-size: 2.2rem;
    }
} 

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    z-index: 10;
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    fill: var(--light-text);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

/* 当页面滚动时隐藏指示器 */
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
} 

.product-icon svg {
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon svg {
    transform: rotate(10deg);
} 