/* 全局重置与基础样式 */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #ffffff;
    --bg-light: #f3f4f6;
    --border-color: #e5e7eb;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

/* 布局工具 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-main);
}

.bg-light {
    background-color: var(--bg-light);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片样式 */
.card {
    background: var(--bg-main);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

/* 导航栏 */
.header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-main);
    font-weight: 500;
}

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

/* 主视觉区 Hero */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    position: relative;
}

/* 动态图卡样式 */
.dynamic-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    transform: rotateY(-10deg) rotateX(10deg);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 350px;
}

@keyframes float {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(5deg); }
    100% { transform: translateY(0px) rotateY(-10deg) rotateX(10deg); }
}

.glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
    z-index: -1;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(0.9); }
}

.pulse-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 25px;
}

.stats {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.stat-item {
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
}

.stat-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.stat-item .value {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.status-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.status-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    animation: loading 2.5s ease-in-out infinite;
    transform-origin: left;
}

@keyframes loading {
    0% { transform: scaleX(0.1); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0.1); }
}

/* 核心优势 & AI卡片 */
.feature-card, .media-card {
    text-align: center;
}

.feature-card .icon, .media-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3, .media-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p, .media-card p {
    color: var(--text-muted);
}

/* 价格套餐 */
.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.price span {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 评价与FAQ */
.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
}

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

.faq-item {
    margin-bottom: 25px;
    background: var(--bg-main);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-muted);
}

/* 页脚 */
.footer {
    background: #111827;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #6b7280;
    font-size: 0.9rem;
    border-top: 1px solid #374151;
    padding-top: 30px;
}

/* 响应式设计 - 移动端优先考虑 */
@media (max-width: 768px) {
    .nav {
        display: none; /* 移动端隐藏中间导航，保持极简 */
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* 文章卡片样式 */
.article-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover h3 {
    color: var(--primary-color);
}
.article-img {
    height: 180px;
    background-color: #e5e7eb;
}
.cover-1 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.cover-2 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
.cover-3 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.cover-4 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.cover-5 { background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%); }
.cover-6 { background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); }
.cover-7 { background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%); }
.cover-8 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.cover-9 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.article-content {
    padding: 20px;
    flex: 1;
}
.article-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
    transition: color 0.2s;
}
.article-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 子页面样式 */
.page-header {
    background: var(--bg-light);
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.content-section h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.content-section p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
}

.content-section li {
    margin-bottom: 10px;
}
