/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    background-image: radial-gradient(rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #27ae60;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2ecc71;
}

/* 英雄区域 */
.hero {
    margin-top: 70px;
    padding: 80px 0;
    background-color: #000000;
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 50%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

/* 核心功能 */
.features {
    padding: 80px 0;
    background-color: #000000;
    background-image: radial-gradient(rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(46, 204, 113, 0.2);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: radial-gradient(rgba(46, 204, 113, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.4);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 产品特点 */
.product-highlights {
    padding: 80px 0;
    background-color: #000000;
    background-image: radial-gradient(rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item.reverse {
    flex-direction: row-reverse;
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #ffffff;
}

.highlight-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.highlight-image {
    flex: 1;
    text-align: center;
}

.highlight-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.1);
}

/* 版本价格 */
.pricing {
    padding: 80px 0;
    background-color: #000000;
    background-image: radial-gradient(rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffffff;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

/* 在大屏幕上强制显示4列 */
@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-image: radial-gradient(rgba(46, 204, 113, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 204, 113, 0.4);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.pricing-card.featured {
    border-color: #2ecc71;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2);
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.plan-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-size: 14px;
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.price .period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

.pricing-body {
    padding: 20px;
}

.feature-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
}

.pricing-footer {
    padding: 0 20px 20px;
    text-align: center;
}

.pricing-footer .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
}

.pricing-card.featured .pricing-footer .btn-primary {
    background-color: #2ecc71;
    color: white;
}

/* 下载区域 */
.download {
    padding: 80px 0;
    background-color: #000000;
    color: white;
    text-align: center;
    background-image: radial-gradient(rgba(46, 204, 113, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.download h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffffff;
}

.download .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.download-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-note {
    font-size: 14px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.7);
}

/* 页脚 */
.footer {
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(46, 204, 113, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: #2ecc71;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #2ecc71;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .highlight-item,
    .highlight-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .features h2,
    .pricing h2,
    .download h2 {
        font-size: 28px;
    }

    .price {
        font-size: 36px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}