:root {
  --sf-shell: #e6eaf1;
  --sf-panel: #ffffff;
  --sf-muted: #f4f6fa;
  --tx-primary: #12161e;
  --tx-secondary: #3a4454;
  --tx-muted: #7a8494;
  --ac-primary: #4f46e5;
  --ac-violet: #7c3aed;
  --bd: rgba(20, 24, 32, 0.08);
  --font: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-enter: cubic-bezier(0.22, 0.02, 0.12, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
[v-cloak] { display: none; }
.landing { --el-color-primary: #4f46e5; }
html { color-scheme: light; }
body.landing {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--tx-primary);
  background: var(--sf-shell);
  overflow-x: hidden;
}

.reveal {
  opacity: 0;
  animation: fade-up 1.8s var(--ease-enter) both;
  animation-delay: var(--d, 0s);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-bg {
  from { opacity: 0; }
  to { opacity: 1; }
}

.landing-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  animation: fade-bg 2.4s var(--ease-enter) both;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(79, 70, 229, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(124, 58, 237, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 100%, rgba(15, 23, 42, 0.06), transparent 60%);
}
.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
}

.wrap {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(20, 24, 32, 0.18);
}
.chip {
  font-size: 12px;
  font-weight: 650;
  color: var(--tx-secondary);
  padding: 6px 10px;
  border: 1px solid var(--bd);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 36px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--ac-primary);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.lead {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--tx-secondary);
  font-size: 17px;
  line-height: 1.7;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 10px 0 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-violet));
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.28);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms var(--ease);
}
.btn-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn.is-off {
  pointer-events: none;
  filter: grayscale(0.35);
  opacity: 0.7;
  box-shadow: none;
}
.meta {
  margin: 0;
  color: var(--tx-muted);
  font-size: 13px;
  line-height: 1.5;
}

.stage {
  position: relative;
  padding: 8px 0 20px;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 12% 6% -12%;
  background: radial-gradient(circle at 50% 40%, rgba(79, 70, 229, 0.28), transparent 68%);
  filter: blur(18px);
  z-index: -1;
}
.app {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f7f8fb);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 28px 60px rgba(24, 30, 45, 0.16),
    0 6px 16px rgba(24, 30, 45, 0.08),
    inset 0 1px 0 #fff;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #f3f5f9;
  border-bottom: 1px solid #e3e7ef;
  font-size: 12px;
}
.app-bar img { width: 16px; height: 16px; border-radius: 4px; }
.app-bar b { color: var(--tx-primary); font-weight: 750; letter-spacing: -0.02em; }
.app-body { display: grid; grid-template-columns: 168px 1fr; min-height: 300px; }
.side {
  padding: 14px 10px;
  background: #eef1f6;
  border-right: 1px solid #e3e7ef;
}
.side small {
  display: block;
  padding: 0 8px 8px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.side p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--tx-secondary);
}
.side p.on {
  background: #fff;
  color: var(--tx-primary);
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.pane { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pane-head strong { font-size: 15px; letter-spacing: -0.03em; }
.run {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-violet));
}
.field {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--tx-muted);
}
.field span {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7f8fb;
  border: 1px solid #e3e7ef;
  color: var(--tx-primary);
  font-size: 12px;
}
.log {
  margin: 0;
  flex: 1;
  min-height: 92px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #151922;
  color: #9ae6b4;
  font: 11.5px/1.55 ui-monospace, Consolas, monospace;
  overflow: hidden;
}
.log .dim { color: #8b93a3; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px 0 28px;
}
.facts article {
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--bd);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}
.facts b {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ac-violet);
}
.facts h2 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.facts p {
  margin: 0;
  color: var(--tx-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.offer-band {
  width: 100vw;
  margin: 36px 0 0 calc(50% - 50vw);
  padding: 56px 20px 52px;
  background:
    radial-gradient(ellipse 70% 80% at 88% 10%, rgba(167, 139, 250, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 60% at 8% 90%, rgba(79, 70, 229, 0.35), transparent 50%),
    linear-gradient(135deg, #171328 0%, #2a1d62 52%, #3d2788 100%);
  color: #fff;
}
.offer {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.offer-kicker {
  margin: 0 0 12px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.2em;
}
.offer h2 {
  margin: 0 0 14px;
  max-width: 16em;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.18;
}
.offer-lead {
  margin: 0;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}
.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.offer-tags li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 650;
}
.offer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}
.offer-line .el-button {
  --el-button-text-color: #fff;
  --el-button-bg-color: rgba(255, 255, 255, 0.12);
  --el-button-border-color: rgba(255, 255, 255, 0.32);
  --el-button-hover-text-color: #fff;
  --el-button-hover-bg-color: rgba(255, 255, 255, 0.2);
  --el-button-hover-border-color: rgba(255, 255, 255, 0.5);
}
.offer-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.offer-line svg {
  width: 22px;
  height: 22px;
  flex: none;
  opacity: 0.92;
}
.offer-line[hidden] { display: none; }
.copy-btn {
  margin-left: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.18); }

.dock {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 48px;
  padding: 14px 8px 16px;
  border: none;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, var(--ac-primary), var(--ac-violet));
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.32);
}
.dock-tab svg {
  width: 22px;
  height: 22px;
}
.dock-tab span {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.22em;
}
.dock-panel {
  width: 240px;
  padding: 14px;
  background: #fff;
  color: var(--tx-primary);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}
.dock-panel[hidden] { display: none; }
.dock-panel p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
}
.dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 10px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: var(--sf-muted);
}
.dock-item:last-child { margin-bottom: 0; }
.dock-item svg { width: 20px; height: 20px; flex: none; color: var(--ac-primary); }
.dock-item small {
  display: block;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 650;
}
.dock-item b { display: block; font-size: 14px; font-weight: 750; word-break: break-all; }
.dock-item .copy-btn {
  margin-left: auto;
  flex: none;
  border-color: var(--bd);
  background: #fff;
  color: var(--ac-primary);
}
.dock-item .copy-btn:hover { background: var(--sf-muted); }
.dock-item[hidden] { display: none; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px 0 48px;
  color: var(--tx-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero, .facts, .app-body { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; gap: 28px; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .landing-bg { animation: none; opacity: 1; }
}
