:root {
  color-scheme: light;
  --accent: #12cfc3;
  --accent-deep: #009b96;
  --accent-soft: #dffbf8;
  --ink: #f7fafc;
  --muted: #a8b3bd;
  --canvas: #05090c;
  --soft: #0b1115;
  --webui-matte: #0b1115;
  --panel: #111a20;
  --line: rgba(255, 255, 255, 0.12);
  --site-edge-pad: clamp(34px, 5vw, 78px);
  --site-shell-width: 1040px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 max(var(--site-edge-pad), calc((100vw - var(--site-shell-width)) / 2));
  background: rgba(5, 9, 12, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand,
.nav nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  font-size: 14px;
  font-weight: 600;
}

.brand-word {
  white-space: nowrap;
}

.brand-accent {
  color: var(--accent);
}

.nav nav {
  position: relative;
  gap: 22px;
  font-size: 12px;
}

.language-menu {
  position: relative;
}

.language-trigger {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-menu.is-open .language-trigger {
  border-color: rgba(18, 207, 195, 0.38);
  background: rgba(18, 207, 195, 0.08);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(18, 207, 195, 0.12);
  outline: 0;
}

.language-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(5, 9, 12, 0.92);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.lang small {
  color: rgba(168, 179, 189, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang:hover,
.lang:focus-visible,
.lang.active {
  background: rgba(18, 207, 195, 0.08);
  color: var(--accent-deep);
  outline: 0;
}

.lang.active small {
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 128px) 22px clamp(64px, 8vw, 96px);
  text-align: center;
  background:
    linear-gradient(115deg, rgba(18, 207, 195, 0.13) 0%, rgba(18, 207, 195, 0) 34%),
    linear-gradient(245deg, rgba(70, 214, 207, 0.12) 0%, rgba(70, 214, 207, 0) 36%),
    linear-gradient(180deg, #030608 0%, #071416 58%, var(--soft) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 72%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  content: "";
  background: linear-gradient(180deg, rgba(11, 17, 21, 0), var(--soft));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 20px;
  font-weight: 600;
}

.hero h1 {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--ink);
  text-shadow: 0 24px 80px rgba(18, 207, 195, 0.14);
  font-size: 82px;
  font-weight: 590;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

html[lang="en"] .hero h1 {
  max-width: 1120px;
  font-size: 80px;
}

html[lang="zh-Hant"] .hero h1 {
  max-width: 1040px;
  font-size: 76px;
  line-height: 1.12;
}

.lead {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.52;
  letter-spacing: 0.01em;
}

.hero-actions {
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #001615;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(18, 207, 195, 0.25);
}

.text-link {
  color: var(--accent-deep);
  font-size: 17px;
}

.text-link::after {
  content: " >";
}

.preview-section,
.download-section {
  padding: clamp(72px, 10vw, 118px) 22px;
}

.preview-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(48px, 7vw, 82px);
  background:
    linear-gradient(180deg, #071116 0%, #071116 78%, var(--canvas) 100%);
}

.preview-section::before {
  display: none;
  content: none;
}

.preview-section::after {
  display: none;
  content: none;
}

.preview-section > * {
  position: relative;
  z-index: 1;
}

.download-section {
  padding-top: clamp(58px, 7vw, 92px);
  background:
    linear-gradient(180deg, var(--canvas) 0%, #05090c 42%, #030608 100%);
}

.section-copy {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-copy h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 590;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.section-copy p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
  letter-spacing: 0.01em;
}

.webui-stage {
  position: relative;
  display: block;
  width: min(100%, 1120px);
  margin: 0 auto;
  background: transparent;
  overflow: visible;
}

iframe {
  display: block;
  width: min(100%, 1120px);
  max-width: 1120px;
  height: 820px;
  min-height: 0;
  border: 0;
  background: transparent !important;
  background-color: transparent !important;
  color-scheme: normal;
}

.preview-iframe {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  background: transparent !important;
  background-color: transparent !important;
  color-scheme: normal;
  opacity: 0;
  transform-origin: top left;
}

.preview-iframe[data-fit-ready="true"] {
  opacity: 1;
}

.site-showcase-hint {
  position: fixed;
  z-index: 18;
  display: inline-grid;
  grid-template-columns: 6px max-content 10px;
  align-items: center;
  column-gap: 8px;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(70, 214, 207, 0.2);
  border-radius: 8px;
  background: rgba(8, 17, 20, 0.74);
  color: rgba(245, 247, 250, 0.94);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.05;
  white-space: nowrap;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px) scale(0.98);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  will-change: left, top, opacity, transform;
}

.site-showcase-hint.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.site-showcase-hint__dot {
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(18, 207, 195, 0.64);
}

.site-showcase-hint__copy {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
}

.site-showcase-hint__label {
  display: block;
  justify-self: center;
  line-height: 1;
}

.site-showcase-hint__detail {
  display: none;
  color: rgba(168, 179, 189, 0.9);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.25;
}

.site-showcase-hint.has-detail .site-showcase-hint__detail {
  display: block;
}

.site-showcase-hint__chevron {
  align-self: center;
  color: rgba(18, 207, 195, 0.9);
  font-size: 16px;
  line-height: 1;
}

.site-showcase-hint-ring {
  position: fixed;
  z-index: 17;
  border: 1px solid rgba(18, 207, 195, 0.36);
  border-radius: 12px;
  box-shadow:
    0 0 0 3px rgba(18, 207, 195, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  will-change: left, top, width, height, opacity;
}

.site-showcase-hint-ring.is-visible {
  opacity: 1;
}

.repair-showcase {
  width: min(calc(100vw - 44px), 1480px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px) 0 0;
}

.repair-showcase[hidden] {
  display: none;
}

.repair-showcase__note {
  max-width: 760px;
  margin: 0 auto clamp(24px, 3.5vw, 40px);
  color: rgba(168, 179, 189, 0.92);
  font-size: 20px;
  font-weight: 540;
  line-height: 1.58;
  text-align: center;
}

.repair-showcase__panel {
  position: relative;
  overflow: visible;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.repair-iframe {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  background: transparent;
  transform-origin: top left;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.download-tile {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  border-radius: 30px;
  background: var(--panel);
  padding: 30px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  outline: 0;
  transform: translateY(0);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  will-change: transform;
}

.download-tile.featured {
  background: linear-gradient(180deg, rgba(18, 207, 195, 0.24) 0%, var(--panel) 72%);
}

.download-tile:hover,
.download-tile:focus-visible {
  background:
    linear-gradient(180deg, rgba(18, 207, 195, 0.2) 0%, rgba(18, 207, 195, 0.06) 58%),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(18, 207, 195, 0.36),
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(18, 207, 195, 0.14);
  transform: translateY(-6px);
}

.download-tile.featured:hover,
.download-tile.featured:focus-visible {
  background:
    linear-gradient(180deg, rgba(18, 207, 195, 0.34) 0%, rgba(18, 207, 195, 0.1) 68%),
    var(--panel);
}

.download-tile span {
  color: var(--muted);
  font-size: 17px;
}

.download-tile strong {
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: 0.01em;
}

.download-tile em {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #001615;
  padding: 0 18px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.download-tile:hover em,
.download-tile:focus-visible em {
  background: #20e6db;
  box-shadow: 0 0 22px rgba(18, 207, 195, 0.35);
  transform: translateY(-1px);
}

.footer {
  min-height: 74px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 max(var(--site-edge-pad), calc((100vw - var(--site-shell-width)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer span {
  color: var(--ink);
  font-weight: 600;
}

.footer p {
  margin: 0;
}

.footer div {
  display: grid;
  gap: 5px;
  max-width: min(760px, 100%);
  text-align: right;
}

.footer-legal {
  color: rgba(168, 179, 189, 0.62);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 72px;
  }

  html[lang="en"] .hero h1 {
    max-width: 900px;
    font-size: 68px;
  }

  html[lang="zh-Hant"] .hero h1 {
    font-size: 68px;
  }
}

@media (max-width: 820px) {
  .nav,
  .footer {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }

  .footer div {
    text-align: center;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1.12;
  }

  html[lang="en"] .hero h1 {
    font-size: 48px;
  }

  html[lang="zh-Hant"] .hero h1 {
    font-size: 50px;
  }

  .lead,
  .section-copy p:last-child {
    font-size: 19px;
  }

  .downloads {
    grid-template-columns: 1fr;
  }

  .section-copy h2 {
    font-size: 46px;
  }

  .download-tile {
    min-height: 210px;
  }

  iframe {
    height: 760px;
  }

  .repair-iframe {
    height: 820px;
  }
}

@media (max-width: 460px) {
  .nav nav {
    gap: 14px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  html[lang="en"] .hero h1 {
    font-size: 34px;
  }

  html[lang="zh-Hant"] .hero h1 {
    font-size: 34px;
  }

  .lead,
  .section-copy p:last-child {
    font-size: 17px;
  }

  .section-copy h2 {
    font-size: 40px;
  }

  .preview-section {
    padding-bottom: 74px;
  }

  .site-showcase-hint {
    grid-template-columns: 6px minmax(0, 1fr) 10px;
    max-width: calc(100vw - 24px);
    white-space: normal;
  }

  .site-showcase-hint__copy {
    min-width: 0;
  }

  .site-showcase-hint__label,
  .site-showcase-hint__detail {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    gap: 14px;
  }

  .primary-button,
  .text-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-tile,
  .download-tile em {
    transition: none;
  }

  .download-tile:hover,
  .download-tile:focus-visible,
  .download-tile:hover em,
  .download-tile:focus-visible em {
    transform: none;
  }
}
