/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37,99,235,.12);
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --dark: #0f172a;
  --dark-card: #1e293b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(37,99,235,.12);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.4s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap; line-height: 1.4; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform 0.5s;
}
.btn:hover::after { transform: translateX(100%); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.35); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 17px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: var(--primary); border-color: transparent; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 700; color: var(--text); }
.logo-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff; border-radius: var(--radius-xs); font-size: 18px; font-weight: 800;
}
.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 9px 18px; border-radius: var(--radius-xs); font-size: 15px; font-weight: 500;
  color: var(--text-secondary); transition: all var(--transition);
}
.nav-link:hover { background: var(--bg-subtle); color: var(--text); }
.nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  background: none; border: none; cursor: pointer; z-index: 110;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f2ff 30%, #f0f9ff 60%, #eef6ff 100%);
  padding: 120px 0 100px; text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 150%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.06) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; right: -10%; width: 50%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,.05) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px;
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.15); border-radius: 24px;
  font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 28px;
  animation: fadeInUp 0.6s ease;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  animation: pulse-glow 2s infinite;
}
.hero-title {
  font-size: 56px; font-weight: 850; color: var(--text); letter-spacing: -1.5px;
  line-height: 1.15; animation: fadeInUp 0.7s ease;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 19px; color: var(--text-secondary); margin-top: 20px;
  line-height: 1.8; animation: fadeInUp 0.8s ease;
}
.hero-actions {
  margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.9s ease;
}

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  background: linear-gradient(160deg, #f0f7ff 0%, #e8f2ff 100%);
  padding: 72px 0; text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: var(--text-secondary); margin-top: 10px; font-size: 17px; }

/* ===== SECTION ===== */
.section { padding: 88px 0; }
.section.bg-light { background: var(--bg-subtle); }
.section.bg-gradient { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 16px;
  border-radius: 20px; background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 1px;
}
.section-tag.accent { background: var(--accent-light); color: #b45309; }
.section-title { font-size: 36px; font-weight: 750; margin-bottom: 14px; letter-spacing: -0.3px; }
.section-desc { color: var(--text-secondary); font-size: 17px; max-width: 620px; margin: 0 auto; line-height: 1.8; }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  padding: 40px 28px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); text-align: center;
  transition: all var(--transition-slow); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
  opacity: 0; transition: opacity var(--transition-slow);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,.2);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 42px; margin-bottom: 18px; display: inline-block;
  transition: transform var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== PRODUCT CARDS (homepage) ===== */
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  padding: 44px 32px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); text-align: center;
  transition: all var(--transition-slow); position: relative; overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,.25);
}
.product-img { font-size: 56px; margin-bottom: 22px; transition: transform var(--transition); }
.product-card:hover .product-img { transform: scale(1.08); }
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.product-price {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 22px;
}
.product-price::before { content: '¥'; font-size: 16px; font-weight: 600; }
.product-price::after { content: '起/月'; font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* ===== STATS ===== */
.stats {
  background: linear-gradient(160deg, var(--dark) 0%, #1a2940 100%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 40%; height: 160%;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.1) 0%, transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; position: relative; z-index: 1; }
.stat-number { display: block; font-size: 48px; font-weight: 800; color: #60a5fa; letter-spacing: -1px; }
.stat-label { display: block; margin-top: 8px; color: #94a3b8; font-size: 15px; font-weight: 500; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(150deg, var(--primary) 0%, #3b82f6 50%, #2563eb 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.08)'/%3E%3C/svg%3E");
  opacity: .5;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 34px; font-weight: 750; margin-bottom: 10px; }
.cta-content p { font-size: 17px; opacity: .9; margin-bottom: 32px; }

/* ===== DETAIL CARDS (products page) ===== */
.detail-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.detail-cards.single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.detail-cards.two-col { grid-template-columns: repeat(2, 1fr); }
.detail-card {
  padding: 44px 32px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); text-align: center;
  transition: all var(--transition-slow); position: relative;
}
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.detail-card.highlight {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fafcff 0%, var(--bg-card) 30%);
  box-shadow: 0 8px 32px rgba(37,99,235,.1);
}
.detail-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  color: #78350f; padding: 4px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245,158,11,.3);
}
.detail-icon { font-size: 48px; margin-bottom: 14px; }
.detail-plan { font-size: 20px; font-weight: 750; margin-bottom: 4px; }
.detail-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.detail-card .detail-features { text-align: left; margin-bottom: 28px; }
.detail-card .detail-features li {
  padding: 9px 0; border-bottom: 1px solid var(--border-light); color: var(--text-secondary);
  font-size: 14px; line-height: 1.6;
}
.detail-card .detail-features li strong { color: var(--text); font-weight: 600; }
.detail-card .detail-features li:last-child { border-bottom: none; }
.detail-price { font-size: 46px; font-weight: 800; color: var(--primary); margin-bottom: 24px; }
.detail-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.detail-operator {
  display: block; margin-top: -16px; margin-bottom: 20px;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}

/* ===== PRICE TIERS ===== */
.detail-tiers {
  display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center;
}
.tier {
  flex: 1; min-width: 80px; padding: 14px 10px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg-subtle);
  text-align: center; transition: all var(--transition); cursor: default;
}
.tier:hover { border-color: rgba(37,99,235,.3); background: #fff; }
.tier span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.tier strong { font-size: 18px; color: var(--text); display: block; font-weight: 700; }
.tier.highlight-tier {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
  box-shadow: 0 2px 12px rgba(37,99,235,.12);
}
.tier.highlight-tier strong { color: var(--primary); }

/* ===== COMPARE CARDS (mobile-first, no table) ===== */
.compare-cards { margin-top: 56px; }
.compare-cards h3 { text-align: center; font-size: 22px; margin-bottom: 28px; font-weight: 700; }
.compare-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.compare-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: all var(--transition);
}
.compare-card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-md); }
.compare-card-head {
  padding: 14px 20px; font-size: 16px; font-weight: 700; text-align: center;
  background: var(--bg-subtle); border-bottom: 1px solid var(--border);
}
.compare-card-head small {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 4px;
  background: var(--accent); color: #78350f; font-size: 11px; font-weight: 700;
  vertical-align: middle;
}
.compare-card-best { border: 2px solid var(--primary); box-shadow: 0 4px 20px rgba(37,99,235,.12); }
.compare-card-best .compare-card-head { background: var(--primary-light); border-bottom-color: rgba(37,99,235,.15); }
.compare-card-row {
  display: flex; justify-content: space-between; padding: 13px 20px;
  border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.compare-card-row:last-child { border-bottom: none; }
.compare-card-row span:first-child { color: var(--text-muted); font-weight: 500; }
.compare-card-row span:last-child { font-weight: 600; color: var(--text); }
.compare-card-best .compare-card-row span:last-child { color: var(--primary); }

/* ===== LOCAL SIM GUIDE (引导咨询，不列具体套餐) ===== */
.local-sim-guide {
  max-width: 680px; margin: 0 auto;
}
.guide-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 36px;
}
.guide-step {
  display: flex; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.guide-step:last-child { border-bottom: none; }
.guide-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.guide-step-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.guide-step-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.guide-cta {
  text-align: center; padding: 36px 32px;
  background: linear-gradient(160deg, var(--primary-light), #fff);
  border-radius: var(--radius); border: 2px dashed rgba(37,99,235,.2);
}
.guide-cta p { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.guide-cta .btn { font-size: 17px; }

/* ===== NETWORK BADGE ===== */
.network-tags {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 20px;
}
.network-tag {
  padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
}
.network-tag.cm { background: #e8f5e9; color: #2e7d32; }
.network-tag.ct { background: #e3f2fd; color: #1565c0; }
.network-tag.cu { background: #fff3e0; color: #e65100; }

/* ===== WECOM CARD (联系我们) ===== */
.wecom-card { max-width: 460px; margin: 0 auto; }
.wecom-card-inner {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wecom-header {
  display: flex; align-items: center; gap: 16px; padding: 28px 28px 20px;
  background: linear-gradient(160deg, #f0fdf4, #fff);
  border-bottom: 1px solid var(--border-light);
}
.wecom-avatar svg { flex-shrink: 0; }
.wecom-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.wecom-info p { font-size: 13px; color: var(--text-secondary); }
.wecom-badge {
  display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 4px;
  background: #e8f5e9; color: #2e7d32; font-size: 11px; font-weight: 700;
}
.wecom-qrcode {
  padding: 36px; text-align: center; background: var(--bg);
}
.qrcode-img {
  width: 200px; height: 200px; margin: 0 auto; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); display: block; object-fit: contain;
}
.qrcode-hint { margin-top: 14px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.wecom-tips {
  display: flex; justify-content: center; gap: 28px; padding: 0 28px 24px; flex-wrap: wrap;
}
.wecom-tip { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.tip-icon { font-size: 16px; }
.wecom-note {
  padding: 16px 28px 24px; text-align: center; border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}
.wecom-note p { font-size: 13px; color: var(--text-muted); line-height: 1.8; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2, .contact-form h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 36px; font-size: 15px; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  font-size: 26px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: var(--radius-xs); flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item:hover .contact-icon { background: var(--primary); color: #fff; }
.contact-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.contact-item span { font-size: 17px; font-weight: 600; color: var(--text); display: block; }
.contact-item small { display: block; color: var(--text-muted); font-size: 13px; margin-top: 3px; }

/* ===== FORM ===== */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg-subtle);
  transition: all var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faq-item {
  padding: 32px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(37,99,235,.25); box-shadow: var(--shadow-md); }
.faq-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--dark) 0%, #0a0f1a 100%);
  color: #cbd5e1; padding: 64px 0 0;
}
.footer-inner { display: flex; justify-content: space-between; gap: 64px; padding-bottom: 48px; }
.footer-brand .logo-text { font-size: 24px; font-weight: 700; color: #fff; }
.footer-brand p { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0;
  text-align: center; font-size: 13px; color: #64748b;
}
.footer-icp { margin-top: 6px; font-size: 12px; color: #475569; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 44px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: #fff; padding: 14px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none;
  transition: opacity 0.3s; z-index: 1000; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; }

/* ===== RESPONSIVE ===== */

/* Tablet: 1024px 以下 */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 44px; }
  .section-title { font-size: 30px; }
  .feature-grid, .product-cards, .detail-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .local-sim-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-steps { max-width: 100%; }
}

/* Phone: 768px 以下 */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Header */
  .header-inner { height: 58px; padding: 0 4px; }
  .logo { font-size: 18px; gap: 6px; }
  .logo-icon { width: 32px; height: 32px; font-size: 16px; }

  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 72%; max-width: 300px; height: 100vh;
    flex-direction: column; background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    padding: 84px 24px 32px; gap: 4px; box-shadow: -8px 0 32px rgba(0,0,0,.12);
    transition: right 0.35s cubic-bezier(.4,0,.2,1); z-index: 100;
  }
  .nav.open { right: 0; }
  .nav-link { display: block; padding: 16px; font-size: 17px; border-radius: var(--radius-sm); }
  .nav::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15,23,42,.4); z-index: -1; opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav.open::before { opacity: 1; pointer-events: auto; }

  /* Hero */
  .hero { padding: 72px 0 60px; }
  .hero-title { font-size: 30px; letter-spacing: 0; }
  .hero-title br { display: none; }
  .hero-subtitle { font-size: 15px; margin-top: 14px; }
  .hero-subtitle br { display: none; }
  .hero-actions { margin-top: 28px; flex-direction: column; padding: 0 12px; }
  .hero-actions .btn { width: 100%; padding: 16px 0; font-size: 16px; }

  /* Page hero */
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15px; }

  /* Section */
  .section { padding: 52px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 26px; }
  .section-desc { font-size: 15px; padding: 0 8px; }

  /* Feature grid */
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { padding: 28px 16px; }
  .feature-icon { font-size: 34px; margin-bottom: 12px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 13px; }

  /* Product cards */
  .product-cards { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 36px 24px; }
  .product-img { font-size: 48px; }

  /* Stats */
  .stats { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat-number { font-size: 36px; }

  /* CTA */
  .cta-content h2 { font-size: 26px; }
  .btn-lg { padding: 15px 36px; font-size: 16px; }

  /* Detail cards */
  .detail-cards, .detail-cards.two-col { grid-template-columns: 1fr; gap: 20px; }
  .detail-card { padding: 36px 24px; }
  .detail-card .detail-features { text-align: center; }
  .detail-tiers { flex-direction: row; }

  /* Compare cards */
  .compare-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .compare-card-row { padding: 12px 16px; font-size: 13px; }
  .compare-card-head { font-size: 15px; padding: 12px 16px; }

  /* Local SIM guide */
  .guide-step { padding: 16px 0; gap: 14px; }
  .guide-step-num { width: 36px; height: 36px; font-size: 16px; }
  .guide-step-text h4 { font-size: 15px; }
  .guide-step-text p { font-size: 13px; }
  .guide-cta { padding: 24px 20px; }
  .guide-cta p { font-size: 15px; }

  /* Wecom card */
  .wecom-header { padding: 22px 20px 16px; }
  .wecom-qrcode { padding: 24px; }
  .qrcode-img { width: 160px; height: 160px; }
  .wecom-tips { gap: 16px; padding: 0 20px 20px; }

  /* Contact */
  .contact-wrapper { gap: 40px; }
  .contact-info h2, .contact-form h2 { font-size: 24px; }

  /* Form */
  .form-group { margin-bottom: 16px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 13px 14px; font-size: 14px; border-radius: var(--radius-xs); }

  /* FAQ */
  .faq-grid { gap: 12px; }
  .faq-item { padding: 24px; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer-inner { gap: 32px; padding-bottom: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

/* Small phone: 400px 以下 */
@media (max-width: 400px) {
  .hero-title { font-size: 26px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { padding: 24px 18px; }
  .stats-grid { gap: 20px; }
  .stat-number { font-size: 30px; }
}
