/* 归纳星 SEO 落地页与在线工具专用样式表 */

/* 基础外壳容器 */
.landing-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 40px auto 100px;
}

/* 面包屑导航 */
.landing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.landing-breadcrumb a {
  color: var(--muted);
  transition: color 0.15s ease;
}
.landing-breadcrumb a:hover {
  color: var(--accent);
}
.landing-breadcrumb span.sep {
  color: var(--faint);
}
.landing-breadcrumb span.current {
  color: var(--text);
  font-weight: 500;
}

/* Ambient Lighting & Glows (顶层空间光影与氛围感) */
.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 100vw);
  height: 520px;
  background: radial-gradient(ellipse 65% 55% at 50% 15%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.02) 65%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}
.hero-ambient-glow.emerald {
  background: radial-gradient(ellipse 65% 55% at 50% 15%, rgba(16, 185, 129, 0.13) 0%, rgba(13, 148, 136, 0.03) 65%, transparent 100%);
}

/* Hero 头部区 */
.landing-hero {
  position: relative;
  text-align: center;
  padding: 20px 0 46px;
  max-width: 860px;
  margin: 0 auto;
}
.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08), inset 0 1px 1px #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.landing-kicker:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15), inset 0 1px 1px #fff;
}
.landing-kicker.emerald {
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.09), inset 0 1px 1px #fff;
}
.landing-kicker.emerald:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.16), inset 0 1px 1px #fff;
}
.landing-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px #2563eb;
  display: inline-block;
  animation: kickerPulse 2.4s infinite ease-in-out;
}
.landing-kicker.emerald .landing-kicker-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
@keyframes kickerPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
}

.landing-hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 20px;
  letter-spacing: -0.035em;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 45%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 40%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-hero p.subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 32px;
}
.landing-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.landing-cta-group .btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.landing-cta-group .btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}
.landing-cta-group .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px -4px rgba(37, 99, 235, 0.5);
}
.landing-cta-group .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(8px);
}
.landing-cta-group .btn-secondary:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.landing-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
}
.landing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
}
.landing-trust-item svg {
  color: #059669;
  flex-shrink: 0;
}

/* 核心通用区块 */
.landing-section {
  margin-top: 72px;
}
.landing-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.landing-section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.landing-section-head p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* 整理前后动态对比组件 (Interactive Before & After) */
.comparison-card-wrap {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.comparison-switch-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.comp-tab-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  transition: all 0.2s ease;
}
.comp-tab-btn:hover {
  color: var(--text);
  background: #fff;
}
.comp-tab-btn.active-tab {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.comp-view-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .comp-view-panel {
    grid-template-columns: 1fr;
  }
}

.comp-window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}
.comp-win-titlebar {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.comp-dots {
  display: flex;
  gap: 6px;
}
.comp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.comp-dot.red { background: #ef4444; }
.comp-dot.yellow { background: #f59e0b; }
.comp-dot.green { background: #10b981; }
.comp-win-path {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
}
.comp-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.comp-badge.danger {
  background: #fee2e2;
  color: #b91c1c;
}
.comp-badge.success {
  background: #d1fae5;
  color: #047857;
}

.comp-win-body {
  padding: 14px;
  height: 320px;
  overflow-y: auto;
  font-size: 13px;
}

/* 混乱文件清单 vs 整洁树形图 */
.messy-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.messy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1px dashed rgba(220, 38, 38, 0.18);
  border-radius: 6px;
  color: #334155;
  font-family: monospace;
}
.messy-icon {
  font-size: 14px;
}
.messy-date {
  margin-left: auto;
  font-size: 11px;
  color: var(--faint);
}

.neat-tree {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.neat-folder-block {
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: #f0f7ff;
  border-radius: 8px;
  padding: 10px 12px;
}
.neat-folder-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1e40af;
  font-size: 13px;
  margin-bottom: 6px;
}
.neat-folder-files {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-family: monospace;
  color: var(--muted);
}

/* 对比表格（手动 vs 归纳星） */
.compare-table-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.compare-table th {
  background: #f8fafc;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text-h);
  border-bottom: 1px solid var(--line);
}
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.5;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table .feature-col {
  width: 28%;
  font-weight: 500;
  color: var(--nav);
}
.compare-table .manual-col {
  width: 36%;
  color: #dc2626;
  background: rgba(254, 242, 242, 0.4);
}
.compare-table .auto-col {
  width: 36%;
  color: #059669;
  background: rgba(236, 253, 245, 0.4);
  font-weight: 500;
}

/* 痛点痛感卡片网格 */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pain-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #dc2626;
  font-size: 20px;
  margin-bottom: 16px;
}
.pain-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--text-h);
}
.pain-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 在线规则生成器 (Rule Generator) 交互组件 */
.generator-workbench {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
@media (max-width: 900px) {
  .generator-workbench {
    grid-template-columns: 1fr;
  }
}

.gen-controls {
  padding: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gen-controls-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.gen-controls-header h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text-h);
}
.gen-controls-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.gen-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gen-cat-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s;
}
.gen-cat-item.active {
  border-color: var(--accent);
  background: #ffffff;
}
.gen-cat-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gen-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-h);
  cursor: pointer;
}
.gen-cat-folder-input {
  width: 130px;
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
}
.gen-cat-folder-input:focus {
  border-color: var(--accent);
}
.gen-cat-exts {
  font-size: 12px;
  color: var(--muted);
  font-family: monospace;
}

.gen-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.gen-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.gen-btn-primary {
  background: var(--accent);
  color: #fff;
}
.gen-btn-primary:hover {
  background: var(--accent-hover);
}
.gen-btn-secondary {
  background: #f1f5f9;
  color: var(--nav);
  border-color: var(--line-strong);
}
.gen-btn-secondary:hover {
  background: #e2e8f0;
}

.gen-preview-panel {
  background: #0f172a;
  color: #f8fafc;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.gen-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}
.gen-preview-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #93c5fd;
}
.gen-tab-switch {
  display: flex;
  gap: 6px;
}
.gen-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.gen-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.gen-tree-view {
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.8;
  padding: 8px 0;
}
.gen-code-wrap {
  position: relative;
  flex: 1;
  display: none;
  min-height: 240px;
}
.gen-code-wrap.active {
  display: flex;
  flex-direction: column;
}
.gen-code-view {
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: #090d16;
  border-radius: 8px;
  padding: 14px;
  padding-top: 38px;
  color: #cbd5e1;
  white-space: pre;
  margin: 0;
}
.gen-code-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  transition: all 0.2s ease;
}
.gen-code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.gen-code-copy-btn.copied {
  background: #059669;
  border-color: #10b981;
  color: #ffffff;
}

.gen-guide-box {
  margin-top: 18px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #bfdbfe;
  line-height: 1.6;
}

/* ==========================================================
   超高质感拟真桌面软件窗口 (macOS / Windows App Window Chrome)
   ========================================================== */
.app-window {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 12px 28px -6px rgba(15, 23, 42, 0.08),
    0 30px 60px -12px rgba(15, 23, 42, 0.12),
    inset 0 1px 1px #ffffff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  position: relative;
}
.app-window:hover {
  box-shadow: 
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 16px 36px -6px rgba(15, 23, 42, 0.1),
    0 40px 80px -16px rgba(15, 23, 42, 0.15),
    inset 0 1px 1px #ffffff;
}

/* macOS 风格顶栏 */
.app-window-titlebar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.app-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}
.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.traffic-dot.red { background: #ff5f56; }
.traffic-dot.yellow { background: #ffbd2e; }
.traffic-dot.green { background: #27c93f; }

.app-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}
.app-window-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.app-window-badge.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.25);
}

/* 预设工具栏切换项 */
.app-preset-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow-x: auto;
}
.app-preset-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  transition: all 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-preset-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.app-preset-btn.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

/* 流水线步骤链 (Step Flow Visualizer) */
.pipeline-flow-wrap {
  padding: 18px 20px;
  background: #fafbfc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.pipeline-flow-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 10px;
}
.pipeline-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pipeline-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9px;
  font-size: 12.5px;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
}
.pipeline-chip .num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
}
.pipeline-chip .chip-label {
  font-weight: 600;
  color: #0f172a;
}
.pipeline-chip .chip-param {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.pipeline-flow-arrow {
  color: #cbd5e1;
  font-size: 14px;
  flex-shrink: 0;
}

/* 实时新旧对照表 (Live Diff Table) */
.live-diff-table-wrap {
  overflow-x: auto;
  background: #ffffff;
}
.live-diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.live-diff-table th {
  background: #f8fafc;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 12px;
  color: #64748b;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.live-diff-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  vertical-align: middle;
}
.live-diff-table tr:hover td {
  background: #f8fafc;
}
.live-diff-table tr:last-child td {
  border-bottom: none;
}
.file-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.file-type-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-type-icon.img { background: #eff6ff; color: #2563eb; }
.file-type-icon.doc { background: #ecfdf5; color: #059669; }
.file-type-icon.zip { background: #fef3c7; color: #d97706; }
.file-type-icon.media { background: #f5f3ff; color: #7c3aed; }

.diff-old-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 12.5px;
}
.diff-new-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #0f172a;
  font-weight: 600;
  font-size: 13px;
}
.diff-new-tag mark {
  background: #dcfce7;
  color: #15803d;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}
.live-diff-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
}

/* 窗口底部状态栏与模拟操作 */
.app-window-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.app-footer-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #64748b;
}
.app-footer-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.app-action-btn-interactive {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.app-action-btn-interactive:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.app-action-btn-interactive.done {
  background: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* ==========================================================
   真实客户端文件保险箱视图 (Real File Vault App Window)
   完全对齐 src/views/VaultView.vue 原生桌面端界面，与重命名页面风格统一
   ========================================================== */
.vault-app-content {
  padding: 20px 24px 24px;
  background: #ffffff;
}

/* 顶部头部卡片 (Vault Header Card) */
.real-vault-header-card {
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.85) 0%, rgba(240, 249, 255, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 16px -2px rgba(16, 185, 129, 0.06);
}
.real-vault-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.real-vault-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.real-vault-sub {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.real-vault-head-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.real-quiet-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.real-quiet-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}
.real-lock-trigger {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
  background: #fff5f5;
}
.real-lock-trigger:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.4);
}

/* 软件工具栏 (.vault-toolbar) */
.real-vault-toolbar {
  margin-top: 14px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.real-vault-tb-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.real-vault-count-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #0f172a;
}
.real-vault-tb-info small {
  font-size: 12px;
  color: #64748b;
}
.pro-tag-mini {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}
.real-vault-tb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.real-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: #059669;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
  transition: all 0.18s ease;
}
.real-btn-primary:hover {
  background: #047857;
}
.real-btn-folder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.real-btn-folder:hover {
  background: #f1f5f9;
}
.pro-badge-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 4px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.real-vault-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  padding: 0 10px;
  height: 33px;
}
.real-vault-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: #334155;
  width: 150px;
}

/* 提醒条目 */
.real-vault-note-strip {
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #065f46;
}

/* 真实文件列表 (.vault-list) */
.real-vault-list {
  margin-top: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.real-vault-item {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.15s ease;
}
.real-vault-item:last-child {
  border-bottom: none;
}
.real-vault-item:hover {
  background: #f8fafc;
}
.real-vault-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #edf3fa;
  color: #4d6d96;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.real-vault-item-icon.pdf {
  background: #fee2e2;
  color: #dc2626;
}
.real-vault-item-icon.zip {
  background: #fef3c7;
  color: #d97706;
}
.real-vault-item-icon.xls {
  background: #ecfdf5;
  color: #059669;
}
.real-vault-item-info {
  flex: 1;
  min-width: 0;
}
.real-vault-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.real-vault-item-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
.real-vault-item-ctrls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.real-tag-enc {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.real-item-open-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.real-item-open-btn:hover {
  background: #ecfdf5;
}
.real-item-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 7px;
  cursor: pointer;
}
.real-item-more-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

/* 真实锁定视图 (.vault-setup / .vault-unlock-card) */
.vault-locked-view {
  padding: 48px 24px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.real-vault-lock-card {
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06);
  text-align: center;
}
.real-vault-lock-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.real-vault-lock-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #059669;
}
.real-vault-lock-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 6px 0 8px;
}
.real-vault-lock-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 20px;
}
.real-vault-input-group {
  text-align: left;
  margin-bottom: 16px;
}
.real-vault-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.real-vault-pass-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-family: ui-monospace, monospace;
  box-sizing: border-box;
  background: #ffffff;
}
.real-btn-unlock {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: #059669;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  transition: all 0.2s;
}
.real-btn-unlock:hover {
  background: #047857;
}
.real-vault-lock-sublinks {
  margin-top: 14px;
  font-size: 12px;
  color: #059669;
  cursor: pointer;
}
.real-vault-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================
   Modern Bento Grid 特性矩阵 (Bento Grid Layout)
   ========================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}
.bento-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.08);
}
.bento-card.span-2 {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .bento-card.span-2 {
    grid-column: span 1;
  }
}
.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bento-icon-box {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transform: scale(1.04);
}
.bento-icon-box.blue,
.bento-icon-box.emerald,
.bento-icon-box.amber,
.bento-icon-box.purple {
  /* 统一去除五颜六色底色，继承统一高级质感 */
  background: #f8fafc;
  color: #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}
.bento-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* 对比表格升级 */
.compare-matrix-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.05);
}
.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.compare-matrix-table th {
  padding: 16px 20px;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.compare-matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.6;
  vertical-align: middle;
}
.compare-matrix-table tr:last-child td {
  border-bottom: none;
}

/* 3列对比布局 (批量重命名) */
.compare-matrix-table.cols-3 {
  min-width: 680px;
}
.compare-matrix-table.cols-3 th.col-feature,
.compare-matrix-table.cols-3 td.col-feature {
  width: 26%;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.compare-matrix-table.cols-3 th.col-trad {
  width: 37%;
  background: #f8fafc;
  color: #64748b;
}
.compare-matrix-table.cols-3 td.col-trad {
  width: 37%;
  background: #ffffff;
  color: #64748b;
}
.compare-matrix-table.cols-3 th.col-star {
  width: 37%;
  background: #eff6ff;
  color: #1d4ed8;
  border-bottom: 2px solid #3b82f6;
}
.compare-matrix-table.cols-3 td.col-star {
  width: 37%;
  background: rgba(239, 246, 255, 0.45);
  color: #1e3a8a;
  font-weight: 500;
}

/* 4列对比布局 (文件保险箱: 对比维度 / 系统隐藏 / 网盘保险箱 / 归纳星本地安全仓) */
.compare-matrix-table.cols-4 {
  min-width: 820px;
}
.compare-matrix-table.cols-4 th.col-feature,
.compare-matrix-table.cols-4 td.col-feature {
  width: 18%;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.compare-matrix-table.cols-4 th.col-trad {
  width: 26%;
  background: #f8fafc;
  color: #64748b;
}
.compare-matrix-table.cols-4 td.col-trad {
  width: 26%;
  background: #ffffff;
  color: #64748b;
}
.compare-matrix-table.cols-4 th.col-cloud {
  width: 26%;
  background: #f8fafc;
  color: #64748b;
}
.compare-matrix-table.cols-4 td.col-cloud {
  width: 26%;
  background: #ffffff;
  color: #64748b;
}
.compare-matrix-table.cols-4 th.col-star {
  width: 30%;
  background: #ecfdf5;
  color: #047857;
  border-bottom: 2px solid #10b981;
}
.compare-matrix-table.cols-4 td.col-star {
  width: 30%;
  background: rgba(236, 253, 245, 0.45);
  color: #064e3b;
  font-weight: 500;
}

/* 推荐方案角标 */
.star-th-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.star-th-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.star-th-tag.blue {
  background: #2563eb;
}

/* FAQ 常见问题折叠卡片 */
.landing-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.open {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 12px;
}
.faq-question:hover {
  color: #2563eb;
}
.faq-chevron {
  transition: transform 0.25s ease;
  color: #94a3b8;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #2563eb;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}

/* 底部大 CTA 横幅 */
.landing-bottom-cta {
  background: radial-gradient(circle at 50% 0%, #1e40af 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 56px 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.35);
  margin-top: 88px;
  position: relative;
  overflow: hidden;
}
.landing-bottom-cta h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -0.02em;
}
.landing-bottom-cta p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
