/* ==========================================================================
   一格 (Gridea) 官方网站 - 样式表 (Apple / Notion 极简纯白克制风)
   ========================================================================== */

:root {
  /* 基础色彩 */
  --bg-body: #FFFFFF;
  --bg-surface: #FAFAFB;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: #FBFBFC;
  --bg-hover: #F4F4F5;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* 边框与分割线 */
  --border-subtle: #EAEAEA;
  --border-strong: #D4D4D8;
  --border-light: #F2F2F5;

  /* 文字层次 */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-light: #6B7280;

  /* 品牌与强调色 */
  --brand-black: #09090B;
  --brand-hover: #27272A;
  --brand-accent: #2563EB;
  --brand-green: #10B981;

  /* 阴影系统 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-phone: 0 30px 70px -15px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.07);

  /* 圆角 */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* 动画 */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* 容器宽度 */
  --container-max: 1160px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   导航栏 (Navbar)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.site-nav.scrolled {
  border-bottom-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.92);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-brand-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nav-brand-text .en {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-black);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-nav-download:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 1.05rem;
}

/* ==========================================================================
   英雄区 (Hero Section)
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 920px;
  margin: 0 auto 20px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #111827 30%, #4B5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.65;
}

/* 下载按钮矩阵 */
.hero-cta-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--brand-black);
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  text-align: left;
}

.btn-store:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #FFFFFF;
}

.btn-store-content {
  display: flex;
  flex-direction: column;
}

.btn-store-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-store-title {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.1;
}

.btn-apk-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-apk-direct:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-qr-trigger:hover {
  border-color: var(--brand-black);
  color: var(--brand-black);
  background: var(--bg-surface);
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   交互式演示模块 (Interactive Simulator)
   ========================================================================== */
.simulator-section {
  padding: 40px 0 100px;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
}

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

.sim-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sim-controls-top {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.sim-mode-switcher {
  display: inline-flex;
  background: var(--bg-hover);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
}

.sim-mode-btn {
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-mode-btn.active {
  background: #FFFFFF;
  color: var(--brand-black);
  box-shadow: var(--shadow-sm);
}

/* 交互模式场景标签 */
.sim-scenario-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.sim-pill {
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.sim-pill.active {
  background: var(--brand-black);
  border-color: var(--brand-black);
  color: #FFFFFF;
}

/* 提示词输入展示栏 */
.sim-prompt-box {
  width: 100%;
  max-width: 600px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.sim-prompt-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.sim-prompt-input {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.sim-status-indicator {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  min-height: 24px;
}

.sim-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   拟真 iPhone 16 Plus 纯 CSS 机模
   ========================================================================== */
.phone-mockup {
  position: relative;
  width: 324px;
  height: 660px;
  background: #1B1B1E;
  border-radius: 50px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 4px solid #323236;
}

/* 侧边物理按键效果 */
.phone-mockup::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 110px;
  width: 4px;
  height: 48px;
  background: #2D2D31;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 65px 0 #2D2D31, 0 120px 0 #2D2D31;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 150px;
  width: 4px;
  height: 68px;
  background: #2D2D31;
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 灵动岛 Dynamic Island */
.phone-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
}

/* 状态栏 */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #111827;
  z-index: 10;
}

.phone-time {
  font-size: 0.8rem;
  font-weight: 700;
}

.phone-status-icons {
  display: flex;
  gap: 5px;
  font-size: 0.75rem;
}

/* 手机屏幕主视图区 */
.phone-content {
  flex: 1;
  padding: 16px 16px 60px;
  overflow-y: auto;
  position: relative;
}

/* 底部操作条 Home Bar */
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: #000000;
  border-radius: 4px;
  z-index: 20;
}

/* 模拟器内部 UI 组件 */
.sim-app-header {
  margin-bottom: 14px;
}

.sim-app-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.sim-app-date {
  font-size: 0.78rem;
  color: #6B7280;
}

.sim-card {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.sim-card-highlight {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-color: #CBD5E1;
}

.sim-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
}

.sim-card-amount {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 4px 0 8px;
}

.sim-progress-bar {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.sim-progress-bar.mini {
  height: 4px;
  margin-top: 4px;
}

.sim-progress-fill {
  height: 100%;
  background: #2563EB;
  border-radius: 4px;
}

.sim-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748B;
}

.sim-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}

.sim-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sim-item-icon, .sim-book-cover {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sim-item-content {
  flex: 1;
  min-width: 0;
}

.sim-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-item-sub {
  font-size: 0.7rem;
  color: #94A3B8;
}

.sim-item-price.expense {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

.sim-fab-btn {
  margin-top: 14px;
  background: #111827;
  color: #FFFFFF;
  text-align: center;
  padding: 9px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s;
}

.sim-toast {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 24, 39, 0.95);
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 30;
  animation: fadeInDown 0.25s ease;
}

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

/* 习惯打卡项 */
.habit-item {
  cursor: pointer;
  transition: background 0.15s;
}

.sim-check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
}

.habit-item.completed .sim-check-box {
  background: #10B981;
  border-color: #10B981;
}

.habit-item.completed .sim-item-name {
  text-decoration: line-through;
  color: #94A3B8;
}

.sim-pill-group {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.sim-chip {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: #F1F5F9;
  color: #64748B;
  font-weight: 500;
}

.sim-chip.active {
  background: #0F172A;
  color: #FFFFFF;
}

.sim-tag-done {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 6px;
  font-weight: 600;
}

.sim-tag-pending {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 6px;
  font-weight: 600;
}

/* 生成中动效 */
.sim-generating-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 20px;
}

.sim-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E5E7EB;
  border-top-color: var(--brand-black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 16px;
}

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

.sim-gen-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 8px;
}

.sim-gen-badge {
  font-size: 0.72rem;
  background: #EFF6FF;
  color: #2563EB;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* 画廊模式 */
.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gallery-image-wrapper {
  position: relative;
  width: 324px;
  height: 660px;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  border: 4px solid #323236;
  background: #000;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: transform 0.15s;
}

.gallery-nav-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-prev { left: -56px; }
.gallery-nav-next { right: -56px; }

.gallery-caption {
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  max-width: 420px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.2s;
}

.sim-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--brand-black);
}

/* ==========================================================================
   核心特性 Bento Grid 模块
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.bento-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-visual {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

/* Bento 内部微视觉 */
.visual-prompt-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.visual-db-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.db-field-chip {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: var(--bg-hover);
  border-radius: 6px;
  font-weight: 600;
  color: var(--text-secondary);
}

.visual-desktop-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ==========================================================================
   场景矩阵模块 (Scenarios)
   ========================================================================== */
.scenarios-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.scenario-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.scenario-emoji {
  font-size: 2rem;
  margin-bottom: 16px;
}

.scenario-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.scenario-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   常见问题 FAQ
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--border-strong);
  background: #FFFFFF;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--brand-black);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   下载 CTA 横幅 (Download Banner)
   ========================================================================== */
.download-section {
  padding: 80px 0 120px;
}

.cta-banner {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  background: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 360px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   二维码模态框 (QR Code Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border-strong);
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qr-wrapper {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.qr-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.qr-center-logo img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

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

/* ==========================================================================
   响应式断点 (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.wide {
    grid-column: span 1;
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-download {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-section {
    padding-top: 110px;
  }
  .hero-cta-cluster {
    flex-direction: column;
    width: 100%;
  }
  .btn-store, .btn-apk-direct, .btn-qr-trigger {
    width: 100%;
    justify-content: center;
  }
  .sim-container {
    padding: 24px 16px;
  }
  .gallery-nav-prev { left: 10px; }
  .gallery-nav-next { right: 10px; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
