﻿/* 全局和基础样式 */
:root {
    --primary-color: #FF9900;
    --primary-hover-color: #e68900;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --border-color: rgba(255, 153, 0, 0.3);
    --text-color: #333333;
    --text-muted-color: #666666;
}

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

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

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

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover-color));
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 153, 0, 0.1);
    border-color: var(--primary-hover-color);
}

.main-header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.main-header .container,
.main-nav ul {
    display: flex;
    align-items: center;
}

.main-header .container {
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-muted-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 153, 0, 0.1), transparent 40%);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-color);
    margin-bottom: 2.5rem;
}

.hero-actions .btn {
    margin: 0 10px;
}

.stats-section {
    padding: 60px 0;
    background-color: var(--surface-color);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 16px;
    color: var(--text-muted-color);
    margin-top: 10px;
}

.features-section, .how-it-works-section, .faq-section, .cta-section {
    padding: 100px 0;
    text-align: center;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--text-muted-color);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 50px;
}

.feature-item {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: var(--surface-color);
    color: var(--primary-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

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

.faq-item {
    max-width: 750px;
    margin: 0 auto 15px auto;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--surface-color);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #f0f0f0;
}

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

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--text-muted-color);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.cta-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../image/cubes.png');
}

.main-footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted-color);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.8;
}

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

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted-color);
}

.footer-disclaimer {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-copyright {
    color: #888;
}

/* 新增的CSS样式 */
.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border: 2px solid #FF9900;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF9900;
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 0 0 12px;
}

.pricing-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.pricing-price {
    font-size: 48px;
    font-weight: bold;
    color: #FF9900;
    margin-bottom: 20px;
}

.pricing-period {
    font-size: 16px;
    color: #777;
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
    color: #666;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: #999;
}

.pricing-features li.disabled:before {
    content: "✗";
    color: #ff6b6b;
}

.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #FF9900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    h2 { 
        font-size: 2rem; 
    }
    
    .hero-title { 
        font-size: 2.8rem; 
    }
    
    .main-nav { 
        display: none; 
    }
    
    .steps-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .pricing-price {
        font-size: 36px;
    }
}