/* ==========================================================================
   ByTickFlow 购票助手 · 官网
   样式 token 与 Ardot 设计稿一一对应
   ========================================================================== */

:root {
  /* 背景层 */
  --bg: #070B14;          /* 页面底色 */
  --bg-nav: #080E1A;      /* 导航栏 */
  --bg-footer: #05080F;   /* 页脚 */
  --surface: #0C1526;     /* 卡片 / 表格 */
  --surface-soft: #0B1222;/* 截图位 */
  --surface-btn: #101A2C; /* 次级按钮 */

  /* 描边 */
  --border: #1C2B45;
  --border-btn: #293D5E;
  --border-cta: rgba(23, 79, 99, .8);
  --border-icon: rgba(34, 211, 238, .25);
  --border-badge: rgba(34, 211, 238, .3);
  --divider: #1B283F;
  --divider-footer: #14203A;

  /* 主色与强调色 */
  --brand: #22D3EE;
  --brand-2: #3B82F6;
  --brand-ink: #06121F;   /* 渐变按钮上的文字 */
  --accent: #34D399;
  --icon: #67E8F9;
  --arrow: #334F6B;
  --glow: rgba(33, 153, 230, .35);

  /* 渐变 */
  --grad-brand: linear-gradient(90deg, #22D3EE 0%, #3B82F6 100%);
  --grad-cta: linear-gradient(180deg, #0F2438 0%, #0D1424 100%);

  /* 文字 */
  --text: #F8FAFC;
  --text-2: #F1F5F9;
  --text-3: #E2E8F0;
  --muted: #94A3B8;
  --muted-2: #64748B;
  --muted-3: #475569;
  --muted-4: #3F4C60;

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 16px;
  --r-2xl: 18px;
  --r-3xl: 24px;

  /* 版心 */
  --page-w: 1440px;
  --pad-x: 120px;
}

* { box-sizing: border-box; }

/* 排版重置：清零标题与段落的浏览器默认外边距，
   所有纵向间距改由容器的 gap / margin 精确控制 */
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #04070D;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }

.mono {
  font-family: "Inter Tight", "Noto Sans SC", system-ui, sans-serif;
}

/* ============================ 导航栏 ============================ */
.nav {
  height: 72px;
  padding: 0 var(--pad-x);
  background: var(--bg-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand-name { font-size: 17px; font-weight: 700; color: var(--text-2); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 15px; font-weight: 400; color: var(--muted); }
.nav-link.is-active { font-weight: 600; color: var(--text-2); }

.nav-right { display: flex; align-items: center; gap: 20px; }

/* ============================ 按钮 ============================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: var(--brand-ink);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 30px -6px var(--glow);
  transition: filter .18s ease;
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--r-md);
  background: var(--surface-btn);
  border: 1px solid var(--border-btn);
  color: #CBD5E1;
  font-size: 16px;
  font-weight: 500;
  transition: border-color .18s ease, color .18s ease;
}
.btn-secondary:hover { border-color: #3B5478; color: #E2E8F0; }

.btn-sm { padding: 10px 20px; border-radius: var(--r-sm); font-size: 14px; box-shadow: none; }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  padding: 64px var(--pad-x) 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  width: 1040px;
  height: 660px;
  border-radius: 520px;
  background: radial-gradient(closest-side,
    rgba(34, 211, 238, .28) 0%,
    rgba(59, 130, 246, .09) 55%,
    rgba(7, 11, 20, 0) 100%);
  pointer-events: none;
}

.hero-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-right {
  width: 100%;
  max-width: 600px;
  flex-shrink: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #0B2532;
  border: 1px solid var(--border-badge);
  font-size: 13px;
  font-weight: 500;
  color: #7DD3FC;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(51, 212, 153, .9);
}

.hero-title {
  margin: 0;
  width: 100%;
  max-width: 560px;
  font-size: 52px;
  line-height: 66px;
  font-weight: 800;
  color: var(--text);
  text-align: left;
}

.hero-sub {
  margin: 0;
  width: 100%;
  max-width: 520px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: var(--muted);
  text-align: left;
}

.cta-row { display: flex; align-items: center; gap: 14px; }

.trust { display: flex; align-items: center; gap: 10px; }
.trust-text { font-size: 13px; font-weight: 400; color: var(--muted-2); }

/* ============================ Hero 截图轮播 ============================ */
.hero-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.hero-shot {
  flex: 0 0 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070B14;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 20, .55);
  border: 1px solid rgba(34, 211, 238, .15);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  background: rgba(148, 163, 184, .45);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.hero-dot:hover { background: rgba(148, 163, 184, .75); }
.hero-dot.is-active { background: var(--brand); transform: scale(1.15); }

/* ============================ 截图位 ============================ */
.shot-lg {
  width: 100%;
  height: 600px;
  border-radius: var(--r-xl);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-md {
  width: 100%;
  height: 330px;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-label {
  font-size: 14px;
  letter-spacing: 2px;
  color: #46566E;
}

/* ============================ 通用区块 ============================ */
.section { padding: 32px var(--pad-x) 0; }

.section-head { display: flex; flex-direction: column; gap: 6px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--brand);
}

.sec-title {
  margin: 0;
  width: 100%;
  max-width: 900px;
  font-size: 38px;
  line-height: 40px;
  font-weight: 800;
  color: var(--text);
}

.sec-desc {
  margin: 0;
  width: 100%;
  max-width: 760px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--muted);
}

/* ============================ 数据墙 ============================ */
.stats-section { padding: 48px var(--pad-x) 0; }

.stats-card {
  display: flex;
  align-items: center;
  padding: 36px 24px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-value { font-size: 38px; font-weight: 800; color: var(--brand); }
.stat-label { font-size: 14px; font-weight: 400; color: var(--muted-2); }

.divider { flex: 0 0 1px; width: 1px; height: 56px; background: var(--divider); }

/* ============================ 能力卡片 ============================ */
.card-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }

.card {
  flex: 1;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: #0B2532;
  border: 1px solid var(--border-icon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title { font-size: 20px; font-weight: 700; color: var(--text-2); }
.card-desc { font-size: 15px; line-height: 28px; font-weight: 400; color: var(--muted); }

/* ============================ 首页核心能力卡 ============================ */
.cap-card {
  flex: 1;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .18s ease;
}
.cap-card:hover { border-color: #24405E; }
.cap-header { display: flex; align-items: center; gap: 12px; }
.cap-header .icon-box { width: 40px; height: 40px; flex-shrink: 0; }
.cap-header .icon-box svg { width: 22px; height: 22px; }
.cap-card .card-title { margin: 0; font-size: 18px; }

/* ============================ 工作流程 ============================ */
.steps { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-top: 28px; }

.step {
  flex: 1;
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-ink);
}

.step-title { font-size: 19px; font-weight: 700; color: var(--text-2); }
.step-desc { font-size: 14px; line-height: 26px; font-weight: 400; color: var(--muted); }
.step-arrow { flex: 0 0 24px; }

/* ============================ 界面展示 ============================ */
.shot-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.shot-item { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.shot-cap { font-size: 14px; font-weight: 400; color: var(--muted-2); }

/* ============================ FAQ ============================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
/* 帮助中心正文内，标题与列表不必再叠一层大间距 */
.help-section > .faq-list { margin-top: 0; }

.faq-item {
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.faq-q { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text-3); }
.faq-a { font-size: 15px; line-height: 25px; font-weight: 400; color: var(--muted); }
/* 同一条目内的多段答案，段间距略大于「问题→答案」间距 */
.faq-a + .faq-a { margin-top: 3px; }

/* ============================ 底部行动区 ============================ */
.cta-section { padding: 64px var(--pad-x) 0; }

.cta-card {
  padding: 56px 48px;
  border-radius: var(--r-3xl);
  background: var(--grad-cta);
  border: 1px solid var(--border-cta);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-title {
  margin: 0;
  width: 100%;
  max-width: 760px;
  font-size: 36px;
  line-height: 48px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}
.cta-desc {
  margin: 0;
  width: 100%;
  max-width: 640px;
  font-size: 17px;
  line-height: 28px;
  color: var(--muted);
  text-align: center;
}
.cta-note { font-size: 13px; font-weight: 400; color: #526277; }

/* ============================ 页脚 ============================ */
.footer {
  margin-top: 64px;
  padding: 56px var(--pad-x) 36px;
  background: var(--bg-footer);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top { display: flex; gap: 56px; }
.footer-cols { display: flex; gap: 56px; }
.footer-brand { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand-name { font-size: 18px; font-weight: 700; color: var(--text-2); }
.footer-brand-text { display: flex; flex-direction: column; gap: 3px; }
.footer-brand-slogan { font-size: 13px; line-height: 20px; color: var(--muted-2); }
.footer-tag { width: 100%; max-width: 330px; font-size: 14px; line-height: 26px; color: var(--muted-2); }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-title { font-size: 14px; font-weight: 600; color: var(--text-3); }
.footer-link { font-size: 14px; font-weight: 400; color: var(--muted-2); transition: color .18s ease; }
.footer-link:hover { color: var(--muted); }

.footer-divider { width: 100%; height: 1px; background: var(--divider-footer); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 13px; font-weight: 400; color: var(--muted-3); }
.footer-bottom-links { display: flex; align-items: center; gap: 22px; }

.disclaimer { font-size: 13px; line-height: 24px; font-weight: 400; color: var(--muted-4); }

/* ============================ 功能介绍页 ============================ */
.page-head { position: relative; padding: 24px var(--pad-x) 0; display: flex; flex-direction: column; gap: 6px; }
.page-head::before {
  content: '';
  position: absolute;
  left: var(--pad-x);
  top: -48px;
  width: 380px;
  height: 220px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .10), rgba(34, 211, 238, 0) 72%);
  pointer-events: none;
  z-index: -1;
}
.page-title { margin: 0; width: 100%; max-width: 900px; font-size: 42px; line-height: 44px; font-weight: 800; color: var(--text); }
.page-desc { margin: 0; width: 100%; max-width: 800px; font-size: 16px; line-height: 22px; color: var(--muted); }

.feat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 var(--pad-x);
  margin-top: 44px;
}

.feat-card {
  flex: 1 1 260px;
  width: 100%;
  max-width: 285px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .18s ease;
}
.feat-card:hover { border-color: #24405E; }
.feat-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat-header .icon-box {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.feat-header .icon-box svg {
  width: 20px;
  height: 20px;
}
.feat-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--text-2); }
.feat-desc { font-size: 14px; line-height: 24px; font-weight: 400; color: var(--muted); }

.spec-section { padding: 96px var(--pad-x) 0; display: flex; flex-direction: column; gap: 24px; }

.spec-table {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.spec-row + .spec-row { border-top: 1px solid var(--border); }
.spec-key { font-size: 15px; font-weight: 400; color: var(--muted); }
.spec-val { font-size: 15px; font-weight: 500; color: var(--text-3); }

.feature-list-section { padding: 40px var(--pad-x) 0; display: flex; flex-direction: column; gap: 14px; }

.feature-table-wrap {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.feature-table-th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(14, 22, 36, .6);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.feature-table-td {
  padding: 10px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  line-height: 18px;
}

.feature-table tr:last-child .feature-table-td { border-bottom: none; }

.feature-module {
  width: 160px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(14, 22, 36, .25);
}

.feature-table-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
}

.feature-table-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 18px;
}

.feature-table-item::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.feature-table-item.done::before {
  content: '✓';
  color: #34D399;
  background: rgba(52, 211, 153, .12);
}

.feature-table-item.warn::before {
  content: '!';
  color: #FBBF24;
  background: rgba(251, 191, 36, .12);
}

/* ============================ 帮助中心页 ============================ */
.help-search {
  width: 100%;
  max-width: 720px;
  padding: 16px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s ease;
}
.help-search::placeholder { color: var(--muted-2); }
.help-search:focus { border-color: var(--brand); }

.help-section { margin-top: 64px; }
.help-section:first-of-type { margin-top: 44px; }

.help-cat-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-2);
  margin: 0 0 20px;
}

.help-cta {
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.help-cta-title { font-size: 20px; font-weight: 700; color: var(--text-2); }
.help-cta-desc { font-size: 15px; line-height: 24px; color: var(--muted); width: 100%; max-width: 480px; }

/* ============================ 关于我们页 ============================ */
.about-card {
  padding: 14px 18px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.about-lead { font-size: 17px; line-height: 24px; font-weight: 400; color: var(--muted); }
.contact-mail { font-size: 18px; font-weight: 700; color: var(--brand); }

.contact-card {
  padding: 22px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-card-desc {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
  text-align: left;
}
.contact-mail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-ink);
  border: 1px solid var(--border-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: background .18s ease, transform .18s ease;
  flex-shrink: 0;
}
.contact-mail-icon:hover {
  background: rgba(34, 211, 238, .12);
  transform: translateY(-2px);
}
.contact-mail-icon svg { width: 20px; height: 20px; }

.principle {
  padding: 22px;
  gap: 12px;
}
.principle-head { display: flex; align-items: center; gap: 10px; }
.principle .card-title { margin: 0; }

/* ============================ 帮助中心侧边栏布局 ============================ */
.help-layout { display: flex; gap: 40px; padding: 0 var(--pad-x); margin-top: 44px; }

.help-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.help-nav-title { font-size: 14px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }

.help-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease;
}
.help-nav-item::after { content: "»"; font-family: "Inter Tight", sans-serif; font-size: 13px; opacity: .6; }
.help-nav-item:hover { background: rgba(34, 211, 238, .08); color: var(--text-2); }
.help-nav-item.is-active { background: var(--brand-2); color: #fff; }
.help-nav-item.is-active::after { opacity: 1; }

.help-content { flex: 1; min-width: 0; }
.help-section { margin-top: 0 !important; display: none; }
.help-section.is-active {
  display: block;
  animation: helpSectionIn .45s cubic-bezier(.22, 1, .36, 1) both;
}
.help-section + .help-section { margin-top: 80px; }

/* 帮助中心切换：内容区整体淡入（每次点击重播，卡片错落由 JS 控制） */
@keyframes helpSectionIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.help-section-title { font-size: 26px; font-weight: 800; color: var(--text); margin: 0 0 16px; }

/* ============================ 意见反馈留言板 ============================ */
.feedback-card {
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feedback-row {
  display: flex;
  gap: 18px;
}

.feedback-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.feedback-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.feedback-input,
.feedback-textarea {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  line-height: 22px;
  outline: none;
  transition: border .18s ease, box-shadow .18s ease;
  font-family: inherit;
}

.feedback-input::placeholder,
.feedback-textarea::placeholder { color: var(--muted-2); }

.feedback-input:focus,
.feedback-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, .12);
}

.feedback-textarea { resize: vertical; }

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.feedback-hint {
  font-size: 12px;
  color: var(--muted-2);
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-empty {
  margin: 0;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--muted-2);
  font-size: 14px;
  text-align: center;
}

.feedback-item {
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback-item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
}

.feedback-item-time {
  font-size: 12px;
  color: var(--muted-2);
}

.feedback-item-contact {
  font-size: 12px;
  color: var(--muted-2);
}

.feedback-item-msg {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  white-space: pre-wrap;
}

.feedback-delete {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(244, 63, 94, .10);
  border: 1px solid rgba(244, 63, 94, .25);
  color: #F43F5E;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
}

.feedback-delete:hover { background: rgba(244, 63, 94, .18); }

.footer-copy.is-active { color: var(--text-2); cursor: default; }

/* ============================ 响应式适配 ============================ */
@media (max-width: 1200px) {
  :root { --pad-x: 64px; }
  .hero-right { max-width: 520px; }
  .hero-shot { height: 360px; }
}

@media (max-width: 980px) {
  :root { --pad-x: 32px; }

  .nav {
    height: auto;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 12px;
  }
  .nav-links { gap: 20px; flex-wrap: wrap; }

  .hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-right { max-width: 100%; }
  .hero-shot { height: 320px; }

  .card-row > .card,
  .shot-row > .shot-item,
  .steps > .step { flex: 1 1 280px; }

  .stats-card { flex-wrap: wrap; }
  .divider { width: 100%; height: 1px; margin: 8px 0; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }

  .help-layout { flex-direction: column; }
  .help-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-table-wrap { overflow-x: auto; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }

  .nav-brand-name { font-size: 15px; }
  .nav-link { font-size: 14px; }

  .hero { padding-top: 40px; }
  .hero-title { font-size: 34px; line-height: 44px; }
  .hero-sub { font-size: 15px; line-height: 26px; }
  .hero-shot { height: 240px; }

  .sec-title { font-size: 28px; line-height: 36px; }
  .page-title { font-size: 30px; line-height: 38px; }

  .cta-title { font-size: 26px; line-height: 34px; }
  .cta-desc { font-size: 15px; line-height: 24px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .feature-module { width: 120px; }
}

/* ============================ 动态效果 ============================ */

/* 导航栏：吸顶 + 滚动毛玻璃 */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 13, 22, .72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9);
}

/* 共享关键帧 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes glowBreath {
  0%, 100% { opacity: .82; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px rgba(51, 212, 153, .9); }
  50%      { box-shadow: 0 0 12px 3px rgba(51, 212, 153, .55); }
}

/* Hero 文案入场（加载即播放，依次错峰） */
.hero-left > * {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-left > *:nth-child(1) { animation-delay: .05s; }
.hero-left > *:nth-child(2) { animation-delay: .15s; }
.hero-left > *:nth-child(3) { animation-delay: .26s; }
.hero-left > *:nth-child(4) { animation-delay: .37s; }
.hero-left > *:nth-child(5) { animation-delay: .48s; }
.hero-right {
  opacity: 0;
  animation: fadeUp .8s cubic-bezier(.22, 1, .36, 1) .35s forwards;
}

/* 背景光晕呼吸 */
.hero-glow { animation: glowBreath 7s ease-in-out infinite; }

/* 徽标点脉冲 */
.badge-dot { animation: pulseDot 2.4s ease-in-out infinite; }

/* 滚动揭示：进入视口淡入上浮 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* 核心能力卡片错峰 */
.card-row .cap-card.reveal:nth-child(1) { transition-delay: .05s; }
.card-row .cap-card.reveal:nth-child(2) { transition-delay: .15s; }
.card-row .cap-card.reveal:nth-child(3) { transition-delay: .25s; }

/* 数字计数基础态 */
.stat-value.is-counting { font-variant-numeric: tabular-nums; }

/* 窄屏收敛动效幅度 */
@media (max-width: 640px) {
  .hero-left > * { animation-duration: .55s; }
  .hero-right { animation-duration: .6s; }
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero-left > *,
  .hero-right,
  .hero-glow,
  .badge-dot,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .help-section.is-active { animation: none !important; }
}

