/* ===== 绿茶VPN 全局样式 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6DBE46;
    --primary-dark: #2E7D32;
    --primary-light: #F0F9EB;
    --text-dark: #1E1E1E;
    --text-mid: #616161;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --error: #D32F2F;
    --info: #1976D2;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Inter", "SF Pro Text", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== 容器 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8e8e8;
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: 700; color: var(--primary-dark);
}
.logo-icon {
    width: 36px; height: 36px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; font-weight: bold;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
    font-size: 15px; color: var(--text-mid); transition: color 0.2s;
    padding: 8px 0; position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary-dark); font-weight: 500; }
.nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--primary); transform: scaleX(0);
    transition: transform 0.2s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-btns { display: flex; gap: 12px; align-items: center; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 8px; font-size: 15px;
    font-weight: 600; transition: all 0.25s; cursor: pointer;
    min-height: 44px; min-width: 44px;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 4px 14px rgba(109,190,70,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(46,125,50,0.4);
    transform: translateY(-1px);
}
.btn-outline {
    border: 2px solid var(--primary); color: var(--primary-dark);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary-light); border-color: var(--primary-dark);
}
.btn-ghost { color: var(--text-mid); padding: 12px 16px; }
.btn-ghost:hover { color: var(--primary-dark); }
.btn-lg { padding: 16px 40px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== Hero 英雄区 ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e8f5e9 50%, #fff 100%);
    padding: 100px 0 80px; text-align: center;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(109,190,70,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(46,125,50,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 48px; line-height: 56px; font-weight: 700;
    color: var(--text-dark); margin-bottom: 20px;
    max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 span { color: var(--primary); }
.hero .subtitle {
    font-size: 20px; line-height: 30px; color: var(--text-mid);
    max-width: 650px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-platforms {
    margin-top: 24px; font-size: 14px; color: var(--text-mid);
}
.hero-platforms span {
    display: inline-block; margin: 0 8px; padding: 4px 12px;
    background: rgba(109,190,70,0.1); border-radius: 20px; font-size: 13px;
}

/* ===== 通用板块 ===== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-green { background: linear-gradient(135deg, var(--primary-light), #e8f5e9); }
.section-title {
    text-align: center; margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px; line-height: 44px; font-weight: 700;
    margin-bottom: 12px;
}
.section-title p {
    font-size: 17px; color: var(--text-mid); max-width: 600px; margin: 0 auto;
}

/* ===== 信任与优势卡片 ===== */
.advantages-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.advantage-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 24px; text-align: center;
    box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.advantage-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: var(--primary-light); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--primary);
}
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== 实时数据 ===== */
.stats-bar {
    display: flex; justify-content: center; gap: 60px;
    padding: 40px 0; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 42px; font-weight: 700; color: var(--primary);
    line-height: 1.2;
}
.stat-label { font-size: 14px; color: var(--text-mid); margin-top: 6px; }

/* ===== 功能亮点 ===== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature-block {
    background: var(--white); border-radius: var(--radius);
    padding: 40px 30px; box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}
.feature-block h3 {
    font-size: 20px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}
.feature-block h3 .icon {
    width: 40px; height: 40px; background: var(--primary-light);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; font-size: 20px; color: var(--primary);
    flex-shrink: 0;
}
.feature-block p { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.feature-block ul { margin-top: 12px; }
.feature-block ul li {
    font-size: 14px; color: var(--text-mid); padding: 6px 0;
    padding-left: 20px; position: relative;
}
.feature-block ul li::before {
    content: '\2713'; position: absolute; left: 0;
    color: var(--primary); font-weight: bold;
}

/* ===== 套餐价格 ===== */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    align-items: start;
}
.pricing-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow); border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(109,190,70,0.2);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 4px 20px;
    border-radius: 20px; font-size: 13px; font-weight: 600;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 8px; }
.pricing-price {
    font-size: 44px; font-weight: 700; color: var(--primary-dark);
    margin: 16px 0;
}
.pricing-price .currency { font-size: 20px; vertical-align: top; }
.pricing-price .period { font-size: 14px; color: var(--text-mid); font-weight: 400; }
.pricing-original {
    font-size: 14px; color: #999; text-decoration: line-through;
}
.pricing-features {
    text-align: left; margin: 24px 0; padding: 0;
}
.pricing-features li {
    padding: 8px 0; font-size: 14px; color: var(--text-mid);
    border-bottom: 1px solid #f5f5f5;
    display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before {
    content: '\2713'; color: var(--primary); font-weight: bold;
}

/* ===== 支付信任 ===== */
.trust-logos {
    display: flex; justify-content: center; gap: 30px;
    flex-wrap: wrap; padding: 30px 0;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--white);
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px; color: var(--text-mid);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 36px; }
.faq-category h3 {
    font-size: 20px; color: var(--primary-dark); margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 2px solid var(--primary-light);
}
.faq-item {
    background: var(--white); border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}
.faq-item details { padding: 0; }
.faq-item summary {
    padding: 18px 24px; font-size: 16px; font-weight: 600;
    cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    transition: background 0.2s;
}
.faq-item summary:hover { background: var(--primary-light); }
.faq-item summary::after {
    content: '+'; font-size: 22px; color: var(--primary);
    font-weight: 300; transition: transform 0.2s;
}
.faq-item details[open] summary::after { content: '\2212'; }
.faq-answer {
    padding: 0 24px 20px;
    font-size: 15px; color: var(--text-mid); line-height: 1.8;
}
.faq-answer ol {
    padding-left: 20px; margin-top: 8px;
}
.faq-answer ol li {
    padding: 4px 0; list-style: decimal;
}

/* ===== 客户案例 ===== */
.cases-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card {
    background: var(--white); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}
.case-card .case-tag {
    display: inline-block; padding: 4px 12px;
    background: var(--primary-light); color: var(--primary-dark);
    border-radius: 20px; font-size: 12px; font-weight: 600;
    margin-bottom: 14px;
}
.case-card h4 { font-size: 17px; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white); text-align: center; padding: 80px 0;
}
.cta-section h2 { font-size: 36px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary {
    background: var(--white); color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.cta-section .btn-primary:hover {
    background: #f0f9eb; transform: translateY(-2px);
}
.cta-stats {
    display: flex; justify-content: center; gap: 40px;
    margin-top: 30px; flex-wrap: wrap;
}
.cta-stats span { font-size: 15px; opacity: 0.85; }

/* ===== 底部 ===== */
.footer {
    background: #1a1a1a; color: #ccc; padding: 60px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo { color: var(--primary); margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #999; max-width: 300px; }
.footer h4 {
    font-size: 15px; color: var(--white); margin-bottom: 16px;
    font-weight: 600;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
    font-size: 14px; color: #999; transition: color 0.2s;
}
.footer ul li a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid #333; padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: #666; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: #333; display: flex; align-items: center;
    justify-content: center; color: #999; font-size: 14px;
    transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary); color: white; }

/* ===== 悬浮客服 ===== */
.float-service {
    position: fixed; right: 20px; bottom: 80px; z-index: 999;
}
.float-service a {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: white;
    box-shadow: 0 4px 16px rgba(109,190,70,0.4);
    font-size: 24px; transition: transform 0.2s;
}
.float-service a:hover { transform: scale(1.1); }

/* ===== Cookie横幅 ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #1a1a1a; color: #ccc; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; flex: 1; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }

/* ===== 页面标题 (内页) ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-light), #e8f5e9);
    padding: 60px 0 50px; text-align: center;
}
.page-header h1 { font-size: 36px; line-height: 44px; margin-bottom: 12px; }
.page-header p { font-size: 17px; color: var(--text-mid); max-width: 600px; margin: 0 auto; }

/* ===== 内容区 (内页) ===== */
.content-section { padding: 60px 0; }
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 {
    font-size: 24px; margin: 32px 0 16px; color: var(--primary-dark);
    padding-bottom: 8px; border-bottom: 2px solid var(--primary-light);
}
.content-block h3 { font-size: 19px; margin: 24px 0 12px; }
.content-block p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 14px; }
.content-block ul { padding-left: 20px; margin-bottom: 14px; }
.content-block ul li {
    font-size: 15px; color: var(--text-mid); line-height: 1.8;
    padding: 4px 0; list-style: disc;
}

/* ===== 对比表 ===== */
.compare-table {
    width: 100%; border-collapse: collapse; margin: 30px 0;
}
.compare-table th, .compare-table td {
    padding: 14px 16px; text-align: left;
    border-bottom: 1px solid #eee; font-size: 14px;
}
.compare-table th {
    background: var(--primary-light); color: var(--primary-dark);
    font-weight: 600;
}
.compare-table td { color: var(--text-mid); }
.compare-table tr:hover td { background: #fafafa; }

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 14px 0; font-size: 14px; color: var(--text-mid);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

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

@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 30px; line-height: 40px; }
    .hero .subtitle { font-size: 16px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 26px; line-height: 34px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
    .stats-bar { gap: 30px; }
    .stat-number { font-size: 32px; }
    .cta-section h2 { font-size: 26px; }
    .header-btns .btn-ghost { display: none; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
