/* 覆盖主站样式，适配landing page布局 */

/* Hero Section - 左右分布布局 */
.landing-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    color: var(--text-primary);
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    column-gap: 20px 40px;
}

.hero-logo {
    text-align: center;
    justify-self: center;
}

.hero-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.2));
    transition: all var(--transition-speed) ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(59, 130, 246, 0.3));
}

.hero-text {
    text-align: left;
    justify-self: start;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-subtitle {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta-container {
    text-align: center;
    justify-self: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: rgba(30, 41, 59, 0.9);
}

.hero-cta:hover::before {
    left: 100%;
}

/* Product Gallery - 轮播图展示 */
.product-gallery {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-carousel {
    position: relative;
    margin-top: 2rem;
}

.gallery-slide {
    display: none;
    text-align: center;
}

.gallery-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.gallery-slide img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.gallery-caption {
    margin-top: 1rem;
    text-align: center;
}

.gallery-caption p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.gallery-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 鼠标悬停切换轮播图 */
.gallery-dot:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Stats Section - 更小更紧凑 */
.stats-section {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Features Section - 三栏布局 */
.features-section {
    padding: 80px 0;
    background: transparent;
}

.features-three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 第一栏：大卡片样式 */
.feature-card-large {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.feature-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #64748b, #94a3b8, #64748b);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.feature-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.55);
}

.feature-card-large:hover::before {
    opacity: 1;
}

.feature-title-large {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

.feature-description-large {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.2;
    text-align: center;
}

/* 第二栏：视图选择样式 */
.view-options {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    height: fit-content;
}

.view-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-gray);
    text-align: center;
}

.view-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.view-card:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

.view-card:last-child {
    margin-bottom: 0;
}

.view-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.view-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}


/* How it works section */
.how-it-works {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 0 20px;
}

.step-card {
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 1.8rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-speed) ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-glass);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    color: var(--text-primary);
    z-index: 2;
}

/* Gallery lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Footer - 一行显示样式 */
footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

footer a {
    margin: 0;
    white-space: nowrap;
}

footer p {
    margin: 0;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-logo {
        justify-self: center;
    }
    
    .hero-logo img {
        width: 200px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 600px;
        justify-self: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .landing-hero {
        padding: 60px 0 40px;
    }
    
    .features-three-column {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .features-column {
        gap: 1.5rem;
    }
    
    .feature-card-large {
        padding: 1.5rem;
    }
    
    .feature-icon-large {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title-large {
        font-size: 1.2rem;
    }
    
    .view-options {
        padding: 1.5rem;
    }
    
    .view-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .view-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .view-icon {
        font-size: 1.3rem;
    }
    
    .view-name {
        font-size: 0.9rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-carousel {
        margin-top: 1.5rem;
    }
    
    .gallery-slide img {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* 移动端footer样式 */
    footer {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }
} 