/* ==========================================================================
   Stickman Tricks: Puzzle Escape - Official Landing Page Style
   淡彩马卡龙系列风格：清晰辨识的柔和淡彩色（绝非白色，绝非暗黑）
   ========================================================================== */

:root {
  /* 淡彩主题色盘 - 明亮柔和淡彩，绝非白色 */
  --bg-gradient-start: #cfe3f5;
  --bg-gradient-mid: #d8f0ec;
  --bg-gradient-end: #e6dcfa;
  --bg-decor-1: rgba(193, 231, 227, 0.7);
  --bg-decor-2: rgba(230, 213, 245, 0.65);
  --bg-decor-3: rgba(253, 236, 200, 0.6);

  /* 卡片与容器色彩 */
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-hover: rgba(255, 255, 255, 0.95);
  --card-border: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 14px 34px rgba(45, 78, 120, 0.08);
  --card-shadow-hover: 0 20px 42px rgba(45, 78, 120, 0.14);

  /* 文字颜色 */
  --text-main: #192a45;
  --text-secondary: #4a5d78;
  --text-muted: #71839e;

  /* 主题交互色 */
  --primary: #1668e8;
  --primary-hover: #0f52bf;
  --primary-light: #e6f0ff;
  --accent-orange: #ff7a18;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;

  /* 尺寸与圆角 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: linear-gradient(145deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 45%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景流动淡彩光晕层 */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.85;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: var(--bg-decor-1);
  top: -100px;
  left: -80px;
}

.blob-2 {
  width: 580px;
  height: 580px;
  background: var(--bg-decor-2);
  bottom: 5%;
  right: -100px;
  animation-duration: 22s;
}

.blob-3 {
  width: 440px;
  height: 440px;
  background: var(--bg-decor-3);
  top: 40%;
  left: 45%;
  animation-duration: 16s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(220, 235, 248, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(35, 65, 100, 0.05);
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.05);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #11223f;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #1668e8, #0084ff);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 104, 232, 0.3);
  transition: var(--transition);
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 104, 232, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}

/* 通用按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1062e0 0%, #0077f5 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 98, 224, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 98, 224, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 65, 100, 0.1);
}

/* Hero 首屏 */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(22, 104, 232, 0.12);
  border: 1px solid rgba(22, 104, 232, 0.25);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #10213d;
  margin-bottom: 1rem;
}

.hero-title-sub {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0959c9, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.35rem;
}

.hero-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b456b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* 官方 Google Play 徽章按钮 */
.gp-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  background: #111827;
  color: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
  transition: var(--transition);
  border: 1px solid #374151;
}

.gp-button:hover {
  background: #1f2937;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.35);
}

.gp-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.gp-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.gp-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  line-height: 1.2;
}

.gp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

/* 评价与标签条 */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(60, 90, 130, 0.12);
}

.badge-item {
  display: flex;
  flex-direction: column;
}

.badge-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #152d4d;
}

.badge-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero 右侧展示KV */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--card-border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  max-width: 380px;
}

.hero-main-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 8px);
  display: block;
  object-fit: cover;
}

/* 漂浮装饰挂件 */
.floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px rgba(25, 45, 80, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #172c4a;
  border: 1px solid #ffffff;
  animation: floatPill 5s ease-in-out infinite alternate;
}

.pill-top {
  top: 15px;
  left: -25px;
}

.pill-bottom {
  bottom: 25px;
  right: -20px;
  animation-delay: 2.5s;
}

@keyframes floatPill {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.pill-icon {
  font-size: 1.2rem;
}

/* 章节通用标题 */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  padding: 4px 12px;
  background: rgba(22, 104, 232, 0.1);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 850;
  color: #13243e;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* 游戏核心特色板块 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  background: var(--card-bg-hover);
}

.mockup-wrapper {
  background: #f1f6fb;
  border-radius: 18px;
  padding: 12px 12px 0 12px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #ddecfa;
  display: flex;
  justify-content: center;
}

.mockup-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
  transition: transform 0.4s ease;
}

.feature-card:hover .mockup-img {
  transform: scale(1.03);
}

.feature-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-badge-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #152b47;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 精彩截图画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 32, 58, 0.75) 0%, rgba(16, 32, 58, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: #ffffff;
}

.gallery-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gallery-info p {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* 玩法亮点卡片横幅 */
.highlights-strip {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: var(--transition);
}

.highlight-box:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.highlight-title {
  font-size: 1rem;
  font-weight: 800;
  color: #172c49;
  margin-bottom: 0.25rem;
}

.highlight-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* FAQ 常见问题手风琴 */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(45, 78, 120, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 750;
  color: #192a45;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e7f0fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* 下载行动号召 Banner */
.cta-banner {
  margin: 2rem 0;
  background: linear-gradient(135deg, #2b6cb0 0%, #1e4e8c 60%, #1a365d 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(27, 65, 110, 0.28);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 850;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #d8e5f7;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* 极简精致页脚 */
.footer {
  background: rgba(200, 222, 242, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  padding: 1.8rem 0 1.2rem;
  margin-top: 3rem;
}

.footer-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #11223f;
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--primary);
}

.footer-contact-compact {
  display: flex;
  align-items: center;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.footer-email-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 104, 232, 0.15);
}

.footer-bottom-row {
  border-top: 1px solid rgba(50, 80, 120, 0.1);
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-policy-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-policy-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Lightbox 大图弹窗 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 25, 45, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(22, 104, 232, 0.2);
  box-shadow: 0 6px 18px rgba(30, 60, 100, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
}

/* 响应式断点适配 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-question {
    justify-content: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-main-card {
    max-width: 320px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlights-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  /* 手机端页头导航精致适配，杜绝折行与挤压 */
  .navbar .nav-container {
    height: 60px;
  }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 1rem;
    white-space: nowrap;
    line-height: 1.1;
  }
  .brand-subtitle {
    display: none; /* 手机端隐藏副标题，保持单行主标题清爽不折行 */
  }
  .nav-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .btn-nav-download {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    gap: 5px;
  }
  .btn-nav-download svg {
    width: 15px;
    height: 15px;
  }
  .menu-toggle {
    display: block;
    padding: 4px;
  }
  .menu-toggle svg {
    width: 24px;
    height: 24px;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(220, 235, 248, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  }
  .nav-menu.active {
    display: flex;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-title-sub {
    font-size: 1.35rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .highlights-strip {
    grid-template-columns: 1fr;
  }
  .cta-title {
    font-size: 1.8rem;
  }

  /* 手机端极简紧凑页脚 */
  .footer {
    padding: 1.25rem 0 0.85rem;
    margin-top: 2rem;
  }
  .footer-compact {
    gap: 0.65rem;
  }
  .footer-main-row {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  .footer-brand {
    gap: 8px;
  }
  .footer-logo {
    width: 28px;
    height: 28px;
  }
  .footer-title {
    font-size: 0.92rem;
  }
  .footer-tagline {
    display: none;
  }
  .footer-nav {
    justify-content: center;
    gap: 0.45rem 0.85rem;
  }
  .footer-nav-link {
    font-size: 0.8rem;
  }
  .footer-email-link {
    font-size: 0.78rem;
    padding: 3px 8px;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    padding-top: 0.55rem;
    gap: 0.35rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.88rem;
  }
  .btn-nav-download {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}
