/* Auto-scoped from CLEARWorld styles_new.css. Only applies inside .cw */
/* =======================================================
   CLEAR WORLD · Apple-Style Light Design
   Minimal · Airy · Generous Whitespace
   · CLEAR Design 演示区使用官方规范参数进行 demo 舞台展示
   ======================================================= */

/* ---------- 0. DESIGN TOKENS ---------- */
.cw{
  /* A. 官网整体 · Apple 浅色极简风（保持用户要求） */
  --bg: #ffffff;
  --bg-elevated: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-tint: rgba(0, 0, 0, 0.03);

  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --text-tertiary: #86868b;
  --font-display: "HarmonyOS Sans", -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', sans-serif;

  --primary: #0071e3;
  --primary-hover: #0077ed;
  --primary-tint: rgba(0, 113, 227, 0.1);
  --primary-glow: rgba(0, 113, 227, 0.15);

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --border-subtle: rgba(0, 0, 0, 0.06);

  /* B. CLEAR Design 规范 · 演示专用色板（严格对齐规范文档 Design Token 章节）
     说明：品牌强调色随主题动态，此处用规范文档的演示值 #FF5B68 */
  --clr-accent: #FF5B68;
  --clr-accent-tint: rgba(255, 91, 104, 0.15);
  --clr-bg-page: #111318;       /* 页面背景色 · 深色 */
  --clr-bg-card: #1B1F27;       /* 卡片背景色 · 深色2阶 */
  --clr-bg-3: #232833;          /* 深色3阶 */
  --clr-bg-4: #2A303B;          /* 深色4阶 */
  --clr-text-primary: #F3F5F7;  /* 主文字色 · 深色 */
  --clr-text-secondary: #8C95A3;/* 辅助文字色 · 深色 */
  --clr-divider: rgba(255, 255, 255, 0.08); /* 分割线 */

  /* C. CLEAR Design · 弥散光 Glow 5 级精确参数（严格对齐规范表格） */
  --clr-glow-l1: 0 3px 10px rgba(255, 91, 104, 0.18);
  --clr-glow-l2: 0 4px 14px rgba(255, 91, 104, 0.22);
  --clr-glow-l3: 0 6px 20px rgba(255, 91, 104, 0.26);
  --clr-glow-l4: 0 6px 16px rgba(255, 91, 104, 0.35);
  --clr-glow-ls: 0 8px 24px rgba(255, 91, 104, 0.30);

  /* D. 统一圆角（华容网格严格 8dp 倍数：8/16/24/32/40） */
  --r-4dp: 4px;        /* 保留用于极小组件（非间距，仅圆角） */
  --r-8dp: 8px;        /* 华容 · 小圆角（8×1） */
  --r-12dp: 16px;      /* 华容 · 小按钮/标签（8×2） */
  --r-16dp: 16px;      /* 华容 · 卡片容器（8×2） */
  --r-20dp: 24px;      /* 华容 · 大卡片（8×3） */
  --r-24dp: 24px;      /* 华容 · 超大卡片（8×3） */
  --r-xs: 10px;         /* 原设计值：小按钮/标签圆角 */
  --r-sm: 14px;         /* 原设计值：输入框/中卡片圆角 */
  --r-md: 20px;         /* 原设计值：组件图标区圆角 */
  --r-lg: 28px;         /* 原设计值：理念卡/设计卡/开发者卡 */
  --r-xl: 36px;         /* 原设计值：产品卡/Motion Banner */
  --r-pill: 999px;

  /* E. 阴影 · 官网整体 Apple 极轻风格 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  /* F. 华容网格 · 基础间距单元 4dp */
  --space-unit: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* G. CLEAR Motion · Apple 风格过渡曲线（克制，无明显过冲回弹） */
  --spring-stiff: 380;
  --spring-damp: 42;
  --spring: cubic-bezier(0.25, 0.1, 0.25, 1);
  --spring-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --spring-bouncy: cubic-bezier(0.16, 1, 0.3, 1);

  /* 容器宽度 */
  --container-max: 1060px;
}

/* 移除颗粒纹理，Apple风格极净 */
.cw .grain-overlay{ display: none; }

.cw .container{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.cw .section{
  padding: 96px 0 144px;
  position: relative;
}

/* 板块间节奏感：紧接 hero 的产品板块顶距收窄 */
.cw .products-section{ padding-top: 56px; padding-bottom: 136px; }
/* 设计 → 统一组件：同背景色，减少顶距避免"空两段"感 */
.cw .components-section{ padding-top: 56px; }
/* 开发者专区是最后板块，底距收窄 */
.cw .developer-section{ padding-bottom: 120px; }

.cw .section-header{
  text-align: center;
  margin-bottom: 72px;
}

.cw .section-title{
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.07;
  margin: 0 0 8px;
  color: var(--text);
}

.cw .section-sub{
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 680px;
  font-weight: 400;
  line-height: 1.4;
}

/* 板块标题蒙版上移入场 */
.cw .section-header.reveal{
  opacity: 1;
  top: 0;
  overflow: hidden;
}
.cw .section-header.reveal.visible{
  animation: none;
  opacity: 1;
  top: 0;
}
.cw .section-header .section-title,
.cw .section-header .section-sub{
  will-change: transform, opacity;
}
.cw .section-header .section-title{
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cw .section-header .section-sub{
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  transition-delay: 0s;
}
.cw .section-header.visible .section-title{
  transform: translateY(0);
  opacity: 1;
}
.cw .section-header.visible .section-sub{
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.25s;
}

/* ---------- 2. HEADER ---------- */
.cw .site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cw .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.cw .brand-text{
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cw .brand-highlight{
  color: var(--primary);
  font-weight: 700;
}

.cw .nav{
  display: flex;
  align-items: center;
  gap: 2px;
}
.cw .nav a{
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  transition:
    opacity 280ms var(--spring-soft),
    background 280ms var(--spring-soft),
    color 280ms var(--spring-soft),
    transform 450ms var(--spring);
  position: relative;
  isolation: isolate;
}
.cw .nav a::before{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(0, 113, 227, 0.22) 0%,
    rgba(0, 113, 227, 0.06) 50%,
    transparent 72%
  );
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 420ms var(--spring-soft),
    transform 520ms var(--spring);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}
.cw .nav a:hover{
  opacity: 1;
  background: rgba(0, 113, 227, 0.06);
  color: var(--primary);
  transform: translateY(-0.5px) scale(1.015);
}
.cw .nav a:hover::before{
  opacity: 1;
  transform: scale(1);
}

/* ---------- 3. HERO ---------- */
.cw .hero{
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 64px 0 48px;
  background: var(--bg-elevated);
}

/* Siri 柔和流体极光 (Apple Intelligence Style)
   使用多色纯径向渐变 + 硬件加速位移，色彩高级，流动缓慢且充满生命感 */
.cw .hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  animation: heroGlowIn 2.4s var(--spring) 0.2s forwards;
  background-color: var(--bg-elevated);
  /* 基础层 + 静态左上角紫色极光 */
  background-image: radial-gradient(ellipse at 20% 0%, rgba(138, 43, 226, 0.08) 0%, rgba(138, 43, 226, 0) 60%);
  background-repeat: no-repeat;
  /* 解决 Edge/Chrome 渲染 Bug：强制硬件加速图层隔离，防抖动 */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.cw .hero-bg::before,
.cw .hero-bg::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: normal;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 核心蓝青色极光 */
.cw .hero-bg::before{
  width: 120vw;
  height: 80vw;
  background: radial-gradient(ellipse at center, rgba(0, 198, 255, 0.12) 0%, rgba(0, 198, 255, 0) 65%);
  top: -10vw;
  right: -30vw;
  animation: auroraFloat1 24s ease-in-out infinite alternate;
}
/* 温暖粉色极光 (呼应 CLEAR Accent) */
.cw .hero-bg::after{
  width: 100vw;
  height: 80vw;
  background: radial-gradient(ellipse at center, rgba(255, 91, 104, 0.10) 0%, rgba(255, 91, 104, 0) 65%);
  bottom: -20vw;
  left: -20vw;
  animation: auroraFloat2 32s ease-in-out infinite alternate;
}
@keyframes heroGlowIn {
  to { opacity: 1; }
}
@keyframes auroraFloat1 {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.78; }
  100% { transform: translate3d(-14vw, 10vw, 0); opacity: 1; }
}
@keyframes auroraFloat2 {
  0%   { transform: translate3d(0, 0, 0); opacity: 0.82; }
  100% { transform: translate3d(16vw, -8vw, 0); opacity: 1; }
}

/* 光栅 / Lenticular —— 竖向细条纹叠加在极光之上。
   鼠标移动时条纹相位相对背后的极光偏移，产生「隔着栅格看物」的透光错位错觉
   （类似 MIUI 光栅壁纸）。仅使用 transform 位移，走合成器路径，零重绘、零旋转重采样。 */
.cw .hero-grating{
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  right: -24px;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* 6px 周期：1.2px 暗线 + 1.2px 柔化过渡 + 3.6px 透空（条纹过密会与屏幕像素格打架） */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.035) 0px,
    rgba(0, 0, 0, 0.035) 1.2px,
    rgba(0, 0, 0, 0) 2.4px,
    rgba(0, 0, 0, 0) 6px
  );
  /* 上下渐隐，避免条纹在 hero 边界形成硬切线 */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  opacity: 0;
  animation: heroGlowIn 2.4s var(--spring) 0.5s forwards;
}

.cw .hero-content{
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.cw .headline{
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 0 0 16px;
  color: var(--text);
}

.cw .subhead{
  font-size: clamp(19px, 2.8vw, 28px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.cw .hero-ctas{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cw .blur-in-delay-2{
  animation: blurIn 1.2s var(--spring) forwards;
  animation-delay: 1.1s;
  opacity: 0;
}

/* ---------- 4. BUTTONS (Apple Style + Clear Motion Glow) ---------- */
.cw .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  will-change: transform;
  transition:
    transform 500ms var(--spring),
    background 280ms var(--spring-soft),
    border-color 280ms var(--spring-soft),
    color 280ms var(--spring-soft),
    opacity 280ms var(--spring-soft),
    box-shadow 500ms var(--spring);
  position: relative;
  user-select: none;
  line-height: 1;
  min-height: 40px;
  isolation: isolate;
  overflow: visible;
}
.cw .btn::before{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 100%,
    var(--primary-glow) 0%,
    rgba(0, 113, 227, 0.08) 38%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 450ms var(--spring-soft),
    transform 550ms var(--spring);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}
.cw .btn:hover::before{
  opacity: 1;
  transform: scale(1);
}
/* 移除Edge Light高光，Apple按钮不使用 */
.cw .btn::after{ display: none; }

.cw .btn-sm{
  padding: 8px 16px;
  font-size: 13px;
  min-height: 32px;
}
.cw .btn-hero{
  padding: 16px 24px;
  font-size: 16px;
  min-height: 48px;
}

.cw .btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.12);
}
.cw .btn-primary:hover{
  background: var(--primary-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.22);
}
.cw .btn-primary:active{
  transform: translateY(0) scale(0.98);
  transition-duration: 140ms;
  opacity: 0.95;
}
.cw .btn-primary::before{
  background: radial-gradient(
    circle at 50% 100%,
    rgba(0, 113, 227, 0.45) 0%,
    rgba(0, 113, 227, 0.18) 38%,
    transparent 70%
  );
}

.cw .btn-ghost{
  background: transparent;
  color: var(--primary);
  border: 1px solid transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.cw .btn-ghost::before{
  inset: -4px -10px;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(0, 113, 227, 0.18) 0%,
    rgba(0, 113, 227, 0.06) 45%,
    transparent 72%
  );
}
.cw .btn-ghost:hover{
  text-decoration: none;
  transform: translateY(-0.5px) scale(1.015);
  color: var(--primary-hover);
}
.cw .btn-ghost:active{
  transform: translateY(0) scale(0.985);
  transition-duration: 140ms;
  opacity: 0.75;
}

/* =======================================================
   4.5. CARD SYSTEM (统一组件)
   ======================================================= */
.cw .card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    transform 650ms var(--spring),
    box-shadow 600ms var(--spring),
    border-color 450ms var(--spring-soft);
  will-change: transform;
}
.cw .card:hover{
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 113, 227, 0.14);
}

/* Spring-driven: 由 JS 接管 transform，禁用 CSS hover transform */
.cw .card.spring-driven{
  transition:
    box-shadow 600ms var(--spring),
    border-color 450ms var(--spring-soft),
    background 400ms var(--spring-soft);
}
.cw .card.spring-driven:hover{
  transform: none;
}
.cw .card.spring-driven:active{
  transform: none;
  transition-duration: 200ms;
}
.cw .btn.spring-driven{
  transition:
    box-shadow 400ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    opacity 200ms ease;
}
.cw .btn.spring-driven:hover,
.cw .btn.spring-driven:active{
  transform: none;
}

/* 修饰符 - 产品卡 */
.cw .card--product{
  border-radius: var(--r-xl);
  padding: 96px clamp(40px, 7vw, 96px);
}
.cw .card--product:hover{
  box-shadow: none;
  border-color: var(--border);
}

/* 修饰符 - 理念卡 */
.cw .card--philosophy{
  border-radius: var(--r-lg);
  padding: 48px 40px;
}

/* 修饰符 - 设计卡 */
.cw .card--design{
  border-radius: var(--r-lg);
}

/* 修饰符 - 开发者卡 */
.cw .card--dev{
  border-radius: var(--r-lg);
  padding: 40px 32px 32px;
}

/* 修饰符 - Motion Banner */
.cw .card--banner{
  border-radius: var(--r-xl);
  padding: 0;
  margin-bottom: 64px;
}
.cw .card--banner:hover{
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.16);
}

/* ---------- 5. SCROLL REVEAL ----------
   minimalist skill §7: reveal = 上浮 12px + opacity 0, 入场 @keyframes 动画 600ms。
   使用 animation 而非 transition，避免与 .card.spring-driven 的 transition / transform 冲突。
   Stagger 延迟通过 --reveal-index CSS 变量控制（index × 80ms）。 */
.cw .reveal{
  opacity: 0;
  position: relative;
  top: 12px;
  will-change: opacity, top;
}
.cw .reveal.visible{
  animation-name: revealIn;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  animation-delay: calc(var(--reveal-index, 0) * 80ms);
  animation-fill-mode: forwards;
}
@keyframes revealIn {
  from { opacity: 0; top: 12px; }
  to   { opacity: 1; top: 0; }
}

.cw .blur-in{ animation: blurIn 1.1s var(--spring) forwards; opacity: 0; animation-delay: 0.3s; }
.cw .blur-in-delay{ animation: blurIn 1.1s var(--spring) forwards; opacity: 0; animation-delay: 0.65s; }
@keyframes blurIn {
  0% { filter: blur(18px); opacity: 0; transform: translateY(18px); }
  100% { filter: blur(0); opacity: 1; transform: translateY(0); }
}

.cw .scroll-indicator{
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1.6s forwards;
  color: var(--text-muted);
}
@keyframes fadeIn { to { opacity: 1; } }
.cw .mouse{
  width: 22px; height: 34px;
  border: 1.2px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--r-pill);
  position: relative;
}
.cw .wheel{
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 2.5px; height: 5px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--r-pill);
  animation: wheel 1.8s var(--spring) infinite;
}
@keyframes wheel {
  0% { top: 5px; opacity: 1; transform: translateX(-50%) scaleY(1); }
  80%, 100% { top: 18px; opacity: 0; transform: translateX(-50%) scaleY(0.4); }
}
.cw .gesture-hint{ font-size: 11px; letter-spacing: 0.06em; opacity: 0.7; }
.cw .arrow{
  width: 9px; height: 9px;
  border-right: 1.4px solid rgba(0, 0, 0, 0.25);
  border-bottom: 1.4px solid rgba(0, 0, 0, 0.25);
  transform: rotate(45deg);
  animation: arrowDown 1.8s ease-in-out infinite;
}
@keyframes arrowDown {
  0% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: rotate(45deg) translate(5px, 5px); opacity: 0; }
}

/* =======================================================
   6. PRODUCTS · Apple 风格轮播（左右胶囊箭头 + 横滑卡）
   ======================================================= */
.cw .products-section{
  overflow: visible;
  background: var(--bg);
}

/* ========== 轮播外壳 + 胶囊箭头 ========== */
.cw .product-carousel{
  position: relative;
  width: 100%;
}
.cw .carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 260ms var(--spring-soft),
              transform 260ms var(--spring-soft),
              opacity 260ms var(--spring-soft),
              color 260ms var(--spring-soft),
              box-shadow 260ms var(--spring-soft);
  font-family: inherit;
  outline: none;
  padding: 0;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.10),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}
.cw .carousel-arrow:hover:not([disabled]){
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.cw .carousel-arrow:active:not([disabled]){
  transform: translateY(-50%) scale(0.94);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.cw .carousel-arrow svg{ display: block; }
.cw .carousel-arrow[disabled]{
  opacity: 0.3;
  cursor: not-allowed;
}
.cw .carousel-arrow--prev{ left: -24px; }
.cw .carousel-arrow--next{ right: -24px; }

/* 桌面端箭头延伸至页面边缘 */
@media (min-width: 1025px) {
  .cw .carousel-arrow--prev{
    left: calc((100vw - 1060px) / -2 - 40px + 16px);
  }
  .cw .carousel-arrow--next{
    right: calc((100vw - 1060px) / -2 - 40px + 16px);
  }
}

/* ========== Viewport + Track 横向滑动容器 ========== */
.cw .product-carousel-viewport{
  width: 100%;
  clip-path: inset(-30px -24px -60px);
}
.cw .product-carousel-track{
  display: flex;
  flex-direction: row;
  gap: 24px;
  will-change: transform;
}
.cw .product-snap-card{
  flex: 0 0 calc((100% - 24px * 1) / 2);
  min-width: 0;
  box-sizing: border-box;
}

/* 产品卡片入场 */
.cw .product-snap-card.reveal{
  opacity: 0;
  top: 0;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  animation: none;
}
.cw .product-snap-card.reveal.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: none;
  transition-delay: calc(var(--reveal-index, 0) * 100ms);
}
.cw .product-snap-card .pcard-badge,
.cw .product-snap-card .pcard-copy,
.cw .product-snap-card .pcard-visual{
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cw .product-snap-card.reveal.visible .pcard-badge{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.cw .product-snap-card.reveal.visible .pcard-copy{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.cw .product-snap-card.reveal.visible .pcard-visual{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* ========== 产品卡 · Apple 紧凑风格（上下：文案 + 图） ========== */
/* 强制覆盖 .card 基类的 overflow:hidden（更高特异性） */
.cw .card.product-card,
.cw .card.card--motion-edition{
  overflow: visible;
}
.cw .product-card{
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 500px;
  position: relative;
}

/* 底部渐变（替代原图片弥散光）— 在内容之下、背景之上 */
.cw .product-card::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.06), transparent);
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}

/* 变体 — 背景色/渐变 */
.cw .product-card--music{
  background: linear-gradient(180deg, #111318 0%, #1a1d25 100%);
  color: #ffffff;
}
.cw .product-card--music::after{
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}
.cw .product-card--calc{
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
  color: var(--text);
}
.cw .product-card--calc::after{
  background: linear-gradient(to top, rgba(0,0,0,0.04), transparent);
}

/* 右上角产品徽标 */
.cw .pcard-badge{
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  z-index: 2;
}
.cw .product-card--music .pcard-badge{
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.cw .pcard-badge img{
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* 卡内文案区 */
.cw .pcard-copy{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  max-width: 360px;
  padding-right: 60px;
}
.cw .pcard-name{
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cw .pcard-tag{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: inherit;
  opacity: 0.82;
  font-weight: 400;
}
.cw .pcard-price{
  margin: 8px 0 0;
  font-size: 14px;
  color: inherit;
  opacity: 0.7;
  letter-spacing: 0.01em;
}
.cw .pcard-links{
  margin-top: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.cw .pcard-link{
  color: var(--primary);
  font-size: 15px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 220ms ease, opacity 220ms ease;
}
.cw .product-card--music .pcard-link{ color: #2997ff; }
.cw .pcard-link:hover{ opacity: 0.8; }
.cw .pcard-chev{
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
  display: inline-block;
}

/* 卡内产品主视觉 — 容器裁切圆角，图片不设阴影/弥散光 */
.cw .pcard-visual{
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  min-height: 320px;
  padding-top: 8px;
  border-radius: clamp(16px, 2.25vw, 26px);
  overflow: hidden;           /* 防止子元素布局溢出 */
}
.cw .pcard-hero{
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  display: block;
  border-radius: clamp(16px, 2.25vw, 26px);
  clip-path: inset(0 round clamp(16px, 2.25vw, 26px));
}
/* 给视觉容器独立背景色，确保 border-radius 裁切出的圆角可见 */
.cw .product-card--music .pcard-visual{
  background: linear-gradient(180deg, #111318 0%, #1a1d25 100%);
}
.cw .product-card--calc .pcard-visual{
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

/* ---------- 7. PHILOSOPHY ---------- */
.cw .philosophy-section{
  background: var(--bg-elevated);
}
.cw .philosophy-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cw .philosophy-card{
  /* 样式已由 .card + .card--philosophy 统一 */
}

.cw .philosophy-icon-wrapper{
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
}
.cw .ph-diffuse-glow{
  position: absolute;
  inset: -8px;
  background: var(--primary);
  filter: blur(20px);
  opacity: 0.18;
  border-radius: 50%;
}
.cw .ph-glow-2{ background: var(--primary); opacity: 0.15; }
.cw .ph-glow-3{ background: var(--primary-hover); opacity: 0.14; }
.cw .ph-glass-plate{
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.cw .ph-glow-2 + .ph-glass-plate{ background: rgba(0, 113, 227, 0.10); color: var(--primary); }
.cw .ph-glow-3 + .ph-glass-plate{ background: rgba(0, 119, 237, 0.12); color: var(--primary); }
.cw .ph-glass-plate svg{ width: 24px; height: 24px; }

.cw .philosophy-text h3{
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}
.cw .philosophy-text p{
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ---------- 7.5 · 什么是 CLEAR Design（旧的独立 section，保留以防引用） ---------- */

/* =======================================================
   8. CLEAR Design 总览 Tabs（左侧导航 + 右侧切换面板）
   参考：Apple iPhone 产品介绍页 · 左/右分栏切换
   ======================================================= */
.cw .cds-tabs-section{
  background: var(--bg);
  padding-top: 96px;
  padding-bottom: 144px;
}
.cw .cds-tabs-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* ---------- 顶部：Apple 胶囊分段控件 Tabs ---------- */
.cw .cds-tablist{
  position: sticky;
  top: 56px;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 4px;
  border-right: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  justify-content: center;
  align-items: stretch;
  width: fit-content;
  max-width: 44px;
  overflow: hidden;
  margin: 0 auto;
  z-index: 10;
  isolation: isolate;
  will-change: transform, opacity, max-width;
  transform: translateY(20px) scale(0.52);
  transform-origin: 50% 50%;
  opacity: 0;
}
.cw .cds-tab{
  width: auto;
  flex: 0 0 auto;
  text-align: center;
  background: transparent;
  border: none;
  border-left: none;
  padding: 8px 20px;
  min-height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  outline: none;
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  opacity: 0;
  filter: blur(10px);
  transition:
     color 280ms var(--spring-soft),
     opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
     filter 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
 }
.cw .cds-tablist--expanding .cds-tab{
  opacity: 1;
  filter: blur(0);
}
.cw .cds-tab:hover{
  background: transparent;
  color: var(--text);
}
.cw .cds-tab.active{
  background: transparent;
  box-shadow: none;
  color: var(--text);
  transform: none;
  font-weight: 600;
}
.cw .cds-tab-num{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: "SF Mono", ui-monospace, monospace;
  min-width: auto;
  padding-top: 0;
  opacity: 0.78;
}
.cw .cds-tab.active .cds-tab-num{
  color: var(--primary);
  opacity: 1;
}
.cw .cds-tab-text{
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}
.cw .cds-tab-title{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.2;
  white-space: nowrap;
}
.cw .cds-tab.active .cds-tab-title{
  color: inherit;
  font-weight: 600;
}
.cw .cds-tab-sub{
  display: none;
}

/* ---------- 右侧：Panels 切换区 ---------- */
.cw .cds-panels{
  position: relative;
}
.cw .cds-panel{
  display: none;
}
.cw .cds-panel.active{
  display: block;
  animation: panelFadeIn 300ms ease both;
}
@keyframes panelFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Panel 内容逐项入场 */
.cw .panel-inner > *{
  opacity: 0;
  transform: translateY(18px);
}
.cw .cds-tabs-section--entered .cds-panel.active .panel-inner > *{
  animation: panelContentIn 500ms cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
.cw .cds-tabs-section--entered .cds-panel.active .panel-inner > *:nth-child(2){ animation-delay: 80ms; }
.cw .cds-tabs-section--entered .cds-panel.active .panel-inner > *:nth-child(3){ animation-delay: 160ms; }
.cw .cds-tabs-section--entered .cds-panel.active .panel-inner > *:nth-child(4){ animation-delay: 240ms; }
.cw .cds-tabs-section--entered .cds-panel.active .panel-inner > *:nth-child(5){ animation-delay: 320ms; }
@keyframes panelContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cw .panel-inner{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cw .panel-head h3{
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.28;
  color: var(--text);
  margin: 0;
  font-family: var(--font-display);
}

/* ---------- Panel 01 · 什么是 CLEAR Design ---------- */
.cw .card--aboutcd{
  border-radius: var(--r-lg);
  padding: 48px;
  background: var(--bg-elevated);
}
.cw .aboutcd-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cw .aboutcd-lead{
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 20px;
  letter-spacing: -0.012em;
}
.cw .aboutcd-text{
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}
.cw .aboutcd-text:last-child{ margin-bottom: 0; }
.cw .aboutcd-keywords{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cw .kw-item{
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: border-color 320ms var(--spring-soft), transform 420ms var(--spring);
}
.cw .kw-item:hover{
  border-color: rgba(0, 113, 227, 0.16);
  transform: translateY(-1px);
}
.cw .kw-num{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-family: "SF Mono", ui-monospace, monospace;
  margin-bottom: 8px;
}
.cw .kw-item h4{
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.012em;
}
.cw .kw-item p{
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 9. DESIGN SYSTEM + CLEAR MOTION（内部样式保留，父容器样式已并入 Tabs） ---------- */
.cw .design-grid--spec{
  grid-template-columns: repeat(3, 1fr);
}
.cw .design-section{
  overflow: hidden;
  background: var(--bg);
}

/* MOTION BANNER (简化版：纯色背景 + 单一文字) */
.cw .motion-banner{
  /* 样式已由 .card + .card--banner 统一 */
}

.cw .motion-banner-inner{
  position: relative;
  z-index: 2;
  display: block;
  padding: 64px 56px;
}

.cw .motion-eyebrow{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin: 0 0 16px;
  line-height: 1.3;
}
.cw .motion-left h3{
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.028em;
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.12;
  max-width: 720px;
}
.cw .motion-lead{
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 620px;
}

/* ========== CLEAR Motion 板块 ========== */
.cw .motion-section{
  overflow: visible;
  background: var(--bg-elevated);
  padding-bottom: 120px;
}

/* Motion Tabs 布局（与 CDS 视觉一致） */
.cw .mts-tabs-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.cw .mts-tablist{
  position: sticky;
  top: 56px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  width: fit-content;
  margin: 0 auto;
  z-index: 10;
  isolation: isolate;
  overflow: hidden;
  max-width: 44px;
  will-change: transform, opacity, max-width;
  transform: translateY(20px) scale(0.52);
  transform-origin: 50% 50%;
  opacity: 0;
}
.cw .mts-tab{
  width: auto;
  flex: 0 0 auto;
  text-align: center;
  background: transparent;
  border: none;
  padding: 8px 20px;
  min-height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  outline: none;
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  opacity: 0;
  filter: blur(10px);
  transition:
    color 280ms var(--spring-soft),
    opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cw .mts-tablist--expanding .mts-tab{
  opacity: 1;
  filter: blur(0);
}
.cw .mts-tab:hover{ color: var(--text); }
.cw .mts-tab.active{
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-weight: 600;
}
.cw .mts-tab-num{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: "SF Mono", ui-monospace, monospace;
  min-width: auto;
  padding-top: 0;
  opacity: 0.78;
}
.cw .mts-tab.active .mts-tab-num{
  color: var(--primary);
  opacity: 1;
}
.cw .mts-tab-text{
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}
.cw .mts-tab-title{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.2;
  white-space: nowrap;
}
.cw .mts-tab.active .mts-tab-title{
  color: inherit;
  font-weight: 600;
}
.cw .mts-tab-sub{
  display: none;
}
.cw .mts-panels{ position: relative; }
.cw .mts-panel{ display: none; }
.cw .mts-panel.active{ display: block; animation: panelFadeIn 300ms ease both; }

/* Motion panel 内容逐项入场 */
.cw .motion-section--entered .mts-panel.active .panel-inner > *{
  animation: panelContentIn 500ms cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
.cw .motion-section--entered .mts-panel.active .panel-inner > *:nth-child(2){ animation-delay: 80ms; }
.cw .motion-section--entered .mts-panel.active .panel-inner > *:nth-child(3){ animation-delay: 160ms; }
.cw .motion-section--entered .mts-panel.active .panel-inner > *:nth-child(4){ animation-delay: 240ms; }
.cw .motion-section--entered .mts-panel.active .panel-inner > *:nth-child(5){ animation-delay: 320ms; }

/* 双版本卡片 */
.cw .motion-editions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cw .card--motion-edition{
  border-radius: var(--r-xl);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}
.cw .motion-edition--std{
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}
.cw .motion-edition--pro{
  background: linear-gradient(180deg, #1d1d1f 0%, #2d2d2f 100%);
  color: #ffffff;
}
.cw .motion-edition--pro .me-desc,
.cw .motion-edition--pro .me-features li{
  color: rgba(255,255,255,0.72);
}
.cw .me-badge{
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}
.cw .motion-edition--std .me-badge{
  background: var(--primary-tint);
  color: var(--primary);
}
.cw .motion-edition--pro .me-badge{
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}
.cw .motion-edition h3{
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}
.cw .me-desc{
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.cw .me-features{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cw .me-features li{
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-left: 0;
}

/* ===== 场景卡片（Tab 2） ===== */
.cw .mts-scene-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cw .mts-scene-card{
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 320ms var(--spring-soft), transform 420ms var(--spring);
}
.cw .mts-scene-card:hover{
  border-color: rgba(0, 113, 227, 0.16);
  transform: translateY(-1px);
}
.cw .mts-scene-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  color: var(--primary);
  flex-shrink: 0;
}
.cw .mts-scene-card h4{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.cw .mts-scene-card p{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== 对比区（Tab 3） ===== */
.cw .mts-compare-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
.cw .mts-compare-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cw .mts-compare-label{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 999px;
  width: fit-content;
}
.cw .mts-compare-label--old{
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}
.cw .mts-compare-label--new{
  background: var(--primary-tint);
  color: var(--primary);
}
.cw .mts-compare-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cw .mts-compare-list li{
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.cw .mts-compare-vs{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  color: var(--primary);
  opacity: 0.5;
}

/* 三大优势 */
.cw .mts-why-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
.cw .mts-why-card{
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 320ms var(--spring-soft), transform 420ms var(--spring);
}
.cw .mts-why-card:hover{
  border-color: rgba(0, 113, 227, 0.16);
  transform: translateY(-1px);
}
.cw .mts-why-num{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-family: "SF Mono", ui-monospace, monospace;
}
.cw .mts-why-card h4{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.cw .mts-why-card p{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* DESIGN FEATURE GRID (直接可视化演示版) */
.cw .design-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cw .design-card{
  display: flex;
  flex-direction: column;
}
.cw .design-grid--demo .design-card{
  gap: 24px;
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  min-height: 384px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Demo Stage · 演示舞台（所有 demo 共享）
   不施加默认 padding，避免与各 demo 内部 padding 双重叠加 */
.cw .demo-stage{
  position: relative;
  flex: 1 1 auto;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cw .design-content h3{
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--text);
}
.cw .design-content p{
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========== 1. 华容网格 Demo（4列×4行 Bento 无空白 · 严格对齐规范 §华容网格） ========== */
.cw .demo-stage--grid{
  background: var(--clr-bg-page);
  padding: 24px;
}
.cw .grid-showcase{
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  background: var(--clr-bg-page);
  border-radius: var(--r-20dp);
  padding: var(--space-4);
  box-shadow: inset 0 0 0 1px var(--clr-divider);
}
.cw .grid-bg{
  position: absolute;
  inset: var(--space-4);
  border-radius: calc(var(--r-20dp) - var(--space-2));
  background-image:
    linear-gradient(var(--clr-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--clr-divider) 1px, transparent 1px);
  background-size: var(--space-4) var(--space-4);
  opacity: 0.4;
  pointer-events: none;
}
.cw .grid-app{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: var(--space-3);
  width: 100%;
  height: 100%;
}
.cw .bento{
  border-radius: var(--r-16dp);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-divider);
}
/* 8个 Bento 格子精确填满 4列×4行（总占用 = 4×4 = 16 格） */
.cw .bento--a{
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background: rgba(30, 111, 191, 0.32);
  border: none;
}
.cw .bento--b{
  grid-column: 3 / span 1;
  grid-row: 1 / span 2;
  background: rgba(255, 255, 255, 0.10);
  border: none;
}
.cw .bento--c{
  grid-column: 4 / span 1;
  grid-row: 1 / span 2;
  background: rgba(99, 102, 241, 0.30);
  border: none;
}
.cw .bento--d{
  grid-column: 1 / span 2;
  grid-row: 3 / span 1;
  background: rgba(255, 255, 255, 0.08);
  border: none;
}
.cw .bento--e{
  grid-column: 3 / span 2;
  grid-row: 3 / span 1;
  background: rgba(255, 255, 255, 0.08);
  border: none;
}
.cw .bento--f{
  grid-column: 1 / span 1;
  grid-row: 4 / span 1;
  background: rgba(255, 91, 104, 0.28);
  border: none;
}
.cw .bento--g{
  grid-column: 2 / span 1;
  grid-row: 4 / span 1;
  background: rgba(255, 255, 255, 0.07);
  border: none;
}
.cw .bento--h{
  grid-column: 3 / span 2;
  grid-row: 4 / span 1;
  background: rgba(30, 111, 191, 0.22);
  border: none;
}
.cw .grid-badge{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--clr-bg-card);
  color: var(--clr-text-secondary);
  font-size: 11px;
  letter-spacing: 0.02em;
  border: 1px solid var(--clr-divider);
  z-index: 2;
}

/* ========== 2. 色彩体系 Demo & 图标系统 Demo · 用户要求删除（保留变量但不使用） ========== */

/* ========== 3. 字体排版 Demo（对齐规范 §字体排版 字号层级） ========== */
.cw .demo-stage--type{
  background: var(--clr-bg-page);
  padding: 20px;
}
.cw .type-block{
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.cw .type-display{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--clr-text-primary);
  margin: 0;
}
.cw .type-h2{
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.35;
  color: var(--clr-text-primary);
  margin: 0;
}
.cw .type-body{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--clr-text-secondary);
  margin: 0;
}
.cw .type-caption{
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--clr-text-secondary);
  opacity: 0.85;
  margin: 0;
}
.cw .type-guide{
  position: absolute;
  right: -4px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0.5;
}
.cw .tg-line{
  width: 14px;
  border-top: 1px dashed var(--clr-accent);
  position: relative;
}
.cw .tg-line::after{
  position: absolute;
  right: 0;
  top: 3px;
  font-size: 9px;
  color: var(--clr-accent);
  font-family: "SF Mono", ui-monospace, monospace;
}
.cw .tg--1::after{ content: "30/700"; }
.cw .tg--2::after{ content: "17/600"; }
.cw .tg--3::after{ content: "14/400"; }

/* ========== 4. 弥散光 Glow Demo（严格对齐规范 §弥散光 层级参数表） ========== */
.cw .demo-stage--glow{
  background: var(--clr-bg-page);
  padding: 28px 20px;
}
.cw .glow-stage{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 360px;
}
.cw .glow-dot{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 600;
  position: relative;
}
.cw .glow-dot::after{
  content: attr(data-spec);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--clr-text-secondary);
  font-weight: 400;
  opacity: 0.8;
  white-space: nowrap;
}
.cw .glow-dot span{
  position: relative;
  z-index: 1;
}
.cw .glow-dot--l1{ box-shadow: var(--clr-glow-l1); }
.cw .glow-dot--l2{ box-shadow: var(--clr-glow-l2); }
.cw .glow-dot--l3{ box-shadow: var(--clr-glow-l3); }
.cw .glow-dot--l4{ box-shadow: var(--clr-glow-l4); }
.cw .glow-dot--ls{ 
  border-radius: var(--r-12dp);
  width: 54px;
  height: 54px;
  box-shadow: var(--clr-glow-ls); 
}

/* ========== 分段响应式（单调缩放：断点越小 尺寸/间距只减不增） ========== */

/* --- 平板：768px ~ 1024px --- */
@media (max-width: 1024px) {
  /* 基础容器 & 分区 */
  .cw .container{ padding: 0 28px; }
  .cw .section{ padding: 110px 0; }
  .cw .section-header{ margin-bottom: 56px; }
  .cw .nav a{ padding: 6px 12px; font-size: 12.5px; }

  /* CDS Tabs · 水平胶囊（桌面已是胶囊，此处微调 + 允许横向滚动 */
  .cw .cds-tabs-layout{
    gap: 36px;
  }
  .cw .mts-tabs-layout{ gap: 36px; }
  .cw .cds-tablist{
    position: sticky;
    top: 48px;
    flex-direction: row;
    gap: 0;
    padding: 3px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    justify-content: flex-start;
    z-index: 10;
    max-width: 100%;
  }
  .cw .mts-tablist{
    max-width: 100%;
  }
  .cw .cds-tab{
    flex: 0 0 auto;
    padding: 7px 16px;
    min-height: 32px;
    gap: 6px;
  }
  .cw .cds-tab-num{ font-size: 10px; }
  .cw .cds-tab-title{ font-size: 12.5px; }

  /* Panel 01 · About 网格 */
  .cw .card--aboutcd{ padding: 36px 28px; }
  .cw .aboutcd-grid{ grid-template-columns: 1fr; gap: 32px; }

  /* Design Grid spec 3列→2列 */
  .cw .design-grid--spec{ grid-template-columns: repeat(2, 1fr); }

  /* Motion Banner */
  .cw .motion-banner-inner{ grid-template-columns: 1fr; padding: 56px 48px; gap: 36px; }
  .cw .motion-right{ min-height: 180px; }

  /* Grid 系统：设计卡 2列，理念卡 3→2列 */
  .cw .design-grid{ gap: 20px; grid-template-columns: repeat(2, 1fr); }
  .cw .philosophy-grid{ grid-template-columns: repeat(2, 1fr); }

  /* 设计卡细节 */
  .cw .design-grid--demo .design-card{
    padding: 28px 24px 24px;
    min-height: 360px;
  }
  .cw .grid-showcase{ max-width: 280px; }
  .cw .glow-stage{ gap: 18px; }
  .cw .glow-dot{ width: 50px; height: 50px; }
  .cw .glow-dot--ls{ width: 52px; height: 52px; }

  /* 产品轮播 · 平板：1列卡显示，箭头向内侧缩进避免溢出 */
  .cw .carousel-arrow--prev{ left: 4px; }
  .cw .carousel-arrow--next{ right: 4px; }
  .cw .carousel-arrow{ width: 44px; height: 44px; }
  .cw .product-carousel-track{ gap: 20px; }
  .cw .product-snap-card{
    flex: 0 0 100%;
  }
  .cw .product-card{
    padding: 32px 28px 24px;
    min-height: 520px;
    gap: 20px;
  }
  .cw .pcard-badge{ top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 12px; padding: 0; overflow: hidden; }
  .cw .pcard-copy{ max-width: 100%; padding-right: 56px; }
  .cw .pcard-name{ font-size: clamp(26px, 5vw, 34px); }
  .cw .pcard-visual{ min-height: 280px; border-radius: clamp(14px, 2.5vw, 24px); }
  .cw .pcard-hero{ max-height: 360px; border-radius: clamp(14px, 2.5vw, 24px); clip-path: inset(0 round clamp(14px, 2.5vw, 24px)); }

  /* Motion 板块 · 平板 */
  .cw .mts-scene-grid{ gap: 20px; }
  .cw .mts-scene-card{ padding: 24px 20px; }
  .cw .mts-compare-grid{ gap: 20px; }
  .cw .mts-why-grid{ gap: 20px; }
  .cw .mts-why-card{ padding: 24px 20px; }
}

/* --- 移动：≤ 767px --- */
@media (max-width: 767px) {
  /* 基础容器 & 分区（单调缩小：28 → 16） */
  .cw .container{ padding: 0 16px; }
  .cw .section{ padding: 72px 0; }
  .cw .section-header{ margin-bottom: 40px; }
  .cw .nav{ display: none; }

  /* CDS Tabs · 水平胶囊进一步精简 */
  .cw .cds-tabs-layout{ gap: 24px; }
  .cw .mts-tabs-layout{ gap: 24px; }
  .cw .cds-tabs-section{ padding-top: 72px; padding-bottom: 104px; }
  .cw .cds-tablist{
    top: 48px;
    padding: 3px;
    gap: 0;
    border-radius: 999px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }
  .cw .cds-tablist::-webkit-scrollbar{
    display: none;
  }
  .cw .mts-tablist{
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cw .mts-tablist::-webkit-scrollbar{ display: none; }
  .cw .cds-tab{
    padding: 7px 14px;
    min-height: 30px;
    gap: 5px;
  }
  .cw .cds-tab-num{ font-size: 9.5px; }
  .cw .cds-tab-title{ font-size: 12px; }
  .cw .panel-head h3{ font-size: clamp(20px, 4.5vw, 26px); }
  .cw .panel-inner{ gap: 20px; }

  /* Design Grid spec 全部1列 */
  .cw .design-grid--spec{ grid-template-columns: 1fr; }

  /* Panel 01 About */
  .cw .card--aboutcd{ padding: 24px 18px; border-radius: 28px; }
  .cw .aboutcd-grid{ gap: 24px; }
  .cw .aboutcd-keywords{ grid-template-columns: 1fr; }
  .cw .aboutcd-lead{ font-size: 17px; }

  /* 产品轮播 · 移动端：1列卡，箭头再向内收 */
  .cw .carousel-arrow--prev{ left: 0px; }
  .cw .carousel-arrow--next{ right: 0px; }
  .cw .carousel-arrow{ width: 40px; height: 40px; }
  .cw .product-carousel-viewport{ border-radius: 28px; }
  .cw .product-carousel-track{ gap: 16px; }
  .cw .product-snap-card{ flex: 0 0 100%; }
  .cw .product-card{
    padding: 28px 22px 20px;
    border-radius: 28px;
    min-height: 480px;
    gap: 18px;
  }
  .cw .pcard-badge{ top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 10px; padding: 0; overflow: hidden; }
  .cw .pcard-name{ font-size: clamp(22px, 6vw, 30px); letter-spacing: -0.02em; }
  .cw .pcard-tag{ font-size: 14px; }
  .cw .pcard-price{ font-size: 13px; margin-top: 6px; }
  .cw .pcard-copy{ padding-right: 48px; max-width: 100%; }
  .cw .pcard-links{ margin-top: 10px; gap: 16px; }
  .cw .pcard-visual{ min-height: 240px; border-radius: clamp(12px, 3vw, 20px); }
  .cw .pcard-hero{ max-height: 320px; border-radius: clamp(12px, 3vw, 20px); clip-path: inset(0 round clamp(12px, 3vw, 20px)); }

  /* Grid 系统：全部 1 列 */
  .cw .philosophy-grid,
.cw .design-grid{ grid-template-columns: 1fr; }
  .cw .design-grid{
    gap: 16px;
  }
  .cw .design-grid--demo .design-card{
    padding: 24px 20px 20px;
    min-height: 340px;
    gap: 16px;
  }

  /* 设计 demo 元素同步缩小 */
  .cw .grid-showcase{ max-width: 240px; aspect-ratio: 4 / 5; }
  .cw .glow-stage{ gap: 16px; flex-wrap: wrap; }
  .cw .glow-dot{ width: 46px; height: 46px; font-size: 10.5px; }
  .cw .glow-dot--ls{ width: 48px; height: 48px; }
  .cw .glow-dot::after{ font-size: 8.5px; }

  /* Motion banner */
  .cw .motion-banner-inner{ padding: 40px 28px; gap: 28px; }

  /* Motion 板块 · 移动 */
  .cw .mts-scene-grid{ grid-template-columns: 1fr; gap: 16px; }
  .cw .mts-scene-card{ padding: 20px 18px; }
  .cw .mts-compare-grid{ grid-template-columns: 1fr; gap: 16px; }
  .cw .mts-compare-vs{ display: none; }
  .cw .mts-why-grid{ grid-template-columns: 1fr; gap: 16px; }
  .cw .mts-why-card{ padding: 20px 18px; }

  /* Hero */
  .cw .hero{ padding-top: 40px; min-height: 84vh; }
  .cw .headline{ font-size: clamp(42px, 13vw, 64px); }
  .cw .hero-ctas{ width: 100%; }
  .cw .hero-ctas .btn{ flex: 1; min-width: calc(50% - 8px); }

  /* Footer */
  .cw .footer-inner{ flex-direction: column; align-items: flex-start; }
}

/* ---------- 9. DEVELOPER ---------- */
.cw .developer-section{
  background: var(--bg-elevated);
}

/* ========== 开发者专区 · 16:9 轮播图 ========== */
.cw .dev-hero{
  position: relative;
  width: 100%;
  margin: 0 0 44px;
}
.cw .dev-hero-viewport{
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  position: relative;
}
.cw .dev-hero-track{
  display: flex;
  flex-direction: row;
  width: 100%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.cw .dev-hero-slide{
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: block;
}

/* 图片全屏铺满 */
.cw .dev-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cw .dev-hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 35%);
  pointer-events: none;
  z-index: 1;
}
.cw .dev-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms var(--spring);
}
.cw .dev-hero-slide:hover .dev-hero-img{ transform: scale(1.06); }

/* 弥散光装饰（右下角） */
.cw .dev-hero-slide::before{
  content: "";
  position: absolute;
  inset: auto -12% -22% auto;
  width: 60%;
  height: 70%;
  background: var(--card-glow);
  opacity: 0.75;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* 文字渐变蒙层：从左下（文字区）开始往右上提亮文字可读区域 */
.cw .dev-hero-mask{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      120deg,
      rgba(15, 23, 42, 0.56) 0%,
      rgba(15, 23, 42, 0.38) 28%,
      rgba(15, 23, 42, 0.10) 55%,
      rgba(15, 23, 42, 0) 80%
    );
  pointer-events: none;
}

/* 文案绝对定位，左下对齐 */
.cw .dev-hero-copy{
  position: absolute;
  left: 56px;
  bottom: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
}
.cw .dev-hero-kicker{
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.28);
  backdrop-filter: saturate(200%) blur(12px);
  -webkit-backdrop-filter: saturate(200%) blur(12px);
}
.cw .dev-hero-title{
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.cw .dev-hero-sub{
  font-size: clamp(13.5px, 1.25vw, 16px);
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}
.cw .dev-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* 桌面端箭头延伸（与产品轮播一致） */
.cw .dev-carousel-prev{ left: -24px; }
.cw .dev-carousel-next{ right: -24px; }
@media (min-width: 1025px) {
  .cw .dev-carousel-prev{ left:  calc((100vw - 1060px) / -2 - 40px + 16px); }
  .cw .dev-carousel-next{ right: calc((100vw - 1060px) / -2 - 40px + 16px); }
}

/* 指示器 */
.cw .dev-hero-dots{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  padding: 6px 12px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: saturate(200%) blur(18px);
  -webkit-backdrop-filter: saturate(200%) blur(18px);
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.cw .dev-hero-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(15,23,42,0.22);
  transition: width 420ms var(--spring-soft), background 300ms ease;
}
.cw .dev-hero-dot.is-active{
  width: 26px;
  border-radius: 999px;
  background: var(--primary);
}

/* tag 通用类（华容组件系统 / 其他复用） */
.cw .tag{
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 400;
}
.cw .tag-accent{
  background: var(--primary-tint);
  color: var(--primary);
}
.cw .tag-accent-2{
  background: rgba(0, 119, 237, 0.10);
  color: var(--primary);
}
.cw .tag-soft{
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.cw .tag-mono{
  background: rgba(0, 113, 227, 0.08);
  color: var(--primary);
}

/* ---------- 10. FOOTER ---------- */
.cw .site-footer{
  padding: 36px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  background: var(--bg);
}
.cw .footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cw .footer-links{
  display: flex;
  align-items: center;
  gap: 8px;
}
.cw .footer-links a{
  color: var(--text-muted);
  text-decoration: none;
  transition:
    color 280ms var(--spring-soft),
    transform 420ms var(--spring);
  position: relative;
  padding: 3px 6px;
  margin: -3px -6px;
}
.cw .footer-links a::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(0, 113, 227, 0.16) 0%,
    rgba(0, 113, 227, 0.04) 55%,
    transparent 75%
  );
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 400ms var(--spring-soft),
    transform 500ms var(--spring);
  pointer-events: none;
}
.cw .footer-links a:hover{
  color: var(--primary);
  transform: translateY(-0.3px) scale(1.01);
}
.cw .footer-links a:hover::before{
  opacity: 1;
  transform: scale(1);
}

/* =======================================================
   新增模块 1/2 · 统一组件系统 (components-section)
   CLEAR Design：卡片本身不叠加弥散光；组件级光效通过 box-shadow 作用于目标组件自身
   华容 8dp 基准；无多余 blob 叠加
   ======================================================= */
.cw .components-section{ background: var(--bg); }

.cw .comp-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cw .card--comp{
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 344px;
}
.cw .comp-label{
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--primary);
  opacity: 0.9;
}
.cw .comp-stage{
  flex: 1 1 auto;
  min-height: 160px;
  border-radius: var(--r-12dp);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* stage 本身不再叠加弥散光；只作为展示容器 */
}
.cw .comp-desc{
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 舞台 1 · 按钮 */
.cw .comp-stage--btn{
  gap: 16px;
  flex-wrap: wrap;
}

/* 舞台 2 · 卡片（无多层弥散光叠加） */
.cw .comp-stage--card .mini-card{
  width: 100%;
  max-width: 260px;
  border-radius: var(--r-16dp);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* 不再单独加 ::before 弥散光；卡片级已统一处理 */
}
.cw .mini-card-dot{
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary);
  opacity: 0.88;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.cw .mini-card-line{
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.06);
}
.cw .mini-card-line--a{ width: 82%; background: rgba(0, 0, 0, 0.09); }
.cw .mini-card-line--b{ width: 62%; }
.cw .mini-card-line--c{ width: 46%; }

/* 舞台 3 · 标签 */
.cw .comp-stage--tag{
  gap: 10px;
  flex-wrap: wrap;
}

/* 舞台 4 · 栅格 Bento（4列×3行，华容 8dp 间距） */
.cw .comp-stage--grid .mini-bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
}
.cw .mb{
  border-radius: var(--r-8dp);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.025);
}
.cw .mb--a{
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
  border: none;
}
.cw .mb--b{
  grid-column: 3 / span 2;
  grid-row: 1 / span 1;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: none;
}
.cw .mb--c{
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  border: none;
}
.cw .mb--d{
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
  background: linear-gradient(180deg, #ecfeff 0%, #cffafe 100%);
  border: none;
}
.cw .mb--e{
  grid-column: 1 / span 3;
  grid-row: 3 / span 1;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border: none;
}
.cw .mb--f{
  grid-column: 4 / span 1;
  grid-row: 3 / span 1;
}

/* =======================================================
   新增模块 2/2 · 弥散光应用场景 (glowusage-section)
   CLEAR Design 弥散光规则：
   · 卡片本身不叠加弥散光（避免右下角蓝色泛光）
   · 组件级弥散光统一通过 box-shadow 投射到目标组件自身
   · 禁止独立背景 halo/blob 元素（避免 AI glow 乱加）
   ======================================================= */
.cw .glowusage-section{ background: var(--bg-elevated); }

.cw .gu-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* gu-card：卡片本身不叠加弥散光；组件级光效作用于 gu-stage 内部目标 */
.cw .gu-card{
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px;
}

.cw .gu-stage{
  min-height: 200px;
  border-radius: var(--r-16dp);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* stage 容器不独立叠加弥散光 */
}

/* —— 5 场景目标组件：弥散光颜色严格对应 primary 蓝色系（和 btn-primary 一致）
   参数模板来自 L1~LS 规范，将 accent 红 → primary 蓝同透明度 —— */
/* L2 · 按钮（按钮自身蓝色背景，弥散光蓝投影） */
.cw .gu-target-btn{ box-shadow: 0 4px 14px rgba(0, 113, 227, 0.22); }

/* L3 · 卡片（白色卡片，弥散光蓝投影，官网卡片风） */
.cw .gu-target-card{
  width: 100%;
  max-width: 240px;
  background: #fff;
  border-radius: var(--r-20dp);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.26);
}
.cw .gu-target-card b{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cw .gu-target-card span{
  font-size: 13px;
  color: var(--text-secondary);
}

/* L1 · 聚焦柔光（白色输入 + primary 蓝聚焦边框 + L1 蓝弥散光） */
.cw .gu-target-focus{
  width: 100%;
  max-width: 260px;
  height: 46px;
  border-radius: var(--r-12dp);
  background: #fff;
  border: 1px solid rgba(0, 113, 227, 0.45);
  box-shadow: 0 3px 10px rgba(0, 113, 227, 0.18);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* L4 · 徽章强调（primary 蓝徽章 + L4 蓝弥散光） */
.cw .gu-target-badge{
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.35);
}

/* LS · 舞台光源（白色大卡片 + LS 级蓝弥散光，最大级） */
.cw .gu-target-stage{
  width: 100%;
  max-width: 260px;
  min-height: 120px;
  border-radius: var(--r-24dp);
  background: #fff;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.30);
}
.cw .gu-target-stage b{
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cw .gu-target-stage span{
  font-size: 13px;
  color: var(--text-secondary);
}

/* 说明区 */
.cw .gu-info{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}
.cw .gu-level{
  margin: 0;
  font-size: 11px;
  font-family: "SF Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-weight: 500;
  opacity: 0.9;
}
.cw .gu-title{
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.cw .gu-desc{
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =======================================================
   新增模块响应式（单调缩小）
   ======================================================= */
@media (max-width: 1024px) {
  .cw .comp-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cw .card--comp{ padding: 28px 24px 24px; min-height: 320px; }
  .cw .gu-grid{ grid-template-columns: repeat(2, 1fr); }

  /* 开发者专区 · 轮播图平板适配 */
  .cw .dev-hero-slide{
    aspect-ratio: 16 / 10;
    padding: 0;
  }
  .cw .dev-hero-copy{
    max-width: 600px;
    left: 36px;
    bottom: 42px;
  }
  .cw .dev-hero-title{ font-size: clamp(24px, 3vw, 34px); }
  .cw .dev-carousel-prev,
.cw .dev-carousel-next{ width: 44px; height: 44px; }
  .cw .dev-carousel-prev{ left: 4px; }
  .cw .dev-carousel-next{ right: 4px; }
}
@media (max-width: 767px) {
  .cw .comp-grid{ grid-template-columns: 1fr; gap: 16px; }
  .cw .card--comp{ min-height: 300px; padding: 24px 20px 20px; gap: 16px; }
  .cw .comp-stage{ padding: 20px; min-height: 140px; }
  .cw .mini-bento{ max-width: 240px; }
  .cw .gu-grid{ grid-template-columns: 1fr; gap: 16px; }
  .cw .gu-card{ padding: 24px 20px 20px; gap: 16px; }
  .cw .gu-stage{ padding: 20px; min-height: 180px; }

  /* 开发者专区 · 轮播图手机适配 */
  .cw .dev-hero{ margin-bottom: 32px; }
  .cw .dev-hero-viewport{ border-radius: 24px; }
  .cw .dev-hero-slide{
    aspect-ratio: 3 / 4;
    padding: 0;
  }
  .cw .dev-hero-mask{
    background:
      linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.18) 0%,
        rgba(15, 23, 42, 0.34) 35%,
        rgba(15, 23, 42, 0.68) 72%,
        rgba(15, 23, 42, 0.82) 100%
      );
  }
  .cw .dev-hero-copy{
    left: 22px;
    right: 22px;
    bottom: 28px;
    max-width: none;
  }
  .cw .dev-hero-title{ font-size: 26px; }
  .cw .dev-hero-sub{ font-size: 13.5px; }
  .cw .dev-hero-dots{ bottom: 12px; }
  .cw .dev-carousel-prev{ left: 0px; }
  .cw .dev-carousel-next{ right: 0px; }
  .cw .dev-carousel-prev,
.cw .dev-carousel-next{ width: 40px; height: 40px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .cw *::before,
.cw *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cw .reveal{ opacity: 1; transform: none; }
  .cw .product-icon,
.cw .product-icon-bg,
.cw .calc-icon{ animation: none; }
  .cw .hero-bg{ animation: none; opacity: 1; }
  .cw .hero-bg::before{ animation: none; }
}

/* =======================================================
   滚动驱动欢迎动画 · Now → Welcome to CLEAR World
   ======================================================= */
.cw .scroll-hero-section{
  position: relative;
  background: var(--bg-elevated);
}

.cw .scroll-hero-sticky{
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  overflow: hidden;
}

.cw .scroll-hero-content{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.cw .sh-now,
.cw .sh-welcome{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cw .sh-now{
  z-index: 4;
}

.cw .sh-welcome{
  z-index: 3;
  font-size: clamp(28px, 5vw, 52px);
}

.cw .sh-and{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}

.cw .sh-dots{
  display: inline-block;
  animation: none;
}

.cw .sh-final{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cw .sh-final span{
  display: inline-block;
  will-change: filter, opacity, transform;
}

.cw .sh-subtitle{
  position: absolute;
  left: 50%;
  top: calc(50% + 20px);
  transform: translateX(-50%);
  z-index: 5;
  font-size: clamp(12px, 1.7vw, 19px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cw .sh-subtitle span{
  display: inline-block;
  will-change: filter, opacity, transform;
}

.cw .sh-now span,
.cw .sh-welcome span{
  display: inline-block;
  will-change: filter, opacity, transform;
  transition: none;
}

.cw .sh-sp{
  width: 0.4em;
}
