/* ============================================
   不插电学习空间 · 官网样式
   深空 #0a1628 + 火箭橙 #ff6b35
   Mobile-first 响应式布局
   ============================================ */

:root {
  --space-deep: #060e1a;
  --space-dark: #0a1628;
  --space-mid: #0f2035;
  --space-light: #152a45;
  --orange: #ff6b35;
  --orange-light: #ff8a5c;
  --orange-glow: rgba(255, 107, 53, 0.3);
  --star: rgba(255, 255, 255, 0.8);
  --text-primary: #f0f2f5;
  --text-secondary: rgba(240, 242, 245, 0.7);
  --text-muted: rgba(240, 242, 245, 0.45);
  --card-bg: rgba(15, 32, 53, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 56px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--space-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== 星空背景 ========== */
#starfield {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--star);
  animation: twinkle var(--duration) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min-opacity); }
  50% { opacity: 1; }
}

/* ========== 导航�?========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(6, 14, 26, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-primary);
}
.nav-logo {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 3px;
}
.nav-brand-text {
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
}
.nav-brand-sub {
  font-size: 11px; color: var(--orange); font-weight: 500;
  margin-left: -2px; letter-spacing: 0.5px;
}
.nav-menu-btn {
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 6px;
}
.nav-menu-btn span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-primary); border-radius: 1px;
  transition: all 0.3s;
}
.nav-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-menu-btn.active span:nth-child(2) { opacity: 0; }
.nav-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* 移动端菜�?*/
.nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 14, 26, 0.95);
  backdrop-filter: blur(30px);
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  padding-top: var(--nav-height);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-overlay a {
  display: block; text-decoration: none;
  color: var(--text-primary);
  font-size: 22px; font-weight: 600;
  padding: 16px 0; letter-spacing: 2px;
  text-align: center; width: 100%;
  transition: color 0.2s;
}
.nav-overlay a:hover, .nav-overlay a:active { color: var(--orange); }
.nav-overlay a .nav-emoji { margin-right: 8px; }

/* ========== 通用区块 ========== */
.section {
  position: relative; z-index: 1;
  padding: 60px 20px;
}
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: 26px; font-weight: 800; letter-spacing: 1px;
  line-height: 1.3; margin-bottom: 16px;
}
.section-desc {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 28px;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ========== HERO ========== */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  top: 20%; left: 50%; transform: translateX(-50%);
  pointer-events: none; z-index: 0;
  animation: heroGlow 6s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.6; transform: translateX(-50%) scale(1.1); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 20px; padding: 6px 14px;
  font-size: 12px; color: var(--orange);
  font-weight: 600; letter-spacing: 1px;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.hero-badge .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: 34px; font-weight: 900; letter-spacing: 1px;
  line-height: 1.25; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.hero-title .accent { color: var(--orange); }
.hero-subtitle {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 36px;
  max-width: 400px; position: relative; z-index: 1;
}
.hero-cta-group {
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; position: relative; z-index: 1;
  width: 100%; max-width: 320px;
}
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 32px;
  background: linear-gradient(135deg, var(--orange), #e85d2c);
  color: #fff; font-size: 17px; font-weight: 700;
  border: none; border-radius: 50px;
  cursor: pointer; text-decoration: none;
  letter-spacing: 1px;
  box-shadow: 0 4px 24px var(--orange-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  border: 1px solid var(--card-border); border-radius: 50px;
  cursor: pointer; text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--text-primary); }

.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 11px; letter-spacing: 2px;
  animation: floatDown 2s ease-in-out infinite;
}
@keyframes floatDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll-hint svg { width: 16px; height: 16px; opacity: 0.5; }

/* ========== 品牌故事 ========== */
.story-content {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 24px;
}
.story-quote {
  font-size: 18px; font-weight: 600; line-height: 1.7;
  color: var(--text-primary); margin-bottom: 12px;
}
.story-quote .highlight { color: var(--orange); }
.story-text {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}
.story-divider {
  width: 40px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 20px 0;
}
.story-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.value-card {
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
}
.value-icon { font-size: 28px; margin-bottom: 8px; }
.value-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.value-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ========== 产品矩阵 ========== */
.product-grid {
  display: flex; flex-direction: column; gap: 16px;
}
.product-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  overflow: hidden;
  transition: transform 0.2s;
}
.product-card:active { transform: scale(0.98); }
.product-card.featured {
  border-color: rgba(255, 107, 53, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), var(--card-bg));
}
.product-card.featured::before {
  content: '热卖';
  position: absolute; top: 12px; right: -28px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 32px; letter-spacing: 1px;
  transform: rotate(45deg);
}
.product-card.upcoming { opacity: 0.65; }
.product-level {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: var(--orange); margin-bottom: 8px;
}
.product-name {
  font-size: 20px; font-weight: 800; margin-bottom: 4px;
}
.product-desc {
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 14px;
}
.product-meta {
  display: flex; align-items: baseline; justify-content: space-between;
}
.product-price {
  font-size: 24px; font-weight: 900; color: var(--orange);
}
.product-price .unit { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.product-tag {
  font-size: 11px; color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px; border-radius: 12px;
}
.product-btn {
  display: block; text-align: center;
  margin-top: 14px; padding: 12px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-sm);
  color: var(--orange); font-size: 14px; font-weight: 600;
  text-decoration: none; letter-spacing: 1px;
  transition: all 0.2s;
}
.product-btn:hover { background: rgba(255, 107, 53, 0.2); }
.product-btn.disabled {
  color: var(--text-muted); background: rgba(255, 255, 255, 0.03);
  border-color: var(--card-border); cursor: default;
}

/* ========== 当前主推活动 ========== */
.featured-event {
  position: relative;
  background: linear-gradient(135deg, #1a0a0a, var(--space-mid));
  border: 1px solid rgba(218, 37, 29, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-header {
  padding: 28px 20px 0;
  text-align: center;
}
.featured-moon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff9e6, #f5e0b0 40%, #c8a040 100%);
  box-shadow: 0 0 30px rgba(255, 240, 200, 0.4), 0 0 60px rgba(255, 220, 150, 0.15);
}
.featured-title {
  font-size: 22px; font-weight: 900; color: #ffe4a0;
  text-shadow: 0 2px 8px rgba(160, 20, 30, 0.4);
  margin-bottom: 6px;
}
.featured-subtitle {
  font-size: 14px; color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.featured-tags {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.featured-tag {
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.featured-tag.highlight {
  color: #ffe4a0; border-color: rgba(255, 220, 140, 0.3);
  background: rgba(255, 200, 100, 0.1);
}
.featured-highlights {
  padding: 0 20px 20px;
}
.featured-hl-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.featured-hl-item:last-child { border-bottom: none; }
.featured-hl-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.featured-hl-text {
  font-size: 14px; color: rgba(255, 255, 255, 0.8); line-height: 1.5;
}
.featured-cta {
  display: block; text-align: center;
  padding: 16px 24px; margin: 0 20px 24px;
  background: linear-gradient(135deg, #c41e3a, #a0182e);
  color: #ffe4a0; font-size: 16px; font-weight: 700;
  border-radius: 50px; text-decoration: none;
  letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}

/* ========== 研学线路 ========== */
.route-tabs {
  display: flex; gap: 8px; margin-bottom: 24px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.route-tabs::-webkit-scrollbar { display: none; }
.route-tab {
  flex-shrink: 0;
  padding: 8px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.route-tab.active {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
  color: var(--orange);
}
.route-panel { display: none; }
.route-panel.active { display: block; }

.route-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.route-hero-img {
  width: 100%; height: 180px;
  background: var(--space-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.route-hero-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--card-bg));
}
.route-body { padding: 20px; }
.route-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.route-location { font-size: 13px; color: var(--orange); margin-bottom: 12px; }
.route-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 16px;
}
.route-feature {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary);
}
.route-feature .icon { font-size: 16px; }
.route-price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--card-border);
}
.route-price { font-size: 26px; font-weight: 900; color: var(--orange); }
.route-price .from { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.route-price .unit { font-size: 14px; font-weight: 500; color: var(--text-secondary); }

/* ========== 往期回�?========== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
}
.gallery-item {
  position: relative; overflow: hidden;
  background: #000;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
@media screen and (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}
@media screen and (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 32px; color: var(--text-muted);
  background: linear-gradient(135deg, var(--space-mid), var(--space-light));
}
.gallery-placeholder span {
  font-size: 11px; margin-top: 6px; letter-spacing: 1px;
}
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 11px; color: rgba(255,255,255,0.8);
}
.review-cards {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 24px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.review-text {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; font-style: italic;
  margin-bottom: 10px;
}
.review-text::before { content: '"'; color: var(--orange); font-size: 20px; font-weight: 700; }
.review-text::after { content: '"'; color: var(--orange); font-size: 20px; font-weight: 700; }
.review-author {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
}
.review-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--space-light); display: flex;
  align-items: center; justify-content: center; font-size: 14px;
}

/* ========== 关于我们 ========== */
.about-story {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 20px;
}
.about-story-step {
  display: flex; gap: 14px;
  margin-bottom: 20px;
}
.about-story-step:last-child { margin-bottom: 0; }
.about-step-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.about-step-content { flex: 1; }
.about-step-label {
  font-size: 11px; font-weight: 600; color: var(--orange);
  letter-spacing: 1px; margin-bottom: 2px;
}
.about-step-text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.about-b2b {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), var(--card-bg));
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
}
.about-b2b-icon { font-size: 42px; margin-bottom: 16px; }
.about-b2b-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.about-b2b-desc {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

/* ========== 联系我们 ========== */
.contact-grid {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px; display: flex; align-items: center; gap: 14px;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.contact-info { flex: 1; }
.contact-label { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.contact-value { font-size: 14px; color: var(--text-secondary); }
.faq-list {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--card-border);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; cursor: pointer;
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
}
.faq-q .arrow {
  font-size: 12px; color: var(--text-muted);
  transition: transform 0.3s;
}
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.faq-a.open { max-height: 200px; }
.faq-a-inner { padding: 0 0 16px; }

/* ========== 底部 ========== */
.site-footer {
  position: relative; z-index: 1;
  background: var(--space-deep);
  border-top: 1px solid var(--card-border);
  padding: 40px 20px;
  padding-bottom: calc(40px + var(--safe-bottom));
  text-align: center;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand-name {
  font-size: 18px; font-weight: 800;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 13px; color: var(--orange);
  letter-spacing: 1px;
}
.footer-links {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 13px; color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 11px; color: var(--text-muted);
  line-height: 1.6;
}
.footer-rocket {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 3px;
  animation: rocketFloat 3s ease-in-out infinite;
}
@keyframes rocketFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== 分隔线装�?========== */
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  margin: 0;
}

/* ========== 回到顶部 ========== */
.back-to-top {
  position: fixed; bottom: 24px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  backdrop-filter: blur(10px);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:active { transform: scale(0.9); }

/* ========== 动画 ========== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== 平板竖屏+ ========== */
@media screen and (min-width: 768px) {
  .section { padding: 80px 40px; }
  .section-title { font-size: 34px; }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 20px; max-width: 560px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary { width: auto; padding: 16px 40px; }
  .product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .story-values { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-links-desktop { display: flex; gap: 24px; }
  .nav-links-desktop a {
    font-size: 13px; color: var(--text-secondary);
    text-decoration: none; font-weight: 500;
    letter-spacing: 0.5px;
  }
  .nav-links-desktop a:hover { color: var(--orange); }
  .nav-menu-btn { display: none; }
  .route-features { grid-template-columns: 1fr 1fr 1fr; }
}

/* ========== 桌面 ========== */
@media screen and (min-width: 1024px) {
  .section { padding: 100px 60px; }
  .container { max-width: 1000px; }
  .hero-title { font-size: 56px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-event-inner { display: flex; }
}

/* 隐藏桌面端导航链接（移动端） */
.nav-links-desktop { display: none; }

/* ========== 弹窗 ========== */
.popup-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
}
.popup-overlay.show { display: flex; }
.popup-content {
  background: #fff; border-radius: 20px;
  padding: 32px 24px 24px; max-width: 360px; width: 100%;
  position: relative; text-align: center;
  animation: popupIn 0.25s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.popup-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 22px; color: var(--text-muted); cursor: pointer;
  width: 32px; height: 32px; line-height: 32px; text-align: center;
  border-radius: 50%; transition: background 0.2s;
}
.popup-close:hover { background: rgba(255,255,255,0.1); }
.popup-title {
  font-size: 18px; font-weight: 700; color: var(--orange);
  margin-bottom: 20px;
}
.popup-img-wrap {
  width: 240px; height: 240px; margin: 0 auto 16px;
  border-radius: 16px; overflow: hidden;
  background: var(--card-border); position: relative;
}
.popup-img {
  width: 100%; height: 100%; object-fit: contain; display: none;
}
.popup-img-placeholder {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; padding: 20px;
  box-sizing: border-box;
}
.popup-img[src]:not([src=""]) { display: block; }
.popup-img[src]:not([src=""]) + .popup-img-placeholder { display: none; }
.popup-hint {
  font-size: 13px; color: #999; line-height: 1.6;
}
.popup-phone {
  font-size: 32px; font-weight: 900; color: var(--orange);
  letter-spacing: 2px; margin: 16px 0 20px;
}
.popup-call-btn {
  display: block; width: 100%; padding: 14px;
  background: var(--orange); color: #fff;
  border-radius: 12px; font-size: 17px; font-weight: 700;
  text-decoration: none; transition: opacity 0.2s;
}
.popup-call-btn:hover { opacity: 0.85; }

@media (max-width: 480px) {
  .popup-content { padding: 28px 18px 18px; }
  .popup-img-wrap { width: 200px; height: 200px; }
  .popup-phone { font-size: 26px; }
}

/* ========== 视频回顾样式 ========== */
.gallery-videos {
  text-align: center;
  margin-bottom: 25px;
}
.gallery-videos-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}
.gallery-videos-container {
  display: flex;
  gap: 8px;
  width: 100%;
}
.video-item {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}
.video-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  width: 25%;
  height: 25%;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.video-play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.video-play-btn span {
  color: white;
  font-size: 55%;
  margin-left: 2px;
}

/* ========== 我们的方向 ========== */
.our-direction { margin-top: 32px; }
.direction-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px;
}
.direction-card {
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
}
.direction-icon { font-size: 28px; margin-bottom: 8px; }
.direction-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.direction-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ========== 路线卡片竞赛培训关联提示 ========== */
.route-training-link {
  margin-top: 12px; padding: 10px 12px;
  background: rgba(255, 107, 53, 0.06);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  border-left: 3px solid var(--orange);
  line-height: 1.5;
}
.route-training-link a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.route-training-link a:hover {
  text-decoration: underline;
}

/* ========== 反向逻辑提示框 ========== */
.reverse-logic {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255, 107, 53, 0.06);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.reverse-logic strong {
  color: var(--orange);
}
.reverse-logic a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

/* ========== 三大发射场集邮 ========== */
.badge-timeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.badge-stage {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 20px 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  position: relative;
}
.badge-stage:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
  transform: translateY(-3px);
}
.badge-stage-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.badge-stage-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.badge-stage-age {
  font-size: 12px;
  color: var(--orange);
  margin-bottom: 6px;
  font-weight: 500;
}
.badge-stage-cert {
  font-size: 11px;
  color: var(--text-muted);
}
.badge-arrow {
  font-size: 20px;
  color: rgba(255, 107, 53, 0.4);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

/* ========== 观礼页竞赛关联提示 ========== */
.featured-competition-link {
  margin-top: 20px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}
.featured-competition-link .section-label {
  margin-bottom: 8px;
}

/* 移动端样式 */
@media screen and (max-width: 640px) {
  /* 我们的方向卡片 */
  .direction-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .direction-card {
    min-width: auto;
    padding: 14px 10px;
  }
  .direction-icon {
    font-size: 28px;
  }
  .direction-title {
    font-size: 13px;
  }
  .direction-desc {
    font-size: 11px;
  }
  
  /* 路线卡片竞赛培训关联提示 */
  .route-training-link {
    font-size: 11px;
    padding: 8px 10px;
  }
  
  /* 反向逻辑提示框 */
  .reverse-logic {
    font-size: 12px;
    padding: 12px;
  }
  
  /* 三大发射场集邮 */
  .badge-timeline {
    flex-direction: column;
    gap: 10px;
  }
  .badge-stage {
    min-width: 100%;
    padding: 16px;
  }
  .badge-arrow {
    display: none;
  }
  
  /* 观礼页竞赛关联提示 */
  .featured-competition-link {
    padding: 12px;
  }
  
  /* 视频容器 */
  .gallery-videos-container {
    flex-direction: row;
    gap: 8px;
  }
  .video-item {
    flex: 1;
    min-width: 0;
  }
  .video-item img {
    width: 100%;
    height: auto;
  }
}
