/* ============================================================
   捷宿会员助手 - 官网落地页
   设计稿还原：1440px基准 · 自适应响应式重排
   v2.0 — UX/UI 全面优化版本
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1E3A8A;
  --primary-dark: #0F2557;
  --primary-light: #1E40AF;
  --accent-blue: #3B82F6;
  --accent-gold: #A16207;
  --gold: #F59E0B;
  --text-primary: #1E3A8A;
  --text-secondary: #64748B;
  --text-light: #BFDBFE;
  --text-muted: #94A3B8;
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-light-gray: #F1F5F9;
  --bg-badge: #E9EEF5;
  --bg-card-icon-member: #EEF2FF;
  --bg-card-icon-market: #FEF3C7;
  --border-card: #E2E8F0;
  --border-light: #BFDBFE;
  --gradient-start: #1E3A8A;
  --gradient-end: #3B82F6;

  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container-max: 1440px;
  --content-width: 1280px;
  --section-padding: 80px;

  /* 动画时长 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-page);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font-family);
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding);
}

/* ============================================================
   进场动画系统 (Intersection Observer)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* 卡片交错动画延迟 */
.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.12s; }
.feature-card:nth-child(3) { transition-delay: 0.19s; }
.feature-card:nth-child(4) { transition-delay: 0.26s; }

/* ============================================================
   HEADER
   ============================================================ */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* 毛玻璃效果 */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(30, 58, 138, 0.10);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s;
}

.logo-group:hover .logo-mark {
  transform: rotate(-5deg) scale(1.05);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  cursor: pointer;
  position: relative;
}

/* 导航下划线动效 */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-light);
  font-weight: 500;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* ---------- 汉堡菜单 ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--bg-badge);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 移动端导航菜单 ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-card);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out);
}

.mobile-nav.open {
  max-height: 300px;
}

.mobile-nav a {
  display: block;
  padding: 14px var(--section-padding);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-card);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  background: var(--bg-badge);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 100px var(--section-padding);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 0 520px;
  min-width: 0;
}

/* Hero 进场动画 */
.hero-left .badge { transition-delay: 0.1s; }
.hero-left .hero-headline { transition-delay: 0.2s; }
.hero-left .hero-subheadline { transition-delay: 0.3s; }
.hero-left .cta-group { transition-delay: 0.4s; }
.hero-left .stats-row { transition-delay: 0.5s; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  background: var(--bg-badge);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  /* 脉冲动画 */
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-size: 56px;
  font-weight: 800;
  line-height: 72px;
  color: var(--primary-light);
  letter-spacing: -0.5px;
}

.hero-headline span.highlight {
  position: relative;
  display: inline-block;
  color: var(--accent-gold);
}

.hero-subheadline {
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  color: var(--text-secondary);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(161, 98, 7, 0.30);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.cta-primary:hover {
  background: #92570A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(161, 98, 7, 0.40);
}

.cta-primary:active {
  transform: translateY(0);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cta-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: var(--bg-card-icon-member);
}

/* ---------- 统计数字区 ---------- */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px;
  border-right: 1px solid var(--border-card);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Hero Right */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 0 0 440px;
}

.phone-mockup {
  width: 300px;
  height: 580px;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 32px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  /* 浮动动画 */
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  margin-bottom: auto;
}

.phone-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.battery {
  width: 22px;
  height: 10px;
  border: 1px solid var(--primary);
  border-radius: 2px;
  background: var(--bg-badge);
  position: relative;
}

.battery-fill {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 1px;
}

.app-content-area {
  width: 100%;
  flex: 1;
  background: linear-gradient(180deg, #1E3A8A 0%, #3B82F6 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0;
}

.app-icon-placeholder {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.app-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.app-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--border-light);
}

.feature-pills {
  display: flex;
  gap: 8px;
}

.pill {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.home-indicator {
  width: 100px;
  height: 4px;
  background: var(--text-secondary);
  border-radius: 2px;
  margin: 0 auto;
}

.phone-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  margin-top: auto;
}

/* ---------- QR 悬停气泡弹出（改良版） ---------- */
.qr-code-section {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 286px;
}

.qr-code-box {
  width: 90px;
  height: 90px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.qr-code-box:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.qr-code-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-text-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.qr-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   二维码全屏弹窗 Modal
   ============================================================ */
.qr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 87, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.qr-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(10px);
  transition: transform 0.3s var(--ease-out);
  max-width: 320px;
  width: 90%;
}

.qr-modal-overlay.show .qr-modal-box {
  transform: scale(1) translateY(0);
}

.qr-modal-img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-card);
}

.qr-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.qr-modal-hint {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.qr-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--bg-badge);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.qr-modal-close:hover {
  background: var(--border-card);
  color: var(--primary);
}

.qr-modal-box {
  position: relative;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: 80px var(--section-padding);
}

.section-header {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 640px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-label.member {
  background: var(--bg-card-icon-member);
  color: var(--accent-blue);
}

.section-label.market {
  background: var(--bg-card-icon-market);
  color: var(--accent-gold);
}

.section-label.pms {
  background: #E0F2FE;
  color: #0369A1;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* 卡片优化 */
.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.10);
  border-color: var(--border-light);
}

.feature-card.market-card {
  background: var(--bg-white);
}

.feature-card.market-card:hover {
  border-color: #FCD34D;
  box-shadow: 0 12px 32px rgba(161, 98, 7, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.3s var(--ease-out);
}

.feature-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.card-icon.member {
  background: var(--bg-card-icon-member);
}

.card-icon.market {
  background: var(--bg-card-icon-market);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.card-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 22px;
}

/* ============================================================
   MEMBER SECTION
   ============================================================ */
.member-section {
  background: var(--bg-white);
}

/* ============================================================
   MARKET SECTION
   ============================================================ */
.market-section {
  background: var(--bg-light-gray);
}

/* ============================================================
   PMS SECTION
   ============================================================ */
.pms-section {
  background: linear-gradient(180deg, #F0F9FF 0%, #F8FAFC 100%);
}

.pms-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card.pms-card {
  background: #FFFFFF;
  border-color: #E0F2FE;
}

.feature-card.pms-card:hover {
  border-color: #7DD3FC;
  box-shadow: 0 12px 32px rgba(3, 105, 161, 0.08);
}

.card-icon.pms {
  background: #E0F2FE;
  color: #0369A1;
}

/* PMS 系统界面预览 */
.pms-preview {
  margin-top: 64px;
  text-align: center;
}

.pms-preview-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #0369A1;
  background: #E0F2FE;
  padding: 4px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.pms-preview-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(3, 105, 161, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.12);
  border: 1px solid #E0F2FE;
  transition: box-shadow 0.3s ease;
}

.pms-preview-frame:hover {
  box-shadow:
    0 4px 24px rgba(3, 105, 161, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.18);
}

.pms-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.pms-preview-caption {
  margin-top: 16px;
  font-size: 13px;
  color: #64748B;
  font-weight: 400;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 60%, #1E3A8A 100%);
  text-align: center;
  padding: 100px var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* 装饰性背景圆 */
.about-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.about-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: 100px;
  pointer-events: none;
}

.about-title {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

/* 关于我们 - 数字统计 */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.about-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  /* 数字变化动画将由JS控制 */
}

.about-stat-number .unit {
  font-size: 28px;
  font-weight: 700;
}

.about-stat-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--border-light);
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-wrapper {
  background: var(--primary);
}

.footer-top {
  display: flex;
  gap: 120px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px var(--section-padding) 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 280px;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 8px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--border-light);
}

/* 联系电话组 */
.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 联系电话可点击样式 */
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  width: fit-content;
}

.footer-contact:hover {
  color: #fff;
}

.footer-contact .contact-icon {
  font-size: 14px;
}

.footer-contact .copy-hint {
  font-size: 11px;
  color: var(--text-muted);
  display: none;
}

.footer-contact:hover .copy-hint {
  display: inline;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 120px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-column a,
.footer-column span {
  font-size: 13px;
  font-weight: 400;
  color: var(--border-light);
  transition: color 0.2s;
  cursor: pointer;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  background: var(--primary-dark);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--section-padding);
}

.copyright,
.beian {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.beian a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.beian a:hover {
  color: var(--text-light);
}

/* ---------- Footer QR 悬停弹窗 ---------- */
.qr-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.qr-img-box {
  width: 72px;
  height: 72px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.qr-img-box:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.qr-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 气泡弹窗 */
.qr-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  transform-origin: bottom center;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
  z-index: 100;
  white-space: nowrap;
}

.qr-popup::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom: none;
  border-top-color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.qr-container:hover .qr-popup {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.qr-popup img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  display: block;
}

.qr-popup-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.qr-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* 复制成功提示 */
.copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE - 1280px (平板宽)
   ============================================================ */
@media (max-width: 1280px) {
  :root {
    --section-padding: 40px;
  }

  .hero-section {
    flex-direction: column;
    gap: 48px;
    padding: 60px var(--section-padding);
  }

  .hero-left {
    flex: 0 0 auto;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .badge {
    align-self: center;
  }

  .hero-headline {
    font-size: 42px;
    line-height: 54px;
  }

  .stats-row {
    justify-content: center;
  }

  .hero-right {
    flex: 0 0 auto;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    gap: 48px;
  }

  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

  .footer-brand {
    flex: 0 0 auto;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 48px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE - 768px (手机)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 20px;
  }

  .header {
    padding: 0 20px;
  }

  /* 显示汉堡菜单，隐藏PC导航 */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .cta-button {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-section {
    padding: 40px var(--section-padding);
  }

  .hero-headline {
    font-size: 32px;
    line-height: 42px;
  }

  .hero-subheadline {
    font-size: 15px;
    line-height: 24px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stats-row {
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    padding: 8px 16px;
  }

  .phone-mockup {
    width: 260px;
    height: 500px;
    border-radius: 28px;
  }

  .section {
    padding: 48px var(--section-padding);
  }

  .section-title {
    font-size: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .pms-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 60px var(--section-padding);
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .about-stat-number {
    font-size: 36px;
  }

  .about-text {
    font-size: 14px;
    line-height: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .qr-area {
    gap: 12px;
  }

  .qr-img-box {
    width: 60px;
    height: 60px;
  }

  .qr-popup {
    bottom: auto;
    top: calc(100% + 12px);
    transform-origin: top center;
    transform: translateX(-50%) scale(0.85);
  }

  .qr-popup::after {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid #fff;
  }

  .qr-container:hover .qr-popup {
    transform: translateX(-50%) scale(1);
  }

  .about-stat-item {
    min-width: 100px;
  }
}

/* ============================================================
   打印优化
   ============================================================ */
@media print {
  .header-wrapper,
  .hamburger,
  .mobile-nav { display: none; }
  * { animation: none !important; }
}
