/* ==========================================================================
   Lucid Trading Course — 设计系统 / Design System
   ---------------------------------------------------------------------------
   【改颜色就来这里】整个网站只用三个颜色：黑 + 白 + 金
     --ink         网站背景（黑）
     --text        文字（白）
     --gold        金色强调色（按钮、线条、小标题）
   【改字体也来这里】标题 Palatino Linotype，正文 Georgia
   ========================================================================== */

:root {
  /* ---- 背景：黑 ---- */
  --ink:        #000000;   /* 整站背景色 */
  --ink-soft:   #0C0C0C;   /* 页脚背景 */
  --ink-card:   #111111;   /* 卡片背景 */

  /* ---- 文字：白 ---- */
  --text:       #E8E2D9;   /* 【改这里】正文颜色（暖白） */
  --text-mute:  #C9C2B7;   /* 次要说明文字（同色系稍暗） */

  /* ---- 强调：金 ---- */
  --gold:       #8E6E3F;   /* 金色主色（按钮、强调） */
  --gold-light: #B9975B;   /* 亮金色（悬停、小标题） */
  --gold-deep:  #735D34;   /* 深金色（渐变收尾） */
  --bone:       #D4C5AB;   /* 米金（备用点缀） */
  --bone-soft:  #FFFFFF;   /* 大标题用白色 */
  --heading:    #FFFFFF;   /* 【所有标题颜色】纯白 */

  /* ---- 分隔线 ---- */
  --line:       rgba(255, 255, 255, 0.12);
  --line-strong:rgba(255, 255, 255, 0.22);

  --danger:     #CF6A6A;
  --success:    #7AAA7A;
  --warning:    #C9A84C;

  /* ---- 字体 ---- */
  /* ============================================================
     【字号】—— 想改字号只改这里（gen_site.py 一键脚本也会改这里）
     ============================================================ */
  --fs-body: 19px;                              /* 正文 */
  --lh-body: 1.78;                              /* 正文行距 */
  --fs-eyebrow: 13.5px;                         /* 小标签（如 TECHNICAL ANALYSIS METHODOLOGY） */
  --fs-hero: clamp(30px, 6.6vw, 140px);         /* 首屏大标题（自适应保证一行） */
  --fs-lead: 22px;                              /* 首屏说明文字 */
  --fs-section-title: clamp(44px, 6.2vw, 92px); /* 各区块大标题 */
  --fs-sub: 22px;                               /* 各区块副标题 */
  --fs-card-title: 29px;                        /* 卡片标题 */
  --fs-step-title: 34px;                        /* 三步卡片标题 */
  --fs-flow-title: 31px;                        /* 流程链标题 */
  --fs-phase-title: 28px;                       /* 课程结构卡片标题 */
  --fs-pillar-title: 25px;                      /* 四大支柱标题 */
  --fs-leadbox: clamp(40px, 5.6vw, 72px);       /* 免费资料区标题 */
  --fs-price: 78px;                             /* 价格数字 */
  --fs-brand: clamp(19px, 1.5vw, 27px);         /* 导航栏品牌名 */
  --fs-nav: clamp(15px, 1.05vw, 19px);          /* 导航菜单 */
  --fs-btn: 16px;                               /* 按钮文字 */

  /* ============================================================
     【布局】—— 想改间距/高度只改这里
     ============================================================ */
  --nav-h: 74px;                                /* 导航栏高度 */
  --logo-h: clamp(40px, 3vw, 58px);             /* Logo 高度 */
  --hero-pad-top: 520px;                        /* 首屏顶部留白（给波浪）—— 越大，文案离波浪越远 */
  --hero-pad-bottom: 180px;                     /* 首屏底部留白 */
  --section-pad: 200px;                         /* 各区块上下留白 */
  --faq-bg: #2A1E15;                            /* FAQ 色块底色（只改这里） */

  --font-title: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body:  Georgia, "Times New Roman", serif;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, .title { font-family: var(--font-title); font-weight: 700; line-height: 1.15; margin: 0; color: var(--heading); }
p { margin: 0 0 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; position: relative; }
.section--tight { padding: 140px 0; }
.eyebrow {
  font-size: var(--fs-eyebrow); letter-spacing: .05em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px;
}
.section-title { font-size: var(--fs-section-title); color: var(--heading); }
.section-sub { color: var(--text-mute); max-width: 720px; margin-top: 16px; font-size: var(--fs-sub); line-height: 1.7; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.section-sub--white { color: #FFFFFF; }   /* 【FAQ/评价区】纯白小字 */
.section-sub--tiny { font-size: calc(var(--fs-sub) * .7); color: #F1F5F9; }   /* 【评价区免责声明】字号/颜色 */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-title); font-weight: 700; font-size: var(--fs-btn);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .28s var(--ease), background .28s var(--ease),
              border-color .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease);
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #12100B;
  box-shadow: 0 10px 30px rgba(142, 110, 63, .28);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(142, 110, 63, .42); }
.btn--ghost { border-color: var(--line-strong); color: var(--bone-soft); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }
.btn--block { width: 100%; justify-content: center; }
.btn:active { transform: translateY(-1px) scale(.99); }

/* ---------- header / nav ---------- */
/* 【导航栏配色】底色 #735D34，文字白色 —— 想改就改这里的色值 */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: #4A3620;                       /* 【改这里】导航栏底色 = 深棕波浪色，与首屏连成一体 */
  border-bottom: 1px solid rgba(0, 0, 0, .16);
  /* 进入页面后延迟 1 秒从上方滑入（纯 CSS，即使禁用 JS 也能生效） */
  transform: translateY(-110%);
  animation: nav-enter .7s var(--ease) 1s forwards;   /* ← 末尾的 1s 就是延迟时间 */
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
@keyframes nav-enter {
  from { transform: translateY(-110%); }
  to   { transform: translateY(0); }
}
/* JS 在动画结束后加这个类，清掉 transform（避免影响移动端下拉菜单定位） */
.site-header.nav-settled { animation: none; transform: none; }

/* 【滚动后】导航栏变半透明（模糊背景透出来） */
.site-header.is-stuck {
  background: rgba(74, 54, 32, .62);        /* 滚动后半透明（最后一个数字越小越透） */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(0, 0, 0, .22);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .35);
}

.nav { display: flex; align-items: center; height: var(--nav-h); flex-wrap: nowrap; position: relative; }

/* 【导航栏宽度】占满整个屏幕（不受内容区 1180px 限制）：
   Logo + 品牌名 永远贴最左，菜单和按钮贴最右。
   大屏小屏都自适应，菜单文字永不换行。 */
.wrap.nav {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 2.2vw, 64px);
  padding-right: clamp(20px, 2.2vw, 64px);
  gap: clamp(14px, 1.6vw, 36px);
}
.brand { flex: none; white-space: nowrap; }

/* 【菜单+按钮 居中】绝对定位到导航栏正中，与左右无关 */
.nav__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 28px);
  flex-wrap: nowrap;
}
.nav__links { flex: 0 1 auto; flex-wrap: nowrap; }
.nav__links a { white-space: nowrap; }
.nav__cta { flex: none; }

/* Logo + 品牌名：贴在最左边 */
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-title); font-weight: 700;
  margin-right: auto;                        /* 保证它一直靠左 */
}
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  display: grid; place-items: center; color: #12100B; font-size: 15px;
}
/* Logo 旁边的品牌文字 */
.brand__text {
  font-family: var(--font-title);
  font-size: var(--fs-brand);
  font-weight: 700;                /* 加粗 */
  color: #FFFFFF;                  /* 白字 */
  letter-spacing: 0;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: clamp(2px, .45vw, 8px); }

/* 【鼠标悬停效果】悬停时出现一个圆角小块 */
.nav__links a {
  font-size: var(--fs-nav);
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: 0;
  padding: 10px clamp(10px, .95vw, 18px);  /* 小块内边距：自适应 */
  border-radius: 999px;            /* 圆角 */
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__links a:hover {
  background: rgba(255, 255, 255, .22);   /* 【改这里】悬停小块的颜色 */
}
.nav__links a:active { transform: scale(.97); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
/* 【导航栏按钮】金色底 + 深色粗体字 */
.site-header .btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #14100A;
  font-weight: 700;                 /* 加粗 */
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .30);
}
.site-header .btn--gold:hover {
  background: linear-gradient(135deg, #CBA96A, #9B7A46);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
}
.nav__toggle {
  display: none; background: transparent; border: 1.5px solid #FFFFFF; border-radius: 10px;
  color: #FFFFFF; padding: 8px 12px; cursor: pointer; font-size: 16px;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--hero-pad-top) 0 var(--hero-pad-bottom); overflow: hidden; }
.hero__glow { display: none; }   /* 已关闭：保持统一纯黑背景 */
.hero__grid-bg { display: none; }   /* 已关闭：保持统一纯黑背景 */
.hero__grid-bg.legacy {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(closest-side at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 30%, #000 40%, transparent 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;      /* 单列（右侧图片已删除） */
  gap: 60px;
  align-items: center;
  justify-items: stretch;
  text-align: left;                /* 内容左对齐：左边界 = 标题左边界 */
  max-width: fit-content;         /* 宽度收缩到标题宽度 */
  margin: 0 auto;                  /* 整块居中 → 标题看起来居中 */
}   /* 【改这里】首屏布局：居中显示 */
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 400;          /* 不加粗 */
  text-align: center;        /* 标题居中 */
  color: var(--text);
  margin-bottom: 30px;
  line-height: 1.06;
  white-space: nowrap;       /* 强制一行，不换行 */
}   /* 【改这里】首屏大标题 */
.hero h1 em { font-style: normal; color: #8E6E3F; }   /* 【改这里】大标题里 System 的颜色 */
/* 【首屏说明文字】三段式，纯白，左对齐（左边界 = 标题左边界） */
.hero__lead {
  font-size: calc(var(--fs-lead) - 1px);   /* 比第一行小一号 */
  color: #FFFFFF;                          /* 纯白 */
  line-height: 1.5;                        /* 【改这里】行距（越小越紧） */
  max-width: 900px;
  margin: 0 0 40px;
}
.hero__lead p { margin: 0 0 18px; }        /* 【改这里】段间距 */
.hero__lead p:last-child { margin-bottom: 0; }
.hero__lead-kicker {
  font-size: var(--fs-lead);               /* 第一行大一号（= 22px） */
  color: #FFFFFF;
  margin-bottom: 22px;
}
.hero__lead .hl { color: #8E6E3F; }        /* 【强调色】risk management / repeatable process */

/* ---------- 首屏入场动效：逐字蹦出（On Appear）---------- */
/* 由 assets/js/main.js 把文字拆成单个字符后逐个播放 */
.hero h1 .w, .hero__lead .w { display: inline-block; white-space: nowrap; }   /* 词不断行 */
.hero h1 .ch, .hero__lead .ch {
  display: inline-block;
  opacity: 0;
  /* 打字机效果：时长极短 = 到时间瞬间出现，没有淡入也没有位移 */
  animation: ch-type 1ms linear both;
}
@keyframes ch-type {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero__actions {
  display: flex;
  flex-direction: column;      /* 上下排列 */
  align-items: flex-start;     /* 左对齐 */
  gap: 14px;
  margin-top: 220px;           /* 【改这里】与上方文字的间距 */
  margin-bottom: 30px;
}   /* 【改这里】首屏按钮排列方式 */
.hero__note { font-size: 14px; color: var(--text-mute); }
.hero__note b { color: var(--gold-light); font-weight: 400; }

/* hero visual: chart card */
.chartcard {
  position: relative; background: linear-gradient(180deg, var(--ink-card), #0A0A0A);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow);
}
.chartcard__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chartcard__pair { font-family: var(--font-title); font-size: 15px; color: var(--bone-soft); letter-spacing: 0; }
.chartcard__tag {
  font-size: 11px; letter-spacing: 0; text-transform: uppercase;
  color: var(--gold-light); border: 1px solid var(--line-strong);
  padding: 5px 10px; border-radius: 999px;
}
.chartcard svg { width: 100%; height: auto; display: block; }
.chartcard__legend { display: flex; gap: 20px; margin-top: 14px; font-size: 14.5px; color: var(--text-mute); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.dot--gold { background: var(--gold-light); }
.dot--bone { background: var(--bone); }

/* ---------- generic card ---------- */
.card {
  background: linear-gradient(180deg, var(--ink-card), #0D0D0D);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__num { font-family: var(--font-title); font-size: 14.5px; letter-spacing: 0; color: var(--gold-light); }
.card h3 { font-size: var(--fs-card-title); color: var(--heading); margin: 12px 0 12px; }
.card p { color: var(--text-mute); margin: 0; font-size: 17.5px; }
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* step cards (01/02/03) */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__k {
  font-family: var(--font-title); font-size: 13.5px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--gold-light);
}
.step h3 { font-size: var(--fs-step-title); margin: 14px 0 12px; color: var(--heading); }
.step p { color: var(--text-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 15px; color: var(--bone); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 13px; background: rgba(255,255,255,.03);
}

/* pillars */
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold-light);
  background: rgba(142,110,63,.10); font-family: var(--font-title);
}
.pillar h4 { font-size: var(--fs-pillar-title); color: var(--heading); margin-bottom: 8px; }
.pillar p { font-size: 17px; color: var(--text-mute); margin: 0; }

/* ---------- curriculum ---------- */
.curric { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.phase {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: linear-gradient(180deg, #131313, #0A0A0A);   /* 【改这里】课程结构卡片背景：纯黑灰，不带蓝色 */
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.phase:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.phase__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.phase__id { font-family: var(--font-title); color: var(--gold-light); font-size: 15.5px; letter-spacing: .03em; }
.phase__count { font-size: 15px; color: var(--text-mute); }
.phase h3 { font-size: var(--fs-phase-title); color: var(--heading); margin-bottom: 10px; }
.phase ul { margin: 0; padding-left: 20px; color: var(--text-mute); font-size: 17px; }
.phase li { margin-bottom: 5px; }

/* ---------- free course：一整块圆角卡片（底部一道流动的波浪） ---------- */
.freecard {
  position: relative;
  max-width: 880px;                         /* 【改这里】卡片宽度 */
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;                      /* 【改这里】卡片圆角 */
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(142, 110, 63, .20), transparent 58%),
    linear-gradient(180deg, #131313, #0A0A0A);
  padding: 44px 44px 128px;                 /* 【改这里】卡片内边距（最后一个数是底部） */
  text-align: center;
}
/* 卡片底部那道流动的波浪 */
.freecard__waves {
  position: absolute; left: 0; right: 0;
  bottom: -21px; height: 110px;             /* 【改这里】波浪高度（第二个数越大，起伏越大） */
  pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}
.freecard__waves .wave-lane { top: 0; bottom: auto; height: 100%; }
/* 波浪速度（数字越小越快）；中间那层反向 → 不呆板 */
.freecard__waves .wave-lane--gold-light .wave-svg { animation-duration: 9s; }
.freecard__waves .wave-lane--gold .wave-svg       { animation-duration: 6.5s; animation-direction: reverse; }
.freecard__waves .wave-lane--brown .wave-svg      { animation-duration: 4.8s; }

.freecard__body { position: relative; z-index: 2; }
/* 【这几行统一字号、统一亮色】字号都在下面这两个值上；只有 "No spam at all." 保持金色 */
.freecard__desc { font-size: 16px; color: #F1F5F9; margin: 0; }
.freecard__notes {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 4px 12px; margin: 10px 0 0;
}
.freecard__note { font-size: 16px; color: #F1F5F9; margin: 0; line-height: 1.5; }
.freecard__note--gold { color: var(--gold-light); }   /* "No spam at all." 保持金色 */
.freecard__note--gold::after { content: "·"; color: rgba(255, 255, 255, .32); margin-left: 12px; }

/* 邮箱 + 按钮：直接摆在卡片上，不再单独套一个深色块 */
.freeform {
  margin: 24px auto 0; max-width: 560px;    /* 【改这里】表单区域宽度 */
}
.freeform .form-row { margin: 0; }
/* 表单提示原本占了 32px 空高（12px 外边距 + 20px 最小高），这就是"隔了 1 厘米"的原因 */
.freeform .form-msg { margin: 0; min-height: 0; }
.freeform .form-msg:not(:empty) { margin: 8px 4px 2px; }   /* 有提示时才占位 */
/* 输入框：恢复可见边框 */
.freeform .form-row input {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  padding: 11px 16px; font-size: 16px;      /* 【改这里】输入框高度 */
}
.freeform .form-row input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(142,110,63,.16); }
.freeform .btn { border-radius: 11px; padding: 11px 24px; font-size: 15px; }   /* 按钮同步变矮 */

.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input {
  flex: 1 1 240px; padding: 16px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .72);
  color: var(--text); font-family: var(--font-body); font-size: 17px; outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-row input::placeholder { color: #9A9A9A; }
.form-row input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(142,110,63,.16); }
.form-note { font-size: 15px; color: var(--text-mute); margin-top: 12px; }
.form-msg { font-size: 16px; margin-top: 12px; min-height: 20px; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }

/* ---------- pricing ---------- */
.price-card {
  max-width: 620px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 48px 40px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(142,110,63,.24), transparent 60%),
    linear-gradient(180deg, var(--ink-card), #0A0A0A);
  box-shadow: var(--shadow);
}
.price-card .kicker { font-family: var(--font-title); letter-spacing: 0; text-transform: uppercase; font-size: 12px; color: var(--gold-light); }
.price { font-family: var(--font-title); font-size: var(--fs-price); color: var(--bone-soft); margin: 18px 0 6px; }
.price small { font-size: 18px; color: var(--text-mute); font-family: var(--font-body); }
.price-list { list-style: none; padding: 0; margin: 28px 0; text-align: left; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; color: var(--text-mute); font-size: 17.5px; }
.price-list li::before { content: "—"; color: var(--gold-light); flex: none; }
.price-meta { font-size: 16px; color: var(--text-mute); margin-top: 16px; }

/* ---------- FAQ（色块卡片 + 纯白字 + 十字图标） ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  background: var(--faq-bg);    /* 【改颜色】最上方 --faq-bg */
  border-radius: 18px;          /* 【改这里】色块圆角 */
  padding: 14px 20px;           /* 【改这里】色块内边距 */
  overflow: hidden;
}
/* 【改这里】想要每条之间的分隔线，就把下一行换成：1px solid rgba(255,255,255,.16) */
.faq__item { border-bottom: 0; }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; gap: 18px;      /* 十字排在文字左边 */
  padding: 26px 0; position: relative;
  font-family: var(--font-title); font-size: 24px; line-height: 34px; color: #FFFFFF;
}
/* 十字：用两根线条画（不是文字符号）—— 大小好调，旋转时也不会发虚或闪一下
   18px = 十字大小；34px = 第一行行高，这样十字正好对齐第一行文字 */
.faq__q::after {
  content: "";
  order: -1; flex: 0 0 18px; height: 34px;
  background:
    linear-gradient(var(--gold-light), var(--gold-light)) center / 18px 2px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) center / 2px 18px no-repeat;
  transition: transform .35s var(--ease);
  will-change: transform;      /* 常驻合成层：避免旋转结束时重绘闪一下 */
}
/* 点开：十字转 45° 变成 ×（十字转 90° 看起来还是十字，所以按图用 45°） */
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
/* 鼠标点击不留浏览器默认外框；键盘 Tab 时仍然保留，方便无障碍 */
.faq__q:focus { outline: none; }
.faq__q:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 8px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { color: #FFFFFF; padding: 0 0 26px 36px; margin: 0; }   /* 36px = 18+18，与问题文字左对齐 */

/* ---------- reviews ---------- */
.review { display: grid; gap: 16px; }
.review__stars { color: var(--gold-light); letter-spacing: 3px; }
.review__text { color: var(--text); font-size: 18px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: grid; place-items: center; color: #12100B; font-family: var(--font-title); font-size: 15px;
}
.review__name { font-family: var(--font-title); color: #F1F5F9; font-size: 17px; }
/* 【评价卡片里的文字颜色】必须写 .card.review，否则会被上面的 .card p 覆盖掉 */
.card.review p, .card.review .review__name { color: #F1F5F9; }
.review__role { font-size: 15px; color: var(--text-mute); }

/* ---------- CTA band ---------- */
.band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 160% at 50% 0%, rgba(142,110,63,.20), transparent 62%);
  padding: 84px 0; text-align: center;
}
.band h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--bone-soft); margin-bottom: 16px; }
.band p { color: var(--text-mute); max-width: 620px; margin: 0 auto 30px; }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 40px; border-top: 1px solid var(--line); background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 15.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--bone-soft); margin-bottom: 16px; }
.site-footer a { color: var(--text-mute); font-size: 17px; display: block; margin-bottom: 10px; transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--gold-light); }
.footer-legal {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 15px; color: #D6D6D6; line-height: 1.75;
}
.footer-bottom { margin-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--text-mute); }

/* ---------- disclaimer block (legal page style) ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 30px; color: #FFFFFF; margin: 38px 0 12px; }
.legal h3 { font-size: 21px; color: var(--gold-light); margin: 28px 0 10px; }
.legal p { color: var(--text-mute); font-size: 18px; }
.legal__meta { color: var(--text-mute); font-size: 14.5px; margin: -6px 0 26px; }
.legal ul { color: var(--text-mute); font-size: 18px; margin: 0 0 18px; padding-left: 24px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--gold-light); }
.legal__caps { border-left: 3px solid var(--gold); padding-left: 16px; color: #E6E0D6; }
.legal__table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 16px; color: var(--text-mute); }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal__table th { color: #FFFFFF; background: rgba(255, 255, 255, .04); font-weight: 400; }
.legal__table b { color: #F1F5F9; }

/* ---------- 付款页 (payment.html) ---------- */
/* 顶部标题直接用通用的 .section-title / .section-sub，不另外定义 */

.steps { counter-reset: s; display: grid; gap: 16px; }
.step-card { counter-increment: s; position: relative; padding: 26px 28px 26px 78px; }
.step-card::before {
  content: counter(s); position: absolute; left: 24px; top: 26px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold-light);
  font-family: var(--font-title); font-size: 17px;
}
.step-card h3 { font-size: 22px; color: var(--heading); margin: 0 0 10px; }
.step-card p { color: var(--text-mute); margin: 0; font-size: 16.5px; }
.step-card p + p { margin-top: 12px; }

.wallet {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
}
.wallet code {
  font-family: Consolas, Menlo, monospace; font-size: 15px; color: #F1F5F9;
  word-break: break-all; flex: 1 1 260px;
}
.wallet button { flex: none; }
.net-warn {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(207, 106, 106, .45); background: rgba(207, 106, 106, .10);
  color: #E8C4C4; font-size: 15.5px;
}
.net-warn b { color: #FFFFFF; }

/* 地区下拉 */
.form-row select {
  flex: 1 1 260px; padding: 16px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .72);
  color: var(--text); font-family: var(--font-body); font-size: 17px; outline: none;
}
.form-row select:focus { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(142, 110, 63, .16); }
.form-row select option { background: #111111; color: #FFFFFF; }

/* 退款说明：点明"资格按居住国判定"，具体政策指向条款页 */
.refund__note { font-size: 13.5px; color: var(--text-mute); margin: 10px 0 0; }
.refund__note a { color: var(--gold-light); }

/* 泄露付费内容的后果（不退款 + 收账号 + 追责） */
.leak-warn {
  margin-top: 12px; padding: 15px 17px; border-radius: 12px;
  border: 1px solid rgba(185, 151, 91, .55); background: rgba(142, 110, 63, .14);
  color: #E4D6BC; font-size: 15px;
}
.leak-warn b { color: #FFFFFF; }

/* 必须滚到底才能勾选 */
.agree { margin-top: 22px; }
.agree__lead { font-size: 14px; color: var(--text-mute); margin: 0 0 8px; }
.agree__box {
  max-height: 260px; overflow-y: auto; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .55);
  font-size: 14.5px; line-height: 1.7; color: var(--text-mute);
}
.agree__box h4 { color: #FFFFFF; font-size: 15px; margin: 0 0 12px; }
.agree__box p { margin: 0 0 12px; }
.agree__box p:last-child { margin-bottom: 0; }
.agree__box b { color: #F1F5F9; }
.agree__box a { color: var(--gold-light); }
.agree__hint { font-size: 13.5px; color: var(--gold-light); margin: 8px 0 0; }
.agree__check {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 12px;
  font-size: 15px; color: var(--text-mute); cursor: pointer;
}
.agree__check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #8E6E3F; }
.agree__check input:disabled { opacity: .45; cursor: not-allowed; }
.agree__check a { color: var(--gold-light); }

/* 未勾选时按钮不可用 */
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- calculator (tool page) ---------- */
.calc-shell { max-width: 620px; margin: 0 auto; }
.calc {
  background: linear-gradient(180deg, var(--ink-card), #080808);
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 34px 30px 26px; box-shadow: var(--shadow); position: relative;
}
.calc__brand { text-align: center; margin-bottom: 24px; }
.calc__brand h2 { font-size: 27px; color: var(--gold-light); letter-spacing: .02em; }
.calc__brand p { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-mute); margin: 6px 0 0; }
.tabs { display: flex; gap: 6px; background: rgba(0, 0, 0, .7); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 22px; }
.tab {
  flex: 1; padding: 11px 0; border: 0; border-radius: 9px; cursor: pointer; background: transparent;
  color: var(--text-mute); font-family: var(--font-title); font-weight: 700; font-size: 15px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tab.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #12100B; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--text-mute); }
.field input {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .8); color: var(--text); font-family: var(--font-body); font-size: 17px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(142,110,63,.16); }
.field--full { grid-column: 1 / -1; }
.side { display: flex; gap: 12px; margin: 20px 0 18px; }
.side__btn {
  flex: 1; padding: 13px 0; border-radius: 12px; cursor: pointer; background: transparent;
  border: 1.5px solid var(--line-strong); color: var(--text-mute);
  font-family: var(--font-title); font-weight: 700; letter-spacing: .03em; font-size: 15px;
  transition: all .25s var(--ease);
}
.side__btn.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #12100B; border-color: var(--gold-light); }
.error-banner {
  background: rgba(207,106,106,.10); border: 1px solid rgba(207,106,106,.42); color: var(--danger);
  padding: 12px 16px; border-radius: 10px; font-size: 14px; text-align: center; margin-bottom: 16px;
}
.results { background: rgba(0, 0, 0, .6); border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px; margin-bottom: 18px; }
.res { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
.res:last-child { border-bottom: 0; }
.res__label { color: var(--text-mute); }
.res__val { font-weight: 700; font-size: 18.5px; }
.res__val--gold { color: var(--gold-light); }
.res__val--danger { color: var(--danger); }
.res__val--success { color: var(--success); }
.res__val--warning { color: var(--warning); }
.calc__disclaimer { font-size: 13.5px; color: #B8B8B8; text-align: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- brand logo ---------- */
/* 【换图位置】网站左上角 + 页脚的 Logo
   文件：图片素材-换图看这里/01-Logo品牌标志/Logo-网站左上角和页脚.png
   想换 Logo：把新图片改成同名文件覆盖即可（建议透明背景 PNG，正方形）
   想改 Logo 大小：调下面的 height 数值 */
.brand__logo {
  height: var(--logo-h);
  width: auto;
  flex: none;
  display: block;
  /* 金色导航栏上让 Logo 与底色分离（如果还是看不清，见使用说明的三种处理办法） */
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45));
}
.site-footer .brand__logo { height: 62px; }
/* 超小屏：Logo 与品牌名略小（其余尺寸由 clamp 自动缩放） */
@media (max-width: 620px) {
  .brand__logo { height: 40px; }
  .brand__text { font-size: 19px; }
}

/* ---------- chart gallery (暂未使用，留待以后放真实图表) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #0A0A0A;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.gallery figure:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.gallery img {
  width: 100%; height: 230px;
  object-fit: contain;          /* 图表完整显示，不裁剪 */
  background: #0A0A0A;
  display: block;
}
.gallery figcaption {
  padding: 14px 18px; font-size: 16px; color: var(--text-mute);
  border-top: 1px solid var(--line);
}
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- social links (占位，待填真实账号) ---------- */
/* 【待填】把 href="#" 换成你的真实社交主页地址 */
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--text-mute); font-size: 13px;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social a:hover { color: var(--gold-light); border-color: var(--gold-light); transform: translateY(-3px); }

/* ---------- decision flow (文字版流程链，替代展示图) ---------- */
.flow { max-width: 900px; margin: 0 auto; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, var(--gold-light), rgba(142,110,63,.15));
}
.flow__item { display: flex; gap: 26px; align-items: flex-start; padding: 0 0 34px; position: relative; }
.flow__item:last-child { padding-bottom: 0; }
.flow__num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-title); font-size: 19px; font-weight: 700;
  color: var(--gold-light); background: #0A0A0A;
  border: 2px solid var(--gold);
}
.flow__body h3 { font-size: var(--fs-flow-title); color: var(--heading); margin: 12px 0 8px; }
.flow__body p { color: var(--text-mute); margin: 0; font-size: 17.5px; }
.flow__body .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 620px) {
  .flow::before { left: 21px; }
  .flow__num { width: 44px; height: 44px; font-size: 16px; }
  .flow__item { gap: 18px; }
  .flow__body h3 { font-size: 20px; }
}

/* ---------- reviews marquee (自动左右滚动 + 两侧渐隐) ---------- */
/* 【调速度】改下面 animation 里的 60s —— 数字越大滚得越慢
   注意：这里刻意不跟随系统的"减少动画"设置，保证滚动一定生效（创作者要求） */
.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* 左右两侧逐渐出现 / 逐渐消失（渐隐宽度约 12%） */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;   /* ← 滚动速度 */
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }   /* 鼠标移上去暂停 */
.marquee__group {
  display: flex;
  gap: 22px;
  padding-right: 22px;      /* 让两组之间的间距与组内一致，循环才无缝 */
  flex: none;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee .review {
  background: var(--faq-bg);   /* 【改这里】评价卡片底色（跟 FAQ 色块同色，改最上方 --faq-bg） */
  width: 400px;             /* 【改这里】每张评价卡片的宽度 */
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 620px) { .marquee .review { width: 300px; } }

/* 【上下两行评价】同一个方向滚动 */
.marquee + .marquee { margin-top: 22px; }                  /* 【改这里】上下两行之间的间距 */

/* ============================================================================
   HERO 波浪入场动效（SVG 真波浪版）
   ----------------------------------------------------------------------------
   做法：3 条正弦波浪（SVG 路径，无缝循环）叠加，从深棕 → 橄榄金 → 浅金。
   动效：① 整体入场：从上方 -400px 落下（Ease Out，只播一次）
         ② 横向流动：波浪缓慢向左流动，永久循环（不同层速度不同 → 层次感）
         ③ 上下浮动：每层轻微起伏，相位错开

   【想调什么改这里】
     wave-enter 时长/延迟    见 .hero__waves 的 animation
     流动速度                见 .wave-lane--xx .wave-svg 的 animation（秒数越大越慢）
     浮动幅度/速度           见 @keyframes wave-bob
     三层高度                改 gen_waves.py 里的 baseline 后重跑脚本
     颜色                    改 gen_waves.py 里的色值后重跑脚本
   ============================================================================ */
.hero__waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: transparent;                 /* 纯黑，无底色 */
  /* ① 入场：整体从上方 -400px 落下，Ease Out，只播一次 */
  translate: 0 -400px;
  animation: wave-enter 2s cubic-bezier(.16, .84, .28, 1) 0s both;
}
@keyframes wave-enter {
  from { translate: 0 -400px; }
  to   { translate: 0 0; }
}

/* 每层波浪的容器（负责上下浮动） */
.wave-lane {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 420px;                            /* 与 SVG viewBox 高度一致 */
}
/* ③ 上下浮动：每层幅度/速度/相位不同 → 各自呼吸 */
.wave-lane--gold-light { animation: wave-bob 11s ease-in-out -5s infinite alternate; }
.wave-lane--gold       { animation: wave-bob  9s ease-in-out -3s infinite alternate; }
.wave-lane--brown      { animation: wave-bob  7s ease-in-out -1s infinite alternate; }
@keyframes wave-bob {
  from { transform: translateY(-14px); }
  to   { transform: translateY(14px); }
}

/* ② 横向流动：SVG 宽 200%，位移 -50% 正好一个循环（路径周期设计成无缝）
      【改这里】秒数越小流得越快；三层秒数不同才有前后层次感 */
.wave-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: block;
}
.wave-lane--gold-light .wave-svg { animation: wave-flow 26s linear infinite; }
.wave-lane--gold       .wave-svg { animation: wave-flow 19.1s linear infinite; }
.wave-lane--brown      .wave-svg { animation: wave-flow 13.8s linear infinite; }
@keyframes wave-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* hero 正文必须压在波浪上方 */
.hero__inner { z-index: 2; }
/* ---------- reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.96); }

/* staggered children helper */
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__glow { display: none; }
}

/* ---------- responsive ---------- */
/* 【大屏】屏幕越宽，内容区适度加宽，避免两侧留白过多、显得挤 */
@media (min-width: 1500px) { :root { --maxw: 1280px; } }
@media (min-width: 1900px) { :root { --maxw: 1400px; } }
@media (min-width: 2400px) { :root { --maxw: 1520px; } }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
/* 【导航栏】屏幕不够宽时切换成汉堡菜单（1100px 以下），避免菜单挤在一起 */
@media (max-width: 1100px) {
  /* 移动端：取消居中定位，汉堡按钮靠右 */
  .nav__center { position: static; transform: none; margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #0A0A0A; border-bottom: 1px solid rgba(255,255,255,.16);
    padding: 10px 24px 22px; transform: translateY(-140%); transition: transform .4s var(--ease);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a {
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14);
    width: 100%; font-size: 19px; color: #FFFFFF; border-radius: 0;
  }
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
}

@media (max-width: 820px) {
  .section { padding: 130px 0; }
  .grid--3, .grid--2, .curric { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 440px 0 90px; }   /* 移动端也要给波浪留出空间 */

  /* 手机上卡片内边距收一点 */
  .freecard { padding: 32px 22px 106px; }
  .freecard__waves { bottom: -17px; height: 90px; }
}
