:root {
  /* 主页共用设计变量：颜色、间距、阴影和字体。 */
  --bg: #eeeff2;
  --bg-soft: #f8f8f9;
  --ink: #101014;
  --muted: #62656d;
  --line: rgba(16, 16, 20, 0.08);
  --teal: #35b9ad;
  --orange: #ff6337;
  --shadow: 0 34px 90px rgba(28, 32, 43, 0.18);
  --radius: 14px;
  --body-bg:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    radial-gradient(circle at 84% 34%, rgba(214, 223, 230, 0.65), transparent 28%),
    linear-gradient(180deg, #f2f3f5 0%, #eceef1 52%, #efd1c6 100%);
  --page-text: #101014;
  --cursor-glow: radial-gradient(circle, rgba(255, 104, 55, 0.2), rgba(255, 104, 55, 0) 66%);
  --ambient-one-bg: rgba(255, 255, 255, 0.78);
  --ambient-two-bg: rgba(255, 98, 55, 0.2);
  --frame-bg: rgba(250, 250, 251, 0.8);
  --frame-border: rgba(255, 255, 255, 0.78);
  --frame-sheen:
    linear-gradient(120deg, rgba(255, 255, 255, 0.58), transparent 38%),
    radial-gradient(circle at 92% 2%, rgba(255, 99, 55, 0.1), transparent 24%);
  --nav-text: #15151a;
  --cta-bg: #111116;
  --cta-text: #fff;
  --footer-border: rgba(16, 16, 20, 0.06);
  --footer-text: #5b5f68;
  --footer-strong: #2b2d34;
  --footer-muted: #737781;
  color-scheme: light;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0e1016;
  --bg-soft: #171a22;
  --ink: #f4f6fb;
  --muted: #a4abb8;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --body-bg:
    radial-gradient(circle at 15% 18%, rgba(65, 83, 105, 0.42), transparent 33%),
    radial-gradient(circle at 84% 32%, rgba(255, 99, 55, 0.16), transparent 28%),
    linear-gradient(180deg, #11141c 0%, #0d1018 52%, #171018 100%);
  --page-text: #f4f6fb;
  --cursor-glow: radial-gradient(circle, rgba(53, 185, 173, 0.24), rgba(53, 185, 173, 0) 66%);
  --ambient-one-bg: rgba(96, 122, 148, 0.3);
  --ambient-two-bg: rgba(255, 98, 55, 0.16);
  --frame-bg: rgba(22, 25, 34, 0.78);
  --frame-border: rgba(255, 255, 255, 0.11);
  --frame-sheen:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 42%),
    radial-gradient(circle at 92% 2%, rgba(53, 185, 173, 0.1), transparent 25%);
  --nav-text: #edf0f6;
  --cta-bg: #f7f8fb;
  --cta-text: #101014;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-text: #a1a8b5;
  --footer-strong: #eef2f8;
  --footer-muted: #8c95a4;
  color-scheme: dark;
}

/* 基础重置：让不同浏览器中的盒模型尺寸更可控。 */
* {
  box-sizing: border-box;
}

/* 页面背景：参考视频中的柔和影棚式渐变。 */
html {
  min-height: 100%;
  background: var(--bg);
  transition: background 220ms ease;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--page-text);
  background: var(--body-bg);
  transition: background 220ms ease, color 220ms ease;
}

a {
  /* 链接继承文字颜色，导航和按钮颜色由各自组件控制。 */
  color: inherit;
  text-decoration: none;
}

button {
  /* 按钮字体跟随网站字体，避免使用浏览器默认样式。 */
  font: inherit;
}

/* 交互光效：位置由 script.js 跟随鼠标更新。 */
.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 999px;
  background: var(--cursor-glow);
  filter: blur(4px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 250ms ease;
}

/* 外层页面容器：用于居中悬浮网页框架。 */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 72px);
}

/* 舞台层：为 3D 倾斜和悬浮卡片提供透视空间。 */
.stage {
  position: relative;
  display: grid;
  min-height: calc(100vh - clamp(56px, 10vw, 144px));
  place-items: center;
  perspective: 1600px;
}

/* 装饰背景光斑：在主框架后方提供轻微动态层次。 */
.ambient {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.7;
  animation: drift 11s ease-in-out infinite alternate;
}

.ambient-one {
  /* 左上方白色光晕：模拟参考视频的柔和光照。 */
  top: 4%;
  left: 5%;
  width: 26vw;
  height: 26vw;
  background: var(--ambient-one-bg);
}

.ambient-two {
  /* 右下方暖色光晕：平衡页面橙色/珊瑚色渐变。 */
  right: 6%;
  bottom: 5%;
  width: 24vw;
  height: 24vw;
  background: var(--ambient-two-bg);
  animation-delay: -4s;
}

/* 主玻璃质感网页框架。 */
.hero-card {
  position: relative;
  width: min(1180px, 100%);
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--frame-border);
  border-radius: var(--radius);
  background: var(--frame-bg);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: cardIn 900ms cubic-bezier(0.2, 0.86, 0.25, 1) both;
  backdrop-filter: blur(22px);
}

.hero-card::before {
  /* 覆盖在玻璃框架上的非交互高光层。 */
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: var(--frame-sheen);
}

/* 悬浮框架内部的顶部导航。 */
.site-header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 28px clamp(26px, 4vw, 56px) 12px;
}

.brand,
.site-nav,
.header-actions,
.login-link {
  /* 页面加载时，顶部导航元素一起入场。 */
  animation: fadeDown 680ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* 使用 CSS 圆形拼出的抽象小标志。 */
.brand-mark {
  position: relative;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--teal);
}

.brand-mark span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px 999px 999px 2px;
  background: currentColor;
  transform-origin: 50% 100%;
}

.brand-mark span:nth-child(1) {
  transform: translate(-3px, -4px) rotate(18deg);
}

.brand-mark span:nth-child(2) {
  width: 7px;
  height: 7px;
  opacity: 0.75;
  transform: translate(4px, 0) rotate(112deg);
}

.brand-mark span:nth-child(3) {
  width: 5px;
  height: 5px;
  opacity: 0.55;
  transform: translate(-1px, 6px) rotate(210deg);
}

.site-nav {
  /* 中间导航使用小字号，让首屏卡片保持干净和宽松。 */
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--nav-text);
  font-size: 12px;
  font-weight: 700;
}

.site-nav a,
.login-link,
.theme-toggle {
  /* 导航链接和登录按钮共用的悬停动效。 */
  position: relative;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.site-nav a::after {
  /* 悬停时从右向左展开的下划线动画。 */
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(22, 25, 34, 0.08);
  color: var(--nav-text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.theme-toggle:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
}

.theme-toggle-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: inset -4px -4px 0 rgba(16, 16, 20, 0.28);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .theme-toggle-icon {
  box-shadow: inset 4px 4px 0 rgba(16, 16, 20, 0.35);
}

.login-link {
  /* 登录按钮是后续认证功能的视觉入口。 */
  min-width: 72px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cta-bg);
  box-shadow: 0 16px 30px rgba(16, 16, 20, 0.18);
  color: var(--cta-text);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.login-link:hover {
  color: #fff;
  background: var(--orange);
  transform: translateY(-2px);
}

/* 首屏内容区域：参考上传视频中的动画布局。 */
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vw, 76px) clamp(26px, 5vw, 82px) 62px;
}

/* 滚轮触发后，script.js 会给该区域添加 .is-fanned 类。 */
.showcase-hero {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  text-align: center;
  transform: translateZ(42px);
}

/* 居中大标题：在卡片交互前先入场。 */
h1 {
  position: relative;
  z-index: 6;
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.96;
  animation: titleReveal 950ms 260ms cubic-bezier(0.2, 0.9, 0.18, 1) both;
}

h1 span {
  display: block;
}

/* 悬浮标签默认隐藏，卡片展开后显示。 */
.tag {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(16, 16, 20, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms 640ms ease, transform 460ms 640ms ease;
}

.tag-left {
  /* 蓝色标签：展开后锚定在卡片扇形左侧。 */
  top: 118px;
  left: 128px;
  padding: 11px 16px;
  background: #286ee8;
}

.tag-right {
  /* 绿色标签：展开后锚定在卡片扇形右侧。 */
  top: 126px;
  right: 128px;
  padding: 11px 16px;
  background: #64b99e;
}

.showcase-hero.is-fanned .tag {
  /* .is-fanned 由 script.js 中的滚轮/键盘交互切换。 */
  opacity: 1;
  transform: translateY(0);
}

/* 卡片舞台：默认堆叠，添加 .is-fanned 后展开为扇形。 */
.resource-fan {
  position: relative;
  width: 100%;
  height: 230px;
  margin-top: -8px;
  perspective: 1100px;
}

/* 单张资源卡片：内联 CSS 变量控制展开后的最终位置。 */
.resource-card {
  position: absolute;
  top: 42px;
  left: 50%;
  z-index: var(--z);
  width: 174px;
  height: 122px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(20, 23, 33, 0.16);
  opacity: 0;
  filter: blur(8px);
  transform:
    translate3d(calc(-50% + var(--stack-x, 0px)), var(--stack-y, 0px), 0)
    rotate(var(--stack-r, 0deg))
    scale(var(--stack-scale, 1));
  transform-origin: 50% 100%;
  transition:
    filter 520ms ease,
    opacity 520ms ease,
    transform 980ms cubic-bezier(0.18, 1.2, 0.22, 1),
    box-shadow 520ms ease;
  transition-delay: calc(var(--z) * 55ms);
  animation: stackIntro 760ms calc(520ms + var(--z) * 65ms) ease forwards;
}

/* 初始堆叠偏移：让收起状态看起来像真实卡片堆。 */
.card-one {
  --stack-x: -24px;
  --stack-y: 18px;
  --stack-r: -10deg;
  --stack-scale: 0.96;
}

.card-two {
  --stack-x: -15px;
  --stack-y: 10px;
  --stack-r: -6deg;
  --stack-scale: 0.98;
}

.card-three {
  --stack-x: -7px;
  --stack-y: 4px;
  --stack-r: -2deg;
  --stack-scale: 1;
}

.card-four {
  --stack-x: 3px;
  --stack-y: 0px;
  --stack-r: 2deg;
  --stack-scale: 1.01;
}

.card-five {
  --stack-x: 12px;
  --stack-y: 8px;
  --stack-r: 6deg;
  --stack-scale: 0.99;
}

.card-six {
  --stack-x: 22px;
  --stack-y: 16px;
  --stack-r: 10deg;
  --stack-scale: 0.97;
}

.showcase-hero.is-fanned .resource-card {
  /* 展开状态：卡片从堆叠偏移移动到内联 --x/--y/--r 指定的位置。 */
  filter: blur(0);
  box-shadow: 0 26px 54px rgba(20, 23, 33, 0.18);
  transform: translate3d(calc(-50% + var(--x)), var(--y), 0) rotate(var(--r)) scale(1);
  animation: stackIntro 1ms ease forwards, cardHover 4.6s calc(1.1s + var(--z) * 110ms) ease-in-out infinite;
}

.resource-card p {
  /* 卡片标题放在 CSS 生成的图形内，类似参考卡片上的标签。 */
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

/* 卡片内部图形：使用轻量 CSS 绘制，不依赖外部图片。 */
.card-art {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.card-art::before,
.card-art::after,
.card-art span {
  position: absolute;
  content: "";
}

.card-art::before {
  /* 每张小卡片上的柔和高光层。 */
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.36), transparent 27%);
  mix-blend-mode: screen;
}

.card-art::after {
  /* 大块半透明图形：给每张卡片增加层次。 */
  right: -18px;
  bottom: -20px;
  width: 86px;
  height: 86px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(22deg);
}

.card-art span:nth-child(1) {
  /* 小胶囊形状：所有颜色版本的卡片都会复用。 */
  top: 14px;
  left: 14px;
  width: 48px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.card-art span:nth-child(2) {
  /* 深色方块细节：增加对比，像小缩略图或控件。 */
  right: 18px;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(16, 16, 20, 0.8);
}

.card-art span:nth-child(3) {
  /* 底部抽象块：让卡片更像多层拼贴。 */
  bottom: 18px;
  left: 18px;
  width: 66px;
  height: 38px;
  border-radius: 18px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(-8deg);
}

.collage-red {
  /* 不同颜色主题：无需图片资源也能区分每张卡片。 */
  background: linear-gradient(135deg, #ba2b2d 0%, #fa6542 48%, #23212a 100%);
}

.collage-blue {
  background: linear-gradient(135deg, #1f5bb8 0%, #78a8ff 52%, #f5f5f5 100%);
}

.collage-yellow {
  background: linear-gradient(135deg, #ffc928 0%, #ff7042 55%, #fff8c8 100%);
}

.collage-coral {
  background: linear-gradient(135deg, #ff9573 0%, #e94145 52%, #22242a 100%);
}

.collage-orange {
  background: linear-gradient(135deg, #ff6a2a 0%, #f6bb39 45%, #2356b9 100%);
}

.collage-green {
  background: linear-gradient(135deg, #0f7b61 0%, #72d7ba 52%, #112d2b 100%);
}

/* 辅助文案和 CTA：滚轮触发展开动画后显示。 */
.support-copy {
  max-width: 560px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms 520ms ease, transform 460ms 520ms ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms 640ms ease, transform 460ms 640ms ease;
}

.showcase-hero.is-fanned .support-copy,
.showcase-hero.is-fanned .hero-actions {
  /* 文案和按钮在堆叠状态隐藏，展开后显示。 */
  opacity: 1;
  transform: translateY(0);
}

.primary-cta,
.secondary-cta {
  /* CTA 共用尺寸规则，让主次按钮对齐。 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.primary-cta {
  /* 主操作按钮：后续可连接到私有资源中心或登录流程。 */
  min-width: 118px;
  padding: 0 22px;
  background: var(--cta-bg);
  box-shadow: 0 16px 30px rgba(16, 16, 20, 0.18);
  color: var(--cta-text);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-cta:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.secondary-cta {
  /* 次要操作按钮：保留参考模板的视觉节奏。 */
  color: var(--page-text);
  transition: transform 180ms ease, color 180ms ease;
}

.secondary-cta:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* 主页底部说明：替代原来的大字背景，保持正常信息层级。 */
.home-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px clamp(26px, 5vw, 82px) 28px;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-footer p {
  margin: 0;
  color: var(--footer-strong);
}

.home-footer span {
  color: var(--footer-muted);
}

/* 入场和交互动效。 */
@keyframes cardIn {
  /* 主框架入场：轻微上移、缩放并旋转到位。 */
  from {
    opacity: 0;
    transform: translateY(42px) rotateX(8deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

@keyframes fadeDown {
  /* 顶部导航入场动画。 */
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  /* 标题从模糊状态上移并逐渐清晰。 */
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  /* 通用显示动画：用于下方文字和操作按钮。 */
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stackIntro {
  /* 初始卡片堆在任何滚轮交互前先显示出来。 */
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes cardHover {
  /* 卡片展开后的轻微浮动循环。 */
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -9px;
  }
}

@keyframes floaty {
  /* 扇形展开后标签的浮动循环。 */
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-16px) rotate(-3deg);
  }
}

@keyframes drift {
  /* 背景光斑漂移动画。 */
  from {
    transform: translate3d(-14px, -8px, 0) scale(1);
  }
  to {
    transform: translate3d(18px, 16px, 0) scale(1.08);
  }
}

/* 响应式调整：确保小屏幕上扇形卡片仍在主卡片内部。 */
@media (max-width: 860px) {
  /* 平板/手机布局：主卡片变高，扇形展开距离缩小。 */
  .page-shell {
    padding: 18px;
  }

  .stage {
    min-height: calc(100vh - 36px);
  }

  .hero-card {
    min-height: 680px;
  }

  .site-header {
    /* 双行顶部布局：避免窄屏时导航被挤压。 */
    grid-template-columns: 1fr auto;
    padding: 22px 22px 8px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    width: 100%;
    padding-top: 14px;
    gap: 10px;
  }

  .hero-content {
    padding: 42px 22px 34px;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 52px);
  }

  .showcase-hero {
    min-height: 500px;
  }

  .tag {
    /* 移动端保留与 PC 一致的淡入上移动画，只调整位置避免遮挡标题和卡片。 */
    font-size: 11px;
    padding: 8px 12px;
  }

  .tag-left {
    top: 152px;
    left: 12px;
  }

  .tag-right {
    top: 160px;
    right: 12px;
  }

  .resource-fan {
    height: 220px;
    margin-top: 10px;
  }

  .resource-card {
    width: 104px;
    height: 82px;
  }

  .card-one {
    /* 移动端扇形位置会覆盖桌面端内联变量。 */
    --x: -82px !important;
    --y: 24px !important;
    --r: -14deg !important;
  }

  .card-two {
    --x: -52px !important;
    --y: 2px !important;
    --r: -8deg !important;
  }

  .card-three {
    --x: -18px !important;
    --y: -8px !important;
    --r: -3deg !important;
  }

  .card-four {
    --x: 18px !important;
    --y: -6px !important;
    --r: 4deg !important;
  }

  .card-five {
    --x: 52px !important;
    --y: 4px !important;
    --r: 9deg !important;
  }

  .card-six {
    --x: 82px !important;
    --y: 28px !important;
    --r: 15deg !important;
  }

  .support-copy {
    max-width: 310px;
    margin-top: -18px;
    font-size: 13px;
  }
}

@media (max-width: 540px) {
  /* 超小屏手机细节优化。 */
  .site-nav {
    font-size: 11px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .primary-cta,
  .secondary-cta {
    height: 38px;
    font-size: 12px;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 22px 24px;
    font-size: 12px;
  }
}

/* 尊重用户的“减少动态效果”系统偏好。 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
