/* 基础样式已在 common.css 中定义 */
body {
    padding-top: 80px; /* 为固定头部留出空间 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
    animation: fadeInDown 1s ease-out;
}

.hero-content {
    margin: 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.hero-description {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    margin-top: 5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #0066ff 0%, #0080ff 50%, #00bfff 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    animation: fadeInUp 1.2s ease-out;
}

.cta-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white !important;
    color: #0066ff !important;
    padding: 1rem 3rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    width: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    line-height: 1.5 !important;
    height: auto !important;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 1rem 3rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    box-sizing: border-box !important;
    width: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    line-height: 1.5 !important;
    height: auto !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
