/* 全局样式 - 现代简约明亮风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-section-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 - 现代简约设计 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.nav-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero区域 - 现代渐变风格 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 160px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* 通用区块样式 */
section {
    padding: 100px 24px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 60px;
}

/* 核心功能特性 */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    display: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-section-alt));
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 16px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 产品对比 */
.compare {
    background: var(--bg-section-alt);
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.compare-table th,
.compare-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.compare-table tr:nth-child(even) {
    background: var(--bg-light);
}

.compare-table tr:hover {
    background: var(--bg-section-alt);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* 使用流程 */
.how-it-works {
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 价格方案 */
.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1050px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.price {
    margin-bottom: 28px;
}

.currency {
    font-size: 24px;
    color: var(--text-light);
    vertical-align: top;
    margin-top: 8px;
}

.amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
}

.period {
    color: var(--text-light);
    font-size: 16px;
    margin-left: 4px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 15px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: 600;
}

/* 用户评价 */
.testimonials {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.author-name {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
}

/* 全球节点覆盖 */
.global-coverage {
    background: var(--bg-section-alt);
}

.coverage-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 56px;
}

.coverage-item {
    text-align: center;
}

.coverage-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.coverage-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.coverage-regions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.region {
    background: var(--bg-card);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.region:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 常见问题 */
.faq {
    background: var(--bg-white);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s;
    background: var(--bg-card);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    cursor: pointer;
    background: var(--bg-card);
}

.faq-question h3 {
    color: var(--text-color);
    font-size: 17px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    color: var(--text-light);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    background: var(--bg-light);
}

.faq-answer p {
    color: var(--text-light);
    padding: 20px 28px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* 底部 */
.footer {
    background: var(--bg-card);
    color: var(--text-color);
    padding: 72px 24px 32px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.footer-brand p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .coverage-stats {
        flex-direction: column;
        gap: 28px;
    }
}
