/* 动效：页面切换淡入淡出、商品卡片上立体浮动的图标、商品卡片依次出现。
   系统设了“减少动态效果”就全部关掉。 */

/* 页面之间切换：新旧页面交叉淡入淡出，不再是白屏一闪（支持的浏览器才有，不支持的照常） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: mo-fade-out .14s ease both; }
::view-transition-new(root) { animation: mo-fade-in .2s ease both; }
@keyframes mo-fade-out { to { opacity: 0; } }
@keyframes mo-fade-in { from { opacity: 0; } }

/* Pearl white artwork: contour lighting, a continuous sculpted side and the original orbit. */
html .shop-page .cover:not(.photo)[data-mo="1"] {
  background: radial-gradient(ellipse at 50% 44%, #dbe7f2 0%, #e8f0f7 39%, #f8fbfe 76%, #fcfdff 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.7);
}
html .shop-page #catalog .cover[data-brand="chatgpt"]:not(.photo)[data-mo="1"] {
  background: radial-gradient(ellipse at 50% 44%, #afd0ef 0%, #c7def4 39%, #e5f1fd 76%, #f3f8fe 100%);
}
/* The sculpture must not refract a rectangular patch of its blue backdrop. */
html .shop-page #catalog .cover[data-brand="chatgpt"][data-mo="1"] .product-mark {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html .shop-page .cover:not(.photo)[data-mo="1"]::before { display: none; }
html .shop-page .cover:not(.photo)[data-mo="1"]::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
}
html .shop-page .cover[data-mo="1"] .cover-caption {
  color: #526982; font-weight: 500; letter-spacing: .025em;
}
html .shop-page .cover[data-mo="1"] .flag {
  color: #32628e; background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}

/* Shared vector contours stay sharp; the static surface SVG supplies a fine inner bevel. */
html .shop-page .product-mark {
  position: relative; width: 72px; height: 72px; margin-bottom: 7px;
  padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
  -webkit-backdrop-filter: none; backdrop-filter: none; animation: none;
}
html .shop-page .product-mark::before, html .shop-page .product-mark::after { display: none; }
html .shop-page .product-mark > img { display: none; }
.mo-scene { position: absolute; inset: -20px -28px; perspective: 520px; isolation: isolate; }
.mo-model {
  position: absolute; top: 20px; left: 28px; width: 72px; height: 72px;
  transform-style: preserve-3d;
  transform: translateY(3px) rotateX(15deg) rotateY(-26deg) rotateZ(-8deg);
  animation: mo-knot-float 8s cubic-bezier(.45,0,.55,1) infinite;
  animation-delay: var(--mo-phase, 0s);
}
.mo-plane {
  position: absolute; inset: 0; display: block;
  -webkit-mask: url('/static/img/chatgpt-knot.svg') center / contain no-repeat;
  mask: url('/static/img/chatgpt-knot.svg') center / contain no-repeat;
  background: linear-gradient(130deg, #e2eaf2 0%, #c9d7e5 52%, #b0c2d5 100%);
  transform: translateZ(var(--mo-z, 0px));
}
.mo-plane.mo-face { background: #d4e0eb; }
.mo-plane.mo-bevel {
  -webkit-mask: none; mask: none;
  background: url('/static/img/chatgpt-pearl.svg?v=20261013-knot-9') center / contain no-repeat;
  transform: translateZ(.16px);
}
.mo-plane.mo-reflection { background: none; transform: translateZ(.3px); }
.mo-reflection::before {
  content: ''; position: absolute; inset: -12%;
  background: linear-gradient(116deg, transparent 38%, rgba(255,255,255,.92) 47%, transparent 55%);
  opacity: 0; transform: translateX(-55%);
  animation: mo-knot-glint 8s cubic-bezier(.4,0,.6,1) infinite;
  animation-delay: var(--mo-phase, 0s);
}
.mo-halo {
  position: absolute; inset: 8px 18px 9px;
  background: radial-gradient(ellipse, rgba(255,255,255,.45), rgba(255,255,255,.06) 60%, transparent 76%);
  pointer-events: none;
}
.mo-shadow {
  position: absolute; bottom: 5px; left: 35px; width: 58px; height: 11px;
  background: radial-gradient(ellipse, rgba(93,117,145,.20), rgba(93,117,145,.045) 43%, transparent 74%);
  animation: mo-knot-shadow 8s ease-in-out infinite;
  animation-delay: var(--mo-phase, 0s);
}
/* The initial orbit and pronounced turn are retained; only lighting and palette are softened. */
.mo-orbit {
  position: absolute; left: 0; top: 22px; width: 128px; height: 66px;
  border: 1px solid rgba(91,130,170,.22);
  border-top-color: rgba(122,160,197,.16);
  border-bottom-color: rgba(76,113,151,.28);
  border-radius: 50%; pointer-events: none;
  transform: rotate(-32deg); animation: mo-knot-orbit 22s linear infinite;
}
.mo-orbit.is-inner {
  left: 9px; top: 16px; width: 110px; height: 76px;
  border-color: rgba(112,153,194,.10); animation-direction: reverse;
}
.mo-orbit::after {
  content: ''; position: absolute; left: -2px; top: calc(50% - 1.5px);
  width: 3px; height: 3px; border-radius: 50%;
  background: #eef8ff; box-shadow: 0 0 0 1px rgba(113,160,202,.35);
}
.mo-orbit.is-inner::after { display: none; }
@keyframes mo-knot-orbit {
  from { transform: rotate(-32deg); }
  to { transform: rotate(328deg); }
}
.cover[data-mo-visible="0"] .mo-scene *, html[data-mo-hidden="1"] .mo-scene *,
.cover[data-mo-visible="0"] .mo-reflection::before, html[data-mo-hidden="1"] .mo-reflection::before {
  animation-play-state: paused;
}
@keyframes mo-knot-float {
  0%, 100% { transform: translateY(3px) rotateX(15deg) rotateY(-26deg) rotateZ(-8deg); }
  50% { transform: translateY(-5px) rotateX(-8deg) rotateY(26deg) rotateZ(8deg); }
}
@keyframes mo-knot-glint {
  0%, 24% { opacity: 0; transform: translateX(-55%); }
  44% { opacity: .18; }
  64%, 100% { opacity: 0; transform: translateX(55%); }
}
@keyframes mo-knot-shadow {
  0%, 100% { opacity: .8; transform: scaleX(1); }
  50% { opacity: .4; transform: scaleX(.74); }
}

/* 商品卡片：依次淡入上移（只在页面刚出现时播放一次） */
.products.mo-stagger > .product {
  animation: mo-rise .5s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--mo-i, 0) * 60ms);
}
@keyframes mo-rise { from { opacity: 0; transform: translateY(14px); } }

/* 付款方式里的支付宝 / 微信图标 */
html .method .mark.is-brand { background: transparent; box-shadow: none; padding: 0; overflow: hidden; font-size: 0; }
html .method .mark.is-brand { flex: 0 0 auto; }
html .method .mark.is-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
html .demo-methods b.demo-pay-icon { background: transparent; font-size: 0; }
html .demo-methods b.demo-pay-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 质保标签：每张卡片一眼能看到，要点里的重复那一条隐藏；第二条要点（这个套餐的主要差别）加粗 */
.mo-warranty { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 8px; }
.mo-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 650; color: #1b5f9f; background: rgba(214,235,255,.78);
  box-shadow: inset 0 0 0 1px rgba(80,150,214,.28);
}
.mo-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3b8fdc; }
.mo-warranty small { font-size: 11.5px; color: #6a8298; }
.features li[data-mo-hide] { display: none; }
.product .features li:nth-child(2) span { font-weight: 600; color: #25394e; }
.mo-assure { margin: 10px auto 0; max-width: 640px; font-size: 13.5px; color: #4d6a86; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .mo-scene *, .mo-reflection::before, .products.mo-stagger > .product { animation: none !important; }
  .mo-orbit::after { display: none; }
  .mo-model { transform: rotateX(10deg) rotateY(-18deg) rotateZ(-5deg); }
}

/* Claude shares the light glass shell; its official star keeps a warm ceramic surface. */
html .shop-page .cover[data-brand="claude"][data-mo="1"] {
  --mo-mask: url('/static/img/claude-mark.svg');
  --mo-surface: url('/static/img/claude-surface.svg');
  background: radial-gradient(ellipse at 50% 45%, #f2e2d8, #f8eee7 42%, #fcfaff 78%, #fff);
}
.cover[data-brand="claude"] .mo-plane { -webkit-mask-image: var(--mo-mask); mask-image: var(--mo-mask); background: linear-gradient(135deg, #e29978, #a9523c); }
.cover[data-brand="claude"] .mo-face { background: #df8969; }
.cover[data-brand="claude"] .mo-plane.mo-bevel { -webkit-mask: none; mask: none; background: var(--mo-surface) center / contain no-repeat; }
.cover[data-brand="claude"] .mo-plane.mo-reflection { background: none; }
.cover[data-brand="claude"] .mo-orbit { border-color: rgba(191,113,82,.2); border-bottom-color: rgba(191,113,82,.3); }
.cover[data-brand="claude"] .mo-orbit.is-inner { border-color: rgba(207,146,120,.15); }
.cover[data-brand="claude"] .mo-orbit::after { background: #fff8f2; box-shadow: 0 0 0 1px rgba(193,119,88,.4); }
html .shop-page .cover[data-brand="claude"] .cover-caption { color: #956049; }
html .shop-page .cover[data-brand="claude"] .flag { color: #996044; background: rgba(255,255,255,.8); }
html .catalog-brand-switch { display: inline-flex; padding: 5px; gap: 5px; border-radius: 22px; margin-top: 22px; }
html .catalog-brand-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 146px; min-height: 44px; padding: 10px 24px; border-radius: 17px; }
html .catalog-brand-switch button img { width: 22px; height: 22px; object-fit: contain; }
html .catalog-brand-switch button[data-brand="claude"][aria-selected="true"] { color: #925339; background: linear-gradient(135deg,#fff8f1,#f4ded0); box-shadow: inset 0 0 0 1px rgba(197,127,97,.19),0 2px 7px rgba(123,95,77,.08); }
html .catalog-brand-switch button:focus-visible { outline: 2px solid #4384bd; outline-offset: 3px; }
@media (max-width: 480px) { html .catalog-brand-switch button { min-width: 128px; padding-inline: 16px; } }

@media (min-width:1100px) { html .hero-center[data-brand="claude"] + #catalog .products { grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1080px; margin-inline:auto; } }
