/* ============================================================
   德雅尚女子商学院 · 高端品牌官网设计系统 v3
   ── 静奢女性化（Quiet Luxury × 东方雅致 × 女性力量）──

   色彩哲学：
     以「暖象牙底色」承载「胭脂玫瑰」主调，
     以「暖香槟金」作唯一精致点缀，
     以「暖深紫 / 浓咖」替代冷调海军蓝作为深度色，
     整体克制、温润、有高级感，拒绝廉价饱和与硬冷对比。

   设计语言：
     大圆角 · 丝缎柔光 · 花卉留白 · 呼吸感留白 · 静奢渐变
   ============================================================ */

/* ========== CSS 变量（色彩核心，保留原有命名，重调为暖色静奢体系） ========== */
:root {
  /* ---- 奶油底色系（整体背景） ---- */
  --cream:        #FBF6F1;    /* 主背景：暖象牙 */
  --cream-deep:   #F3E9E0;    /* 次级背景：深暖奶油（版块交替用） */
  --cream-pale:   #FFFCF9;    /* 最浅：近白暖 */
  --cream-dark:   #F3E9E0;    /* 别名：兼容既有内联用法 → 深暖奶油 */
  --paper:        #FFFFFF;    /* 卡片纯白 */

  /* ---- 胭脂玫瑰色系（主色调·女性感） ---- */
  --rose:         #CBA6A2;    /* 主玫瑰：柔和胭脂粉 */
  --rose-light:   #F4DDD9;    /* 浅玫瑰：背景用 */
  --rose-pale:    #FAECEA;    /* 极淡玫瑰 */
  --rose-deep:    #A8766F;    /* 深玫瑰：文字强调 / 按钮 */
  --rose-wine:    #8E4B57;    /* 勃艮第酒红：VIP/重磅 */

  /* ---- 深度色（暖深紫 / 浓咖，替代冷海军蓝） ---- */
  --midnight:     #2E2429;    /* 暖浓咖黑：stat-bar / 内页 hero 深度 */
  --midnight-soft:#3D3036;    /* 浅暖咖 */
  --plum:         #4A3B43;    /* 暖深紫：导师班 / 区块深度 */
  --plum-deep:    #382C32;    /* 深紫褐 */

  /* ---- 金色装饰系（唯一精致点缀） ---- */
  --gold:         #C0A06A;    /* 香槟金：装饰线/图标（柔和，不刺眼） */
  --gold-light:   #E7D8BE;    /* 浅金：hover背景 */
  --gold-deep:    #A8854B;    /* 深金：active */
  --copper:       #B8946A;    /* 古铜金：辅助 */

  /* ---- 文字色（暖调，非纯黑） ---- */
  --ink:          #3A2E2C;    /* 暖墨：主文字 */
  --ink-soft:     #574A47;    /* 柔墨：次级文字 */
  --text:         #6A5C58;    /* 正文灰 */
  --text-muted:   #9C8E88;    /* 弱化文字 */
  --border:       #E8DCD2;    /* 边框：暖灰 */
  --border-soft:  #EFE5DA;    /* 弱边框 */

  /* ---- 字体栈 ---- */
  --font-serif:   "Noto Serif SC", "Songti SC", "STSong", "SimSun",
                   "Source Han Serif SC", serif;
  --font-sans:    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                   "Helvetica Neue", Arial, sans-serif;
  --font-en:      "Cormorant Garamond", "Playfair Display", Georgia, serif;

  /* ---- 圆角（更大更柔·女性化曲线） ---- */
  --radius-xs:    10px;
  --radius-sm:    14px;
  --radius-md:    20px;
  --radius-lg:    26px;
  --radius-xl:    34px;
  --radius-full:  999px;

  /* ---- 阴影（柔光·非硬边·暖调） ---- */
  --shadow-xs:    0 2px 10px rgba(58, 46, 44, 0.04);
  --shadow-sm:    0 6px 20px rgba(58, 46, 44, 0.06);
  --shadow-md:    0 12px 36px rgba(58, 46, 44, 0.09);
  --shadow-lg:    0 20px 56px rgba(58, 46, 44, 0.12);
  --shadow-rose:  0 10px 30px rgba(168, 118, 111, 0.22);
  --shadow-gold:  0 8px 24px rgba(192, 160, 106, 0.20);

  /* ---- 布局常量 ---- */
  --maxw:         1280px;
  --nav-h:        74px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);   /* 锚点不被固定导航遮挡 */
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全局丝缎纹理叠加（极微妙，增加质感层次） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(203,166,162,0.05) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 82%, rgba(192,160,106,0.04) 0%, transparent 48%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== 排版系统 ========== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section { padding: 104px 0; }
.section-sm { padding: 76px 0; }
.section-tight { padding: 60px 0; }

/* --- 装饰性分区标题（带花卉分割线·严格居中） --- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  flex-shrink: 0;
}
.section-head .eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head h2 {
  font-size: 38px;
  letter-spacing: 3px;
  margin-bottom: 0;
  position: relative;
}
/* 装饰符独立一行，flex居中，不受h2内容宽度影响 */
.section-head h2 + .deco-row,
.section-head .deco-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 8px;
  opacity: 0.75;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-top: 18px;
}

/* ========== 按钮（柔美胶囊形） ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 38px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* 主按钮：胭脂玫瑰渐变 */
.btn-primary {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(168,118,111,0.32); }

/* 玫瑰填充按钮（年卡"了解详情"等） */
.btn-rose {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn-rose:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(168,118,111,0.32); color:#fff; }

/* 香槟金按钮 */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(192,160,106,0.32); }

/* 浅描边按钮（浅色 hero / 深色 band 上覆白边） */
.btn-light {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
}
.btn-light:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-pale); }

/* 幽灵按钮（玫瑰描边） */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--rose-pale); }

/* 深色幽灵按钮（深色背景上） */
.btn-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}
.btn-dark:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* 小标签按钮 */
.btn-tag {
  padding: 8px 22px;
  font-size: 13px;
  border-radius: var(--radius-full);
  background: var(--rose-light);
  color: var(--rose-deep);
  letter-spacing: 1px;
}
.btn-tag:hover { background: var(--rose); color: #fff; }

/* ========== 导航栏（通透毛玻璃·暖底） ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(251, 246, 241, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
  background: rgba(251, 246, 241, 0.95);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 5px rgba(192,160,106,0.20));
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  font-weight: 400;
  margin-top: 2px;
}

/* 导航链接：menu 居中吸收剩余空间，避免与 logo/CTA 碰撞错位 */
.nav-menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-menu > li { position: relative; white-space: nowrap; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: var(--radius-xs);
  transition: all 0.28s;
  letter-spacing: 0.6px;
  position: relative;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--rose), var(--gold));
  border-radius: 1px;
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-menu > li > a:hover { color: var(--rose-deep); background: var(--rose-pale); }
.nav-menu > li > a:hover::after { width: 22px; }

/* 下拉箭头（has-drop 用 ::after 显示 caret，不再画下划线） */
.nav-menu > li.has-drop > a::after {
  content: "▾";
  position: static;
  width: auto;
  height: auto;
  background: none;
  font-size: 9px;
  margin-left: 3px;
  color: var(--gold);
  transition: none;
  transform: none;
}
.nav-menu > li.has-drop > a:hover::after { width: auto; }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.has-drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown::before {   /* 顶部小三角过渡区，避免 hover 断档 */
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0; height: 12px;
}
.dropdown a {
  display: block;
  padding: 11px 15px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}
.dropdown a:hover { background: var(--cream); color: var(--rose-deep); }

/* ========== 右侧固定快捷悬浮栏（替代导航CTA） ========== */
.quick-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qb-btn {
  display: flex;
  align-items: center;
  gap: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
  justify-content: center;
  position: relative;
}
.qb-btn .qb-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.qb-btn .qb-label {
  position: absolute;
  right: 100%;
  padding-right: 10px;
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.qb-btn:hover {
  width: auto;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  border-color: var(--rose);
  box-shadow: var(--shadow-rose);
  transform: scale(1.05);
}
.qb-btn:hover .qb-icon { transform: scale(1.15); }
.qb-btn:hover .qb-label { opacity: 1; }
.qb-btn.qb-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  border-color: var(--gold);
}
.qb-btn.qb-primary:hover {
  background: linear-gradient(135deg, var(--rose-wine), var(--rose-deep));
  border-color: var(--rose-wine);
}
.qb-btn.qb-top {
  background: var(--cream-deep);
  border-color: var(--border);
  width: 40px;
  height: 40px;
  font-size: 16px;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle span.active:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle span.active:nth-child(2) { opacity: 0; }
.nav-toggle span.active:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 抽屉关闭按钮（仅移动端显示） */
.nav-close {
  display: none;
}

/* 抽屉遮罩层（仅移动端显示） */
.nav-overlay {
  display: none;
}

/* 手机端底部操作条（仅移动端显示） */
.mobile-bottom-bar {
  display: none;
}

/* ========== Hero 区域（轻盈·高端·浅色丝缎渐变） ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 轻盈的象牙→胭脂渐变（女性、通透、高级），而非生硬的深蓝跳色 */
  background:
    linear-gradient(160deg,
      var(--cream-pale) 0%,
      #FBEDEA 38%,
      var(--rose-light) 70%,
      #EBD7D2 100%
    );
  color: var(--ink);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Hero 装饰：右上角玫瑰光晕 */
.hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: 52vw;
  height: 52vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle, rgba(203,166,162,0.20) 0%, transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
/* 左下角香槟金微光 */
.hero::after {
  content: "";
  position: absolute;
  bottom: -16%;
  left: -10%;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(192,160,106,0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-deco { position: absolute; inset: 0; opacity: 0.30; pointer-events: none; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 34px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
}
.hero-badge::before { content: "✦"; font-size: 10px; }

.hero h1 {
  color: var(--ink);
  font-size: 54px;
  letter-spacing: 5px;
  margin-bottom: 24px;
  line-height: 1.28;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--rose-wine), var(--rose-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 22px;
  font-weight: 300;
  color: var(--rose-wine);
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 3px;
  animation: floatY 2.5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== 数据统计条（暖浓咖·香槟金数字） ========== */
.stat-bar {
  background: linear-gradient(135deg, var(--midnight), #211912);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stat-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(192,160,106,0.08) 0%, transparent 50%);
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 54px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-en);
  font-size: 50px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(192,160,106,0.25);
}
.stat-label {
  font-size: 14px;
  opacity: 0.78;
  letter-spacing: 2px;
}

/* ========== 卡片组件（大圆角·柔影） ========== */
.card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose-light), var(--rose), var(--rose-light), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rose-light);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--rose-light), var(--cream-pale));
  color: var(--rose-deep);
  font-size: 26px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; letter-spacing: 1px; }
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.9; }

/* 栅格 */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== 课程卡片（三级配色·暖色静奢） ========== */
.course-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  transition: height 0.3s;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card:hover::before { height: 6px; }

/* 三级卡片头部配色（体验卡=胭脂浅 / 年卡=暖浓咖 / 导师班=暖深紫） */
.course-head { padding: 38px 36px 30px; position: relative; }
.course-head.basic {
  background: linear-gradient(145deg, var(--rose-light), var(--cream-pale));
  color: var(--ink);
}
.course-head.basic::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='80' cy='20' r='30' fill='rgba(203,166,162,0.08)'/%3E%3Ccircle cx='20' cy='80' r='20' fill='rgba(192,160,106,0.05)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}
.course-head.pro {
  background: linear-gradient(145deg, var(--midnight), var(--midnight-soft));
  color: #fff;
}
.course-head.vip {
  background: linear-gradient(145deg, var(--plum), var(--plum-deep));
  color: #fff;
}

.course-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-weight: 500;
}
.course-head.basic .course-tag { background: rgba(168,118,111,0.16); color: var(--rose-deep); }
.course-head.pro .course-tag { background: rgba(192,160,106,0.22); color: var(--gold-light); }
.course-head.vip .course-tag { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.92); }

.course-name { font-size: 26px; font-weight: 500; letter-spacing: 2px; margin-bottom: 6px; }
.course-en { font-family: var(--font-en); font-size: 13px; opacity: 0.7; letter-spacing: 2.5px; }
.course-price { font-size: 42px; font-family: var(--font-en); margin: 20px 0 4px; }
.course-head.pro .course-price,
.course-head.vip .course-price { color: var(--gold); }
.course-price small { font-size: 15px; font-family: var(--font-sans); opacity: 0.65; font-weight: 400; }

.course-body { padding: 30px 36px 38px; flex: 1; display: flex; flex-direction: column; }
.course-feat { margin-bottom: 28px; flex: 1; }
.course-feat li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--border-soft);
}
.course-feat li:last-child { border-bottom: none; }
.course-feat li::before {
  content: "♡";
  color: var(--rose);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
}
.course-foot { text-align: center; }

.course-card.featured {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px var(--gold-light), var(--shadow-md);
}

/* ========== 品牌「德·雅·尚」理念带（暖深紫·香槟金） ========== */
.belief-band {
  background: linear-gradient(135deg, var(--plum) 0%, #2A2026 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.belief-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(192,160,106,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(203,166,162,0.06) 0%, transparent 50%);
}

.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; position: relative; z-index: 1; }
.belief-item .b-char {
  font-family: var(--font-serif);
  font-size: 62px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(192,160,106,0.30);
}
.belief-item .b-name { font-size: 24px; font-weight: 500; letter-spacing: 5px; margin-bottom: 10px; }
.belief-item .b-word { font-size: 14px; opacity: 0.7; letter-spacing: 1.5px; line-height: 1.8; }

/* ========== 区块标题（左侧竖线·玫瑰金渐变） ========== */
.block-title {
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: linear-gradient(to bottom, var(--rose), var(--gold));
  border-radius: 2px;
}

/* ========== 图片占位（设计化·标注替换） ========== */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-deep), var(--rose-pale));
  border: 1px solid var(--border);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-frame svg { width: 100%; height: 100%; }
.img-ph { color: var(--text-muted); font-size: 13px; text-align: center; padding: 20px; letter-spacing: 1px; }

/* 真实配图渲染 */
.img-real {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.img-frame:has(.img-real) { border: 1px solid var(--border); }
.news-thumb .img-frame { min-height: 0; height: 100%; border: none; background: none; }
.news-thumb .img-real { min-height: 0; height: 100%; }
.media-card .img-real { width: 100%; height: 320px; }
@media (max-width: 768px) { .media-card .img-real { height: 220px; } }

.media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-card .deco { position: absolute; inset: 0; }

/* ========== 时间线（玫瑰金节点） ========== */
.timeline { position: relative; padding-left: 36px; margin-top: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--rose), var(--gold), var(--rose-light), transparent);
  border-radius: 1px;
}
.tl-item { position: relative; margin-bottom: 36px; }
.tl-dot {
  position: absolute;
  left: -36px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--rose);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--rose-light), 0 2px 8px rgba(203,166,162,0.25);
}
.tl-year { font-family: var(--font-en); font-size: 22px; color: var(--gold-deep); margin-bottom: 4px; }
.tl-title { font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.tl-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.9; }

/* ========== 表单（柔美化） ========== */
.form-wrap {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 46px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.form-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-light), var(--rose), var(--gold), var(--rose), var(--rose-light));
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.form-field label .req { color: var(--rose-wine); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream-pale);
  transition: all 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(203, 166, 162, 0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; text-align: center; }
.form-success {
  display: none;
  background: linear-gradient(135deg, #EDF5EF, #fff);
  border: 1px solid #7BC4A8;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  text-align: center;
  color: #1A6B48;
  margin-top: 22px;
  font-weight: 500;
}

/* ========== 新闻/文章列表 ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 212px;
  background: linear-gradient(135deg, var(--cream-deep), var(--rose-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-thumb::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -20px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,166,162,0.14) 0%, transparent 70%);
}
.news-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  z-index: 1;
}
.news-body { padding: 28px; }
.news-date { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; font-family: var(--font-en); letter-spacing: 1px; }
.news-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; letter-spacing: 0.5px; }
.news-body p { font-size: 14px; color: var(--text-muted); line-height: 1.85; }
.news-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--rose-deep);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.news-more:hover { color: var(--rose-wine); }

/* ========== 面包屑 ========== */
.breadcrumb {
  background: var(--cream-deep);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* ========== 内页Hero（暖深紫→酒红，精致深色） ========== */
.page-hero {
  background: linear-gradient(155deg, var(--midnight) 0%, var(--plum) 58%, var(--rose-wine) 125%);
  color: #fff;
  padding: 142px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 28%, rgba(192,160,106,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 72%, rgba(203,166,162,0.07) 0%, transparent 50%);
}
.page-hero .ph-deco { position: absolute; inset: 0; opacity: 0.3; }
.page-hero h1 {
  color: #fff;
  font-size: 44px;
  letter-spacing: 4px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  font-size: 17px;
  opacity: 0.84;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.85;
}
.page-hero .crumb-inline {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 22px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

/* ========== 引用块（玫瑰左边框） ========== */
.quote-block {
  background: linear-gradient(135deg, var(--cream-deep), var(--cream-pale));
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 30px 34px;
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
  font-family: var(--font-serif);
  position: relative;
}
.quote-block::before {
  content: """;
  position: absolute;
  top: 8px; left: 14px;
  font-size: 48px;
  color: var(--rose-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.quote-block .q-author {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

/* ========== 标签 ========== */
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  margin: 0 8px 8px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.tag-rose { background: var(--rose-light); color: var(--rose-deep); }
.tag-gold { background: var(--gold-light); color: var(--gold-deep); }
.tag-navy { background: #ECE3DC; color: var(--plum); }

/* ========== 步骤流程 ========== */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
  text-align: center;
  padding: 42px 30px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  transition: all 0.35s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-family: var(--font-en);
  box-shadow: 0 6px 20px rgba(168,118,111,0.25);
}

/* ========== 联系信息 ========== */
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-item .ci-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--cream-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rose-deep);
  font-size: 20px;
}
.contact-item .ci-label { font-size: 13px; color: var(--text-muted); margin-bottom: 3px; }
.contact-item .ci-val { font-size: 16px; color: var(--ink); font-weight: 500; }

/* ========== CTA区域（胭脂→酒红渐变·大圆角） ========== */
.cta-band {
  background: linear-gradient(135deg, var(--rose), var(--rose-wine));
  color: #fff;
  text-align: center;
  border-radius: var(--radius-xl);
  padding: 70px 46px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.09) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.cta-band h2 {
  color: #fff;
  font-size: 34px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-band p {
  opacity: 0.92;
  max-width: 580px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  line-height: 1.85;
}
.cta-band .btn { position: relative; z-index: 1; }

/* ========== 页脚（暖浓咖·精致） ========== */
.footer {
  background: linear-gradient(180deg, #241B20, #150F13);
  color: rgba(255,255,255,0.62);
  padding: 78px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--rose), var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 54px;
  position: relative;
  z-index: 1;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand small { color: var(--gold-light); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 18px;
  opacity: 0.6;
  max-width: 320px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 22px;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  border-radius: 1px;
}
.footer-links li { margin-bottom: 13px; }
.footer-links a {
  font-size: 14px;
  opacity: 0.62;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: "›";
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
  font-size: 16px;
  color: var(--gold);
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact li { font-size: 14px; margin-bottom: 13px; opacity: 0.62; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 26px;
  text-align: center;
  font-size: 13px;
  opacity: 0.44;
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: var(--gold-light); }

/* ========== 滚动动效 ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ========== 花瓣飘落动画容器 ========== */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.petal {
  position: absolute;
  width: 12px; height: 12px;
  background: radial-gradient(ellipse at 30% 30%, var(--rose-light), var(--rose));
  border-radius: 50% 0 50% 50%;
  opacity: 0.32;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0% { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.32; }
  90% { opacity: 0.18; }
  100% { transform: translateY(100vh) rotate(360deg) translateX(80px); opacity: 0; }
}

/* ========== 大屏优化（内容区更舒展） ========== */
@media (min-width: 1440px) {
  :root { --maxw: 1320px; --nav-h: 78px; }
  .container { padding: 0 40px; }
  .section { padding: 118px 0; }
  .section-head { max-width: 800px; margin-bottom: 68px; }
  .section-head h2 { font-size: 42px; }
  .hero-content { max-width: 980px; }
  .hero h1 { font-size: 60px; }
  .grid-2 { gap: 56px; }
}

/* ========== 平板以下 ========== */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .belief-grid { grid-template-columns: repeat(3, 1fr); }
  .step-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* 导航在 1180 以下开始收缩，防止 8 个菜单项溢出错位 */
@media (max-width: 1180px) {
  .nav-menu > li > a { padding: 9px 10px; font-size: 13.5px; }
  .logo-text { font-size: 18px; }
}
@media (max-width: 1080px) {
  .nav-menu > li > a { padding: 8px 8px; font-size: 13px; letter-spacing: 0.3px; }
  .nav-menu { gap: 2px; }
}

/* ========== 移动端：侧边抽屉式菜单 ========== */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* 关键修复：去掉 .navbar 的 backdrop-filter，否则它会创建包含块（containing block），
     导致内部 position:fixed 的 .nav-menu 被约束在 navbar 的 64px 高度内，抽屉无法铺满全屏 */
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: 28px; letter-spacing: 2px; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 56px) 0 80px; }
  .hero h1 { font-size: 36px; letter-spacing: 3px; }
  .hero-sub { font-size: 18px; }
  .hero-badge { font-size: 12px; padding: 8px 20px; letter-spacing: 2px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .belief-grid { grid-template-columns: 1fr; gap: 26px; }
  .step-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; border-radius: var(--radius-lg); }

  /* ---- 抽屉遮罩层 ---- */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 18, 16, 0.5);
    z-index: 9998 !important;  /* 在 navbar(z1000) 之上，在菜单(z9999) 之下 */
    opacity: 0;
    transition: opacity 0.35s;
  }
  .nav-overlay.show {
    display: block;
    opacity: 1;
  }

  /* ---- 右侧抽屉菜单（从右侧滑出） ---- */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(320px, 80vw);
    background: #FFFFFF !important;  /* 确保纯白背景，不用变量避免解析失败 */
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 72px 24px 32px !important;
    gap: 0 !important;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;  /* 确保在 navbar(z1000)、overlay(z998) 之上 */
  }
  .nav-menu.open { transform: translateX(0) !important; }

  /* 关闭按钮：仅在抽屉菜单打开时显示（默认隐藏，避免在导航栏上"逃逸"） */
  .nav-close {
    display: none !important;
  }
  .nav-menu.open .nav-close {
    display: flex !important; /* flex 以居中 × 图标 */
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid #E2D6CC;
    color: #3A2E2C;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    z-index: 99999 !important;  /* 最高层级，确保可点击 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .nav-menu.open .nav-close:hover { background: var(--rose-light); color: var(--rose-deep); }

  .nav-menu > li {
    border-bottom: 1px solid var(--border-soft);
    white-space: normal;
  }
  .nav-menu > li > a {
    padding: 16px 8px;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--ink);
    justify-content: space-between;
  }
  .nav-menu > li > a::after { display: none; }
  .nav-menu > li.has-drop > a::after { display: inline; content: "›"; font-size: 14px; margin-left: auto; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--cream);
    padding: 0 0 12px 16px; min-width: auto; border-radius: 0;
    border-bottom: 1px dashed var(--border);
  }
  .dropdown::before { display: none; }
  .dropdown a { padding: 11px 8px; font-size: 14px; color: var(--text); }
  .nav-toggle { display: flex; margin-left: auto; }

  /* 隐藏桌面端快捷栏，改为底部固定操作条 */
  .quick-bar {
    display: none !important;
  }
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 950;
    background: var(--paper);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-bottom-bar .mb-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.25s;
    text-align: center;
    text-decoration: none;
  }
  .mobile-bottom-bar .mb-btn .mb-icon { font-size: 20px; line-height: 1; }
  .mobile-bottom-bar .mb-btn:active { background: var(--rose-pale); color: var(--rose-deep); }
  .mobile-bottom-bar .mb-btn.mb-primary { color: var(--rose-deep); background: var(--rose-light); }

  /* 为底部操作条留出空间 */
  body { padding-bottom: 64px; }

  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 40px 20px; }
  .stat-item:last-child { border-bottom: none; }

  .cta-band { padding: 46px 28px; border-radius: var(--radius-lg); }
  .cta-band h2 { font-size: 26px; }
  .page-hero { padding: 120px 0 64px; }
  .page-hero h1 { font-size: 30px; letter-spacing: 2px; }
  .card { padding: 30px; }
  .course-head { padding: 30px 26px 24px; }
  .course-body { padding: 24px 26px 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 29px; letter-spacing: 2px; }
  .hero-sub { font-size: 15px; }
  .page-hero h1 { font-size: 26px; }
  .card { padding: 24px; border-radius: var(--radius-md); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ========== 打印 ========== */
@media print {
  .navbar, .footer, .cta-band, .nav-toggle, .petals-container { display: none !important; }
  body { background: #fff; }
  .hero { min-height: auto; background: none !important; color: var(--ink); }
  .hero h1 { color: var(--ink); text-shadow: none; }
  .reveal { opacity: 1; transform: none; }
}
