:root {
  color-scheme: dark;
  --bg: #090a0f;
  --panel: #11131b;
  --panel-soft: #171a24;
  --text: #f2efe7;
  --muted: #9ca1ad;
  --line: rgba(242, 239, 231, 0.13);
  --lime: #c7ff58;
  --cyan: #5ee7ff;
  --orange: #ff8b5c;
  --pink: #ff6cb7;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -3;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 8%, rgba(199, 255, 88, 0.2), transparent 27rem),
    radial-gradient(circle at 12% 90%, rgba(94, 231, 255, 0.15), transparent 26rem),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  animation: grid-drift 24s linear infinite;
}

body::after {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 24%, rgba(94, 231, 255, 0.24), transparent 15rem),
    radial-gradient(circle at 78% 34%, rgba(199, 255, 88, 0.22), transparent 17rem),
    radial-gradient(circle at 48% 78%, rgba(255, 108, 183, 0.16), transparent 18rem);
  filter: blur(18px);
  animation: aurora-float 16s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0 1px, transparent 1px 5px);
}


.noise::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(199,255,88,0.12) 49%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: scan-light 9s ease-in-out infinite;
}

@keyframes grid-drift {
  0% { transform: translate3d(0, 0, 0) scale(1.02); }
  100% { transform: translate3d(48px, 48px, 0) scale(1.02); }
}

@keyframes aurora-float {
  0% { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); opacity: 0.78; }
  50% { transform: translate3d(2%, 3%, 0) rotate(8deg) scale(1.05); opacity: 0.95; }
  100% { transform: translate3d(4%, -1%, 0) rotate(-5deg) scale(1.08); opacity: 0.82; }
}

@keyframes scan-light {
  0%, 28% { transform: translateX(-120%); opacity: 0; }
  38% { opacity: 0.8; }
  52%, 100% { transform: translateX(120%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .noise::after { animation: none; }
}

a { color: inherit; text-decoration: none; }

.dock {
  position: fixed;
  left: 24px;
  top: 24px;
  bottom: 24px;
  z-index: 20;
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(12, 13, 19, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.dock a:not(.dock-logo),
.dock-menu > button {
  writing-mode: vertical-rl;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 12px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.dock a:not(.dock-logo):hover,
.dock-menu:hover > button,
.dock-menu:focus-within > button { color: var(--text); background: rgba(255,255,255,0.08); }

.dock-menu { position: relative; }
.dock-submenu {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  display: grid;
  gap: 8px;
  min-width: 150px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 13, 19, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.dock-submenu::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 16px;
  height: 100%;
}
.dock-menu:hover .dock-submenu,
.dock-menu:focus-within .dock-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.dock-submenu a {
  writing-mode: horizontal-tb !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  color: var(--muted);
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap;
}
.dock-submenu a:hover { color: var(--text); background: rgba(255,255,255,0.08); }

.dock-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.dock-logo {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.page-shell {
  width: min(1180px, calc(100% - 156px));
  margin-left: max(132px, calc((100% - 1180px) / 2 + 96px));
  padding-right: 24px;
}

.intro-panel {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 64px;
  padding: 78px 0;
}

.tagline, .section-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}
.tagline::before, .section-title span::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin: 22px 0 26px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 span {
  display: inline-block;
  color: var(--lime);
  font-size: 0.72em;
  letter-spacing: -0.012em;
}
.summary {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.solid-link, .line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 900;
}
.solid-link { color: #08090d; background: var(--lime); }
.line-link { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.04); }
.solid-link:hover, .line-link:hover { transform: translateY(-2px); }

.console-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(25,28,38,0.94), rgba(13,14,20,0.92));
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.console-top span { width: 11px; height: 11px; border-radius: 50%; background: #ff625e; }
.console-top span:nth-child(2) { background: #ffbd4f; }
.console-top span:nth-child(3) { background: #00d084; }
.console-top strong { margin-left: auto; color: var(--muted); font-size: 12px; letter-spacing: 0.1em; }
.console-body { padding: 24px; font-family: "SFMono-Regular", Consolas, monospace; }
.console-body p { color: var(--muted); }
.console-body em { color: var(--lime); font-style: normal; }
.console-body ul { display: grid; gap: 12px; list-style: none; margin: 22px 0; padding: 0; }
.console-body li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
}
.console-body b { color: var(--text); }
.console-body span { color: var(--muted); font-size: 13px; }
.progress { height: 12px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,0.08); }
.progress i { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--lime)); }

.software-section, .workflow-section { padding: 70px 0; }
.section-title { display: grid; gap: 14px; margin-bottom: 30px; }
.section-title h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.software-list { display: grid; gap: 14px; }
.software-row { border-radius: 30px; background: var(--panel); }
.row-main {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(90deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}
.row-main::after {
  content: "";
  position: absolute;
  inset: auto -120px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  opacity: 0.25;
  background: var(--accent, var(--lime));
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.row-main:hover::after { opacity: 0.42; transform: scale(1.1); }
.index { color: var(--muted); font-size: 14px; font-weight: 900; letter-spacing: 0.2em; }
.row-main h3 { margin: 0 0 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -0.025em; }
.row-main p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.75; }
.row-main strong {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tg { --accent: var(--cyan); }
.fo { --accent: var(--lime); }
.of { --accent: var(--pink); }

.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.flow-grid > div {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.055);
}
.flow-grid b { color: var(--lime); letter-spacing: 0.18em; }
.flow-grid h3 { margin: 42px 0 10px; font-size: 24px; }
.flow-grid p { color: var(--muted); line-height: 1.7; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

@media (max-width: 960px) {
  .dock {
    position: sticky;
    top: 12px;
    left: auto;
    bottom: auto;
    flex-direction: row;
    width: min(100% - 24px, 720px);
    height: auto;
    margin: 12px auto 0;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    overflow: visible;
  }
  .dock-logo { flex: 0 0 auto; width: 44px; height: 44px; margin: 0; }
  .dock a:not(.dock-logo), .dock-menu > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: max-content;
    writing-mode: horizontal-tb;
    white-space: nowrap;
    letter-spacing: 0.04em;
    padding: 10px 12px;
  }
  .dock-menu { position: relative; flex: 0 0 auto; }
  .dock-submenu {
    left: 50%;
    top: calc(100% + 10px);
    z-index: 30;
    transform: translateX(-50%) translateY(-8px);
  }
  .dock-menu:hover .dock-submenu,
  .dock-menu:focus-within .dock-submenu,
  .dock-menu.is-open .dock-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .dock-submenu::before { left: 0; right: auto; bottom: 100%; top: auto; width: 100%; height: 12px; }
  .page-shell { width: min(100% - 28px, 1180px); margin: 0 auto; padding-right: 0; }
  .intro-panel { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; gap: 28px; }
  .console-card { transform: none; }
  .row-main { grid-template-columns: 1fr; gap: 14px; }
  .flow-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: 36px; line-height: 1.22; letter-spacing: -0.015em; }
  h1 span { font-size: 0.66em; letter-spacing: 0; }
  .summary { font-size: 15px; line-height: 1.8; }
  .section-title h2 { font-size: 30px; line-height: 1.22; letter-spacing: -0.015em; }
  .row-main h3 { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
  .row-main { padding: 22px; border-radius: 24px; }
  .software-row { border-radius: 24px; }
  .console-body { padding: 18px; }
}


.section-title h2,
.row-main h3,
h1 {
  word-break: normal;
  overflow-wrap: anywhere;
}


.detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.24);
}

.detail-list b { color: var(--text); font-size: 20px; }
.detail-list span { color: var(--muted); line-height: 1.65; }

.download-card {
  margin: 40px 0 80px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-card p { max-width: 680px; color: var(--muted); line-height: 1.75; }
.download-card a { opacity: 0.9; cursor: pointer; }
.download-card a[aria-disabled="true"] { opacity: 0.72; cursor: not-allowed; }

@media (max-width: 960px) {
  .download-card { flex-direction: column; align-items: flex-start; }
}


.pricing-section .section-title p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pricing-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: var(--accent, var(--lime));
  opacity: 0.18;
}

.pricing-card.featured {
  border-color: rgba(199,255,88,0.45);
  background: linear-gradient(145deg, rgba(199,255,88,0.12), rgba(255,255,255,0.035));
}

.pricing-card b {
  color: var(--lime);
  letter-spacing: 0.18em;
}

.pricing-card h3 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.pricing-card p {
  min-height: 72px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-card strong {
  display: block;
  margin-top: 22px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-card span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: auto; }
  .pricing-card p { min-height: auto; }
}


.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(100%, 360px);
}

.download-actions .solid-link,
.download-actions .line-link {
  min-height: 46px;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .download-actions { justify-content: flex-start; min-width: 0; }
}
