:root {
  --bg-color: #f6f8fd;
  --text-main: #2b2d42;
  --text-muted: #6b7280;
  --primary: #7c3aed;
  --primary-light: #ede9fe;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.4);
  --card-bg: #ffffff;
  --border-radius: 16px;
  --shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  --shadow-hover: 0 12px 30px rgba(124, 58, 237, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 漂浮与星轨背景 */
.bg-decor {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1;
  background-image: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 20%);
}

/* 星球签名元素 */
.planet-icon {
  display: inline-block; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative; margin-right: 10px; vertical-align: middle;
  animation: spin 8s linear infinite;
}
.planet-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(20deg);
  width: 32px; height: 8px; border: 1px solid rgba(124, 58, 237, 0.4); border-radius: 50%;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* 排版与通用 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
.section-title { font-size: 28px; margin-bottom: 20px; display: flex; align-items: center; }
.persona-intro { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; max-width: 800px; }

/* 顶部导航 */
header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-area { display: flex; align-items: center; font-size: 20px; font-weight: 800; color: var(--primary); }
.logo-area img { height: 36px; margin-right: 12px; }
.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.download-btn-nav {
  background: var(--primary); color: white; padding: 10px 24px; border-radius: 30px;
  font-weight: bold; font-size: 14px; transition: transform 0.2s;
}
.download-btn-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); }

/* 首屏迎宾 */
.hero { text-align: center; padding-top: 40px; }
.hero h1 { font-size: 36px; margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }
.stats-row { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 24px; color: var(--primary); }
.stat-item span { font-size: 12px; color: var(--text-muted); }

/* 机位编队 (纯静态首屏机队) */
.fleet-showcase {
  display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 40px;
  overflow-x: auto; padding-bottom: 20px;
}
.phone-mockup {
  width: 140px; border-radius: 20px; border: 6px solid #222;
  background: #000; overflow: hidden; position: relative; flex-shrink: 0;
  transition: transform 0.3s;
}
.phone-mockup.main { width: 240px; border-width: 8px; border-radius: 32px; z-index: 2; }
.phone-mockup img { width: 100%; height: auto; display: block; }
.phone-mockup:not(.main) { opacity: 0.7; }
.phone-mockup:not(.main):hover { opacity: 1; transform: translateY(-5px); }

/* 下载按钮群 */
.download-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.dl-btn {
  background: white; border: 2px solid var(--primary-light); border-radius: 12px;
  padding: 12px 24px; font-weight: bold; display: flex; flex-direction: column; align-items: center;
  min-width: 120px; transition: all 0.2s; cursor: pointer;
}
.dl-btn.primary { background: var(--primary); color: white; border-color: var(--primary); }
.dl-btn span { font-size: 12px; font-weight: normal; opacity: 0.8; margin-top: 4px; }
.dl-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* 观光航线 */
.route-section .route-list { display: flex; flex-direction: column; gap: 40px; }
.route-item { display: flex; align-items: center; gap: 40px; }
.route-item:nth-child(even) { flex-direction: row-reverse; }
.route-text { flex: 1; }
.route-text h3 { font-size: 22px; margin-bottom: 10px; color: var(--primary); }
.route-text p { color: var(--text-muted); font-size: 15px; }
.route-image { flex: 0 0 240px; border-radius: 24px; border: 6px solid #222; overflow: hidden; }
.route-flight { text-align: center; margin: 20px 0; color: var(--primary); font-size: 24px; font-weight: bold; letter-spacing: 4px; }

/* 新番大字墙 */
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.wall-card {
  background: white; border-radius: var(--border-radius); padding: 24px; box-shadow: var(--shadow);
  position: relative; transition: transform 0.2s; border-left: 6px solid var(--primary);
}
.wall-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.wall-card h3 { font-size: 20px; margin-bottom: 10px; }
.wall-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.wall-tags span { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--primary-light); color: var(--primary); }
.wall-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.wall-heat { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.heat-bar { flex: 1; height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #ff7e67); border-radius: 3px; }

/* 周更时刻表 */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.cal-col { background: white; border-radius: 12px; padding: 15px; border-top: 4px solid transparent; }
.cal-col.today { border-top-color: var(--primary); background: var(--primary-light); }
.cal-col h4 { font-size: 15px; text-align: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.cal-col.today h4 { color: var(--primary); border-bottom-color: rgba(124,58,237,0.2); }
.cal-item { font-size: 12px; margin-bottom: 8px; padding: 6px; background: #f9fafb; border-radius: 6px; }
.cal-item span { display: block; color: var(--text-muted); transform: scale(0.9); transform-origin: left; }

/* 排行榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex; align-items: center; background: white; padding: 16px 24px; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.rank-num { font-size: 36px; font-weight: 900; color: var(--primary-light); margin-right: 20px; width: 50px; text-align: center; }
.rank-item.top1 .rank-num { color: var(--primary); font-size: 46px; }
.rank-info { flex: 1; }
.rank-title { font-size: 18px; font-weight: bold; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.rank-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 15px; }

/* 领区分类 */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.zone-card {
  background: white; border: 2px dashed #d1d5db; border-radius: 12px; padding: 20px; text-align: center;
  transition: all 0.3s;
}
.zone-card:hover { border-color: var(--primary); transform: rotate(-2deg); }
.zone-card h4 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.zone-card p { font-size: 13px; color: var(--text-muted); }

/* 独家首播 */
.exclusive-layout { display: flex; gap: 30px; }
.exclusive-main {
  flex: 1; background: linear-gradient(135deg, #2b2d42, #1a1b2e); color: white;
  border-radius: var(--border-radius); padding: 40px; position: relative; overflow: hidden;
}
.exclusive-main h3 { font-size: 32px; margin-bottom: 16px; }
.exclusive-main p { font-size: 14px; opacity: 0.8; margin-bottom: 24px; }
.exclusive-badge { background: var(--accent); color: #000; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 20px; }
.exclusive-list { flex: 0 0 300px; background: white; border-radius: var(--border-radius); padding: 20px; }
.exclusive-item { border-bottom: 1px solid #f3f4f6; padding: 12px 0; display: flex; justify-content: space-between; font-size: 14px; }
.exclusive-item:last-child { border-bottom: none; }

/* 免费区 */
.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.free-card {
  background: white; border-radius: 12px; padding: 16px; border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; justify-content: space-between; align-items: center;
}
.free-card h4 { font-size: 15px; }
.free-tag { font-size: 12px; color: var(--accent); font-weight: bold; }

/* 留言墙 */
.wall-container { display: flex; flex-direction: column; gap: 16px; background: white; padding: 30px; border-radius: var(--border-radius); }
.message-row { display: flex; align-items: center; gap: 16px; padding: 12px; background: #f8f9fc; border-radius: 30px; width: fit-content; }
.message-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; }
.message-text { font-size: 14px; }

/* 服务窗口 (FAQ) */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { background: white; border-radius: 12px; padding: 16px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); cursor: pointer; }
details summary { font-weight: bold; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--primary); margin-bottom: 12px; }
details p { font-size: 14px; color: var(--text-muted); }

/* 入境口岸 */
.steps-row { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.step-card { flex: 1; background: white; padding: 24px; border-radius: var(--border-radius); text-align: center; box-shadow: var(--shadow); }
.step-card h4 { color: var(--primary); margin-bottom: 10px; }

.passport-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.passport-card {
  background: white; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; text-align: center;
  display: flex; flex-direction: column; justify-content: space-between; transition: all 0.2s;
}
.passport-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.passport-card h4 { margin-bottom: 8px; }
.passport-card p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.passport-btn { background: var(--primary-light); color: var(--primary); padding: 10px; border-radius: 8px; font-weight: bold; display: block; font-size: 14px; transition: all 0.2s; }
.passport-card:hover .passport-btn { background: var(--primary); color: white; }

/* 页脚 */
footer { background: #1a1b2e; color: #9ca3af; padding: 40px 0 20px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; color: white; font-size: 20px; font-weight: bold; }
.footer-logo img { height: 32px; margin-right: 10px; }
.footer-links h5 { color: white; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; border-top: 1px solid #2b2d42; padding-top: 20px; font-size: 12px; }
.copyright p { margin-bottom: 8px; }

/* 底部悬浮条 (移动端) */
.mobile-float-bar {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 12px 16px; z-index: 1000;
  align-items: center; justify-content: space-between; gap: 10px;
}
.mobile-float-bar .dl-btn { flex: 1; padding: 10px; font-size: 14px; }

/* 响应式 */
@media (max-width: 1024px) {
  .fleet-showcase { gap: 10px; }
  .phone-mockup { width: 120px; }
  .phone-mockup.main { width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calendar-grid { grid-template-columns: repeat(4, 1fr); }
  .passport-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; } /* 移动端隐藏导航 */
}

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .fleet-showcase { justify-content: flex-start; padding-left: 20px; }
  .download-group { flex-direction: column; padding: 0 20px; }
  .dl-btn { width: 100%; }
  .route-item { flex-direction: column; text-align: center; }
  .route-item:nth-child(even) { flex-direction: column; }
  .route-image { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .exclusive-layout { flex-direction: column; }
  .exclusive-list { flex: auto; }
  .steps-row { flex-direction: column; }
  .passport-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-float-bar { display: flex; }
  body { padding-bottom: 70px; } /* 为悬浮条留空间 */
}