/* ===== 前台宣传页样式 ===== */

:root {
    --primary: #4a90e2;
    --primary-dark: #357abd;
    --secondary: #9b59b6;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #ff4d4f;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg-light: #f5f7fa;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* ===== 导航栏 ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-actions { display: flex; gap: 12px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

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

.btn-primary:hover { background: var(--primary-dark); }

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

.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Hero Section ===== */
.hero-section { padding-top: 72px; min-height: 600px; }

.hero-slider { position: relative; }

.hero-slide {
    display: none;
    min-height: 500px;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.hero-slide.active { display: flex; align-items: center; justify-content: center; }

.hero-content { max-width: 700px; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 20px; opacity: 0.9; margin-bottom: 32px; }

/* ===== Stats ===== */
.stats-section {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: var(--text-secondary); }

/* ===== Features ===== */
.features-section { padding: 80px 0; background: var(--bg-light); }

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.feature-link { color: var(--primary); font-size: 14px; text-decoration: none; }
.feature-link:hover { text-decoration: underline; }

/* ===== Products ===== */
.products-section { padding: 80px 0; background: var(--white); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.product-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
}

.product-icon { font-size: 56px; margin-bottom: 16px; }
.product-card h3 { font-size: 22px; margin-bottom: 12px; }
.product-card p { font-size: 14px; opacity: 0.8; margin-bottom: 20px; }

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    font-size: 13px;
    padding: 4px 0;
    opacity: 0.7;
}

.product-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
}

.product-card.featured .product-link { color: var(--white); }

/* ===== Pricing ===== */
.pricing-section { padding: 80px 0; background: var(--bg-light); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

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

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
}

.pricing-icon { font-size: 48px; margin-bottom: 16px; }
.pricing-name { font-size: 24px; margin-bottom: 8px; }
.pricing-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.pricing-price { margin-bottom: 8px; }
.pricing-price .currency { font-size: 20px; vertical-align: top; }
.pricing-price .amount { font-size: 48px; font-weight: 700; color: var(--primary); }
.pricing-price .period { font-size: 14px; color: var(--text-secondary); }
.pricing-original { font-size: 14px; color: var(--text-secondary); text-decoration: line-through; margin-bottom: 20px; }

.pricing-features {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child { border-bottom: none; }

/* ===== Cases ===== */
.cases-section { padding: 80px 0; background: var(--white); }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-light);
    padding: 28px;
    border-radius: 16px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.case-header h4 { font-size: 16px; }
.case-industry {
    font-size: 12px;
    background: #e6f7ff;
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 10px;
}

.case-title { font-size: 18px; margin-bottom: 20px; }

.case-results {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.result-item { flex: 1; text-align: center; }
.result-value { font-size: 24px; font-weight: 700; color: var(--success); }
.result-label { font-size: 12px; color: var(--text-secondary); }

.case-quote {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid var(--primary);
}

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: var(--bg-light); }

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

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
}

.faq-icon { color: var(--primary); font-size: 20px; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 { font-size: 36px; margin-bottom: 12px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.cta-buttons .btn-primary { background: var(--white); color: var(--primary); }
.cta-buttons .btn-outline { border-color: var(--white); color: var(--white); }
.cta-buttons .btn-outline:hover { background: var(--white); color: var(--primary); }

/* ===== Footer ===== */
.landing-footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 { font-size: 16px; margin-bottom: 20px; }
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .features-grid,
    .product-grid,
    .pricing-grid,
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid,
    .product-grid,
    .pricing-grid,
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }
    .pricing-card.featured { transform: none; }
}