/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e; background: #fff; line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 英雄区 ===== */
.hero-section {
  position: relative; min-height: 600px; overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 80px 0 60px;
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.3; }
.g1 { width: 500px; height: 500px; background: #667eea; top: -100px; left: -100px; }
.g2 { width: 400px; height: 400px; background: #f093fb; bottom: -50px; right: -50px; }
.g3 { width: 300px; height: 300px; background: #764ba2; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.hero-content { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1; color: #fff; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; margin-bottom: 20px;
}
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -1px; }
.hero-subtitle { font-size: 18px; opacity: 0.9; line-height: 1.7; margin-bottom: 20px; max-width: 500px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-tags span {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  padding: 4px 14px; border-radius: 16px; font-size: 13px; font-weight: 500;
}
.hero-actions { display: flex; align-items: center; gap: 20px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #00d2ff, #3a7bd5); color: #fff;
  padding: 14px 32px; border-radius: 12px; font-size: 16px; font-weight: 600;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,210,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,210,255,0.4); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-link { color: rgba(255,255,255,0.8); font-size: 15px; transition: color 0.3s; }
.btn-link:hover { color: #fff; }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 18px; }

/* 英雄插画 - SIM卡 */
.hero-visual { flex: 0 0 420px; display: flex; justify-content: center; align-items: center; }
.hero-illustration { position: relative; width: 380px; height: 380px; }
.sim-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 130px; background: linear-gradient(145deg, #ffd700, #ffa500);
  border-radius: 12px; box-shadow: 0 0 40px rgba(255,215,0,0.5); z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.sim-ring {
  position: absolute; width: 160px; height: 160px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%; animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring { 0%,100%{transform:scale(1);opacity:0.5} 50%{transform:scale(1.1);opacity:0.2} }
.sim-chip {
  width: 44px; height: 36px; background: linear-gradient(135deg, #e8d5b7, #c9a96e);
  border-radius: 4px; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px;
}
.chip-line { background: rgba(0,0,0,0.15); border-radius: 1px; }
.orbit-item {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: 14px; color: #fff; font-size: 12px; font-weight: 600;
  animation: float 3s ease-in-out infinite;
}
.oi-icon { font-size: 22px; }
.oi-mobile { top: 10%; left: 10%; animation-delay: 0s; }
.oi-unicom { top: 10%; right: 10%; animation-delay: 0.5s; }
.oi-telecom { bottom: 10%; left: 10%; animation-delay: 1s; }
.oi-commission { bottom: 10%; right: 10%; animation-delay: 1.5s; }
.oi-fast { top: 50%; left: -5%; transform: translateY(-50%); animation-delay: 0.3s; }
.oi-zero { top: 50%; right: -5%; transform: translateY(-50%); animation-delay: 0.8s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ===== 数据统计 ===== */
.stats-section { background: #f8f9fe; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; padding: 24px; border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: transform 0.3s;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-icon { font-size: 36px; flex-shrink: 0; }
.stat-num { font-size: 32px; font-weight: 800; color: #667eea; display: block; }
.stat-label { font-size: 14px; color: #666; }

/* ===== 通用标题 ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { font-size: 16px; color: #666; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ===== 核心优势 ===== */
.adv-section { padding: 80px 0; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  padding: 32px; border-radius: 16px; background: #fff;
  border: 1px solid #eee; transition: all 0.3s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(102,126,234,0.12); border-color: #667eea; }
.adv-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.icon-carrier { background: linear-gradient(135deg, #667eea, #764ba2); }
.icon-commission { background: linear-gradient(135deg, #f7971e, #ffd200); }
.icon-settle { background: linear-gradient(135deg, #00b09b, #96c93d); }
.icon-track { background: linear-gradient(135deg, #fc5c7d, #6a82fb); }
.icon-material { background: linear-gradient(135deg, #11998e, #38ef7d); }
.icon-support { background: linear-gradient(135deg, #ee0979, #ff6a00); }
.adv-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== 热门号卡 ===== */
.product-section { padding: 80px 0; background: #f8f9fe; }
.prod-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.prod-tab {
  padding: 10px 24px; border-radius: 10px; border: 2px solid #e0e0e0;
  background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.prod-tab:hover { border-color: #667eea; color: #667eea; }
.prod-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-color: transparent; }
.prod-panel { display: none; }
.prod-panel.active { display: block; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  position: relative; background: #fff; border-radius: 16px; padding: 24px;
  border: 2px solid #eee; transition: all 0.3s; overflow: hidden;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.prod-card.hot { border-color: #ff6b6b; }
.pc-carrier {
  display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.cmcc { background: linear-gradient(135deg, #0066ff, #0099ff); }
.cucc { background: linear-gradient(135deg, #ff6600, #ff9933); }
.ctcc { background: linear-gradient(135deg, #009966, #00cc88); }
.bb { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.pc-hot {
  position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
}
.pc-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pc-price { font-size: 14px; color: #666; margin-bottom: 12px; }
.pc-price em { font-size: 36px; font-weight: 800; font-style: normal; color: #667eea; }
.pc-features { margin-bottom: 14px; }
.pc-features li { font-size: 13px; color: #555; padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.pc-features li span { color: #00cc88; font-weight: 700; }
.pc-commission {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100;
  padding: 8px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; text-align: center;
}
.pc-commission strong { font-size: 20px; }
.pc-btn {
  display: block; text-align: center; padding: 10px; border-radius: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2); color: #fff;
  font-size: 14px; font-weight: 600; transition: opacity 0.3s;
}
.pc-btn:hover { opacity: 0.9; }

/* ===== 佣金体系 ===== */
.comm-section { padding: 80px 0; }
.comm-flow { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 48px; }
.comm-node {
  flex: 1; max-width: 280px; text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 16px; border: 2px solid #eee; transition: all 0.3s;
}
.comm-node:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(102,126,234,0.12); border-color: #667eea; }
.comm-level {
  display: inline-block; width: 48px; height: 48px; line-height: 48px;
  background: linear-gradient(135deg, #667eea, #764ba2); color: #fff;
  border-radius: 12px; font-size: 18px; font-weight: 800; margin-bottom: 12px;
}
.comm-node h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.comm-rate { font-size: 22px; font-weight: 800; color: #667eea; margin-bottom: 8px; }
.comm-node p { font-size: 13px; color: #666; }
.comm-arrow { font-size: 28px; color: #667eea; font-weight: 700; }
.comm-example {
  max-width: 600px; margin: 0 auto; background: #f0f2ff; border-radius: 16px; padding: 28px; border: 1px solid #d5d9ff;
}
.ce-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ce-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.ce-calc { display: flex; flex-direction: column; gap: 8px; }
.ce-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px; background: #fff; border-radius: 8px; font-size: 14px;
}
.ce-item strong { color: #667eea; font-size: 15px; }
.ce-total { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.ce-total strong { color: #ffd700; font-size: 18px; }
.ce-total span { color: rgba(255,255,255,0.9); }

/* ===== 适用场景 ===== */
.scene-section { padding: 80px 0; background: linear-gradient(135deg, #1a1a2e, #2d2b55); }
.scene-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.scene-tab {
  padding: 10px 24px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.2);
  background: transparent; color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.scene-tab:hover { border-color: #667eea; color: #fff; }
.scene-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-color: transparent; }
.scene-panel { display: none; }
.scene-panel.active { display: block; }
.scene-layout { display: flex; gap: 48px; align-items: flex-start; }
.scene-info { flex: 1; color: #fff; }
.scene-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.scene-list { margin-bottom: 24px; }
.scene-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; color: rgba(255,255,255,0.85); }
.sl-check { color: #00d2ff; font-weight: 700; font-size: 16px; }
.scene-income {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  padding: 14px 20px; border-radius: 12px; margin-bottom: 24px;
}
.si-label { font-size: 14px; color: rgba(255,255,255,0.7); }
.si-value { font-size: 24px; font-weight: 800; color: #ffd700; }

/* 手机模拟器 */
.scene-demo { flex: 0 0 300px; }
.phone-mockup {
  background: #1a1a2e; border-radius: 28px; border: 3px solid rgba(255,255,255,0.15);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pm-status { display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12px; color: rgba(255,255,255,0.5); }
.pm-header { padding: 10px 16px; font-size: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
.pm-body { padding: 16px; }
.pm-search {
  background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 14px;
  color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 12px;
}
.pm-card-mini {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: rgba(255,255,255,0.06); border-radius: 10px; margin-bottom: 8px;
  border-left: 3px solid;
}
.pm-card-mini.cmcc { border-left-color: #0066ff; }
.pm-card-mini.cucc { border-left-color: #ff6600; }
.pm-card-mini.ctcc { border-left-color: #009966; }
.pmc-name { flex: 1; color: #fff; font-size: 13px; font-weight: 600; }
.pmc-price { color: rgba(255,255,255,0.7); font-size: 12px; }
.pmc-comm { color: #ffd700; font-size: 12px; font-weight: 700; }
.pm-share-btn {
  margin-top: 12px; text-align: center; padding: 10px; border-radius: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2); color: #fff;
  font-size: 13px; font-weight: 600;
}

/* 手机模拟器 - 场景变体 */
.pm-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pm-stat-box {
  text-align: center; background: rgba(255,255,255,0.06); border-radius: 10px; padding: 10px;
}
.pm-stat-box strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.pm-stat-box span { font-size: 11px; color: rgba(255,255,255,0.5); }
.pm-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 100px; padding: 8px;
  background: rgba(255,255,255,0.04); border-radius: 10px;
}
.chart-bar {
  flex: 1; background: linear-gradient(to top, #667eea, #764ba2); border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}
.pm-store-info { text-align: center; margin-bottom: 12px; }
.psi-icon { font-size: 36px; margin-bottom: 6px; }
.psi-name { color: #fff; font-size: 15px; font-weight: 700; }
.psi-addr { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 2px; }
.pm-qr-placeholder { text-align: center; padding: 16px; }
.qr-box {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; padding: 16px; border-radius: 12px;
}
.qr-grid {
  width: 80px; height: 80px; background:
    repeating-linear-gradient(0deg, #333 0, #333 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(90deg, #333 0, #333 4px, transparent 4px, transparent 8px);
  background-size: 8px 8px; opacity: 0.6; border-radius: 4px;
}
.qr-box span { font-size: 11px; color: #666; }
.pm-agent-badge {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1));
  border-radius: 12px; margin-bottom: 12px;
}
.pab-icon { font-size: 32px; }
.pab-info strong { display: block; color: #ffd700; font-size: 14px; }
.pab-info span { font-size: 12px; color: rgba(255,255,255,0.6); }
.pm-agent-rank { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 10px 12px; }
.par-title { color: rgba(255,255,255,0.5); font-size: 12px; margin-bottom: 6px; }
.par-item {
  display: flex; align-items: center; gap: 8px; padding: 5px 0;
  color: #fff; font-size: 13px;
}
.par-item span {
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 6px;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}

/* ===== 推广流程 ===== */
.flow-section { padding: 80px 0; background: #f8f9fe; }
.flow-steps { display: flex; align-items: flex-start; gap: 0; justify-content: center; }
.flow-step {
  flex: 1; max-width: 240px; text-align: center; padding: 28px 20px;
  background: #fff; border-radius: 16px; border: 2px solid #eee; transition: all 0.3s;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(102,126,234,0.12); border-color: #667eea; }
.fs-num {
  font-size: 14px; font-weight: 800; color: #667eea; margin-bottom: 8px;
}
.fs-icon { font-size: 40px; margin-bottom: 12px; }
.flow-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: #666; line-height: 1.6; }
.flow-connector {
  width: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #667eea; margin-top: 60px;
}
.flow-connector::before { content: '→'; }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; text-align: center; }
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: #666; margin-bottom: 30px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.btn-outline-blue {
  padding: 16px 40px; border-radius: 12px; border: 2px solid #667eea; color: #667eea;
  font-size: 18px; font-weight: 600; transition: all 0.3s;
}
.btn-outline-blue:hover { background: #667eea; color: #fff; }
.cta-trust { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: #999; }

/* ===== 悬浮栏 ===== */
.floating-bar {
  position: fixed; right: 20px; bottom: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 999;
}
.float-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: all 0.3s; font-size: 11px; color: #666;
}
.float-item:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.fi-icon { font-size: 22px; }

/* ===== 滚动动画 ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-title { font-size: 42px; }
  .hero-subtitle { margin: 0 auto 20px; }
  .hero-tags { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { flex: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .comm-flow { flex-direction: column; }
  .comm-arrow { transform: rotate(90deg); }
  .scene-layout { flex-direction: column; }
  .scene-demo { flex: none; width: 300px; margin: 0 auto; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-connector { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-illustration { width: 280px; height: 280px; }
  .sim-center { width: 70px; height: 90px; }
  .orbit-item { padding: 6px 10px; font-size: 10px; }
  .oi-icon { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 16px; }
  .stat-num { font-size: 22px; }
  .adv-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .prod-tabs { flex-wrap: wrap; }
  .scene-tabs { flex-wrap: wrap; }
}
