/* 快连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; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.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: 68px; }
.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: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 15px; color: #475569; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: #2563EB; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; background: #2563EB; color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; background: transparent; color: #2563EB; border: 2px solid #2563EB; border-radius: 10px; font-size: 15px; font-weight: 600; transition: all 0.2s; cursor: pointer; }
.btn-outline:hover { background: #2563EB; color: #fff; }
.btn-large { padding: 14px 36px; font-size: 17px; border-radius: 12px; }

/* Hero */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%); padding: 80px 0 100px; min-height: 70vh; display: flex; align-items: center; }
.hero .container { text-align: center; }
.hero h1 { font-size: 52px; font-weight: 800; color: #0f172a; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: #2563EB; }
.hero .subtitle { font-size: 20px; color: #475569; margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero .stats { font-size: 16px; color: #64748b; margin-bottom: 40px; }
.hero .stats span { display: inline-block; margin: 0 12px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: #94a3b8; }

/* Features */
.features { padding: 100px 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 700; color: #0f172a; 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(3, 1fr); gap: 30px; }
.feature-card { background: #f8fafc; border-radius: 16px; padding: 36px 28px; text-align: center; transition: all 0.3s; border: 1px solid #e2e8f0; }
.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: linear-gradient(135deg, #2563EB, #3b82f6); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #0f172a; }
.feature-card p { font-size: 15px; color: #64748b; line-height: 1.7; }

/* Download */
.download { padding: 100px 0; background: linear-gradient(135deg, #1e3a5f, #2563EB); color: #fff; }
.download .section-title h2 { color: #fff; }
.download .section-title p { color: #bfdbfe; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.download-card { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 32px 20px; text-align: center; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s; }
.download-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.download-card .platform-icon { font-size: 48px; margin-bottom: 16px; }
.download-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.download-card .version { font-size: 13px; color: #93c5fd; margin-bottom: 20px; }
.download-card .btn-download { display: inline-block; padding: 12px 28px; background: #fff; color: #2563EB; border-radius: 10px; font-weight: 600; font-size: 15px; transition: all 0.2s; }
.download-card .btn-download:hover { background: #f0f9ff; transform: scale(1.02); }
.download-trust { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.download-trust p { font-size: 14px; color: #93c5fd; }

/* Social Proof */
.social-proof { padding: 100px 0; background: #f8fafc; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid #e2e8f0; }
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 12px; }
.review-text { font-size: 15px; color: #475569; line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: #dbeafe; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #2563EB; font-size: 16px; }
.review-name { font-weight: 600; font-size: 14px; }
.review-source { font-size: 12px; color: #94a3b8; }
.trust-stats { display: flex; justify-content: center; gap: 60px; margin-top: 50px; padding-top: 40px; border-top: 1px solid #e2e8f0; }
.trust-stat { text-align: center; }
.trust-stat .number { font-size: 36px; font-weight: 700; color: #2563EB; }
.trust-stat .label { font-size: 14px; color: #64748b; margin-top: 4px; }

/* Pricing */
.pricing { padding: 100px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card { background: #f8fafc; border-radius: 16px; padding: 32px 24px; text-align: center; border: 2px solid #e2e8f0; transition: all 0.3s; position: relative; }
.pricing-card:hover { border-color: #bfdbfe; transform: translateY(-4px); }
.pricing-card.popular { border-color: #2563EB; background: #eff6ff; }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #f59e0b; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pricing-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price { font-size: 40px; font-weight: 700; color: #2563EB; margin: 16px 0; }
.pricing-card .price small { font-size: 16px; color: #64748b; font-weight: 400; }
.pricing-card .period { font-size: 14px; color: #64748b; margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card ul li { font-size: 14px; color: #475569; padding: 8px 0; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: "\2713"; color: #22c55e; font-weight: 700; }

/* FAQ */
.faq { padding: 100px 0; background: #f8fafc; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
.faq-question { padding: 20px 24px; font-size: 16px; font-weight: 600; color: #0f172a; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question::after { content: "+"; font-size: 24px; color: #2563EB; font-weight: 300; }
.faq-answer { padding: 0 24px 20px; font-size: 15px; color: #475569; line-height: 1.8; }
.faq-answer ol { padding-left: 20px; margin-top: 8px; }
.faq-answer ol li { margin-bottom: 6px; }
details.faq-item { cursor: default; }
details.faq-item summary { padding: 20px 24px; font-size: 16px; font-weight: 600; color: #0f172a; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 24px; color: #2563EB; font-weight: 300; transition: transform 0.2s; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item .faq-answer { padding: 0 24px 20px; }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; 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; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: #94a3b8; transition: color 0.2s; }
.footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; text-align: center; font-size: 13px; }

/* 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 20px; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 999; backdrop-filter: blur(8px); }
.sticky-cta p { font-size: 15px; font-weight: 500; color: #0f172a; }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; }
  .features-grid, .download-grid, .reviews-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-stats { flex-direction: column; gap: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .section-title h2 { font-size: 28px; }
  .features, .download, .social-proof, .pricing, .faq { padding: 60px 0; }
}

/* Page Hero (inner pages) */
.page-hero { background: linear-gradient(135deg, #eff6ff, #dbeafe); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 40px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: #64748b; }

/* Content pages */
.content-section { padding: 80px 0; }
.content-section h2 { font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 16px; margin-top: 40px; }
.content-section h2:first-child { margin-top: 0; }
.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 li { font-size: 16px; color: #475569; line-height: 1.8; margin-bottom: 8px; }

/* Detail features */
.feature-detail { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.feature-detail:nth-child(even) { flex-direction: row-reverse; }
.feature-detail-text { flex: 1; }
.feature-detail-text h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: #0f172a; }
.feature-detail-text p { font-size: 16px; color: #475569; line-height: 1.8; }
.feature-detail-visual { flex: 1; background: #f1f5f9; border-radius: 16px; padding: 40px; text-align: center; font-size: 80px; }
@media (max-width: 768px) {
  .feature-detail, .feature-detail:nth-child(even) { flex-direction: column; gap: 30px; }
}

/* Download page specific */
.download-platform { background: #f8fafc; border-radius: 16px; padding: 40px; margin-bottom: 24px; display: flex; align-items: center; gap: 30px; border: 1px solid #e2e8f0; transition: all 0.3s; }
.download-platform:hover { border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.download-platform-icon { font-size: 60px; min-width: 80px; text-align: center; }
.download-platform-info { flex: 1; }
.download-platform-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.download-platform-info p { font-size: 14px; color: #64748b; margin-bottom: 12px; }
.download-platform-btn { min-width: 160px; text-align: center; }
@media (max-width: 768px) {
  .download-platform { flex-direction: column; text-align: center; }
  .download-platform-btn { min-width: auto; }
}

/* Pricing page */
.pricing-compare { width: 100%; border-collapse: collapse; margin-top: 40px; }
.pricing-compare th, .pricing-compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid #e2e8f0; font-size: 15px; }
.pricing-compare th { background: #f8fafc; font-weight: 600; color: #0f172a; }
.pricing-compare td:first-child { text-align: left; font-weight: 500; }
.pricing-compare tr:hover { background: #f8fafc; }
