/* ===== 快连VPN 全局样式 ===== */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #FF6B35;
  --accent-dark: #E55A2B;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-gray: #F1F5F9;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
}

* { 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", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: all 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.nav-logo .logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #FF8B5E);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.nav-cta { margin-left: 8px; }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ===== Hero区 ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 50%, #EFF6FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37,99,235,0.08);
  border-radius: 100px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-white);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: var(--shadow);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-light);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 360px;
  height: 480px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 36px;
  padding: 20px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: #0F172A;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
}

.mockup-logo {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mockup-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 40px rgba(37,99,235,0.5);
  position: relative;
}

.mockup-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.3);
}

.mockup-status {
  font-size: 14px;
  color: var(--success);
  font-weight: 500;
}

/* ===== 信任背书区 ===== */
.trust-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: all 0.3s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-light);
}

.trust-label {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ===== 通用区块标题 ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(37,99,235,0.08);
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 功能展示区 ===== */
.features-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.feature-icon.blue { background: rgba(37,99,235,0.1); }
.feature-icon.green { background: rgba(16,185,129,0.1); }
.feature-icon.orange { background: rgba(255,107,53,0.1); }
.feature-icon.purple { background: rgba(139,92,246,0.1); }

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 全球节点区 ===== */
.nodes-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.nodes-map {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.world-map-svg {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.nodes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.node-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-light);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.node-tag:hover {
  border-color: var(--primary);
  background: rgba(37,99,235,0.05);
  transform: translateY(-2px);
}

.node-flag { font-size: 20px; }

/* ===== 价格套餐区 ===== */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--accent), #FF8B5E);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-duration {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-price .currency {
  font-size: 18px;
  font-weight: 600;
}

.pricing-price .period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ===== 防伪提示区 ===== */
.warning-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.warning-box {
  background: linear-gradient(135deg, #FFF7ED, #FFFBEB);
  border: 2px solid #FED7AA;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.warning-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.warning-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.warning-box p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.warning-box .official-url {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.warning-channels {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.warning-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

/* ===== FAQ区 ===== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 28px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer ol {
  padding-left: 20px;
  margin-top: 8px;
}

.faq-answer ol li {
  margin-bottom: 6px;
}

/* ===== 页脚 ===== */
.footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #94A3B8;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
  font-size: 14px;
  color: #94A3B8;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: #64748B;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #64748B;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: #fff; }

/* ===== 内页通用 ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-content {
  padding: 80px 0;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 48px;
  color: var(--text-primary);
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-block ol, .content-block ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-block ol li, .content-block ul li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 8px;
}

/* ===== 下载页面 ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.download-card .dl-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== 节点详情页 ===== */
.nodes-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.node-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.node-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.node-detail-card .flag { font-size: 40px; margin-bottom: 12px; }
.node-detail-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.node-detail-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== 套餐对比表 ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
}

.compare-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.compare-table tbody tr:hover {
  background: rgba(37,99,235,0.04);
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-sm { display: none; }

  .hero .container { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 17px; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-mockup { width: 280px; height: 380px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-number { font-size: 36px; }

  .features-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; }

  .page-hero h1 { font-size: 32px; }

  .download-grid { grid-template-columns: 1fr; max-width: 360px; }
  .nodes-detail-grid { grid-template-columns: repeat(2, 1fr); }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nodes-detail-grid { grid-template-columns: 1fr 1fr; }
}
