/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.logo {
    font-size: 6em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.3);
    }
    to {
        text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 50px rgba(255,255,255,0.6);
    }
}

.slogan {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 3px solid white;
    color: white;
}

/* Section 通用样式 */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #667eea;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 特性区域 */
.features {
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.1);
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-title {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-desc {
    color: #666;
    line-height: 1.8;
}

/* 案例展示区域 */
.showcase {
    background: white;
}

.article-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.article-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.article-title {
    font-size: 1.8em;
    color: #667eea;
    margin-bottom: 15px;
}

.article-summary {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-link {
    display: inline-block;
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.article-link:hover {
    color: #667eea;
    padding-left: 10px;
}

/* 文章列表区域 */
.article-list-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.list-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.list-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    border-left-color: #667eea;
}

.list-item a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    display: block;
}

.list-item a:hover {
    color: #764ba2;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-name {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9em;
}

/* 对比展示区域 */
.comparison-section {
    background: white;
    padding: 80px 20px;
}

.comparison-container {
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.comparison-card {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.comparison-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.comparison-label.after {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.comparison-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 3em;
    }
    .slogan {
        font-size: 1.3em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .article-list {
        grid-template-columns: 1fr;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}
