:root {
  color-scheme: dark;
  --bg: #040305;
  --bg-deep: #09050f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --liquid-surface: rgba(12, 7, 18, 0.28);
  --liquid-edge: rgba(238, 225, 255, 0.28);
  --liquid-edge-soft: rgba(156, 105, 255, 0.22);
  --liquid-shine: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f7f3ff;
  --muted: #b8adc8;
  --purple-deep: #5e2b93;
  --purple: #8f4de7;
  --purple-bright: #dfc4ff;
  --violet-glow: #c28cff;
  --violet-silk: #8c5cff;
  --cyan: #72dfff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #020203;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.hero, .section, .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  width: min(1440px, calc(100% - 40px));
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000000;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 10%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.92) 90%, #000 100%),
    linear-gradient(180deg, #000 0%, transparent 16%, transparent 78%, #000 100%);
  z-index: 2;
}

.hero-visual img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 90%;
  object-fit: cover;
  object-position: center 50%;
  transform: translateX(-50%);
  filter:
    saturate(1.06)
    brightness(0.78)
    contrast(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 10%, #000 25%, #000 75%, rgba(0, 0, 0, 0.38) 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.38) 10%, #000 25%, #000 75%, rgba(0, 0, 0, 0.38) 90%, transparent 100%);
  z-index: 0;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 34px clamp(40px, 6vw, 96px);
  background: #000000;
  text-align: left;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--purple-bright);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    height: clamp(280px, 30vw, 330px);
    min-height: 0;
  }
  .hero-visual {
    height: 100%;
    min-height: 0;
  }
  .hero-copy {
    padding: 28px clamp(16px, 3vw, 40px) 24px clamp(24px, 4vw, 56px);
  }
}

h1 {
  margin-bottom: 20px;
  color: #f7f3ff;
  background: linear-gradient(105deg, #ffffff 0%, #f1dcff 40%, #ca9bff 72%, #9654e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 77px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(194, 140, 255, 0.22);
}

.tagline {
  margin-bottom: 12px;
  color: var(--purple-bright);
  background: linear-gradient(105deg, #f0dcff 0%, #bf8df8 56%, #8e51df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.intro, .section-heading p, .product-copy p, .site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.intro { max-width: 680px; font-size: 20px; }

.product-note {
  margin: -8px 0 0;
  color: var(--purple-bright);
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.button, .product-tags span {
  border: 1px solid var(--liquid-edge);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 42%, rgba(2, 2, 3, 0.06)),
    rgba(18, 9, 30, 0.18);
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(99, 55, 166, 0.16);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: #13051f;
  border-color: rgba(216, 180, 254, 0.72);
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--violet-silk) 56%, var(--cyan) 100%);
}

.product-actions .button {
  color: #ffffff;
  border-color: rgba(225, 198, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04) 34%, transparent 36%),
    linear-gradient(135deg, #a467f2 0%, #7130b8 58%, #4b1f80 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(25, 8, 46, 0.3),
    0 12px 24px rgba(91, 39, 153, 0.22);
}

.product-actions .button:hover {
  color: #ffffff;
  border-color: rgba(239, 222, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 34%, transparent 36%),
    linear-gradient(135deg, #b67bff 0%, #8241cd 58%, #5c2a98 100%);
}

.button.ghost:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.024) 48%, rgba(2, 2, 3, 0.08)),
    rgba(32, 14, 52, 0.24);
}

.section { padding: 110px 0 72px; }
.section-heading { max-width: 760px; margin-bottom: 30px; }

.products-section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 112px;
  background: #020203;
}

.products-section::before {
  content: "";
  position: absolute;
  inset: 10px 0 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 6%, rgba(108, 48, 169, 0.28), transparent 34%),
    radial-gradient(ellipse at 30% 20%, rgba(65, 18, 112, 0.26), transparent 30%),
    radial-gradient(ellipse at 70% 28%, rgba(46, 12, 92, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(8, 4, 14, 0.9) 0%, rgba(18, 6, 35, 0.88) 44%, rgba(5, 3, 8, 0.94) 100%);
  transform-origin: center;
  opacity: 1;
  mask-image: radial-gradient(ellipse at center, #000 44%, rgba(0, 0, 0, 0.9) 56%, transparent 100%);
}

.products-section > * {
  position: relative;
  z-index: 1;
}

.products-stage {
  position: relative;
}

.products-stage::before {
  content: "";
  position: absolute;
  inset: 6px 8px 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(155, 106, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(4, 3, 6, 0) 0%, rgba(4, 3, 6, 0.22) 16%, rgba(4, 3, 6, 0) 100%);
  mask-image: radial-gradient(ellipse at center, #000 48%, transparent 100%);
}

h2 { margin-bottom: 14px; font-size: clamp(34px, 5vw, 58px); line-height: 1.15; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid var(--liquid-edge);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.11), transparent 34%),
    radial-gradient(ellipse at 90% 12%, rgba(172, 112, 255, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008) 44%, rgba(101, 56, 178, 0.07) 100%),
    var(--liquid-surface);
  backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(92, 42, 148, 0.24),
    inset 0 0 32px rgba(194, 140, 255, 0.045),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 8%),
    linear-gradient(118deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.14) 46%, rgba(255, 255, 255, 0.028) 51%, transparent 62%, transparent 100%),
    radial-gradient(ellipse at 50% 100%, rgba(140, 92, 255, 0.16), transparent 44%);
  opacity: 0.74;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 8px 0 18px rgba(255, 255, 255, 0.035),
    inset -10px 0 22px rgba(126, 68, 207, 0.06);
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-heading { width: 100%; padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0; }

.product-heading h3 { margin: 0; }

.product-copy { width: 100%; padding: clamp(28px, 4vw, 48px); }

h3 {
  margin-bottom: 16px;
  color: var(--purple-bright);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.product-tags span { padding: 8px 12px; border-radius: 999px; color: var(--purple-bright); font-size: 14px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-link { width: fit-content; }

.product-media {
  position: relative;
  width: calc(100% - 56px);
  margin: 34px 28px 0;
  overflow: hidden;
  border: 1px solid var(--liquid-edge);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 14% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.006) 48%, rgba(140, 92, 255, 0.05)),
    rgba(5, 4, 7, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(132, 78, 205, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

.screenshot-track { display: flex; transition: transform 320ms ease; }
.screenshot-track img { display: block; flex: 0 0 100%; width: 100%; height: auto; object-fit: cover; object-position: top center; }

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--text);
  background: rgba(5, 4, 7, 0.56);
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-button::before {
  content: "";
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform-origin: center;
}

.slider-button.previous::before {
  transform: rotate(-45deg);
}

.slider-button.next::before {
  transform: rotate(135deg);
}

.slider-button:hover { background: rgba(109, 40, 169, 0.8); }
.slider-button.previous { left: 14px; }
.slider-button.next { right: 14px; }

.slider-dots { position: absolute; right: 0; bottom: 14px; left: 0; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.42); cursor: pointer; }
.slider-dot.active { background: var(--purple-bright); box-shadow: 0 0 10px var(--purple); }

.product-card--placeholder {
  min-height: 100%;
  justify-content: space-between;
}

.placeholder-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 100%;
  padding: clamp(28px, 4vw, 48px);
}

.placeholder-kicker {
  margin-bottom: 18px;
  color: var(--violet-glow);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.placeholder-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(36px, 4.8vw, 60px);
}

.site-footer {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--border);
  background: #020203;
}

.footer-info {
  display: grid;
  gap: 3px;
  max-width: min(620px, 68%);
}

.footer-info p { margin-bottom: 0; line-height: 1.45; }

.footer-art {
  position: relative;
  display: flex;
  align-self: stretch;
  justify-content: flex-end;
  flex: 0 1 auto;
  max-width: min(460px, 38vw);
  min-width: 220px;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.footer-art img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.08) brightness(0.82) contrast(1.04);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1.2fr);
    height: clamp(230px, 42vw, 280px);
    min-height: 0;
  }
  .hero-visual {
    height: 100%;
    min-height: 0;
  }
  .hero-copy {
    justify-content: flex-start;
    padding: 42px 24px 24px;
  }
  .hero-visual img {
    width: 96%;
    object-position: center 50%;
  }
  h1 { font-size: 54px; }
  .tagline { font-size: 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { width: calc(100% - 48px); margin: 28px 24px 0; }
  .site-footer { flex-direction: column; }
  .footer-info { max-width: none; }
  .footer-art { width: min(100%, 420px); max-width: 100%; min-height: 120px; }
  .footer-art img { width: 100%; height: auto; }
  .hero, .section, .site-footer { width: min(100% - 28px, 1180px); }
  .products-section::before { inset: 0; }
  .products-stage::before { inset: 0; }
}

@media (min-width: 521px) and (max-width: 680px) {
  .hero-copy {
    padding: 30px 16px 18px;
  }
  h1 { font-size: 44px; }
  .tagline { font-size: 18px; }
}

@media (max-width: 520px) {
  .intro { font-size: 17px; }
  .hero {
    display: block;
    height: auto;
    min-height: 0;
  }
  .hero-visual {
    width: min(100%, 330px);
    min-height: 0;
    height: clamp(180px, 54vw, 210px);
    margin: 0 auto;
  }
  .hero-visual img {
    width: 88%;
    object-position: center 50%;
  }
  .hero-copy {
    min-height: 0;
    padding: 24px 20px 30px;
  }
  h1 { margin-bottom: 10px; font-size: 46px; }
  .tagline { margin-bottom: 0; font-size: 20px; }
  .hero, .section, .site-footer {
    width: min(100% - 28px, 1440px);
  }
  .product-media { width: calc(100% - 28px); margin: 20px 14px 0; }
}
