/* ============================================================
   廖老师 · AI培训官网  —  共享设计系统
   深色科技质感  |  Dark Tech Premium
   ============================================================ */

/* ---------- 0. 字体导入 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- 1. 主题令牌 ---------- */
:root {
  /* 背景层级 */
  --bg:        oklch(0.145 0.005 285);
  --bg-2:      oklch(0.185 0.012 285);
  --surface:   oklch(0.215 0.014 285);
  --surface-2: oklch(0.255 0.016 285);
  --glass:     rgba(255, 255, 255, 0.04);
  --glass-2:   rgba(255, 255, 255, 0.07);

  /* 主色 */
  --primary:   oklch(0.66 0.22 262);   /* 靛蓝 */
  --violet:    oklch(0.62 0.24 295);   /* 紫 */
  --accent:    oklch(0.80 0.16 200);   /* 青 */
  --pink:      oklch(0.70 0.22 340);   /* 品红 */

  /* 文字 */
  --foreground: oklch(0.96 0.01 285);
  --muted:      oklch(0.72 0.018 285);
  --muted-2:    oklch(0.55 0.02 285);

  /* 边框与状态 */
  --border:     oklch(0.30 0.02 285);
  --border-2:   oklch(0.40 0.04 280);
  --success:    oklch(0.72 0.18 155);

  /* 渐变 */
  --grad:        linear-gradient(135deg, var(--primary) 0%, var(--violet) 50%, var(--accent) 100%);
  --grad-text:   linear-gradient(135deg, oklch(0.80 0.18 200) 0%, oklch(0.72 0.22 280) 50%, oklch(0.68 0.22 320) 100%);
  --grad-border: linear-gradient(135deg, var(--primary), var(--violet), var(--accent));

  /* 圆角 */
  --r-sm:  0.5rem;
  --r:     0.875rem;
  --r-lg:  1.25rem;
  --r-xl:  1.75rem;

  /* 阴影与光效 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow:    0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow:      0 0 40px rgba(99, 102, 241, 0.35);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.35);

  /* 字号（基于 1rem=16px） */
  --fs-xs:     0.75rem;
  --fs-sm:     0.875rem;
  --fs-base:   1rem;
  --fs-lg:     1.125rem;
  --fs-xl:     1.375rem;
  --fs-2xl:    1.75rem;
  --fs-3xl:    2.25rem;
  --fs-4xl:    3rem;
  --fs-5xl:    4rem;
  --fs-6xl:    5.5rem;
  --fs-lead:   1.25rem;    /* 20px Lead / 副标题长文 */
  --fs-eyebrow:0.9375rem;  /* 15px Eyebrow 眉题 */

  /* 过渡 */
  --t-fast: 150ms;
  --t:      250ms;
  --t-slow: 400ms;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1.0625rem; /* 17px 基础正文 */
  line-height: 1.6;
  color: var(--foreground);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* 恢复原生鼠标指针——优先保证可用性 */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--primary); color: white; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--violet)); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--violet), var(--accent)); }

/* ---------- 3. 背景：网格 + 径向光晕 ---------- */
.bg-stage {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, oklch(0.40 0.18 270 / 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 30%, oklch(0.45 0.20 295 / 0.15), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 90%, oklch(0.45 0.16 200 / 0.12), transparent 60%),
    var(--bg);
}

.bg-stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(0.30 0.04 280 / 0.10) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.30 0.04 280 / 0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bg-stage::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
}

#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- 5. 容器与排版工具类 ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 8rem 0 6rem; position: relative; }
.section-sm { padding: 4rem 0; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  padding: 0.45rem 1rem; border-radius: 999px;
  background: oklch(0.80 0.16 200 / 0.12);
  border: 1px solid oklch(0.80 0.16 200 / 0.35);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }

.section-title {
  font-size: clamp(2rem, 4vw, var(--fs-4xl));
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-sub {
  font-size: var(--fs-lead); color: var(--muted);
  max-width: 680px; line-height: 1.7;
}
.section-sub-note {
  font-size: var(--fs-sm); color: var(--muted-2);
  margin-top: 0.6rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  letter-spacing: 0.02em;
}
.section-sub-note::before {
  content: '✓';
  color: var(--accent); font-weight: 700; font-size: 0.95em;
}
.section-head { margin-bottom: 4.25rem; }

/* ---------- 6. 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: oklch(0.145 0.005 285 / 0.65);
  border-bottom: 1px solid oklch(0.30 0.02 285 / 0.4);
  transition: all var(--t) var(--ease);
}
.nav.scrolled { padding: 0.65rem 0; background: oklch(0.145 0.005 285 / 0.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: var(--fs-lg); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center; color: white; font-family: 'Space Grotesk', monospace; font-weight: 700;
  box-shadow: 0 4px 16px oklch(0.66 0.22 262 / 0.4);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, oklch(1 0 0 / 0.3) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.6s;
}
.brand:hover .brand-mark::after { transform: translateX(100%); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 0.7rem; color: var(--muted); font-weight: 400; letter-spacing: 0.05em; }

.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
  position: relative; padding: 0.55rem 1rem; border-radius: var(--r-sm);
  color: var(--muted); font-size: var(--fs-sm); font-weight: 500;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-link::before {
  content: ''; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; border-radius: 2px; background: var(--grad);
  transform: translateX(-50%); transition: width var(--t) var(--ease);
}
.nav-link:hover { color: var(--foreground); }
.nav-link:hover::before { width: 60%; }
.nav-link.active { color: var(--foreground); }
.nav-link.active::before { width: 60%; }

.nav-cta { display: flex; gap: 0.5rem; align-items: center; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--glass); border: 1px solid var(--border);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--foreground); border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 70px; left: 1rem; right: 1rem; flex-direction: column;
    background: oklch(0.185 0.012 285 / 0.95); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--r);
    padding: 1rem; gap: 0.25rem;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: all var(--t) var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; padding: 0.85rem 1rem; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.02em;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  color: white;
  background: var(--grad);
  background-size: 200% 200%;
  box-shadow: 0 8px 24px oklch(0.66 0.22 262 / 0.35), inset 0 1px 0 oklch(1 0 0 / 0.2);
  animation: gradShift 8s ease infinite;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--accent));
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px oklch(0.66 0.22 262 / 0.5), inset 0 1px 0 oklch(1 0 0 / 0.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 16px oklch(0.66 0.22 262 / 0.3); }

.btn-ghost {
  color: var(--foreground);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--glass-2);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0) scale(0.98); }

.btn .arrow { transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 8. Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 9rem 0 5rem; position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, var(--fs-5xl));
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 1.75rem; text-wrap: balance;
}
.hero-title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  margin-bottom: 2rem; max-width: 560px;
}
.hero-sub .sub-role {
  display: block; font-size: var(--fs-sm); color: var(--muted-2);
  font-weight: 500; letter-spacing: 0.02em; margin-bottom: 0.6rem;
}
.hero-sub .sub-value {
  display: block; font-size: var(--fs-lead); color: var(--foreground);
  font-weight: 500; line-height: 1.75;
}
.hero-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.9375rem; color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta i { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 统计带 */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Space Grotesk', monospace; font-weight: 700;
  font-size: clamp(2rem, 3.5vw, var(--fs-3xl));
  line-height: 1; letter-spacing: -0.02em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 0.9375rem; color: var(--muted); margin-top: 0.4rem; }

/* 肖像 */
.hero-visual { position: relative; }
.portrait-wrap {
  position: relative; aspect-ratio: 3/4; max-width: 480px; margin-left: auto;
}
.portrait {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 60px oklch(0.66 0.22 262 / 0.35));
  transition: filter var(--t-slow) var(--ease);
  z-index: 2;
}
.portrait-wrap:hover .portrait { filter: drop-shadow(0 40px 80px oklch(0.80 0.16 200 / 0.5)); }
.portrait-glow {
  position: absolute; inset: -10% -10% -10% -10%;
  background: radial-gradient(ellipse at center, oklch(0.66 0.22 262 / 0.45) 0%, transparent 60%);
  filter: blur(40px); z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
.portrait-deco {
  position: absolute; pointer-events: none;
}
/* 四角科技括号（替换原矩形装饰） */
.corner {
  position: absolute; width: 44px; height: 44px; pointer-events: none;
  z-index: 2; animation: cornerPulse 4s ease-in-out infinite;
}
.corner.tl { top: -6px; left: -6px;
  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent);
  border-top-left-radius: 6px; box-shadow: -3px -3px 16px oklch(0.80 0.16 200 / 0.55); }
.corner.tr { top: -6px; right: -6px;
  border-top: 2px solid var(--violet); border-right: 2px solid var(--violet);
  border-top-right-radius: 6px; box-shadow: 3px -3px 16px oklch(0.62 0.24 295 / 0.55); animation-delay: 1s; }
.corner.bl { bottom: -6px; left: -6px;
  border-bottom: 2px solid var(--violet); border-left: 2px solid var(--violet);
  border-bottom-left-radius: 6px; box-shadow: -3px 3px 16px oklch(0.62 0.24 295 / 0.55); animation-delay: 2s; }
.corner.br { bottom: -6px; right: -6px;
  border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent);
  border-bottom-right-radius: 6px; box-shadow: 3px 3px 16px oklch(0.80 0.16 200 / 0.55); animation-delay: 3s; }
@keyframes cornerPulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.floating-tag {
  position: absolute; padding: 0.5rem 0.85rem; border-radius: 999px;
  background: oklch(0.215 0.014 285 / 0.85); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  font-size: var(--fs-xs); font-weight: 500; color: var(--foreground);
  display: inline-flex; align-items: center; gap: 0.4rem;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.floating-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.floating-tag.tag-1 { top: 2%; right: 12%; animation: floatY 5s ease-in-out infinite; z-index: 4; }
.floating-tag.tag-2 { bottom: 22%; left: -8%; animation: floatY 6s ease-in-out infinite 1s; }
.floating-tag.tag-3 { top: 55%; right: -8%; animation: floatY 7s ease-in-out infinite 0.5s; max-width: 180px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .portrait-wrap { max-width: 320px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- 9. 章节通用：标题与卡片网格 ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 10. 玻璃卡片（核心组件） ---------- */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad); opacity: 0; transition: opacity var(--t) var(--ease);
  z-index: -1; filter: blur(20px);
}
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), oklch(0.66 0.22 262 / 0.10), transparent 40%);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.glass:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.glass:hover::after { opacity: 1; }
.glass.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* ---------- 11. 讲师介绍：履历时间线 ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.identity-cards { display: grid; gap: 1rem; }
.identity-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
}
.identity-card:hover { background: var(--glass-2); border-color: var(--border-2); transform: translateX(6px); }
.identity-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r);
  background: var(--grad); display: grid; place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px oklch(0.66 0.22 262 / 0.35);
}
.identity-card h4 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 0.35rem; }
.identity-card p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute; left: 0.65rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--violet), var(--accent), transparent);
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -2.5rem; top: 0.5rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transition: all var(--t) var(--ease);
}
.tl-item:hover::before { transform: scale(1.4); box-shadow: 0 0 20px var(--accent); }
.tl-year { font-family: 'Space Grotesk', monospace; font-size: var(--fs-sm); color: var(--accent); font-weight: 600; }
.tl-title { font-size: var(--fs-lg); font-weight: 700; margin: 0.25rem 0 0.35rem; }
.tl-desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

/* ---------- 12. 教学特色：流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative; padding: 1.75rem 1.5rem; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--border);
  transition: all var(--t) var(--ease);
}
.step:hover { background: var(--glass-2); transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 32px oklch(0.80 0.16 200 / 0.15); }
.step-num {
  font-family: 'Space Grotesk', monospace; font-size: var(--fs-3xl); font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.step h4 { margin: 0.75rem 0 0.4rem; font-size: var(--fs-lg); font-weight: 700; }
.step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

/* ---------- 13. 课程卡片 ---------- */
.course-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 0; overflow: hidden;
  transition: all var(--t) var(--ease);
  position: relative;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.course-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.course-card:hover::before { transform: scaleX(1); }
.course-head {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.course-tag {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.05em;
  background: oklch(0.80 0.16 200 / 0.12); color: var(--accent);
  border: 1px solid oklch(0.80 0.16 200 / 0.3);
  margin-bottom: 1rem;
}
.course-title { font-size: var(--fs-xl); font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; }
.course-meta {
  display: flex; gap: 1.25rem; font-size: var(--fs-sm); color: var(--muted);
  font-family: 'Space Grotesk', monospace;
}
.course-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.course-body { padding: 1.25rem 1.75rem; flex: 1; }
.course-bullets { list-style: none; display: grid; gap: 0.55rem; }
.course-bullets li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.55;
}
.course-bullets li::before {
  content: ''; flex-shrink: 0; margin-top: 0.5rem; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.course-foot { padding: 1.25rem 1.75rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; }

/* ---------- 14. 案例区：照片墙 + 列表 ---------- */
.case-photo {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case-photo:hover img { transform: scale(1.05); }
.case-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, oklch(0.145 0.005 285 / 0.8) 100%);
  pointer-events: none;
}
.case-photo .caption {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 1;
  color: white; font-size: var(--fs-lg); font-weight: 600;
}

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (max-width: 780px) { .case-grid { grid-template-columns: 1fr; } }

.case-group h4 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.case-group h4::before { content: ''; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.case-list { list-style: none; display: grid; gap: 0.55rem; }
.case-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.55;
  padding: 0.65rem 0.85rem; border-radius: var(--r-sm);
  transition: all var(--t) var(--ease);
}
.case-list li:hover { background: var(--glass); color: var(--foreground); transform: translateX(4px); }
.case-list li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }

/* ---------- 15. 荣誉资质：证书墙 ---------- */
.cert-wall {
  aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  position: relative; margin-bottom: 3rem;
}
.cert-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cert-wall:hover img { transform: scale(1.03); }
.cert-wall::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, oklch(0.145 0.005 285 / 0.4) 100%);
}

.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 780px) { .honor-grid { grid-template-columns: 1fr; } }
.honor-card {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r); transition: all var(--t) var(--ease);
}
.honor-card:hover { background: var(--glass-2); border-color: var(--accent); transform: translateY(-3px); }
.honor-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background: var(--grad); display: grid; place-items: center; font-size: 1rem;
  box-shadow: 0 4px 12px oklch(0.66 0.22 262 / 0.4);
}
.honor-card h5 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 0.2rem; }
.honor-card p { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 16. 项目实战 ---------- */
.proj-card {
  padding: 2rem; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: all var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.proj-card::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  background: var(--grad); opacity: 0.06; border-radius: 50%;
  filter: blur(40px); transition: opacity var(--t) var(--ease);
}
.proj-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.proj-card:hover::after { opacity: 0.15; }
.proj-card h4 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 0.6rem; }
.proj-card p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.proj-card .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.proj-card .tag {
  font-size: var(--fs-xs); padding: 0.25rem 0.6rem; border-radius: 999px;
  background: oklch(0.66 0.22 262 / 0.12); color: oklch(0.85 0.15 262);
  border: 1px solid oklch(0.66 0.22 262 / 0.3);
}

/* ---------- 17. 服务体系：四层结构 ---------- */
.service-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  position: relative;
}
@media (max-width: 980px) { .service-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .service-flow { grid-template-columns: 1fr; } }

.service-item {
  position: relative; padding: 1.75rem 1.5rem; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--border);
  transition: all var(--t) var(--ease);
}
.service-item::before {
  content: ''; position: absolute; top: 50%; right: -0.5rem; transform: translateY(-50%);
  width: 1rem; height: 1px; background: var(--grad);
}
.service-item:last-child::before { display: none; }
.service-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-step {
  font-family: 'Space Grotesk', monospace; font-size: var(--fs-xs);
  color: var(--accent); font-weight: 600; letter-spacing: 0.1em;
}
.service-item h4 { font-size: var(--fs-lg); font-weight: 700; margin: 0.5rem 0 0.5rem; }
.service-item p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) { .service-item::before { display: none; } }

/* ---------- 18. 表单（预约咨询）---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.qr-card {
  padding: 2.5rem 2rem; text-align: center;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.qr-card .qr-frame {
  display: inline-block; padding: 0.75rem; border-radius: var(--r);
  background: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px var(--border-2);
  margin-bottom: 1.25rem;
  transition: transform var(--t) var(--ease);
}
.qr-card .qr-frame:hover { transform: scale(1.03); }
.qr-card .qr-frame img { width: 240px; height: auto; display: block; }
.qr-card .qr-hint { display: grid; gap: 0.35rem; }
.qr-card .qr-hint strong {
  font-size: var(--fs-lg); font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.qr-card .qr-hint span { font-size: var(--fs-sm); color: var(--muted); }

.qr-card .qr-text {
  display: grid; place-content: center; gap: 0.75rem;
  min-height: 280px; text-align: center;
}
.qr-card .qr-text strong {
  font-size: clamp(1.75rem, 3vw, var(--fs-3xl));
  font-weight: 700; line-height: 1.25;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.qr-card .qr-text span {
  font-size: var(--fs-lg); color: var(--muted); letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .qr-card .qr-frame img { width: 180px; height: auto; }
}

.contact-info { display: grid; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
}
.info-card:hover { background: var(--glass-2); border-color: var(--border-2); transform: translateX(6px); }
.info-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--grad); display: grid; place-items: center; font-size: 1.2rem;
}
.info-card .label { font-size: var(--fs-xs); color: var(--muted-2); margin-bottom: 0.15rem; }
.info-card .value { font-size: var(--fs-base); font-weight: 500; }

.form {
  padding: 2rem; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg); display: grid; gap: 1.1rem;
}
.form h3 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.95rem;
  background: oklch(0.16 0.008 285 / 0.8);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--foreground); font-size: var(--fs-sm);
  transition: all var(--t) var(--ease);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.80 0.16 200 / 0.15);
  background: oklch(0.18 0.01 285);
}
.field textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.form-submit { display: flex; justify-content: flex-end; margin-top: 0.5rem; }

.form-msg {
  margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--r-sm);
  background: oklch(0.72 0.18 155 / 0.12); border: 1px solid oklch(0.72 0.18 155 / 0.35);
  color: oklch(0.85 0.15 155); font-size: var(--fs-sm);
  display: none;
}
.form-msg.show { display: block; animation: fadeIn 0.4s var(--ease); }

/* ---------- 19. 页脚 ---------- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: oklch(0.13 0.004 285 / 0.6);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 { font-size: var(--fs-sm); font-weight: 600; color: var(--foreground); margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--muted); transition: color var(--t) var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: var(--fs-sm); color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: var(--fs-sm); color: var(--muted-2);
}

/* ---------- 20. 课程详情页 ---------- */
.course-hero {
  padding: 9rem 0 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, oklch(0.40 0.18 270 / 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 60%, oklch(0.45 0.20 295 / 0.12), transparent 60%);
}
.course-hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 3rem; align-items: end; }
@media (max-width: 980px) { .course-hero-grid { grid-template-columns: 1fr; } }
.course-hero h1 { font-size: clamp(2.2rem, 4.5vw, var(--fs-4xl)); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.course-hero p { font-size: var(--fs-lg); color: var(--muted); line-height: 1.7; max-width: 640px; }
.course-info {
  display: grid; gap: 0.85rem;
  padding: 1.5rem; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .key { color: var(--muted); font-size: var(--fs-sm); }
.info-row .val { font-weight: 600; font-family: 'Space Grotesk', monospace; font-size: var(--fs-sm); color: var(--accent); }

.detail-block { padding: 4rem 0; }
.detail-block h2 { font-size: var(--fs-2xl); font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.detail-block h2::before { content: ''; width: 4px; height: 1.4em; background: var(--grad); border-radius: 2px; }
.bullets-clean { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 780px) { .bullets-clean { grid-template-columns: 1fr; } }
.bullets-clean li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: var(--fs-sm); line-height: 1.65; color: var(--muted);
  padding: 0.5rem 0.75rem; background: var(--glass); border-radius: var(--r-sm);
  border: 1px solid transparent; transition: all var(--t) var(--ease);
}
.bullets-clean li:hover { border-color: var(--border-2); color: var(--foreground); transform: translateX(4px); }
.bullets-clean li::before { content: '✦'; color: var(--accent); flex-shrink: 0; }

.timeline-detail { display: grid; gap: 1.25rem; }
.tl-detail {
  display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem;
  padding: 1.5rem; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r); transition: all var(--t) var(--ease);
}
.tl-detail:hover { background: var(--glass-2); border-color: var(--border-2); }
.tl-detail .time {
  font-family: 'Space Grotesk', monospace; font-size: var(--fs-sm);
  color: var(--accent); font-weight: 600; letter-spacing: 0.05em;
}
.tl-detail h3 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 0.5rem; }
.tl-detail p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }
.tl-detail .obj { font-size: var(--fs-xs); color: var(--muted-2); margin-top: 0.4rem; }
@media (max-width: 640px) { .tl-detail { grid-template-columns: 1fr; gap: 0.5rem; } }

.deliverables {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  padding: 1.5rem; background: oklch(0.66 0.22 262 / 0.06);
  border: 1px solid oklch(0.66 0.22 262 / 0.25); border-radius: var(--r);
}
@media (max-width: 640px) { .deliverables { grid-template-columns: 1fr; } }
.deliv-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); }
.deliv-item::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.back-bar { padding: 1.5rem 0; border-bottom: 1px solid var(--border); margin-top: 5rem; }
.back-bar a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: var(--fs-sm); transition: color var(--t); }
.back-bar a:hover { color: var(--accent); }

/* ---------- 21. 动画关键帧 ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes glowPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.05); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }

/* 滚动进入动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-r { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-r.in { opacity: 1; transform: translateX(0); }
.reveal-l { opacity: 0; transform: translateX(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-s { transition-duration: 0.5s; }
.reveal-d-1 { transition-delay: 0.1s; }
.reveal-d-2 { transition-delay: 0.2s; }
.reveal-d-3 { transition-delay: 0.3s; }
.reveal-d-4 { transition-delay: 0.4s; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-r, .reveal-l { opacity: 1; transform: none; }
}

/* ---------- 22. 滚动指示器（Hero） ---------- */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--muted-2); font-size: var(--fs-xs); letter-spacing: 0.18em;
  z-index: 2; pointer-events: none;
}
.scroll-hint .mouse {
  width: 24px; height: 38px; border: 1.5px solid var(--muted-2); border-radius: 12px; position: relative;
}
.scroll-hint .mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 3px; background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 16px; } 100% { opacity: 0; top: 6px; } }

/* ---------- 23. 轮播组件（荣誉 / 培训现场 / 学员好评） ---------- */
.carousel { position: relative; }
.carousel-viewport {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--bg-2);
}
.carousel--cover .carousel-viewport,
.carousel--contain .carousel-viewport { aspect-ratio: 16/9; }
.carousel-track { display: flex; height: 100%; transition: transform 0.6s var(--ease); }
.carousel-slide { flex: 0 0 100%; min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel--cover .carousel-slide img { object-fit: cover; }
/* contain 模式（荣誉 / 好评）：深色展柜裱框，统一宽高比不齐的观感 */
.carousel--contain .carousel-viewport {
  background:
    radial-gradient(ellipse 85% 75% at 50% 15%, oklch(0.34 0.06 280 / 0.28), transparent 65%),
    linear-gradient(180deg, oklch(0.21 0.014 285), oklch(0.15 0.008 285));
  box-shadow: var(--shadow), inset 0 0 0 1px oklch(0.42 0.05 280 / 0.30), inset 0 0 50px oklch(0 0 0 / 0.40);
}
.carousel--contain .carousel-slide img {
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  margin: 1.25rem;
  padding: 1rem;
  background: oklch(0.97 0.005 285 / 0.98);  /* 衬纸 */
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
@media (max-width: 640px) {
  .carousel--contain .carousel-slide img {
    width: calc(100% - 1.5rem);
    height: calc(100% - 1.5rem);
    margin: 0.75rem;
    padding: 0.5rem;
  }
}
.carousel-caption {
  position: absolute; bottom: 1.25rem; left: 1.5rem; right: 1.5rem; z-index: 4;
  color: white; font-size: var(--fs-lg); font-weight: 600; pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: oklch(0.145 0.005 285 / 0.6); border: 1px solid var(--border-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--foreground); display: grid; place-items: center; cursor: pointer;
  transition: all var(--t) var(--ease);
}
.carousel-btn:hover { background: var(--grad); color: white; box-shadow: 0 0 20px oklch(0.66 0.22 262 / 0.5); }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--border-2);
  border: none; padding: 0; cursor: pointer; transition: all var(--t) var(--ease);
}
.carousel-dot:hover { background: var(--accent); }
.carousel-dot.active { width: 26px; background: var(--grad); }
@media (max-width: 640px) {
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-btn.prev { left: 0.6rem; }
  .carousel-btn.next { right: 0.6rem; }
}
