/* 首页英雄区域 */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 70%;
    background: radial-gradient(circle, rgba(99, 172, 241, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 35%;
    height: 60%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: -2;
}

/* 特性概览 */
.features-overview {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.features-overview::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 172, 241, 0.05), transparent 70%);
    top: 10%;
    left: -150px;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 100%;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* 编辑器展示 */
.editor-showcase {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-dark), rgba(15, 23, 42, 0.95));
    position: relative;
    overflow: hidden;
}

.editor-showcase::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05), transparent 70%);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
}

.editor-showcase .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.showcase-content {
    flex: 1;
}

.showcase-image {
    flex: 1.2;
}

.showcase-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
}

.showcase-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.showcase-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.showcase-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* AI助手区域 */
.ai-assistant {
    padding: 5rem 0;
    position: relative;
}

.ai-assistant::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 172, 241, 0.05), transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    z-index: -1;
}

.ai-assistant .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.assistant-image {
    flex: 1.2;
    position: relative;
}

.assistant-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
}

.assistant-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.assistant-content {
    flex: 1;
}

.assistant-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.assistant-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.assistant-features li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 多语言支持 */
.language-support {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-dark), rgba(15, 23, 42, 0.95));
    position: relative;
    overflow: hidden;
}

.language-support::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05), transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.language-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.language-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.language-card:hover img {
    transform: scale(1.1);
}

.language-card h3 {
    margin-bottom: 0.5rem;
}

.language-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 使用选项 */
.usage-options {
    padding: 5rem 0;
    position: relative;
}

.usage-options::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 172, 241, 0.05), transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.option-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.9));
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.option-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.option-card:hover::after {
    transform: scaleX(1);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: all 0.5s ease;
}

.option-card:hover .option-icon {
    transform: scale(1.1);
}

.option-card h3 {
    margin-bottom: 1rem;
}

.option-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 50px;
}

/* CTA区域 */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    background-size: cover;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 172, 241, 0.05), rgba(236, 72, 153, 0.05));
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    position: relative;
}

/* 动画类 */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

.stagger-delay-4 {
    transition-delay: 0.4s;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero .container, 
    .editor-showcase .container, 
    .ai-assistant .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content, 
    .showcase-content,
    .showcase-image,
    .assistant-content,
    .assistant-image {
        max-width: 100%;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .features-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
} 