/* ========================================
   链上汽车 - 首页专用样式
   全屏一屏一主题视差布局
======================================== */

/* Hero Section - 首屏全屏 Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(196, 18, 48, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 25px;
    letter-spacing: 8px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(50px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-secondary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-dot {
    width: 6px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 3px;
    animation: scrollDown 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* 视差区块 */
.parallax-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.85);
}

.parallax-content {
    position: relative;
    z-index: 2;
}

/* 核心优势板块 */
.features-section {
    background: var(--color-bg-darker);
    padding: 120px 0;
}

.feature-card {
    background: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* 快速入口 */
.quick-access {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    padding: 100px 0;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
}

.access-item {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    group: access;
}

.access-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.access-item:hover .access-image {
    transform: scale(1.15);
}

.access-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: all var(--transition-normal);
}

.access-item:hover .access-overlay {
    background: linear-gradient(to bottom, rgba(196, 18, 48, 0.8) 0%, rgba(139, 13, 34, 0.95) 100%);
}

.access-title {
    font-size: 20px;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 8px;
}

.access-desc {
    font-size: 14px;
    color: var(--color-secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-fast);
}

.access-item:hover .access-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 关于我们预览 */
.about-preview {
    background: var(--color-bg-dark);
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.experience-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.experience-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
    display: block;
}

.about-content h3 {
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* CTA 区块 */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn-white {
    background: var(--color-white);
    color: var(--color-primary);
}

.cta-btn-white:hover {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 32px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
}

/* 首页新闻列表特殊样式 */
.home-news-section {
    background: var(--color-bg-darker);
    padding: 120px 0;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background: var(--color-bg-light);
    color: var(--color-text-main);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-tab:hover,
.news-tab.active {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.news-category-group {
    margin-bottom: 60px;
}

.news-category-title {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--color-primary);
}
