/* FoxDub 官网：沿用小狸插件浅色模式的品牌色和中文系统字体。 */
:root {
  color-scheme: light;
  --paper: #fffdf9;
  --ink: #1c1917;
  --ink-secondary: #44403c;
  --muted: #78716c;
  --fox: #e85d04;
  --fox-deep: #c2410c;
  --fox-soft: #fff1e6;
  --teal: #0f766e;
  --header-height: 104px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--fox); outline-offset: 5px; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* 固定导航：滚动时始终停留在顶部，不收缩或移动。 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header-height);
  background: rgba(255, 253, 249, .9);
  border-bottom: 1px solid rgba(222, 211, 198, .55);
  box-shadow: 0 4px 28px rgba(91, 52, 23, .025);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 4, .3), transparent);
  pointer-events: none;
}
.header-inner {
  max-width: 1480px;
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 16px clamp(24px, 4vw, 64px);
  padding-left: 32px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
}
.brand { display: flex; align-items: center; flex-shrink: 0; color: inherit; text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-heading { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: block; width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px rgba(232, 93, 4, .13); }
.brand-title { display: flex; align-items: baseline; gap: 9px; margin: 0; font-size: 22px; line-height: 1.2; white-space: nowrap; }
.brand-english { font-family: "Avenir Next", "Segoe UI", sans-serif; font-weight: 750; letter-spacing: -.8px; }
.brand-period { color: var(--fox); }
.brand-tagline { margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: .15px; color: var(--muted); white-space: nowrap; }
.brand-tagline span { padding: 0 4px; color: #b2a599; }

.navigation { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); margin-left: auto; }
.nav-pages, .nav-tools { display: flex; align-items: center; gap: 5px; }
.nav-pages { gap: clamp(5px, 1vw, 15px); }
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 9px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: default;
  transition: color .2s ease, background .2s ease;
}
a.nav-item { cursor: pointer; }
.nav-item:hover { color: var(--fox-deep); background: rgba(255, 235, 218, .52); }
.nav-item.is-current { color: var(--fox-deep); font-weight: 600; }
.nav-item.is-current::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--fox);
  transform: translateX(-50%);
}
.chevron { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-divider { width: 1px; height: 19px; background: #e8e0d8; }
.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  padding: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f6962;
  cursor: default;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.icon-button:hover { color: var(--fox-deep); background: var(--fox-soft); transform: translateY(-1px); }
.icon-button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat-dots { stroke-width: 2.8; }
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  margin-left: 5px;
  padding: 8px 5px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 14px;
  white-space: nowrap;
  cursor: default;
  transition: color .2s ease, background .2s ease;
}
.language-button:hover { color: var(--fox-deep); background: var(--fox-soft); }
.language-icon { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; }
.install-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 42px;
  padding: 11px 17px;
  overflow: hidden;
  border: 1px solid rgba(214, 91, 14, .12);
  border-radius: 12px;
  background: linear-gradient(125deg, #ff873d 0%, #ee6a17 45%, #e85d04 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 5px 14px rgba(232, 93, 4, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.install-button svg, .install-cta-button svg { flex-shrink: 0; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.install-button::after {
  content: "";
  position: absolute;
  inset: -70% -50%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: button-shimmer 9s ease-in-out infinite;
}
.install-button:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(232, 93, 4, .22); }
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--fox);
  border-radius: 12px;
  background: transparent;
  color: var(--fox-deep);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: default;
  transition: background .2s ease, border-color .2s ease;
}
.account-button:hover { background: var(--fox-soft); border-color: var(--fox-deep); }

/* 首屏字标与核心功能框，下方由波浪自然过渡到产品介绍。 */
.page-space { position: relative; min-height: 100vh; padding-top: var(--header-height); overflow: hidden; }
.page-space:focus { outline: none; }
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 118px 24px 160px;
  text-align: center;
}
.hero-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 750;
  line-height: 1.1;
  animation: hero-reveal .7s ease-out both;
}
.hero-title .brand-english { letter-spacing: -.045em; }
.hero-tagline {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  animation: hero-reveal .7s .24s ease-out both;
}
.hero-capabilities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 22px;
  border: 1px solid rgba(232, 93, 4, .19);
  border-radius: 15px;
  background: linear-gradient(115deg, rgba(255, 247, 238, .92), rgba(255, 255, 255, .94) 52%, rgba(242, 250, 247, .85));
  box-shadow: 0 8px 30px rgba(99, 54, 24, .045), inset 0 1px 0 #fff;
  animation: hero-reveal .7s .12s ease-out both;
}
.core-feature { display: flex; align-items: center; gap: 8px; color: var(--ink-secondary); font-size: 16px; font-weight: 550; white-space: nowrap; }
.core-icon { display: grid; place-items: center; width: 24px; height: 24px; }
.core-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.core-icon-dubbing { color: var(--fox); }
.core-icon-translation { color: var(--teal); }
.core-divider { width: 1px; height: 20px; background: #e7dfd5; }

/* 波浪分割介绍区：左侧介绍，右侧图片与后续视频共用 16:9 容器。 */
.about-section {
  --about-bg: #f5f3ef;
  position: relative;
  z-index: 2;
  padding: 52px 32px 104px;
  background: var(--about-bg);
}
.section-wave { position: absolute; top: -110px; left: 0; width: 100%; height: 112px; fill: var(--about-bg); pointer-events: none; }
.about-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr); align-items: center; gap: 72px; max-width: 1160px; margin: 0 auto; }
.about-copy { min-width: 0; }
.about-copy h2 { margin: 0 0 24px; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.about-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.95; }
.about-copy .about-lead { margin-bottom: 18px; color: var(--ink-secondary); font-size: 1.125rem; line-height: 1.8; }
.about-copy strong { color: var(--ink-secondary); font-weight: 600; }
.about-media { min-width: 0; margin: -36px 0 0; }
.about-media-frame { position: relative; padding: 7px; overflow: hidden; border: 1px solid rgba(224, 216, 205, .6); border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(63, 48, 32, .08); }
.about-media-frame img, .about-media-frame video, .about-media-frame iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 15px; }
/* 比例由视频本身决定，外框内边距不参与 16:9 计算，避免两侧产生黑边。 */
/* 视频与元素同为 16:9，直接贴满元素，透明底色避免缩放取整时露出单侧黑缝。 */
.about-media-frame video { height: auto; aspect-ratio: 16 / 9; object-fit: fill; background: transparent; }
.intro-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(58px, 6vw, 76px); aspect-ratio: 1; padding: 0; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .96); box-shadow: 0 2px 12px rgba(0, 0, 0, .12); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: pointer; }
.intro-play[hidden] { display: none; }
.intro-play:hover { background: rgba(255, 255, 255, .34); }
.intro-play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.intro-play:disabled { cursor: wait; }
.intro-play svg { width: 34px; height: 34px; fill: currentColor; }

/* 支持平台：每组末尾的留白与组内间距一致，平移半条轨道即可无缝衔接。 */
.platforms-section {
  --platform-width: 190px;
  --platform-gap: 96px;
  position: relative;
  z-index: 2;
  padding: 30px 0 38px;
  background: #faf9f6;
}
.platforms-heading { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px 22px; }
.platforms-heading h2 { margin: 0; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: .03em; text-align: center; }
.platforms-toggle { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; padding: 6px; border: 1px solid #e5e0d8; border-radius: 50%; background: transparent; color: #8a8176; cursor: pointer; transition: color .2s, border-color .2s; }
.platforms-toggle[hidden] { display: none; }
.platforms-toggle:hover { color: var(--fox); border-color: #eeb995; }
.platforms-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.platforms-toggle .play-icon { display: none; }
.platforms-section[data-paused="true"] .pause-icon { display: none; }
.platforms-section[data-paused="true"] .play-icon { display: block; }
/* Logo 轨道固定从左到右布局，使复制列表与向左平移动画在 RTL 页面中仍连续衔接。 */
.platforms-scroll { direction: ltr; overflow: hidden; padding: 28px 0; border-top: 1px solid #eae6df; border-bottom: 1px solid #eae6df; }
.platforms-scroll:focus-visible { outline: 2px solid var(--fox); outline-offset: -2px; }
.platforms-track { display: flex; width: max-content; }
.platforms-section.is-ready .platforms-track { animation: platforms-scroll 120s linear infinite; }
.platforms-group { display: flex; align-items: center; flex-shrink: 0; gap: var(--platform-gap); margin: 0; padding: 0 var(--platform-gap) 0 0; list-style: none; }
.platform { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 10px; width: var(--platform-width); height: 42px; color: #85817b; white-space: nowrap; }
.platform img { display: block; flex-shrink: 0; width: 34px; height: 34px; object-fit: contain; }
.platform span { font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: 22px; font-weight: 650; letter-spacing: -.6px; }
.platform-wordmark img { width: auto; max-width: calc(var(--platform-width) - 10px); height: 34px; }
.platforms-section[data-paused="true"] .platforms-track, .platforms-scroll:focus-within .platforms-track { animation-play-state: paused; }
@keyframes platforms-scroll { to { transform: translateX(-50%); } }
@media (hover: hover) {
  .platforms-scroll:hover .platforms-track { animation-play-state: paused; }
}

/* 两种功能对照：橙色字幕配音、青绿色同声配音，共用一处充值入口。 */
.features-section {
  position: relative;
  z-index: 2;
  padding: 88px 32px 96px;
  background: radial-gradient(ellipse at 12% 65%, rgba(255, 233, 211, .22), transparent 55%), radial-gradient(ellipse at 88% 70%, rgba(208, 234, 226, .2), transparent 55%), var(--paper);
}
.features-inner { max-width: 1160px; margin: 0 auto; }
.features-heading { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.features-heading h2 { margin: 0 0 14px; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }
.features-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border: 1px solid #eedbcc;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 24px rgba(74, 50, 30, .035);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card-live { border-color: #c8dfd8; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(74, 50, 30, .065); }
.feature-card-heading { display: flex; align-items: flex-start; gap: 16px; }
.feature-card-heading > div { min-width: 0; }
.feature-card-heading h3 { margin: 0; font-size: 1.5rem; font-weight: 650; line-height: 1.4; }
.feature-card-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--fox-soft); color: var(--fox); }
.feature-card-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-card-live .feature-card-icon { background: #eaf5ef; color: var(--teal); }
.feature-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.feature-description { flex: 1; margin: 24px 0 0; color: var(--ink-secondary); font-size: 1rem; line-height: 1.9; }
.feature-benefits { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-benefits li { position: relative; padding-left: 26px; color: var(--ink-secondary); font-size: 1rem; line-height: 1.75; }
.feature-benefits li::before { content: ""; position: absolute; top: .5em; left: 3px; width: 7px; height: 12px; border-right: 1.8px solid #12a878; border-bottom: 1.8px solid #12a878; transform: rotate(45deg); }
.features-footer { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; text-align: center; }
.recharge-copy { max-width: 520px; margin: 0; color: var(--ink-secondary); font-size: 1rem; font-weight: 500; line-height: 1.8; }
.recharge-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 160px; padding: 12px 38px; border: 1px solid rgba(214, 91, 14, .12); border-radius: 12px; background: linear-gradient(125deg, #ff873d, #ee6a17 45%, #e85d04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 5px 16px rgba(232, 93, 4, .15); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.5; cursor: default; transition: transform .2s ease, box-shadow .2s ease; }
.recharge-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 93, 4, .2); }
a.recharge-button { text-decoration: none; cursor: pointer; }

/* 两组产品展示共用图片框与排版，同声翻译区反向排列。 */
.product-showcase {
  position: relative;
  z-index: 2;
  padding: 112px 32px 128px;
  border-top: 1px solid #eee8e0;
  background: #fff;
}
.product-showcase-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); align-items: center; gap: 72px; max-width: 1160px; margin: 0 auto; }
.product-showcase-media { min-width: 0; margin: 0; padding: 6px; overflow: hidden; border: 1px solid #ede7df; border-radius: 20px; background: var(--paper); box-shadow: 0 18px 48px rgba(63, 48, 32, .09); }
.product-showcase-media img { display: block; width: 100%; height: auto; border-radius: 14px; }
.product-showcase-copy { min-width: 0; }
.product-showcase-copy h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.4; letter-spacing: -.035em; }
.product-showcase-copy h2 span { display: block; }
.product-showcase-name { margin-bottom: 12px; color: var(--fox-deep); }
.product-showcase-copy p { max-width: 360px; margin: 24px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.live-showcase { background: #f5f6f6; }
.live-showcase .product-showcase-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); }
.live-showcase .product-showcase-copy { order: -1; }
.live-showcase .product-showcase-name { color: var(--teal); }

/* 支持语言：卡片沿用品牌色，全球语言图标采用明亮浅色。 */
.languages-section {
  position: relative;
  z-index: 2;
  padding: 88px 32px 96px;
  border-top: 1px solid #eee8e0;
  background: linear-gradient(180deg, #fffdf9, #fff);
}
.languages-inner { max-width: 1160px; margin: 0 auto; }
.languages-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.languages-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border: 1px solid #d6eef0; border-radius: 18px; background: linear-gradient(135deg, #eef9ff, #e7faf1); color: #149fad; box-shadow: 0 6px 16px rgba(20, 159, 173, .08); }
.languages-icon svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.languages-heading h2 { margin: 0 0 16px; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }
.languages-count { color: var(--fox-deep); }
.languages-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.languages-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.language-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 118px; padding: 18px 10px; border: 1px solid #eee5dc; border-radius: 14px; background: #fff; text-align: center; transition: border-color .2s ease, box-shadow .2s ease; }
.language-code { color: var(--fox-deep); font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.language-native { max-width: 100%; color: var(--ink-secondary); font-size: 1rem; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.language-name { color: var(--muted); font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.languages-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 32px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.languages-note > span[aria-hidden="true"] { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.install-cta { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid #eee8e0; text-align: center; }
.install-cta-copy { max-width: 620px; margin: 0; color: var(--ink-secondary); font-size: 1rem; line-height: 1.9; }
.install-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 52px; padding: 14px 28px; border: 1px solid rgba(232, 93, 4, .12); border-radius: 13px; background: linear-gradient(125deg, #ff873d, #f97316 55%, #ed6818); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 6px 18px rgba(232, 93, 4, .14); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: default; transition: transform .2s ease, box-shadow .2s ease; }
.install-cta-button span { min-width: 0; overflow-wrap: anywhere; }
a.install-cta-button { cursor: pointer; }
@media (hover: hover) {
  .language-card:hover { border-color: #b6d8cf; box-shadow: 0 5px 18px rgba(15, 118, 110, .06); }
  .install-cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232, 93, 4, .18); }
}
@media (max-width: 1100px) {
  .languages-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ambient { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(65px); will-change: transform; }
.ambient-orange {
  width: min(60vw, 850px);
  height: 520px;
  top: -230px;
  left: -160px;
  background: radial-gradient(ellipse, rgba(255, 162, 84, .14), rgba(255, 192, 133, .05) 55%, transparent 75%);
  animation: orange-drift 24s ease-in-out infinite alternate;
}
.ambient-teal {
  width: min(46vw, 640px);
  height: 500px;
  top: 50px;
  right: -260px;
  background: radial-gradient(ellipse, rgba(123, 197, 185, .09), rgba(155, 213, 197, .025) 55%, transparent 75%);
  animation: teal-drift 28s ease-in-out infinite alternate;
}
.ambient-grid {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 440px;
  pointer-events: none;
  opacity: .17;
  background-image: radial-gradient(#bcb3a9 .65px, transparent .65px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
@keyframes button-shimmer { 0%, 72% { transform: translateX(-100%); } 91%, 100% { transform: translateX(100%); } }
@keyframes orange-drift { to { transform: translate(75px, 35px) scale(1.06); } }
@keyframes teal-drift { to { transform: translate(-60px, 60px); } }
@keyframes hero-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* 窄屏导航另起一行；手机将登录入口保留在右上角，安装入口放到第二行。 */
@media (max-width: 1320px) {
  :root { --header-height: 146px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 14px; row-gap: 8px; padding: 12px 28px 9px 20px; }
  .brand { grid-column: 1; grid-row: 1; }
  .install-button { grid-column: 2; grid-row: 1; }
  .account-button { grid-column: 3; grid-row: 1; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 16px; width: 100%; margin: 0; }
  .nav-pages { gap: 20px; }
  .nav-tools { gap: 8px; }
  .nav-divider { margin-left: auto; }
}
@media (max-width: 900px) {
  .about-section { padding: 40px 28px 72px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; max-width: 640px; }
  .about-media { margin: 0; }
  .features-section { padding: 72px 28px 80px; }
  .feature-card { padding: 28px; }
  .product-showcase { padding: 80px 28px 88px; }
  .product-showcase-inner, .live-showcase .product-showcase-inner { grid-template-columns: 1fr; gap: 40px; max-width: 640px; }
  .product-showcase-copy p { max-width: 100%; }
  .live-showcase .product-showcase-copy { order: 0; }
  .languages-section { padding: 72px 28px 80px; }
}
@media (max-width: 760px) {
  .features-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 600px) {
  :root { --header-height: 139px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px 8px 12px; row-gap: 8px; }
  .brand-heading { gap: 7px; }
  .brand-logo { width: 27px; height: 27px; border-radius: 8px; }
  .brand-title { gap: 7px; font-size: 19px; }
  .brand-copy { gap: 6px; }
  .brand-tagline { font-size: 12px; letter-spacing: 0; }
  .brand-tagline span { padding: 0 1px; }
  .install-button { grid-column: 2; grid-row: 2; min-height: 38px; padding: 9px 12px; font-size: 13px; }
  .account-button { grid-column: 2; grid-row: 1; min-height: 38px; padding: 8px 12px; }
  .install-button svg { display: none; }
  .navigation { grid-column: 1; min-width: 0; justify-content: flex-start; gap: 11px; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; }
  .navigation::-webkit-scrollbar { display: none; }
  .nav-pages { gap: 11px; flex-shrink: 0; }
  .nav-item { padding: 8px 4px; font-size: 14px; }
  .nav-divider { flex-shrink: 0; margin-left: 0; }
  .nav-tools { gap: 4px; flex-shrink: 0; }
  .icon-button { width: 32px; }
  .language-button { padding-right: 8px; }
  .ambient-orange { width: 95vw; height: 360px; }
  .ambient-teal { right: -130px; width: 75vw; }
  .hero { padding: 82px 16px 120px; gap: 18px; }
  .hero-tagline { font-size: 16px; }
  .hero-capabilities { max-width: 100%; gap: 16px; padding: 10px 18px; border-radius: 13px; }
  .core-feature { gap: 7px; font-size: 14px; }
  .core-icon { width: 22px; height: 22px; }
  .core-icon svg { width: 20px; height: 20px; }
  .core-divider { height: 18px; }
  .about-section { padding: 30px 20px 56px; }
  .section-wave { top: -70px; height: 72px; }
  .about-inner { gap: 30px; }
  .about-copy h2 { margin-bottom: 20px; }
  .about-copy .about-lead { font-size: 1rem; }
  .about-media-frame { padding: 5px; border-radius: 18px; }
  .about-media-frame img, .about-media-frame video, .about-media-frame iframe { border-radius: 12px; }
  .platforms-section { --platform-width: 170px; --platform-gap: 64px; padding: 24px 0 28px; }
  .platforms-heading { gap: 10px; padding: 0 16px 18px; }
  .platforms-heading h2 { font-size: 14px; letter-spacing: 0; }
  .platforms-scroll { padding: 22px 0; }
  .platforms-section.is-ready .platforms-track { animation-duration: 100s; }
  .platform img { width: 30px; height: 30px; }
  .platform span { font-size: 20px; }
  .platform-wordmark img { width: auto; height: 30px; }
  .features-section { padding: 56px 20px 64px; }
  .features-heading { margin-bottom: 30px; }
  .features-grid { gap: 20px; }
  .feature-card { padding: 24px; border-radius: 18px; }
  .feature-card-heading { gap: 12px; }
  .feature-card-heading h3 { font-size: 1.375rem; }
  .feature-card-icon { width: 42px; height: 42px; border-radius: 12px; }
  .feature-card-icon svg { width: 23px; height: 23px; }
  .feature-description { margin-top: 22px; }
  .feature-benefits { gap: 12px; margin-top: 24px; }
  .features-footer { margin-top: 30px; }
  .product-showcase { padding: 56px 20px 64px; }
  .product-showcase-inner, .live-showcase .product-showcase-inner { gap: 30px; }
  .product-showcase-media { padding: 4px; border-radius: 16px; }
  .product-showcase-media img { border-radius: 11px; }
  .product-showcase-name { margin-bottom: 8px; }
  .product-showcase-copy p { margin-top: 18px; }
  .languages-section { padding: 56px 20px 64px; }
  .languages-heading { margin-bottom: 30px; }
  .languages-icon { width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; }
  .languages-icon svg { width: 30px; height: 30px; }
  .languages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .language-card { min-height: 112px; padding: 16px 12px; border-radius: 12px; }
  .languages-note { margin-top: 24px; }
  .install-cta { gap: 20px; margin-top: 36px; padding-top: 30px; }
  .install-cta-button { padding: 13px 24px; }
}
@media (max-width: 380px) {
  .header-inner { padding-right: 12px; padding-left: 12px; column-gap: 7px; }
  .brand-logo { width: 25px; height: 25px; }
  .brand-title { gap: 5px; font-size: 17px; }
  .install-button { padding: 9px 8px; font-size: 12px; }
  .hero-capabilities { gap: 14px; padding-right: 16px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .platforms-scroll { overflow-x: auto; scrollbar-width: thin; }
  .platforms-track { transform: none !important; }
  .platforms-toggle, .platforms-group.is-duplicate { display: none; }
}

/* 登录态占据原登录按钮位置：皇冠 VIP、邮箱前缀、橙色人物头像。 */
.account-area { flex-shrink: 0; min-width: 0; }
.account-area [hidden] { display: none !important; }
.account-button { text-decoration: none; cursor: pointer; }
.account-user { display: flex; align-items: center; gap: 9px; }
.account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-secondary); font-size: .875rem; font-weight: 600; }
.account-vip { text-decoration: none; }
  .account-vip {
    --crown-light: #d8dde3; --crown-mid: #aeb6c0; --crown-deep: #89939f;
    display: inline-flex; align-items: center; justify-content: center; gap: 1px; zoom: .9;
    width: 76px; height: 22px; border-radius: 7px;
    background: linear-gradient(135deg, #f0f1f3, #dfe2e6);
    color: #72757b; font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 13px; font-weight: 700; line-height: 1;
    letter-spacing: 1.3px; white-space: nowrap;
    border: 0; padding: 0; cursor: pointer;
    transition: filter .15s ease, box-shadow .15s ease, transform .15s ease;
  }
  .account-vip:hover {
    filter: brightness(1.06);
    box-shadow: 0 2px 8px rgba(28, 25, 23, .18);
  }
  .account-vip:focus-visible { outline: 2px solid var(--fox); outline-offset: 3px; }
  .account-vip:active { transform: translateY(1px); filter: brightness(.97); }
  .account-vip > span {
    /* 按大写字母的实际高度裁去字体上下留白，避免行框居中但字形偏上。 */
    text-box-trim: trim-both; text-box-edge: cap alphabetic;
    /* 最后一个字母后的字距不计入整组居中宽度。 */
    margin-right: -1.3px;
  }
  @supports not (text-box-trim: trim-both) {
    /* 旧版 Chromium 的字体视觉居中兜底。 */
    .account-vip > span { transform: translateY(1px); }
  }
  .account-vip svg {
    display: block; width: 25px; height: 22px; flex-shrink: 0;
    /* 左移后与文字仍保持约 4px 间距，顶部仅略高出底框。 */
    transform: translate(-3px, -2px);
    color: #9ca3ad; filter: drop-shadow(0 0 1px rgba(73, 80, 90, .12));
  }
  .account-vip.active {
    --crown-light: #fff09a; --crown-mid: #ffd044; --crown-deep: #f4a619;
    background: linear-gradient(120deg, #fff4d3 0%, #ffe6a1 45%, #f8d078 100%);
    color: #915b0a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 7px rgba(194, 139, 29, .15);
  }
  .account-vip.active svg {
    color: #f5b624; filter: drop-shadow(0 0 1px rgba(190, 126, 13, .16));
  }
  .account-vip.active:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 10px rgba(194, 139, 29, .3);
  }

.account-menu { position: relative; }
.account-avatar { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.account-avatar svg { display: block; width: 28px; height: 28px; }
.account-avatar:hover { background: var(--fox-soft); }
.account-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: min(240px, calc(100vw - 32px)); padding: 8px; border: 1px solid #eee5dc; border-radius: 12px; background: #fffdf9; box-shadow: 0 12px 34px rgba(28,25,23,.12); }
.account-email { margin: 5px 8px 9px; color: var(--muted); font-size: .8125rem; overflow-wrap: anywhere; }
.account-menu-item { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-secondary); font-size: .875rem; line-height: 1.5; text-align: left; text-decoration: none; cursor: pointer; }
.account-menu-item:hover { background: var(--fox-soft); color: var(--fox-deep); }
.account-menu-item:disabled { opacity: .6; cursor: wait; }
.account-status { margin: 8px; color: #b91c1c; font-size: .8125rem; line-height: 1.6; }
@media (max-width: 1320px) { .account-area { grid-column: 3; grid-row: 1; } }
@media (max-width: 600px) {
  .account-area { grid-column: 2; grid-row: 1; }
  .account-user { gap: 5px; }
  .account-name { max-width: clamp(24px, 9vw, 54px); }
  .account-avatar { width: 28px; height: 28px; }
  .account-avatar svg { width: 24px; height: 24px; }
}
