/* main.css */
a {
    text-decoration: none;
}

/* 初始化动画可见性控制 */
.page-loaded .animate-fade-in,
.page-loaded .animate-slide-up,
.page-loaded .animate-slide-down,
.page-loaded .animate-scale-in {
    visibility: visible;
}

/* 基础布局类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero__video-container {
    position: relative;
    height: 100%;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Stats Section */
.hero__stats {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--color-background);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--color-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card__icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card__icon-wrap i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--color-primary);
}

/* Brand Showcase Section */
.brand-showcase {
    padding: 100px 0;
    background: var(--color-white);
    overflow: hidden;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
    max-width: 550px;
}

.showcase-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.title-accent {
    color: var(--color-gray-800);
    display: block;
    margin-top: 0.5rem;
}

.showcase-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showcase-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.showcase-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;  /* 使用 flexbox 布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
}

.showcase-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-image:hover img {
    transform: scale(1.05);
}

.showcase-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(var(--color-primary-rgb), 0.1),
        rgba(var(--color-primary-rgb), 0)
    );
}

/* 按钮效果 */
.btn--ripple {
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* 动画延迟类 */
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; }
.delay-600 { animation-delay: 0.6s !important; }

/* 响应式设计 */
@media (max-width: 992px) {
    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .showcase-features {
        justify-content: center;
    }
    
    .showcase-title {
        font-size: 2rem;
    }

    .showcase-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .showcase-features {
        flex-direction: column;
        align-items: center;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }
}