/* ==========================================================================
   xPoker Pro - 企业签名 H5 落地页样式表
   Design Language: Dark Poker Tech / Cyber Gold & Jade / Glassmorphism
   ========================================================================== */

:root {
  /* 品牌核心配色 */
  --bg-dark: #07090e;
  --bg-surface: #0f131f;
  --bg-card: rgba(22, 28, 45, 0.72);
  --bg-card-hover: rgba(30, 38, 62, 0.85);
  
  /* 强调色 */
  --gold-primary: #f5a623;
  --gold-glow: #ffd043;
  --emerald-primary: #00f2b0;
  --emerald-glow: rgba(0, 242, 176, 0.25);
  --blue-accent: #2d7af6;
  --danger: #ff4757;
  
  /* 文字层级 */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* 边框与阴影 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 166, 35, 0.4);
  --glass-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6);
  --gold-shadow: 0 8px 24px -4px rgba(245, 166, 35, 0.35);
  --emerald-shadow: 0 8px 24px -4px rgba(0, 242, 176, 0.3);

  /* 尺寸与圆角 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1120px;
}

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Noto Sans SC', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 微信/QQ 顶部引导横幅 */
.wx-tip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 15, 0.94);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.wx-tip.hidden {
  display: none;
}

.wx-tip-arrow {
  position: absolute;
  top: 14px;
  right: 26px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px solid var(--gold-glow);
  animation: bounce 1.2s infinite ease-in-out;
}

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

.wx-tip-content {
  margin-top: 48px;
  width: 100%;
  max-width: 380px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.wx-tip-icon {
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.wx-tip-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.wx-tip-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.wx-tip-badge {
  background: rgba(245, 166, 35, 0.12);
  border: 1px dashed var(--gold-primary);
  color: var(--gold-glow);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 9, 14, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--emerald-primary);
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-item:hover {
  color: #ffffff;
}

.btn-primary-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-primary), #e67e22);
  color: #0b0d14;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--gold-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.45);
}

/* 英雄首屏 (Hero) */
.hero-section {
  position: relative;
  padding: 60px 0 70px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.35) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-60%);
}

.glow-2 {
  background: radial-gradient(circle, rgba(0, 242, 176, 0.25) 0%, transparent 70%);
  top: 180px;
  right: 10%;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 176, 0.08);
  border: 1px solid rgba(0, 242, 176, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--emerald-primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffd043 10%, #f5a623 50%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  padding: 0 10px;
}

/* 性能指标卡 */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 23, 37, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin: 0 auto 36px;
  max-width: 640px;
}

.metric-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.metric-value small {
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-left: 2px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* 核心行动按钮 */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.btn-hero-primary {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffd147 0%, #f5a623 50%, #e67e22 100%);
  color: #0d1017;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 12px 32px -4px rgba(245, 166, 35, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -4px rgba(245, 166, 35, 0.6);
}

.btn-icon-apple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.btn-maintext {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-arrow {
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0.8;
}

/* 脉冲微动画 */
.pulse-animation {
  position: relative;
}

.pulse-animation::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  border: 2px solid rgba(245, 166, 35, 0.6);
  opacity: 0;
  animation: pulse-border 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-border {
  0% { transform: scale(0.98); opacity: 0.8; }
  50% { transform: scale(1.03); opacity: 0; }
  100% { transform: scale(1.05); opacity: 0; }
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.version-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meta-dot {
  margin: 0 6px;
  opacity: 0.4;
}

/* 通用 Section 标题 */
.section {
  padding: 70px 0;
  position: relative;
}

.section-header {
  margin-bottom: 44px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.highlight-tag {
  color: var(--emerald-primary);
}

.section-title {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 5大平台网格 (Platforms Grid) */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}

.platform-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.logo-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}

.platform-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.platform-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.platform-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.platform-meta {
  font-size: 0.78rem;
  color: var(--emerald-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.platform-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mode-tags span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
}

/* 核心功能网格 (Features Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-gold {
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.icon-blue {
  background: rgba(45, 122, 246, 0.15);
  color: var(--blue-accent);
  border: 1px solid rgba(45, 122, 246, 0.3);
}

.icon-green {
  background: rgba(0, 242, 176, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(0, 242, 176, 0.3);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

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

.badge-mini {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* 使用流程 (Workflow Steps) */
.workflow-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  text-align: left;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 14px;
  right: 18px;
  line-height: 1;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-connector {
  width: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0.4;
}

/* 企业签名安装教程 (Installation Guide Section) */
.guide-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.guide-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 28, 45, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.guide-tab-btn .tab-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fff;
}

.guide-tab-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0d14;
  box-shadow: var(--gold-shadow);
}

.guide-tab-btn.active .tab-num {
  background: #0b0d14;
  color: var(--gold-primary);
  font-weight: 800;
}

.guide-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.guide-step-panel {
  display: none;
  padding: 36px 30px;
}

.guide-step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.panel-text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
}

.panel-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.panel-text strong {
  color: #ffffff;
}

.tip-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.tip-box.success-tip {
  background: rgba(0, 242, 176, 0.08);
  border-color: rgba(0, 242, 176, 0.3);
}

.tip-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.tip-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.action-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-small {
  background: var(--gold-primary);
  color: #0d1017;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--gold-shadow);
}

.btn-secondary-small {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* 拟真 iPhone 容器 (Mockup Phone) */
.mockup-phone {
  width: 270px;
  height: 440px;
  margin: 0 auto;
  background: #000000;
  border-radius: 40px;
  border: 6px solid #242938;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
}

.mockup-notch {
  width: 100px;
  height: 18px;
  background: #242938;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: #0f1118;
  padding: 28px 14px 14px;
  display: flex;
  flex-direction: column;
}

.ios-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #ffffff;
  padding: 0 6px 12px;
  opacity: 0.8;
}

/* 模拟 iOS 弹窗 */
.ios-alert-box {
  background: rgba(45, 48, 60, 0.95);
  border-radius: 14px;
  text-align: center;
  padding: 16px 14px 0;
  margin-top: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.ios-alert-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ios-alert-desc {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-bottom: 14px;
}

.ios-alert-buttons {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ios-alert-buttons span {
  flex: 1;
  padding: 10px 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.ios-alert-cancel {
  color: #388bfd;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ios-alert-confirm {
  color: #388bfd;
  font-weight: 700;
}

/* 模拟 iOS 设置列表 */
.ios-settings-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.settings-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.back-link {
  color: #388bfd;
  margin-right: 4px;
}

.settings-section-name {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.settings-group {
  background: #1c202e;
  border-radius: 10px;
  overflow: hidden;
}

.settings-row {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.settings-row:last-child {
  border-bottom: none;
}

.highlight-row {
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
}

.row-icon {
  margin-right: 8px;
  font-size: 0.9rem;
}

.row-text {
  flex: 1;
  color: #fff;
}

.row-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.row-title {
  color: #fff;
  font-size: 0.75rem;
}

.row-sub {
  color: #94a3b8;
  font-size: 0.65rem;
}

.row-arrow {
  color: #64748b;
  font-size: 0.9rem;
}

/* 模拟信任证书 */
.cert-box {
  background: #1c202e;
  border-radius: 10px;
  padding: 14px 12px;
}

.cert-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.trust-button-mock {
  background: rgba(45, 122, 246, 0.2);
  color: #388bfd;
  font-weight: 700;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 0.78rem;
  margin-bottom: 14px;
  border: 1px dashed #388bfd;
}

.cert-app-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.mini-app-info {
  display: flex;
  flex-direction: column;
}

.app-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.app-status {
  font-size: 0.65rem;
  color: var(--emerald-primary);
}

/* iOS 16 开发者模式提示条 */
.developer-mode-notice {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(45, 122, 246, 0.08);
  border: 1px solid rgba(45, 122, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.notice-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.notice-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.notice-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: rgba(245, 166, 35, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-arrow {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 18px;
  transition: max-height 0.3s ease-in-out, padding 0.3s;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-answer strong {
  color: #fff;
}

/* 底部行动呼吁 (Bottom CTA) */
.bottom-cta-section {
  padding-bottom: 100px;
}

.bottom-cta-box {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(0, 242, 176, 0.08));
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.bottom-cta-box h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.bottom-cta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 28px;
}

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

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 页脚 (Footer) */
.site-footer {
  background: #05060a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 90px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col a, .footer-col span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* 移动端吸底浮动栏 (Floating Bar) */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(245, 166, 35, 0.25);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 99;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.floating-bar.show {
  transform: translateY(0);
}

.floating-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.floating-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.floating-desc {
  font-size: 0.72rem;
  color: var(--emerald-primary);
}

.btn-floating-download {
  background: linear-gradient(135deg, var(--gold-primary), #e67e22);
  color: #0b0d14;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--gold-shadow);
}

/* 下载引导弹窗 (Download Modal) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.modal-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-title-area h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.badge-tag {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.78rem;
}

.install-prompt-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.install-prompt-icon {
  font-size: 1.3rem;
}

.install-prompt-text strong {
  font-size: 0.88rem;
  color: #fff;
  display: block;
}

.install-prompt-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.btn-modal-install {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-primary), #e67e22);
  color: #0b0d14;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--gold-shadow);
  margin-bottom: 14px;
  transition: transform 0.2s;
}

.btn-modal-install:hover {
  transform: translateY(-1px);
}

.modal-alternatives {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-text-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-text-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-notice-banner {
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.banner-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff6b81;
  margin-bottom: 4px;
}

.modal-notice-banner p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 8px;
}

.view-guide-link {
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 700;
}

/* 轻提示 Toast */
.toast {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 23, 37, 0.95);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  animation: fadeInDown 0.25s ease;
}

.toast.hidden {
  display: none;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* 响应式媒体查询 (Responsive) */
@media (max-width: 900px) {
  .panel-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .mockup-phone {
    margin-top: 10px;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .step-connector {
    width: 100%;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E") center no-repeat;
  }
}

@media (max-width: 640px) {
  .header-nav {
    display: none;
  }

  .hero-metrics {
    padding: 12px 16px;
  }

  .metric-value {
    font-size: 1.25rem;
  }

  .guide-step-panel {
    padding: 24px 18px;
  }

  .guide-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .modal-alternatives {
    flex-direction: column;
  }
}
