:root {
  color-scheme: dark;
  --page: oklch(0.11 0.018 285);
  --page-deep: oklch(0.085 0.018 285);
  --surface: oklch(0.155 0.022 285);
  --surface-raised: oklch(0.19 0.028 285);
  --ink: oklch(0.96 0.008 285);
  --soft: oklch(0.84 0.015 285);
  --muted: oklch(0.72 0.018 285);
  --border: oklch(0.31 0.03 285);
  --border-soft: oklch(0.24 0.025 285);
  --purple: oklch(0.70 0.17 290);
  --purple-strong: oklch(0.63 0.2 290);
  --purple-wash: oklch(0.22 0.055 290);
  --green: oklch(0.76 0.17 155);
  --green-wash: oklch(0.19 0.05 155);
  --shell: 1180px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.6rem 0.85rem; border-radius: 0.5rem; background: var(--ink); color: var(--page); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in oklch, var(--border) 72%, transparent); background: color-mix(in oklch, var(--page) 92%, transparent); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 2.35rem; height: 2.35rem; }
.brand span, .footer-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1rem; letter-spacing: -0.02em; }
.brand small { margin-top: 0.22rem; color: var(--muted); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; }
.site-nav { display: flex; align-items: center; gap: 1.65rem; }
.site-nav > a { color: var(--soft); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.site-nav > a:hover, .site-nav > a:focus-visible { color: var(--ink); }
.site-nav .nav-account { padding: 0.58rem 0.9rem; border: 1px solid var(--purple); border-radius: 0.55rem; color: var(--ink); }
.nav-toggle { display: none; min-height: 2.4rem; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--surface); color: var(--ink); font: inherit; }

.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(34rem, 1.25fr); min-height: 44rem; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); }
.brand-line { margin: 0 0 1.1rem; color: var(--green); font-size: 0.9rem; font-weight: 700; }
.hero h1 { max-width: 10ch; margin: 0; font-size: clamp(2.8rem, 5.2vw, 5.4rem); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lead { max-width: 39rem; margin: 1.6rem 0 0; color: var(--soft); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.85; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: 0.65rem 1.1rem; border-radius: 0.6rem; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: transform 160ms ease-out, background 160ms ease-out, border-color 160ms ease-out; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.button.primary { border: 1px solid var(--purple); background: var(--purple-strong); color: white; }
.button.primary:hover { background: var(--purple); }
.button.secondary { border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.button.secondary:hover { border-color: var(--purple); background: var(--purple-wash); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; margin: 1.55rem 0 0; padding: 0; color: var(--muted); font-size: 0.8rem; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.status-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0.22rem color-mix(in oklch, var(--green) 15%, transparent); }

.hero-visual { position: relative; min-height: 31rem; animation: hero-enter 620ms cubic-bezier(.16,1,.3,1) both; }
.preview-window { overflow: hidden; border: 1px solid var(--border); border-radius: 0.9rem; background: var(--surface); }
.preview-window img { width: 100%; height: 100%; object-fit: cover; }
.window-bar { display: flex; height: 2rem; align-items: center; gap: 0.38rem; padding: 0 0.7rem; border-bottom: 1px solid var(--border-soft); background: var(--surface-raised); }
.window-bar > span { width: 0.43rem; height: 0.43rem; border-radius: 50%; background: var(--border); }
.window-bar > span:first-child { background: var(--purple); }
.window-bar > span:nth-child(2) { background: var(--green); }
.window-bar small { margin-left: auto; color: var(--muted); font-size: 0.62rem; }
.stage-preview { position: absolute; inset: 0 0 3.2rem 2.2rem; }
.music-preview { position: absolute; width: 58%; right: auto; bottom: 0; left: 0; border-color: color-mix(in oklch, var(--green) 55%, var(--border)); }
.music-preview img { aspect-ratio: 1.56; }

.products-section { padding-block: clamp(4.5rem, 8vw, 8rem); border-top: 1px solid var(--border-soft); background: var(--page-deep); }
.section-heading { max-width: 44rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-heading h2, .account-intro h2, .service-section h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.15; letter-spacing: -0.035em; text-wrap: balance; }
.section-heading p, .account-intro p, .service-section p { margin: 0.85rem 0 0; color: var(--muted); text-wrap: pretty; }
.product-row { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr); align-items: center; gap: clamp(2.5rem, 7vw, 6.5rem); }
.product-row + .product-row { margin-top: clamp(5rem, 11vw, 10rem); }
.product-row.stage-row .product-media { order: 2; }
.product-row.stage-row .product-copy { order: 1; }
.product-media { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 0.9rem; background: var(--surface); }
.product-media img { aspect-ratio: 1.58; object-fit: cover; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.product-media:hover img { transform: scale(1.012); }
.product-copy > p { margin: 1.25rem 0 0; color: var(--soft); line-height: 1.85; }
.product-title { display: flex; align-items: center; gap: 0.95rem; }
.product-title h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -0.03em; }
.product-title p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.85rem; }
.product-mark { display: grid; width: 3rem; height: 3rem; flex: 0 0 auto; place-items: center; border-radius: 0.7rem; font-size: 1.05rem; font-weight: 800; }
.music-mark { background: var(--green-wash); color: var(--green); }
.stage-mark { background: var(--purple-wash); color: var(--purple); }
.product-copy ul { display: grid; gap: 0.65rem; margin: 1.4rem 0 0; padding: 0; color: var(--muted); font-size: 0.9rem; list-style: none; }
.product-copy li { position: relative; padding-left: 1.15rem; }
.product-copy li::before { position: absolute; top: 0.7em; left: 0; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--purple); content: ""; }
.music-row .product-copy li::before { background: var(--green); }
.text-link { display: inline-flex; gap: 0.55rem; margin-top: 1.6rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.text-link span { color: var(--purple); transition: transform 160ms ease-out; }
.text-link:hover span { transform: translateX(4px); }

.account-section { margin-block: clamp(4.5rem, 9vw, 8rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.account-intro { display: flex; align-items: center; gap: 1.1rem; }
.account-intro img { width: 3.4rem; height: 3.4rem; }
.account-intro h2 { font-size: clamp(1.65rem, 2.8vw, 2.7rem); }
.account-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2.25rem 0; padding: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); list-style: none; }
.account-flow li { display: flex; min-height: 8.5rem; flex-direction: column; justify-content: center; padding: 1.4rem; }
.account-flow li + li { border-left: 1px solid var(--border); }
.account-flow strong { font-size: 1rem; }
.account-flow span { margin-top: 0.45rem; color: var(--muted); font-size: 0.85rem; line-height: 1.65; }

.service-section { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--border-soft); }
.service-section > div:first-child { max-width: 45rem; }
.service-section h2 { font-size: clamp(1.9rem, 3.3vw, 3.1rem); }
.service-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.75rem; }

.site-footer { border-top: 1px solid var(--border-soft); background: var(--page-deep); }
.footer-inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 1rem; padding-block: 2.25rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 2.2rem; height: 2.2rem; }
.footer-brand strong { font-size: 0.9rem; }
.footer-brand small { margin-top: 0.25rem; color: var(--muted); font-size: 0.72rem; }
.site-footer > .footer-inner > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.72rem; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero h1 { max-width: 12ch; }
  .hero-visual { min-height: 34rem; }
  .product-row { grid-template-columns: 1fr; }
  .product-row.stage-row .product-media, .product-row.stage-row .product-copy { order: initial; }
  .service-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 1.5rem, var(--shell)); }
  .header-inner { min-height: 4rem; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: fixed; top: 4.15rem; right: 0.75rem; left: 0.75rem; display: none; align-items: stretch; flex-direction: column; gap: 0.2rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 0.7rem 0.75rem; }
  .site-nav .nav-account { margin-top: 0.25rem; text-align: center; }
  .hero { gap: 2.8rem; padding-block: 3.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-visual { min-height: 22rem; }
  .stage-preview { inset: 0 0 2.4rem 1rem; }
  .music-preview { width: 66%; }
  .window-bar { height: 1.7rem; }
  .products-section { padding-block: 4rem; }
  .product-row + .product-row { margin-top: 5rem; }
  .account-intro { align-items: flex-start; }
  .account-flow { grid-template-columns: 1fr; }
  .account-flow li { min-height: auto; padding-inline: 0.2rem; }
  .account-flow li + li { border-top: 1px solid var(--border); border-left: 0; }
  .service-actions, .service-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
