/* =========================================================
   Landing page (guest home) — dark teal theme
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #020617;
  color: #f3f4f6;
}

.landing {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #020617;
  color: #f3f4f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

/* ---------- background decoration ---------- */

.landing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}

.blob-1 {
  top: -160px;
  right: -160px;
  width: 384px;
  height: 384px;
  background: rgba(45, 212, 191, 0.2);
}

.blob-2 {
  bottom: -160px;
  left: -160px;
  width: 384px;
  height: 384px;
  background: rgba(20, 184, 166, 0.15);
}

.blob-3 {
  top: 25%;
  left: 33%;
  width: 288px;
  height: 288px;
  background: rgba(94, 234, 212, 0.1);
}

.blob-4 {
  right: 25%;
  bottom: 25%;
  width: 256px;
  height: 256px;
  background: rgba(45, 212, 191, 0.1);
}

.landing-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- header ---------- */

.landing-header {
  position: relative;
  z-index: 20;
  padding: 16px 24px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1152px;
  margin: 0 auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
  color: #ffffff;
}

.landing-logo svg {
  width: 22px;
  height: 22px;
}

.landing-brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 9999px;
  background: transparent;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.landing-ghost svg,
.landing-cta-small svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.landing-ghost:hover {
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(20, 184, 166, 0.08);
  color: #ffffff;
}

.landing-cta-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border: 1px solid #14b8a6;
  border-radius: 9999px;
  background: #14b8a6;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.landing-cta-small:hover {
  border-color: #0d9488;
  background: #0d9488;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.32);
}

/* ---------- main ---------- */

.landing-main {
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
  width: 100%;
  padding: 0 24px;
}

.landing-main > * {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

/* hero */

.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
  padding: 56px 0 8px;
}

.landing-hero-copy {
  flex: 1 1 0%;
  text-align: center;
}

.landing-hero-copy h1 {
  margin: 0 0 16px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #ffffff;
}

.landing-hero-copy p {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 28px;
  color: #cbd5e1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 9999px;
  background: rgba(20, 184, 166, 0.1);
  color: #5eead4;
  font-size: 13px;
  font-weight: 500;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: 12px;
  background-image: linear-gradient(to right, #14b8a6, #0d9488);
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.2),
    0 4px 6px -4px rgba(20, 184, 166, 0.2);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-image 0.2s, box-shadow 0.2s, transform 0.2s;
}

.landing-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.landing-cta:hover svg {
  transform: translateX(3px);
}

.landing-cta:hover {
  background-image: linear-gradient(to right, #0d9488, #0f766e);
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3),
    0 4px 6px -4px rgba(20, 184, 166, 0.3);
  transform: translateY(-1px);
}

.landing-cta:active {
  transform: translateY(0);
}

/* ---------- 面板卡片预览 ---------- */

.preview-stage {
  position: relative;
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 8px 0 24px;
}

.preview-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.24) 0%, transparent 68%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.preview-card {
  position: relative;
  width: 344px;
  max-width: 100%;
  padding: 18px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  box-shadow: 0 26px 52px -18px rgba(2, 6, 23, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: preview-float 7.5s ease-in-out infinite;
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-avatar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f0fdfa;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.14);
  font-size: 22px;
  line-height: 1;
}

.preview-head-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.preview-name {
  overflow: hidden;
  color: #12281f;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.preview-meta {
  overflow: hidden;
  color: #7c8f8a;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.preview-pills {
  position: relative;
  height: 28px;
  margin: 14px 0;
}

.preview-pill {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
}

.preview-pill.is-normal {
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.12);
  color: #047857;
  animation: preview-pill-a 9s ease-in-out infinite;
}

.preview-pill.is-banned {
  background: #fef2f2;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.12);
  color: #b91c1c;
  animation: preview-pill-b 9s ease-in-out infinite;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.preview-rows {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #e6efec;
  border-radius: 10px;
  background: #fbfdfc;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preview-row-label {
  color: #7c8f8a;
  font-size: 11.5px;
}

.preview-row-value {
  color: #1f3d33;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.preview-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.preview-btn {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(180deg, #14b8a6, #0d9488);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.preview-btn.is-ghost {
  flex: 0 0 74px;
  background: #f4f8f7;
  box-shadow: inset 0 0 0 1px #e2ece9;
  color: #48655c;
}

.preview-toast {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 208px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 20px 40px -14px rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.preview-toast.is-normal {
  animation: preview-toast-a 9s ease-in-out infinite;
}

.preview-toast.is-banned {
  animation: preview-toast-b 9s ease-in-out infinite;
}

.preview-toast-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.preview-toast-icon svg {
  width: 16px;
  height: 16px;
}

.preview-toast.is-normal .preview-toast-icon {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.preview-toast.is-banned .preview-toast-icon {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}

.preview-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-toast-body b {
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 600;
}

.preview-toast-body span {
  color: #94a3b8;
  font-size: 11.5px;
}

@keyframes preview-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes preview-pill-a {
  0%,
  3% {
    opacity: 0;
    transform: translateY(4px);
  }

  8%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }

  50%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes preview-pill-b {
  0%,
  50% {
    opacity: 0;
    transform: translateY(4px);
  }

  55%,
  92% {
    opacity: 1;
    transform: translateY(0);
  }

  97%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes preview-toast-a {
  0%,
  3% {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }

  9%,
  45% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  51%,
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
}

@keyframes preview-toast-b {
  0%,
  51% {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }

  57%,
  92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  98%,
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-card,
  .preview-pill,
  .preview-toast {
    animation: none;
  }

  .preview-pill.is-normal {
    opacity: 1;
  }

  .preview-toast.is-normal {
    opacity: 1;
  }
}

/* ---------- pills ---------- */

.landing-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.45);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
}

.landing-pill svg {
  width: 14px;
  height: 14px;
  color: #2dd4bf;
}

/* ---------- feature cards ---------- */

.landing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.landing-card {
  padding: 24px;
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.landing-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 20px 40px -18px rgba(20, 184, 166, 0.45);
  transform: translateY(-3px);
}

.landing-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  box-shadow: 0 10px 20px -6px rgba(20, 184, 166, 0.45);
  color: #ffffff;
  transition: transform 0.3s;
}

.landing-card:hover .landing-card-icon {
  transform: scale(1.08);
}

.landing-card-icon svg {
  width: 24px;
  height: 24px;
}

.landing-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.landing-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

/* ---------- supported data ---------- */

.landing-models {
  margin-bottom: 64px;
}

.landing-section-head {
  margin-bottom: 32px;
  text-align: center;
}

.landing-section-head h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.landing-section-head p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

.landing-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.landing-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.5);
}

.chip-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #14b8a6, #0e7490);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.chip-badge svg {
  width: 17px;
  height: 17px;
}

.chip-label {
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
}

.chip-tag {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(19, 78, 74, 0.55);
  color: #2dd4bf;
  font-size: 11px;
  font-weight: 500;
}

.chip-tag.is-soon {
  background: rgba(51, 65, 85, 0.9);
  color: #cbd5e1;
}

/* ---------- footer ---------- */

.landing-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.landing-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px;
}

.landing-footer p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.footer-mark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #14b8a6;
}

.landing-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: #64748b;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.landing-footer-links a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.landing-footer-links a:hover {
  color: #cbd5e1;
}

/* ---------- responsive ---------- */

@media (min-width: 900px) {
  .landing-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
  }

  .landing-hero-copy {
    text-align: left;
  }

  .landing-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 899px) {
  .landing-hero-copy h1 {
    font-size: 40px;
    letter-spacing: -0.5px;
  }

  .landing-hero-copy p {
    font-size: 17px;
    line-height: 26px;
  }

  .landing-hero {
    padding-top: 36px;
  }



}

@media (max-width: 560px) {
  .landing-header {
    padding: 14px 16px;
  }

  .landing-main {
    padding: 0 16px;
  }

  .landing-hero-copy h1 {
    font-size: 34px;
  }

  .landing-hero-copy p {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 26px;
  }

  .landing-cta {
    height: 44px;
    padding: 0 26px;
    font-size: 15px;
  }


  .landing-brand-name {
    font-size: 15px;
  }

  .landing-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .landing-logo svg {
    width: 19px;
    height: 19px;
  }
}

/* 首页展示卡片：卡片与提示在同一容器中浮动 */
.preview-stage{min-height:460px;padding:12px 0}
.demo-scene{position:relative;width:min(340px,100%);animation:demo-float 6s ease-in-out infinite}
@keyframes demo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.demo-card{width:100%;padding:20px;border:1px solid #d8ede5;border-radius:18px;background:linear-gradient(155deg,#fff 0%,#f5faf8 100%);color:#263a34;box-shadow:0 24px 60px rgba(0,0,0,.24),0 0 0 4px rgba(73,203,171,.06)}
.demo-head{display:flex;align-items:center;gap:12px}.demo-avatar{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:15px;background:#fff0cb;font-size:30px}.demo-player{min-width:0}.demo-player strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;line-height:1.4}.demo-player strong span{color:#768e85;font-weight:500}.demo-meta{display:flex;align-items:center;gap:5px;margin-top:5px;color:#82968d;font-size:11px;white-space:nowrap}.demo-meta b{color:#27896f}.demo-meta i{width:3px;height:3px;border-radius:50%;background:#a7bab1}
.demo-status{display:inline-flex;align-items:center;gap:7px;margin:16px 0 12px;padding:6px 10px;border-radius:99px;background:#e8f8f1;color:#20896d;font-size:11px;font-weight:700;transition:background .3s,color .3s}.demo-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.demo-status.is-banned{background:#fff0ef;color:#cb5554}
.demo-credentials{overflow:hidden;border:1px solid #e1ebe6;border-radius:11px;background:#fff}.demo-row{display:flex;align-items:center;gap:10px;min-height:47px;padding:8px 10px}.demo-row+.demo-row{border-top:1px solid #eef3f0}.demo-row small,.demo-stats small{display:block;margin-bottom:3px;color:#90a39b;font-size:10px;font-weight:600}.demo-row b,.demo-stats b{color:#3e554c;font-size:13px}.demo-icon{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:9px;background:#e9f8f2;color:#279c7c}.demo-icon.lock{background:#fff4e3;color:#c69244}.demo-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.demo-end{margin-left:auto;color:#a5b7b0;font-size:15px}.demo-password{letter-spacing:2px}
.demo-result{display:flex;justify-content:space-between;margin:13px 0 8px;color:#91a39b;font-size:11px;font-weight:700}.demo-result b{color:#228a6f;transition:color .3s}.demo-result b.is-banned{color:#cc5655}.demo-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3ece8;border-radius:9px;background:#fbfdfc}.demo-stats>div{padding:9px 10px}.demo-stats>div+div{border-left:1px solid #e9f0ed}
.demo-actions{display:flex;gap:7px;margin-top:12px}.demo-actions span{display:grid;place-items:center;height:31px;width:32px;border:1px solid #dce9e3;border-radius:7px;background:#fff;color:#8b9f97;font-size:13px}.demo-actions .demo-action-main{flex:1;width:auto;color:#718a7f;font-size:11px;font-weight:700}
.demo-toast{display:flex;align-items:center;gap:11px;width:100%;margin-top:12px;padding:12px 14px;border:1px solid rgba(88,215,177,.25);border-radius:12px;background:#14372f;box-shadow:0 14px 30px rgba(0,0,0,.25);color:#fff;transition:background .35s,border-color .35s}.demo-toast-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:rgba(58,211,159,.16);color:#63e0b5;font-weight:800}.demo-toast-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.demo-toast-copy strong{font-size:12px}.demo-toast-copy>span{color:#c4ded4;font-size:11px}.demo-toast-tag{padding:4px 7px;border-radius:6px;background:rgba(255,255,255,.08);color:#9dc4b6;font-size:10px}.demo-toast.is-banned{border-color:rgba(244,137,137,.3);background:#482b30}.demo-toast.is-banned .demo-toast-icon{background:rgba(255,127,127,.15);color:#ff9b9b}.demo-toast.is-banned .demo-toast-copy>span{color:#ecd0d1}.demo-toast.is-banned .demo-toast-tag{color:#e0b4b4}
@media(max-width:480px){.preview-stage{min-height:430px;padding:16px 0}.demo-scene{width:min(320px,100%)}.demo-card{padding:16px}.demo-player strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.demo-scene{animation:none}}/* 卡片内的状态提示 */
.demo-card{box-shadow:0 28px 68px rgba(0,0,0,.34),0 8px 22px rgba(0,0,0,.14),0 0 0 4px rgba(73,203,171,.06)}
.demo-avatar{background:transparent}.demo-avatar img{display:block;width:45px;height:45px;object-fit:contain}
.demo-toast{width:max-content;max-width:100%;margin:12px 0 0 auto;padding:8px 10px;gap:8px;border-radius:9px;box-shadow:0 4px 10px rgba(0,0,0,.12)}
.demo-toast-icon{width:27px;height:27px;border-radius:7px;font-size:13px}.demo-toast-copy{gap:2px}.demo-toast-copy strong{font-size:10px}.demo-toast-copy>span{font-size:10px;white-space:nowrap}
/* 自动浮现的卡片演示提示 */
.demo-card{position:relative}
.demo-toast{position:absolute;z-index:2;top:50%;left:50%;right:auto;bottom:auto;display:flex;width:min(238px,calc(100% - 36px));max-width:none;margin:0;padding:15px 16px;gap:12px;border-radius:13px;opacity:0;visibility:hidden;transform:translate(-50%,-42%) scale(.92);transition:opacity .3s ease,transform .3s ease,visibility .3s,background .3s,border-color .3s;pointer-events:none;box-shadow:0 14px 32px rgba(0,0,0,.32)}
.demo-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.demo-toast-icon{width:38px;height:38px;border-radius:11px;font-size:18px}.demo-toast-copy{gap:4px}.demo-toast-copy strong{font-size:13px}.demo-toast-copy>span{font-size:11px}
.landing-ghost{background:rgba(36,62,75,.78);border-color:rgba(127,189,181,.35);color:#e7faf5;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.landing-ghost:hover{background:rgba(30,100,91,.88);border-color:rgba(91,220,189,.65);color:#fff}
@media(prefers-reduced-motion:reduce){.demo-toast{transition:none}}

/* 首页主视觉与演示状态 */
.landing-hero-copy h1 { line-height: 1.18; letter-spacing: -1.5px; }
.landing-hero-copy h1 span { color: #5eead4; }
.landing-hero-copy p { max-width: 460px; line-height: 1.8; color: #aabbbf; }
.demo-result { gap: 12px; align-items: flex-start; }
.demo-result b { text-align: right; overflow-wrap: anywhere; }
.demo-toast-copy>span { white-space: normal; line-height: 1.45; }
@media (max-width: 899px) { .landing-hero-copy p { margin-left: auto; margin-right: auto; } }

.demo-scene { animation: demo-float 6s ease-in-out infinite; }
.demo-player strong, .demo-status, .demo-row b, .demo-stats b, .demo-result b, .demo-toast-copy strong { font-weight: 800; }
.demo-meta, .demo-row small, .demo-stats small, .demo-result, .demo-toast-copy>span { font-weight: 700; }
.landing-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; align-content: start; padding: 20px; }
.landing-card-icon { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.landing-card-icon svg { width: 21px; height: 21px; }
.landing-card h3 { grid-column: 2; align-self: end; margin: 0; }
.landing-card p { grid-column: 2; align-self: start; line-height: 1.55; }

.landing-card { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
.landing-card-icon { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: #fff; }
.landing-card-icon svg { width: 27px; height: 27px; }
.landing-card:nth-child(1) .landing-card-icon { background: linear-gradient(145deg, #18b6a5, #087f91); box-shadow: 0 8px 18px rgba(9,160,151,.28); }
.landing-card:nth-child(2) .landing-card-icon { background: linear-gradient(145deg, #39b58b, #187b68); box-shadow: 0 8px 18px rgba(37,155,120,.25); }
.landing-card:nth-child(3) .landing-card-icon { background: linear-gradient(145deg, #e8a94e, #b96d31); box-shadow: 0 8px 18px rgba(201,133,55,.24); }
.landing-card-icon svg { overflow: visible; }

.landing-logo svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Site-wide theme switch. The saved theme is applied before styles load. */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
.theme-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-width: 36px; height: 34px; padding: 0 11px; border: 1px solid #cce3d9; border-radius: 8px; background: rgba(255,255,255,.8); color: #327b65; font-family: inherit; line-height: 1.2; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .16s, border-color .16s; }
.theme-toggle svg { flex: none; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-sun { display: none; }
.theme-toggle:hover { background: #e7f7f1; border-color: #8dcab4; }
.theme-toggle:focus-visible { outline: 3px solid #26a88b; outline-offset: 3px; }
[data-theme="dark"] .theme-toggle { background: #102332; border-color: #294750; color: #a2e9d9; }
[data-theme="dark"] .theme-toggle:hover { background: #183941; border-color: #4c9b8f; }
[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
@media(max-width:700px) { .theme-toggle { width: 34px; padding: 0; } .theme-toggle [data-theme-label] { display: none; } }
@media(prefers-reduced-motion:reduce) { .theme-toggle { transition: none; } }

/* Light landing page follows the dashboard's soft green and white palette. */
[data-theme="light"] body, [data-theme="light"] .landing { background: #ebf1f5; color: #233d36; }
[data-theme="light"] .landing-brand { color: #263d34; }
[data-theme="light"] .landing-logo { color: #207d68; }
[data-theme="light"] .landing-hero-copy h1 { color: #233d36; }
[data-theme="light"] .landing-hero-copy h1 span { color: #24856f; }
[data-theme="light"] .landing-hero-copy p { color: #60796f; }
[data-theme="light"] .landing-blob { opacity: .55; }
[data-theme="light"] .landing-ghost { color: #327b65; background: #ffffffb8; border-color: #b8d9cc; box-shadow: inset 0 1px #fff8; }
[data-theme="light"] .landing-ghost:hover { background: #e7f7f1; border-color: #74b69e; color: #246d57; }
[data-theme="light"] :is(.landing-cta,.landing-cta-small) { color: #fff; background: linear-gradient(135deg,#3aa48b,#28816d); box-shadow: 0 8px 24px #27846d28; }
[data-theme="light"] :is(.landing-cta,.landing-cta-small):hover { background: linear-gradient(135deg,#42b399,#318e76); }
[data-theme="light"] .landing-pill { color: #4c6c60; background: #ffffff9c; border-color: #d0e3da; }
[data-theme="light"] .landing-pill svg { color: #31957c; }
[data-theme="light"] .landing-card { background: #ffffffbb; border-color: #d8e6df; box-shadow: 0 4px 18px #1f483909; }
[data-theme="light"] .landing-card:hover { background: #fff; border-color: #a6ccbd; }
[data-theme="light"] .landing-card h3 { color: #2c493b; }
[data-theme="light"] .landing-card p { color: #687e74; }
[data-theme="light"] .landing-footer { color: #748a80; border-color: #d5e3dc; }
[data-theme="light"] .landing-footer a { color: #4f7666; }
[data-theme="light"] .landing-footer a:hover { color: #26836a; }
[data-theme="light"] .demo-card { box-shadow: 0 20px 60px #1f48391c,0 5px 16px #1f48390d,0 0 0 4px #49cbab0d; }
/* The preview card follows the selected theme without changing its animation. */
[data-theme="dark"] .demo-card { background: linear-gradient(145deg,#16302f,#101c2e); border-color: #36534c; }
[data-theme="dark"] .demo-player strong { color: #edf6f4; }
[data-theme="dark"] :is(.demo-player strong span,.demo-meta,.demo-row small,.demo-stats small,.demo-result) { color: #93adae; }
[data-theme="dark"] :is(.demo-meta b,.demo-row b,.demo-stats b) { color: #d2e9e3; }
[data-theme="dark"] .demo-status { background: #174438; color: #8ce6c6; }
[data-theme="dark"] .demo-status.is-banned { background: #432b34; color: #ffb0ad; }
[data-theme="dark"] :is(.demo-credentials,.demo-stats) { background: #0b1b29; border-color: #2b4249; }
[data-theme="dark"] .demo-stats>div+div { border-color: #2b4249; }
[data-theme="dark"] .demo-icon { background: #1b3c36; color: #77d8b8; }
[data-theme="dark"] .demo-result b { color: #7bddb7; }
[data-theme="dark"] .demo-result b.is-banned { color: #ffaba6; }
[data-theme="dark"] .demo-actions span { background: #192b3b; border-color: #304750; color: #9cb7b7; }
[data-theme="dark"] .demo-actions .demo-action-main { color: #a3c8bf; }
@media(max-width:480px) {
  .landing-header { padding: 14px 16px; }
  .landing-nav { gap: 8px; }
  .landing-actions { gap: 7px; }
  .landing-brand { gap: 7px; }
  .landing-brand-name { font-size: 16px; }
  .landing-ghost, .landing-cta-small { padding-left: 10px; padding-right: 10px; }
}

[data-theme="light"] .landing-section-head h2 { color: #2c493b; }
[data-theme="light"] .landing-section-head p { color: #687e74; }
[data-theme="light"] .landing-chip { background: #ffffffb8; border-color: #d0e3da; }
[data-theme="light"] .chip-label { color: #4c6c60; }
[data-theme="light"] .chip-tag { background: #def4ea; color: #287d65; }
[data-theme="light"] .chip-tag.is-soon { background: #e3eaf0; color: #64748b; }

@media(max-width:380px) {
  .landing-brand { flex: none; gap: 6px; white-space: nowrap; }
  .landing-brand-name { font-size: 14px; }
  .landing-logo { flex: none; width: 28px; height: 28px; border-radius: 8px; }
  .landing-logo svg { width: 20px; height: 20px; }
  .landing-actions { flex: none; gap: 5px; }
  .landing-actions .theme-toggle { min-width: 30px; width: 30px; height: 32px; }
  .landing-actions :is(.landing-ghost,.landing-cta-small) { padding: 0 8px; font-size: 12px; white-space: nowrap; }
  .landing-actions :is(.landing-ghost,.landing-cta-small) svg { display: none; }
}

/* Frosted demo notification, with sufficient contrast in both themes. */
.demo-toast { background: rgba(16, 54, 48, .78); border-color: rgba(151, 235, 210, .42); -webkit-backdrop-filter: blur(14px) saturate(145%); backdrop-filter: blur(14px) saturate(145%); box-shadow: 0 14px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.18); }
.demo-toast.is-banned { background: rgba(69, 35, 43, .8); border-color: rgba(255, 175, 175, .42); }

/* Translucent glass notification */
.demo-toast { background: rgba(13, 55, 48, .64); border-color: rgba(175, 245, 222, .55); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 12px 28px rgba(14, 47, 40, .22), inset 0 1px 0 rgba(255,255,255,.3); }
.demo-toast.is-banned { background: rgba(82, 38, 46, .64); border-color: rgba(255, 190, 190, .55); }

/* A soft sweep across the highlighted headline. */
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
.landing-hero-copy h1 span { color:transparent; background-image:linear-gradient(105deg,#5eead4 20%,#bdf9ea 42%,#fff 50%,#a3f4e5 58%,#5eead4 80%); background-size:250% 100%; background-clip:text; -webkit-background-clip:text; animation:headline-shimmer 5s ease-in-out infinite; }
[data-theme="light"] .landing-hero-copy h1 span { color:transparent; background-image:linear-gradient(105deg,#24856f 20%,#4bc5a3 42%,#a4ecda 50%,#4bc5a3 58%,#24856f 80%); }
}
@keyframes headline-shimmer { 0%,15% { background-position:100% 50%; } 70%,100% { background-position:0 50%; } }
@media (prefers-reduced-motion:reduce) { .landing-hero-copy h1 span { animation:none; } }

/* Avoid opaque compositing rectangles around mobile text and navigation. */
@media (max-width: 899px) {
  .landing-blob { filter:none; }
  .blob-1 { background:radial-gradient(circle,rgba(45,212,191,.2),transparent 70%); }
  .blob-2 { background:radial-gradient(circle,rgba(20,184,166,.15),transparent 70%); }
  .blob-3 { background:radial-gradient(circle,rgba(94,234,212,.1),transparent 70%); }
  .blob-4 { background:radial-gradient(circle,rgba(45,212,191,.1),transparent 70%); }
  .landing-hero-copy h1 span { background-color:transparent; -webkit-text-fill-color:transparent; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
  .landing-ghost, .landing-cta-small { -webkit-tap-highlight-color:transparent; background-clip:padding-box; }
}
