/* ============================================================
   档期哨 DQS · 品牌官网
   深蓝极简（Deep Ocean Blue）· 纯静态 CSS，无构建工具
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* 背景 */
  --bg: #030B17;
  --bg-nav: rgba(3, 11, 23, 0.8);
  --bg-panel: rgba(15, 23, 42, 0.8);

  /* 品牌色：深蓝主调 */
  --blue-300: #93C5FD;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --indigo-300: #A5B4FC;

  /* 状态色 */
  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --red-400: #F87171;

  /* 中性灰阶 */
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-900: #0F172A;

  /* 文字 */
  --text-primary: #FFFFFF;
  --text-secondary: var(--slate-300);
  --text-muted: var(--slate-400);
  --text-dim: var(--slate-500);

  /* 半透明描边 / 填充 */
  --w-5: rgba(255, 255, 255, 0.05);
  --w-10: rgba(255, 255, 255, 0.10);
  --w-15: rgba(255, 255, 255, 0.15);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-lg: 0 10px 30px rgba(37, 99, 235, 0.35);
  --shadow-xl: 0 30px 100px rgba(15, 82, 186, 0.25);

  --container: 1280px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
    Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
h1, h2, h3, h4 { color: var(--text-primary); margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-600); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.2); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.4); }

.mono { font-family: var(--font-mono); }

/* ---------- 背景氛围 ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient-glow { position: absolute; border-radius: 50%; }
.ambient-glow-1 {
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 500px; filter: blur(120px);
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.20), rgba(79, 70, 229, 0.10), transparent);
}
.ambient-glow-2 {
  top: 800px; right: -200px; width: 500px; height: 500px;
  filter: blur(140px); background: rgba(59, 130, 246, 0.10);
}
.ambient-glow-3 {
  top: 1600px; left: -200px; width: 600px; height: 600px;
  filter: blur(160px); background: rgba(79, 70, 229, 0.10);
}
.ambient-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-narrow { max-width: 896px; }
main { position: relative; z-index: 1; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border-radius: var(--r-lg);
  font-weight: 700; font-size: 13px; line-height: 1;
  padding: 12px 18px; white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 10px 16px; font-size: 12px; border-radius: var(--r-md); }
.btn-lg { padding: 16px 32px; font-size: 14px; border-radius: var(--r-lg); }

.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--blue-500); }
.btn-emerald { background: var(--emerald-600); color: #fff; box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3); }
.btn-emerald:hover { background: var(--emerald-500); }
.btn-ghost {
  background: var(--w-5); color: var(--text-secondary);
  border: 1px solid var(--w-10); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.icon-arrow { width: 14px; height: 14px; flex-shrink: 0; }
.btn-icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease); flex-shrink: 0;
}
.btn-icon-circle svg { width: 16px; height: 16px; }
.btn:hover .btn-icon-circle { transform: translateX(4px); }
.star { color: var(--emerald-400); font-weight: 700; }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--w-10);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  height: var(--nav-h); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(45deg, var(--blue-600), var(--blue-400));
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.badge-version {
  font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 6px;
  background: rgba(59, 130, 246, 0.2); color: var(--blue-300);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.nav-links { display: none; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; color: var(--slate-300); }
.nav-links a:hover { color: #fff; }
.nav-actions { display: none; align-items: center; gap: 12px; }
.menu-toggle {
  width: 40px; height: 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--w-10); border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: #fff;
  border-radius: 1px; transition: all 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 24px 20px; border-top: 1px solid var(--w-10);
  background: rgba(3, 11, 23, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu a { padding: 12px 8px; border-radius: var(--r-sm); font-size: 15px; color: var(--slate-300); }
.mobile-menu > a:hover { color: #fff; background: var(--w-5); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
/* 必须全局生效，否则移动端 .mobile-menu{display:flex} 会覆盖 hidden 默认样式 */
.mobile-menu[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 64px) 0 80px; text-align: center; position: relative; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 32px;
  font-family: var(--font-mono); font-size: 12px; color: var(--blue-400);
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
}
.hero-pill:hover { border-color: rgba(59, 130, 246, 0.45); }
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero-title { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; max-width: 896px; margin: 0 auto 24px; }
.text-gradient {
  background: linear-gradient(90deg, var(--blue-400), var(--indigo-300), #6EE7B7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 16px; color: var(--text-muted); max-width: 672px; margin: 0 auto 40px; line-height: 1.75; }
.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-bottom: 64px; }
.hero-actions .btn { width: 100%; }

/* ---------- 工作台预览 ---------- */
.mockup {
  max-width: 1024px; margin: 0 auto; padding: 20px; text-align: left;
  border-radius: var(--r-2xl); border: 1px solid var(--w-10);
  background: var(--bg-panel); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-xl);
}
.mockup-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px 12px; border-bottom: 1px solid var(--w-10);
}
.mockup-dots { display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: rgba(239, 68, 68, 0.8); }
.dot-y { background: rgba(234, 179, 8, 0.8); }
.dot-g { background: rgba(34, 197, 94, 0.8); }
.mockup-title { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.mockup-status { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--emerald-400); white-space: nowrap; }
.mockup-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
.stat-card { padding: 16px; border-radius: var(--r-lg); background: var(--w-5); border: 1px solid var(--w-10); }
.stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-bottom: 8px; }
.stat-value { font-family: var(--font-mono); font-size: 30px; font-weight: 800; line-height: 1.1; }
.stat-value span { font-size: 12px; font-weight: 400; color: var(--slate-300); }
.stat-blue { color: var(--blue-400); }
.stat-amber { color: var(--amber-400); }
.stat-rule { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--emerald-400); line-height: 1.5; }
.stat-foot {
  display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--w-10); font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}
.stat-foot-single { display: block; }
.stat-foot strong { color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--w-10); }
.section-faq { padding-bottom: 96px; }
.section-head { text-align: center; max-width: 768px; margin: 0 auto 56px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--blue-400); margin-bottom: 8px;
}
.section-title { font-size: 26px; letter-spacing: -0.02em; }
.section-sub { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.7; }

.grid-2, .grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-narrow { max-width: 1024px; margin: 0 auto; }

/* ---------- 卡片 ---------- */
.card {
  padding: 32px; border-radius: var(--r-xl);
  background: var(--w-5); border: 1px solid var(--w-10);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-4px); }
.card-soft { padding: 24px; border-radius: var(--r-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--r-lg); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(59, 130, 246, 0.3);
}
.card-emoji { font-size: 22px; font-weight: 700; font-family: var(--font-mono); margin-bottom: 8px; }
.card-emoji-blue { color: var(--blue-400); }
.card-emoji-amber { color: var(--amber-400); }
.card-emoji-emerald { color: var(--emerald-400); }
.card-title { font-size: 18px; margin-bottom: 8px; }
.card-soft .card-title { font-size: 16px; }
.card-text { font-size: 12px; color: var(--text-muted); line-height: 1.75; }

/* ---------- 行业模板卡片 ---------- */
.template-card {
  padding: 24px; border-radius: var(--r-xl);
  background: var(--w-5); border: 1px solid var(--w-10);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  transition: border-color 0.3s var(--ease);
}
.template-card:hover { border-color: rgba(59, 130, 246, 0.5); }
.template-card:hover .template-name { color: var(--blue-400); }
.template-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge-tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(59, 130, 246, 0.2); color: var(--blue-300);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.template-note { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.template-name { font-size: 18px; margin-top: 12px; transition: color 0.2s var(--ease); }
.template-target { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin-top: 8px; }
.template-target strong { color: var(--slate-300); }
.pain-block { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--w-10); }
.pain-label { font-size: 11px; font-weight: 700; color: var(--slate-300); margin-bottom: 6px; }
.pain-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); line-height: 1.6; }
.mark-green { color: var(--emerald-400); font-weight: 700; }
.template-btn { width: 100%; padding: 12px; border-radius: var(--r-md); }
.template-btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* ---------- 商家流程卡片 ---------- */
.flow-card { padding: 32px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 16px; }
.flow-blue { background: rgba(23, 37, 84, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); }
.flow-emerald { background: rgba(2, 44, 34, 0.2); border: 1px solid rgba(16, 185, 129, 0.3); }
.flow-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.flow-eyebrow-blue { color: var(--blue-400); }
.flow-eyebrow-emerald { color: var(--emerald-400); }
.flow-title { font-size: 20px; }
.flow-text { font-size: 12px; color: var(--text-muted); line-height: 1.75; }
.check-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.check-list li {
  font-family: var(--font-mono); font-size: 12px; color: var(--slate-300);
  line-height: 1.6; padding-left: 20px; position: relative;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--emerald-400); font-weight: 700; font-family: var(--font-sans);
}
.flow-card .btn { align-self: flex-start; }

/* ---------- 对比 ---------- */
.compare-card { padding: 32px; border-radius: var(--r-xl); }
.compare-bad { background: rgba(69, 10, 10, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); }
.compare-good { background: rgba(23, 37, 84, 0.2); border: 1px solid rgba(59, 130, 246, 0.4); box-shadow: 0 20px 50px rgba(2, 6, 23, 0.5); }
.compare-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.compare-eyebrow-bad { color: var(--red-400); }
.compare-eyebrow-good { color: var(--blue-400); }
.cross-list { display: flex; flex-direction: column; gap: 12px; }
.cross-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.compare-good .cross-list li { color: var(--slate-200); }
.mark { font-weight: 700; flex-shrink: 0; }
.mark-red { color: var(--red-400); }
.mark-blue { color: var(--blue-400); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border-radius: var(--r-lg); background: var(--w-5); border: 1px solid var(--w-10);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq-item:hover { background: rgba(255, 255, 255, 0.1); }
.faq-item.open { border-color: rgba(59, 130, 246, 0.4); }
.faq-q {
  width: 100%; padding: 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left; font-size: 14px; font-weight: 700; color: #fff;
}
.faq-sign { color: var(--blue-400); font-size: 18px; line-height: 1; flex-shrink: 0; }
.faq-a { display: none; padding: 0 20px 20px; margin-top: -0px; }
.faq-item.open .faq-a { display: block; }
.faq-a p {
  font-size: 12px; color: var(--text-muted); line-height: 1.8;
  padding-top: 12px; border-top: 1px solid var(--w-10);
}

/* ---------- 页脚 ---------- */
.site-footer { padding: 32px 0; border-top: 1px solid var(--w-10); position: relative; z-index: 1; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
}
.footer-copy { color: var(--text-dim); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a:hover { color: var(--slate-300); }
.footer-link-emerald { color: var(--emerald-400); font-weight: 700; }
.footer-link-emerald:hover { color: var(--emerald-400); opacity: 0.8; }
.footer-icp { color: var(--text-dim); font-family: var(--font-sans); font-size: 12px; }
.footer-icp:hover { color: var(--text-muted); }

/* ---------- 模板详情弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none !important; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: 100%; max-width: 672px; max-height: 85vh; overflow-y: auto;
  padding: 24px; border-radius: var(--r-xl);
  background: var(--slate-900); border: 1px solid var(--w-15);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.25s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--w-10); }
.modal-title { font-size: 24px; margin-top: 8px; }
.modal-target { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--w-10); color: var(--text-muted); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--w-15); color: #fff; }
.modal-section { margin-top: 24px; }
.modal-section-title { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; margin-bottom: 12px; }
.modal-scenarios { display: grid; grid-template-columns: 1fr; gap: 12px; }
.modal-scenario { padding: 14px; border-radius: var(--r-lg); background: var(--w-5); border: 1px solid var(--w-10); }
.modal-scenario h5 { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--blue-300); }
.modal-scenario p { font-size: 11px; color: var(--text-muted); line-height: 1.7; }
.modal-caps { display: flex; flex-direction: column; gap: 6px; }
.modal-cap {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: var(--r-md); background: var(--w-5); border: 1px solid var(--w-5);
  font-size: 12px; color: var(--slate-300);
}
.modal-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--w-10); }
.modal-actions .btn { flex: 1; padding: 14px; }

/* ---------- 滚动入场 ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .section-title { font-size: 30px; }
  .section-sub { font-size: 14px; }
  .hero-title { font-size: 52px; }
  .hero-sub { font-size: 18px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 .card { padding: 32px; }
  .mockup-grid { grid-template-columns: repeat(3, 1fr); }
  .modal-scenarios { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 60px; }
  .hero { padding-top: calc(var(--nav-h) + 88px); }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
