/* 快连VPN官网 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #1E293B; background: #FFFFFF; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* 容器 */
.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); border-bottom: 1px solid #E2E8F0; backdrop-filter: blur(8px); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 24px; font-weight: 700; color: #2563EB; display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #2563EB, #3B82F6); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 900; }
.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-menu a { font-size: 15px; color: #475569; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #2563EB; }
.nav-cta { display: inline-block; background: #2563EB; color: #fff !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; transition: background 0.2s; }
.nav-cta:hover { background: #1D4ED8; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #475569; }

/* Hero区 */
.hero { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #BFDBFE 100%); padding: 100px 0 80px; text-align: center; min-height: 70vh; display: flex; align-items: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 48px; font-weight: 800; color: #1E293B; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: #2563EB; }
.hero .subtitle { font-size: 20px; color: #475569; margin-bottom: 16px; }
.hero .badge { display: inline-block; background: #DBEAFE; color: #2563EB; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-primary { display: inline-block; background: #2563EB; color: #fff; padding: 16px 40px; border-radius: 12px; font-size: 18px; font-weight: 700; transition: all 0.3s; box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1D4ED8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.btn-secondary { display: inline-block; background: #fff; color: #2563EB; padding: 16px 40px; border-radius: 12px; font-size: 18px; font-weight: 700; border: 2px solid #2563EB; transition: all 0.3s; }
.btn-secondary:hover { background: #EFF6FF; transform: translateY(-2px); }
.hero-note { font-size: 14px; color: #94A3B8; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: #2563EB; }
.hero-stat .label { font-size: 14px; color: #64748B; margin-top: 4px; }

/* 区块通用 */
.section { padding: 80px 0; }
.section-alt { background: #F8FAFC; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 800; color: #1E293B; margin-bottom: 12px; }
.section-title p { font-size: 18px; color: #64748B; max-width: 600px; margin: 0 auto; }

/* 功能区 */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.feature-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 36px 28px; text-align: center; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #BFDBFE; }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: #EFF6FF; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #1E293B; }
.feature-card p { font-size: 15px; color: #64748B; line-height: 1.6; }

/* 下载区 */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.download-card { background: #fff; border: 2px solid #E2E8F0; border-radius: 16px; padding: 36px 24px; text-align: center; transition: all 0.3s; }
.download-card:hover { border-color: #2563EB; box-shadow: 0 8px 24px rgba(37,99,235,0.12); }
.download-card .platform-icon { font-size: 48px; margin-bottom: 16px; }
.download-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.download-card .version { font-size: 13px; color: #94A3B8; margin-bottom: 20px; }
.download-card .btn-download { display: inline-block; background: #2563EB; color: #fff; padding: 12px 32px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: background 0.2s; }
.download-card .btn-download:hover { background: #1D4ED8; }
.download-card.recommended { border-color: #2563EB; position: relative; }
.download-card.recommended::before { content: "推荐"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #F59E0B; color: #fff; padding: 2px 16px; border-radius: 12px; font-size: 12px; font-weight: 600; }

/* 社会证明 */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 28px; }
.testimonial-stars { color: #F59E0B; font-size: 18px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: #DBEAFE; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #2563EB; font-size: 16px; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: #94A3B8; }

/* 定价区 */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pricing-card { background: #fff; border: 2px solid #E2E8F0; border-radius: 16px; padding: 36px 24px; text-align: center; transition: all 0.3s; position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pricing-card.popular { border-color: #2563EB; }
.pricing-card.popular::before { content: "最受欢迎"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #2563EB; color: #fff; padding: 4px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pricing-name { font-size: 18px; font-weight: 600; color: #64748B; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 800; color: #1E293B; margin-bottom: 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: #94A3B8; }
.pricing-period { font-size: 14px; color: #94A3B8; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: #475569; border-bottom: 1px solid #F1F5F9; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: "\2713"; color: #22C55E; font-weight: 700; }
.pricing-btn { display: inline-block; width: 100%; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 15px; text-align: center; transition: all 0.2s; }
.pricing-btn-primary { background: #2563EB; color: #fff; }
.pricing-btn-primary:hover { background: #1D4ED8; }
.pricing-btn-outline { background: #fff; color: #2563EB; border: 2px solid #2563EB; }
.pricing-btn-outline:hover { background: #EFF6FF; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #E2E8F0; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-question { display: block; padding: 20px 24px; font-size: 16px; font-weight: 600; color: #1E293B; background: #fff; transition: background 0.2s; cursor: pointer; }
.faq-question:hover { background: #F8FAFC; }
.faq-answer { padding: 0 24px 20px; font-size: 15px; color: #475569; line-height: 1.8; }
.faq-answer ol { padding-left: 20px; }
.faq-answer ol li { margin-bottom: 8px; }

/* 页脚 */
.footer { background: #0F172A; color: #CBD5E1; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #94A3B8; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #94A3B8; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 24px; text-align: center; font-size: 13px; color: #64748B; }

/* 子页面Banner */
.page-banner { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); padding: 60px 0; text-align: center; }
.page-banner h1 { font-size: 36px; font-weight: 800; color: #1E293B; margin-bottom: 12px; }
.page-banner p { font-size: 18px; color: #64748B; }

/* 面包屑 */
.breadcrumb { padding: 16px 0; font-size: 14px; color: #94A3B8; }
.breadcrumb a { color: #2563EB; }
.breadcrumb span { margin: 0 8px; }

/* 内容页 */
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: #1E293B; }
.content-section h3 { font-size: 22px; font-weight: 600; margin: 24px 0 12px; color: #1E293B; }
.content-section p { font-size: 16px; color: #475569; line-height: 1.8; margin-bottom: 16px; }
.content-section ul, .content-section ol { padding-left: 24px; margin-bottom: 16px; }
.content-section ul li, .content-section ol li { font-size: 16px; color: #475569; line-height: 1.8; margin-bottom: 8px; }

/* 信任标识 */
.trust-bar { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #64748B; }
.trust-item .icon { font-size: 20px; }

/* Sticky CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.97); border-top: 1px solid #E2E8F0; padding: 12px 0; z-index: 999; backdrop-filter: blur(8px); }
.sticky-cta .container { display: flex; align-items: center; justify-content: space-between; }
.sticky-cta-text { font-size: 15px; font-weight: 600; color: #1E293B; }
.sticky-cta .btn-primary { padding: 10px 28px; font-size: 15px; }

/* 响应式 */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 32px; }
    .hero .subtitle { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 24px; }
    .section { padding: 48px 0; }
    .section-title h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .sticky-cta-text { display: none; }
    .sticky-cta .container { justify-content: center; }
    .page-banner h1 { font-size: 28px; }
}
@media (max-width: 480px) {
    .download-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
