/**
 * 首页样式 - 装饰性黑白设计
 */

/* Hero区域 - 装饰性设计 */
.hero-decorated {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 2px, transparent 2px);
    background-size: 40px 40px;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-right: 40px;
}

.hero-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-left: 40px;
    position: relative;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--bg-dark);
}

.hero-title {
    margin-bottom: 32px;
    padding: 40px 0;
}

.title-main {
    display: block;
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: var(--text-primary);
}

.title-sub {
    display: block;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    margin-top: 16px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-large {
    padding: 20px 48px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-xl {
    padding: 24px 60px;
    font-size: 18px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 32px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero右侧图片 */
.hero-image {
    position: relative;
}

.image-decoration {
    position: relative;
}

.image-decoration::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--border-black);
    z-index: -1;
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-dark);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

.badge-icon {
    font-size: 20px;
}

.hero-bottom-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--bg-dark) 0px,
        var(--bg-dark) 20px,
        transparent 20px,
        transparent 40px
    );
}

/* 特性展示区 */
.features-showcase {
    padding: 120px 0;
    background: var(--bg-gray);
}

.section-header-decorated {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-number {
    font-size: 120px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--border-color);
    text-stroke: 2px var(--border-color);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: 0.3em;
}

.features-grid-decorated {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-item-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
    aspect-ratio: 3/2;
}

.feature-content {
    padding: 40px;
}

.feature-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 24px;
}

.feature-list li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 24px;
    border: 2px solid var(--border-black);
    background: var(--bg-primary);
    transition: var(--transition);
}

.feature-list li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* 统计区 */
.stats-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.stat-card .stat-value {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* CTA区域 */
.cta-decorated {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    padding: 100px 60px;
    background: var(--bg-dark);
    color: white;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        white 20px,
        white 40px
    );
}

.cta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    position: relative;
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    position: relative;
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-decorated .btn {
    position: relative;
}

/* 响应式 */
@media (max-width: 1200px) {
    .hero-content-grid {
        gap: 60px;
    }
    
    .title-main {
        font-size: 80px;
    }
    
    .feature-item-large {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-decorated {
        padding: 80px 0 60px;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .title-main {
        font-size: 56px;
    }
    
    .title-sub {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .image-decoration::before {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-number {
        font-size: 80px;
        top: -30px;
    }
    
    .feature-item-large {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-reverse {
        direction: ltr;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .feature-list {
        flex-direction: column;
        gap: 12px;
    }
    
    .feature-list li {
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-content {
        padding: 60px 40px;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 42px;
    }
    
    .hero-label {
        font-size: 10px;
        padding-left: 30px;
    }
    
    .hero-label::before {
        width: 20px;
    }
    
    .btn-large {
        padding: 18px 36px;
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .feature-content {
        padding: 24px;
    }
    
    .stat-card {
        padding: 40px 24px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-content {
        padding: 48px 24px;
    }
}
