/* ===================================
   网站94 - 卡片堆叠布局
   主题：青绿清新风
   =================================== */
:root {
    --primary: #00b894;
    --primary-light: #00cec9;
    --primary-dark: #00a388;
    --accent: #0984e3;
    --bg-light: #e8f8f5;
    --bg-card: #ffffff;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --border: #dfe6e9;
    --shadow: 0 4px 20px rgba(0, 184, 148, 0.15);
    --shadow-hover: 0 15px 50px rgba(0, 184, 148, 0.25);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 */
.nav-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    color: #fff;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
}

.logo p {
    font-size: 12px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    display: block;
    padding: 12px 22px;
    color: rgba(255,255,255,0.9);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    padding: 100px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 统计数据 */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 50px;
    background: #fff;
}

.stat-item {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--bg-light);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
}

/* 卡片堆叠区 */
.stack-section {
    padding: 80px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-gray);
}

/* 堆叠卡片容器 */
.stack-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.stack-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    margin-bottom: -50px;
    position: relative;
    z-index: 1;
}

.stack-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.stack-card:nth-child(1) { margin-bottom: 0; }
.stack-card:nth-child(2) { margin-top: 60px; margin-bottom: -50px; }
.stack-card:nth-child(3) { margin-top: 60px; margin-bottom: -50px; }
.stack-card:nth-child(4) { margin-top: 60px; margin-bottom: -50px; }
.stack-card:nth-child(5) { margin-top: 60px; margin-bottom: -50px; }
.stack-card:nth-child(6) { margin-top: 60px; }

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.stack-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stack-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 80px 50px;
    background: #fff;
}

.feature-box {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-box:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.feature-box h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 价格区 */
.pricing {
    padding: 80px 50px;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.price-header h4 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 16px;
    color: var(--text-gray);
}

.price-features {
    list-style: none;
    margin: 25px 0;
}

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

.price-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary);
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* CTA区 */
.cta {
    padding: 80px 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
}

.cta h3 {
    font-size: 34px;
    color: #fff;
    margin-bottom: 15px;
}

.cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 45px;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    padding: 60px 50px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.footer-contact strong {
    color: #fff;
}

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

/* 响应式 */
@media (max-width: 1200px) {
    .stack-card {
        margin-bottom: -30px;
    }
    .stack-card:nth-child(2),
    .stack-card:nth-child(3),
    .stack-card:nth-child(4),
    .stack-card:nth-child(5),
    .stack-card:nth-child(6) {
        margin-top: 40px;
        margin-bottom: -30px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .features-grid,
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }

    .stack-section,
    .features-grid,
    .pricing,
    .cta {
        padding: 50px 20px;
    }

    .stack-card {
        margin-bottom: 0 !important;
        margin-top: 20px !important;
    }

    .features-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }
}
