/* Landing Page Styles - Apple Style */

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section - 柔和渐变背景 */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    position: relative;
    overflow: hidden;
}

/* 柔和的渐变装饰 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 171, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 149, 0, 0.05) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.95); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

/* 标题渐变效果 */
.hero-title .gradient-text {
    background: linear-gradient(135deg, #FFAB00, #FF6F00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, #FFAB00, #FF6F00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 修改上传区域在Hero中的样式 */
.hero-section .upload-area {
    background: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

.hero-section .editor-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: #FAFAFA;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* 卡片悬停光效 */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 171, 0, 0.03), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    animation: shimmer 0.6s ease;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.1), rgba(255, 111, 0, 0.05));
    border: 1px solid rgba(255, 171, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-base) ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.2), rgba(255, 111, 0, 0.1));
    border-color: var(--primary-color);
    transform: scale(1.1);
    color: var(--primary-dark);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 数据统计区域 - 信任体系 */
.stats-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #F8F8F8 0%, #F0F0F0 100%);
    position: relative;
    overflow: hidden;
}

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

.stats-section .section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.stats-section .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base) ease;
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(255, 171, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #FFAB00, #FF6F00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* Tutorial Section - 模仿提供的图片设计 */
.tutorial-section {
    padding: 100px 20px;
    background: #FFFFFF;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFAB00, #FF8F00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 171, 0, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

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

/* 下载结果部分样式 */
.step-result {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-result p {
    color: var(--text-primary);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: #FAFAFA;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 184, 0, 0.3);
}

.faq-question {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

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

/* 响应式设计 - 增强移动端体验 */
@media (max-width: 768px) {
    /* 导航响应式 */
    .nav-menu {
        display: none;
    }
    
    .navbar {
        backdrop-filter: saturate(180%) blur(10px);
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 56px;
    }
    
    .logo {
        width: 48px;
        height: 48px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }

    /* Hero响应式 */
    .hero-section {
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    /* 数据统计响应式 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(30, 41, 59, 0.95);
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-link:hover {
        color: var(--primary-color);
    }
}