/* 快连VPN官网 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* 头部导航 */
.site-header { background: #0d47a1; color: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.logo span { color: #ff9800; }
.main-nav { display: flex; gap: 5px; flex-wrap: wrap; }
.main-nav a { color: #fff; padding: 8px 14px; border-radius: 4px; font-size: 14px; transition: background 0.2s; }
.main-nav a:hover { background: rgba(255,255,255,0.15); }

/* Hero区域 */
.hero { background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #42a5f5 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { font-size: 18px; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.hero-stats { display: flex; justify-content: center; gap: 50px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 700; }
.hero-stat .label { font-size: 14px; opacity: 0.8; margin-top: 5px; }

/* 按钮 */
.btn { display: inline-block; padding: 14px 36px; border-radius: 6px; font-size: 16px; font-weight: 600; transition: all 0.2s; cursor: pointer; text-align: center; }
.btn-primary { background: #ff9800; color: #fff; }
.btn-primary:hover { background: #f57c00; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,152,0,0.4); }
.btn-secondary { background: #fff; color: #0d47a1; }
.btn-secondary:hover { background: #e3f2fd; }
.btn-outline { border: 2px solid #1a73e8; color: #1a73e8; background: transparent; }
.btn-outline:hover { background: #1a73e8; color: #fff; }
.btn-lg { padding: 18px 48px; font-size: 18px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }

/* 区块 */
.section { padding: 70px 0; }
.section-alt { background: #f5f7fa; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #0d47a1; margin-bottom: 10px; }
.section-title p { font-size: 16px; color: #666; max-width: 600px; margin: 0 auto; }

/* 功能卡片 */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: #fff; border-radius: 12px; padding: 35px; text-align: center; box-shadow: 0 2px 15px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.feature-icon { font-size: 48px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; color: #0d47a1; margin-bottom: 12px; }
.feature-card p { color: #666; font-size: 15px; }

/* 下载卡片 */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.download-card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; border: 2px solid #e0e0e0; transition: border-color 0.2s, box-shadow 0.2s; }
.download-card:hover { border-color: #1a73e8; box-shadow: 0 4px 20px rgba(26,115,232,0.15); }
.download-card .platform-icon { font-size: 48px; margin-bottom: 15px; }
.download-card h3 { font-size: 20px; margin-bottom: 8px; color: #333; }
.download-card .version { color: #999; font-size: 13px; margin-bottom: 15px; }
.download-card .btn { width: 100%; }

/* 价格卡片 */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pricing-card { background: #fff; border-radius: 12px; padding: 40px 30px; text-align: center; border: 2px solid #e0e0e0; position: relative; transition: transform 0.2s; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.popular { border-color: #1a73e8; box-shadow: 0 4px 20px rgba(26,115,232,0.2); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #ff9800; color: #fff; padding: 4px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.pricing-card h3 { font-size: 22px; color: #333; margin-bottom: 10px; }
.pricing-price { font-size: 42px; font-weight: 700; color: #0d47a1; margin: 15px 0; }
.pricing-price span { font-size: 16px; color: #999; font-weight: 400; }
.pricing-features { list-style: none; margin: 25px 0; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #555; }
.pricing-features li::before { content: "\2713"; color: #4caf50; font-weight: 700; margin-right: 10px; }

/* FAQ */
.faq-category { margin-bottom: 40px; }
.faq-category h3 { font-size: 22px; color: #0d47a1; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #1a73e8; }
.faq-item { background: #fff; border-radius: 8px; padding: 25px; margin-bottom: 15px; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.faq-item h4 { font-size: 17px; color: #333; margin-bottom: 15px; }
.faq-steps { list-style: none; counter-reset: step; }
.faq-steps li { counter-increment: step; padding: 10px 0 10px 40px; position: relative; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: #555; line-height: 1.7; }
.faq-steps li:last-child { border-bottom: none; }
.faq-steps li::before { content: "\6B65\u9AA4" counter(step); position: absolute; left: 0; top: 10px; background: #e3f2fd; color: #1a73e8; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* 关于页面 */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h3 { font-size: 22px; color: #0d47a1; margin: 30px 0 15px; }
.about-content p { color: #555; font-size: 15px; margin-bottom: 15px; line-height: 1.8; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 30px; }
.value-item { text-align: center; padding: 25px; }
.value-item .icon { font-size: 36px; margin-bottom: 10px; }
.value-item h4 { color: #0d47a1; margin-bottom: 8px; }
.value-item p { font-size: 14px; color: #666; }

/* 联系页面 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-info h3 { font-size: 20px; color: #0d47a1; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-item .icon { font-size: 24px; flex-shrink: 0; }
.contact-item h4 { font-size: 16px; color: #333; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: #666; }

/* 法律页面 */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h3 { font-size: 20px; color: #0d47a1; margin: 25px 0 12px; }
.legal-content p { color: #555; font-size: 15px; margin-bottom: 12px; line-height: 1.8; }
.legal-content ul { margin: 10px 0 15px 20px; }
.legal-content ul li { color: #555; font-size: 15px; margin-bottom: 6px; line-height: 1.7; }

/* 用户评价 */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.testimonial-card { background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.testimonial-card .stars { color: #ff9800; font-size: 18px; margin-bottom: 12px; }
.testimonial-card .text { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 15px; font-style: italic; }
.testimonial-card .author { font-size: 14px; font-weight: 600; color: #333; }

/* CTA区域 */
.cta-section { background: linear-gradient(135deg, #0d47a1, #1a73e8); color: #fff; padding: 60px 0; text-align: center; }
.cta-section h2 { font-size: 30px; margin-bottom: 15px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }

/* 页脚 */
.site-footer { background: #1a1a2e; color: #ccc; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
.footer-col a { display: block; color: #aaa; font-size: 14px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; color: #777; }
.footer-bottom a { color: #aaa; margin: 0 8px; }
.footer-bottom a:hover { color: #fff; }

/* 面包屑 */
.breadcrumb { padding: 15px 0; font-size: 14px; color: #999; }
.breadcrumb a { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; }

/* 页面标题 */
.page-header { background: linear-gradient(135deg, #0d47a1, #1a73e8); color: #fff; padding: 50px 0; text-align: center; }
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { font-size: 16px; opacity: 0.85; }

/* 响应式 */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 10px; }
    .main-nav { justify-content: center; }
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 25px; }
    .hero-stat .num { font-size: 28px; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
    .page-header h1 { font-size: 26px; }
    .pricing-grid { grid-template-columns: 1fr; }
}
