/* premium.css — 2026-11-09 视觉统一层（最后加载，只做覆盖，不改业务内容）
   方向：安静、留白、大图、细线；去除扫描线/网格/光扫/倾斜等装饰动画，降低移动端绘制开销。 */

:root {
  --ink: #0a0a0a;
  --muted: #6a6a6a;
  --line: #e4e4e1;
  --stage: #f2f2f0;
  --stage-2: #e9e9e6;
  --radius: 4px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

html { -webkit-text-size-adjust: 100%; }
body { color: var(--ink); }
::selection { background: #0a0a0a; color: #fff; }

/* ---------- 去掉装饰性动画与纹理 ---------- */
body::before, body::after,
.hero::before, .hero::after,
.hero-inner::before, .hero-inner::after,
.hero-content::after,
.hero-visual::after,
.frame-card::after, .feature-product::after, .feature-product::before,
.frame-card figure::before, .frame-card figure::after { display: none !important; }

.scroll-progress { height: 2px; }

/* 入场：只保留轻微位移+淡入，去掉 blur 与缩放（模糊滤镜在手机上很耗性能） */
.reveal-ready {
  filter: none !important;
  transform: translate3d(0, 20px, 0) !important;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out) !important;
}
.reveal-ready.is-visible { transform: none !important; }

/* 卡片 3D 倾斜关闭 */
.motion-card, .motion-card:hover { transform: none !important; box-shadow: none !important; }

/* ---------- 顶栏 ---------- */
.site-header {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(10, 10, 10, .06);
}
.desktop-nav a { font-size: 14px; font-weight: 500; color: #333; transition: color .2s; }
.desktop-nav a:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1;
  transition: background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- 首页主视觉 ---------- */
.hero {
  min-height: min(100svh, 960px);
  display: flex; align-items: center;
  padding: 108px 48px 64px;
  border-bottom: 0;
  background:
    radial-gradient(120% 70% at 72% 62%, #ffffff 0%, #f6f6f4 46%, #ececea 100%);
}
.hero-inner {
  grid-template-columns: minmax(320px, .72fr) minmax(460px, 1.28fr);
  gap: 24px;
  width: min(100%, 1360px);
}
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.hero .eyebrow { letter-spacing: .14em; font-size: 12px; color: var(--muted); }
.hero-copy { font-size: 18px; color: #4a4a4a; letter-spacing: .02em; }
.hero-system-line { margin-top: 28px; border-top-color: var(--line); }
.hero-system-line::before { display: none; }
.hero-system-line > span { color: #555; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual, .hero-visual:has(img[src*="mira-black-clean"]) {
  background: transparent !important;
  transform: none !important;
  animation: hero-fade .9s var(--ease-out) .1s both;
}
/* 生成的棚拍地台：柔光地面 + 接触阴影，替代原来的斜切灰框 */
.hero-visual::before {
  display: block !important;
  inset: auto 8% 4% 8% !important;
  height: 18%;
  border: 0 !important;
  border-radius: 50%;
  transform: none !important;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .16), rgba(0, 0, 0, .05) 60%, transparent) !important;
  filter: blur(6px);
}
.hero-visual img {
  transform: none !important;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .10)) !important;
  transition: none !important;
}
@keyframes hero-fade { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }

/* ---------- 版块标题 ---------- */
.section { padding-top: 120px; padding-bottom: 120px; }
.section-head h2, #spect-title, #series-title {
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.section-head { margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-label { letter-spacing: .14em !important; color: var(--muted); font-weight: 600; }
.section-label::after, .eyebrow::after { opacity: .35; }
.section-subhead { display: block !important; margin-top: 72px; }
.section-subhead h3 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; text-align: left !important; }

/* ---------- 车架卡片 ---------- */
.frame-grid { gap: 28px; }
.frame-card {
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.frame-card figure {
  border: 0 !important;
  border-radius: var(--radius);
  background: radial-gradient(90% 70% at 50% 58%, #fbfbfa 0%, var(--stage) 60%, var(--stage-2) 100%) !important;
  min-height: 0;
  padding: 6% 4%;
  transition: background .4s;
}
.frame-card figure img { transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .frame-card:hover figure img { transform: scale(1.025); }
}
.frame-copy { padding: 26px 2px 0 !important; }
.frame-copy h3 { font-size: 34px !important; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 8px; }
.frame-copy > p:not(.card-kicker):not(.mirax-image-note) { color: var(--muted); margin: 0 0 18px; }
.card-kicker { letter-spacing: .14em; font-size: 11px; color: var(--muted); }
.spec-list { margin-top: 18px; }
.spec-list li {
  font-weight: 500 !important;
  font-size: 14px;
  color: #2b2b2b;
  border-top: 1px solid var(--line) !important;
  padding: 12px 0;
}
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.paint-swatch {
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  background: #fff !important;
  font-weight: 500;
  transition: border-color .2s;
}
.paint-swatch.is-active { border-color: var(--ink) !important; }
.text-button {
  font-weight: 600;
  border-bottom-width: 1px !important;
  padding-bottom: 6px;
}
.frame-copy .text-button + .text-button { margin-left: 22px; }

/* ---------- 表格 ---------- */
.table-wrap {
  border: 0 !important;
  border-top: 1px solid var(--ink) !important;
  border-radius: 0;
  box-shadow: none !important;
  /* 可横向滚动时左右出现渐隐阴影提示 */
  background:
    linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left / 40px 100% no-repeat local,
    linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .14), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .14), transparent) right / 14px 100% no-repeat scroll;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { background: transparent; }
.table-wrap th {
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
}
.table-wrap td { border-bottom: 1px solid var(--line); font-weight: 400; color: #2b2b2b; }
.table-wrap td:first-child, .table-wrap td:nth-child(2) { font-weight: 600; color: var(--ink); }
.product-explorer .table-wrap { background-color: transparent; }

/* ---------- 轮组 ---------- */
.product-explorer { background: var(--stage) !important; }
.wheel-wall { border: 0 !important; border-radius: var(--radius); }
.series-tab {
  border-radius: 999px !important;
  border: 1px solid #cfcfcb !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-weight: 600;
  box-shadow: none !important;
}
.series-tab.is-active { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.feature-product {
  border: 0 !important;
  border-radius: var(--radius);
  background: #fff !important;
  overflow: hidden;
}
.feature-visual { background: radial-gradient(80% 70% at 50% 55%, #ffffff, #f4f4f2) !important; border: 0 !important; }
.feature-visual::before, .feature-visual::after { display: none !important; }
.feature-copy h3 { font-weight: 700; letter-spacing: -.01em; }
.feature-specs { border: 0 !important; background: transparent !important; gap: 0 !important; }
.feature-specs div {
  background: transparent !important;
  border-top: 1px solid var(--line);
  min-height: 0 !important;
  padding: 14px 0 !important;
}
.feature-specs dt { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.feature-specs dd { font-weight: 650 !important; font-size: 20px; }
.variant-chip { border-radius: 999px !important; box-shadow: none !important; font-weight: 600; }
.product-explorer .table-wrap {
  background:
    linear-gradient(90deg, var(--stage) 30%, rgba(242, 242, 240, 0)) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--stage) 30%, rgba(242, 242, 240, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .14), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .14), transparent) right / 14px 100% no-repeat scroll;
}

/* 轮组横幅：手机端去掉大块空黑区域 */
@media (max-width: 760px) {
  .wheel-wall > div { min-height: 0 !important; padding: 22px 22px 26px !important; border-left: 0 !important; }
}

/* ---------- 首页底部：购买 + 支持 合并为一行两栏 ---------- */
.all-geometry-link { margin-top: 40px !important; margin-bottom: 0 !important; }
.all-geometry-link a { border-bottom-color: var(--ink) !important; font-weight: 600; }
.home-cta > #buy { margin: 0; max-width: none; }
.home-cta {
  width: min(calc(100% - 96px), 1240px);
  margin: 0 auto;
  padding: 96px 0 112px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-cta > .buy-strip, .home-cta > .home-service {
  width: auto; margin: 0;
  padding: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--stage);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 28px;
}
.home-cta > .buy-strip { background: var(--ink); color: #fff; }
.home-cta > .buy-strip p { color: #b5b5b5; }
.home-cta > .buy-strip .trust-primary { background: #fff; color: var(--ink); border-color: #fff; }
.home-cta h2 { font-size: 28px !important; font-weight: 700 !important; letter-spacing: -.01em; }
.home-cta .trust-primary { border-radius: 999px; padding: 14px 24px !important; font-weight: 600; }

/* ---------- 子页标题统一 ---------- */
.subpage-title h1, .purchase-heading h1 { font-weight: 700 !important; letter-spacing: -.02em; }

/* ---------- 悬浮客服 ---------- */
#service-toggle { border-radius: 999px !important; box-shadow: 0 6px 24px rgba(0, 0, 0, .18) !important; font-weight: 600; }

/* ---------- 平板 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .home-cta { grid-template-columns: 1fr; width: calc(100% - 72px); }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .hero { min-height: 0; display: block; padding: 92px 20px 40px; }
  .hero-inner { gap: 8px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); margin: 12px 0 14px; }
  .hero-copy { font-size: 16px; }
  .hero-system-line { margin-top: 18px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 12px; }
  .hero-visual { margin: 4px -20px 0; }

  .section { padding: 72px 20px; }
  .section-head { margin-bottom: 28px; gap: 12px; }
  .frame-grid { gap: 48px; }
  .frame-copy h3 { font-size: 30px !important; }
  .section-subhead { margin-top: 48px; }

  .feature-specs { grid-template-columns: 1fr 1fr !important; column-gap: 20px !important; }
  .feature-specs dd { font-size: 17px; }

  .home-cta { width: calc(100% - 40px); padding: 56px 0 72px; gap: 12px; }
  .home-cta > .buy-strip, .home-cta > .home-service { padding: 28px 24px; gap: 20px; }
  .home-cta h2 { font-size: 22px !important; }

  /* 悬浮客服在手机上改为圆形图标，减少遮挡 */
  .service-widget { right: 14px !important; bottom: max(14px, env(safe-area-inset-bottom)) !important; }
  #service-toggle {
    width: 52px; height: 52px; min-height: 52px; padding: 0 !important;
    justify-content: center; gap: 0;
    font-size: 0;
  }
  #service-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #service-toggle::before {
    content: ""; width: 22px; height: 22px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h16v10H9.5L5 19.5v-4H4z'/%3E%3Cpath d='M8.5 10.5h.01M12 10.5h.01M15.5 10.5h.01' stroke-linecap='round' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h16v10H9.5L5 19.5v-4H4z'/%3E%3Cpath d='M8.5 10.5h.01M12 10.5h.01M15.5 10.5h.01' stroke-linecap='round' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; }
  .frame-card figure img { transition: none; }
}

/* ---------- 子页细节统一 ---------- */
.trust-primary, .quiet-action + .trust-primary { border-radius: 999px !important; padding-inline: 24px !important; }
.warranty-overview { border: 0 !important; border-top: 1px solid var(--ink) !important; border-radius: 0; padding-left: 0 !important; padding-right: 0 !important; }
.warranty-overview dl, .warranty-overview .warranty-terms { border-color: var(--line) !important; }
.policy-section { border-color: var(--line) !important; }
@media (max-width: 640px) {
  .factory-grid article { min-height: 0 !important; padding-block: 24px !important; }
}
.warranty-doc { border-color: var(--line) !important; background: var(--line) !important; }

/* ---------- 轮组大图查看器（替代跟随鼠标的放大镜） ---------- */
.wheel-magnifier { display: none !important; }
.feature-visual { cursor: zoom-in !important; -webkit-tap-highlight-color: transparent; }
.feature-visual:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.wheel-zoom-hint {
  position: absolute; right: 18px; bottom: 18px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
  pointer-events: none; transition: background .2s, color .2s, border-color .2s;
}
.wheel-zoom-hint::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  .feature-visual:hover .wheel-zoom-hint { background: var(--ink); color: #fff; border-color: var(--ink); }
}
.feature-product:hover .feature-visual img { transform: none !important; }

html.wv-open, html.wv-open body { overflow: hidden; }
html.wv-open .service-widget { visibility: hidden; }
.wv {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: #fcfcfa;
  opacity: 0; transition: opacity .2s ease;
}
.wv.is-open { opacity: 1; }
.wv[hidden] { display: none; }
.wv-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) 16px 12px 24px;
  border-bottom: 1px solid var(--line);
}
.wv-title { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.wv-close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer;
}
.wv-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wv-stage {
  position: relative; flex: 1; overflow: hidden;
  touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none;
}
.wv.is-zoomed .wv-stage { cursor: grab; }
.wv.is-zoomed .wv-stage:active { cursor: grabbing; }
.wv-img {
  position: absolute; left: 0; top: 0; max-width: none;
  transform-origin: 0 0; will-change: transform;
  transition: opacity .25s;
}
.wv-loading {
  position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%;
  animation: wv-spin .8s linear infinite; opacity: 0; pointer-events: none;
}
.wv.is-loading .wv-loading { opacity: 1; }
@keyframes wv-spin { to { transform: rotate(360deg); } }
.wv-tip {
  margin: 0; padding: 12px 16px max(14px, env(safe-area-inset-bottom));
  text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .wheel-zoom-hint { right: 12px; bottom: 12px; padding: 7px 12px 7px 10px; }
  .wv-bar { padding-left: 16px; }
}
