:root {
  --bg: #f7f8fa;
  --bg-tint: #f3f0ff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --border: #e5e7eb;
  --accent: #6e29f5;
  --accent-hover: #5b21d6;
  --accent-soft: #f1e9ff;
  --accent-ring: rgba(110, 41, 245, 0.15);
  --dark-card: #36384a;
  --hero-cta-from: #252736;
  --footer-bg: #f2f5fa;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --max: 1360px;
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 220px, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

body.home {
  background: var(--bg);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* —— Topbar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  margin-left: 0; /* left inset comes from .topbar padding 28px */
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
}
.logo-lockup {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border: none;
  image-rendering: auto;
}
.logo-lockup-sm {
  height: 44px;
}
.brand .brand-text { display: none; }


.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand-zh {
  font-weight: 500;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-left: 2px;
  margin-left: 4px;
}

.brand-en {
  font-weight: 700;
  font-size: 16px;
  color: #111;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: #f3f4f6;
}

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* —— Buttons —— */
.btn-primary,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn-primary {
  padding: 0 22px;
  min-height: 44px;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-ghost {
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--text);
  background: #f3f4f6;
}

.btn-outline {
  padding: 0 20px;
  min-height: 44px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
}

.btn-outline:hover {
  border-color: #c4a8ff;
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--hero-cta-from) 0%, var(--accent) 100%);
  box-shadow: 0 10px 28px rgba(110, 41, 245, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn-hero:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(110, 41, 245, 0.35);
}

/* —— Layout —— */
.page {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
  flex: 1;
}

.home-page {
  flex: initial;
  padding-top: 56px;
  padding-bottom: 40px;
}

.page-narrow {
  width: min(1200px, calc(100% - 48px));
}

.section {
  margin-bottom: 72px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* —— Legacy simple hero (inner pages don't use) —— */
.hero {
  text-align: center;
  padding: 28px 0 16px;
  margin-bottom: 56px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero .sub {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* —— Hero carousel —— */
.hero-carousel {
  position: relative;
  width: 100%;
  min-height: min(78vh, 640px);
  overflow: hidden;
  background: #eef0fb;
}

.hero-track {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  padding: 64px 28px 80px;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide.align-center {
  justify-content: center;
  text-align: center;
}

.hero-slide.align-left {
  justify-content: flex-start;
  text-align: left;
}

.hero-slide.align-left .hero-inner {
  margin-left: max(0px, calc((100% - var(--max)) / 2));
  max-width: 640px;
}

.hero-slide.align-center .hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-inner h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #1a1c28;
}

.hero-inner h1 .accent {
  color: var(--accent);
}

.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: #4b5563;
  max-width: 560px;
}

.hero-slide.align-center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(110, 41, 245, 0.18);
  border-radius: 999px;
}

.hero-badge.mint {
  color: #0f766e;
  background: #d1fae5;
  border-color: transparent;
}

/* CSS-only slide backgrounds */
.bg-shards {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #ffffff 0%, transparent 70%),
    linear-gradient(135deg, #e8e4ff 0%, #eef3ff 45%, #f5f0ff 100%);
}
.bg-shards::before,
.bg-shards::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
}
.bg-shards::before {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  left: -8%;
  top: 10%;
  background: linear-gradient(135deg, rgba(110, 41, 245, 0.18), transparent 60%);
  clip-path: polygon(20% 0%, 100% 30%, 70% 100%, 0% 65%);
}
.bg-shards::after {
  width: 36vw;
  height: 36vw;
  max-width: 440px;
  max-height: 440px;
  right: -6%;
  bottom: 5%;
  background: linear-gradient(225deg, rgba(99, 102, 241, 0.2), transparent 65%);
  clip-path: polygon(0% 20%, 80% 0%, 100% 80%, 15% 100%);
}

.bg-streaks {
  background:
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(167, 139, 250, 0.35), transparent 70%),
    linear-gradient(120deg, #f4f6ff 0%, #ebe7ff 50%, #e8f0ff 100%);
}
.bg-streaks::before {
  content: "";
  position: absolute;
  inset: 10% -10% 10% 40%;
  background: repeating-linear-gradient(
    105deg,
    transparent 0 18px,
    rgba(110, 41, 245, 0.06) 18px 22px
  );
  filter: blur(1px);
  pointer-events: none;
  opacity: 0.7;
}

.bg-blobs {
  background: linear-gradient(160deg, #f7f8fc 0%, #efeaff 40%, #e8f2ff 100%);
}
.bg-blobs::before,
.bg-blobs::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  pointer-events: none;
  filter: blur(2px);
}
.bg-blobs::before {
  width: 280px;
  height: 220px;
  left: 6%;
  bottom: 12%;
  background: rgba(196, 181, 253, 0.45);
  transform: rotate(-12deg);
}
.bg-blobs::after {
  width: 240px;
  height: 200px;
  right: 8%;
  top: 14%;
  background: rgba(165, 180, 252, 0.4);
  transform: rotate(18deg);
}

.bg-triangle {
  background: linear-gradient(140deg, #f0f4ff 0%, #f5f0ff 55%, #ffffff 100%);
}
.bg-triangle::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-bottom: 300px solid rgba(139, 92, 246, 0.12);
  filter: blur(8px);
  pointer-events: none;
}

.bg-lavender {
  background:
    radial-gradient(circle at 30% 70%, rgba(196, 181, 253, 0.45), transparent 45%),
    radial-gradient(circle at 75% 30%, rgba(165, 180, 252, 0.4), transparent 40%),
    linear-gradient(180deg, #f3f0ff 0%, #f8f9fc 100%);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(148, 140, 130, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--accent);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* —— Capability matrix 2×2 —— */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.cap-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 36px 32px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cap-card.dark {
  background: linear-gradient(160deg, #3a3c50 0%, var(--dark-card) 100%);
  color: #fff;
}

.cap-card.light {
  background: #f1f1ff;
  color: var(--text);
  border: 1px solid #e4e4f7;
}

.cap-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cap-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 36em;
  position: relative;
  z-index: 1;
}

.cap-card.dark p { color: rgba(255, 255, 255, 0.78); }
.cap-card.light p { color: var(--muted); }

.cap-btn {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0 18px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: filter 0.15s, transform 0.15s;
}

.cap-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

.cap-btn.light {
  background: #fff;
  color: var(--accent);
}

.cap-btn.purple {
  background: var(--accent);
  color: #fff;
}

.cap-deco {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  opacity: 0.35;
  background:
    linear-gradient(135deg, transparent 40%, rgba(167, 139, 250, 0.9) 41%, transparent 42%),
    linear-gradient(45deg, transparent 40%, rgba(139, 92, 246, 0.7) 41%, transparent 42%);
  background-size: 28px 28px;
  pointer-events: none;
}

.cap-deco.blocks {
  opacity: 0.25;
  background:
    linear-gradient(#c4b5fd 0 0) 0 0 / 36px 36px,
    linear-gradient(#a5b4fc 0 0) 40px 40px / 28px 28px,
    linear-gradient(#ddd6fe 0 0) 20px 70px / 48px 20px;
  background-repeat: no-repeat;
}

.cap-deco.outline {
  opacity: 0.4;
  background: none;
  border: 2px solid rgba(110, 41, 245, 0.25);
  border-radius: 24px;
  transform: rotate(18deg);
}

.cap-card.dark .cap-deco {
  opacity: 0.45;
  background:
    linear-gradient(135deg, transparent 40%, rgba(167, 139, 250, 0.85) 41%, transparent 42%),
    linear-gradient(45deg, transparent 40%, rgba(196, 181, 253, 0.55) 41%, transparent 42%);
  background-size: 28px 28px;
}

/* —— Marquee —— */
.marquee-band {
  padding: 48px 0 40px;
  background: linear-gradient(90deg, #e8fff5 0%, #eef2ff 50%, #ebe4ff 100%);
  overflow: hidden;
}

.marquee-head {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 20px;
}

.marquee-head h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
}

.marquee-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  white-space: nowrap;
}

/* —— Four pillars —— */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar {
  background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
  position: relative;
}

.pillar-icon.i1 {
  background: linear-gradient(135deg, #a5b4fc, #6e29f5);
  box-shadow: 0 8px 16px rgba(110, 41, 245, 0.25);
}
.pillar-icon.i1::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
}

.pillar-icon.i2 {
  background: linear-gradient(135deg, #6ee7b7, #6e29f5);
}
.pillar-icon.i2::before,
.pillar-icon.i2::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}
.pillar-icon.i2::before {
  width: 18px; height: 4px; left: 15px; top: 22px; transform: rotate(45deg);
}
.pillar-icon.i2::after {
  width: 18px; height: 4px; left: 15px; top: 22px; transform: rotate(-45deg);
}

.pillar-icon.i3 {
  background: linear-gradient(160deg, #c4b5fd, #34d399);
  clip-path: polygon(50% 6%, 94% 78%, 6% 78%);
  border-radius: 0;
}

.pillar-icon.i4 {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  border-radius: 12px 4px 16px 8px;
}

.pillar h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}

.pillar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar li {
  position: relative;
  padding: 0 0 8px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* —— Use-case strip —— */
.use-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-radius: 16px;
  overflow: hidden;
}

.use-panel {
  min-height: 220px;
  padding: 28px 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

.use-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 10, 40, 0.72) 100%);
  pointer-events: none;
}

.use-panel h3,
.use-panel p {
  position: relative;
  z-index: 1;
}

.use-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.use-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.9;
}

.use-panel.u1 { background: linear-gradient(145deg, #5b21d6, #7c3aed 40%, #312e81); }
.use-panel.u2 { background: linear-gradient(145deg, #5b21d6, #6E29F5 50%, #4c1d95); }
.use-panel.u3 { background: linear-gradient(145deg, #4c1d95, #6e29f5 45%, #1e1b4b); }
.use-panel.u4 { background: linear-gradient(145deg, #3730a3, #8b5cf6 55%, #1e293b); }

/* —— Feature cards (shared) —— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.model-card:hover {
  border-color: #c4a8ff;
  box-shadow: var(--shadow);
}

.model-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.model-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
}

.model-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, #6e29f5 0%, #8b5cf6 100%);
  color: #fff;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 48px 28px;
  box-shadow: 0 16px 40px rgba(110, 41, 245, 0.25);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 480px;
  opacity: 0.9;
  font-size: 15px;
  line-height: 1.6;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #f3f0ff;
}

/* —— Page header (inner pages) —— */
.page-hero {
  text-align: center;
  margin-bottom: 36px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.model-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.model-row h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 650;
}

.model-row .id {
  font-size: 12px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.model-row .desc {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.model-row .meta {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.note {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.note strong { color: var(--text); }

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pricing-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.pricing-card .price-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}

.pricing-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-card li:last-child { border-bottom: 1px solid var(--border); }

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* —— Chat panel —— */
.chat-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: #fcfcfd;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.field select {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
}

.messages {
  height: min(56vh, 520px);
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
}

.msg { display: flex; }
.msg.user { justify-content: flex-end; }

.bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg.assistant .bubble {
  background: #f3f4f6;
  color: var(--text);
  border-top-left-radius: 4px;
}

.msg.user .bubble {
  background: var(--accent);
  color: #fff;
  border-top-right-radius: 4px;
}

.msg.error .bubble {
  background: #fef2f2;
  color: #991b1b;
}

.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  background: #fcfcfd;
}

.composer textarea {
  resize: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
  background: #fff;
  color: var(--text);
}

.composer textarea:focus {
  border-color: #c4a8ff;
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.status {
  margin: 0 18px 16px;
  font-size: 13px;
  color: var(--muted);
}

/* —— Footer —— */
.footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 28px 28px 24px;
  margin-top: auto;
}

.footer-rich {
  background: var(--footer-bg);
  padding: 40px 28px 28px;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-rich .footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px 32px;
}

/* wrapper invisible on desktop so cols join the 4-col grid */
.footer-nav-cols {
  display: contents;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand .name {
  font-weight: 700;
  font-size: 14px;
}

.footer-brand .hint {
  font-size: 12px;
  color: var(--muted);
}

.footer-brand-link { margin-bottom: 10px; }

.footer-slogan {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 260px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.footer-col a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover { color: var(--accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}

.footer-rich .footer-copy {
  grid-column: 1 / -1;
  text-align: left;
  margin-top: 8px;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .model-row { grid-template-columns: 1fr; }
  .model-row .meta { text-align: left; }
  .cap-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .use-strip { grid-template-columns: repeat(2, 1fr); }
  /* keep 4-col until phone; phone uses .footer-nav-cols */
  /* tablet/phone: brand full-width, links forced 3-up */
  .footer-rich .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px 0;
    width: 100%;
  }
  .footer-rich .footer-nav-cols {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 8px;
    width: 100%;
    min-width: 0;
  }
  .footer-rich .footer-nav-cols .footer-col {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .footer-rich .footer-col.brand-col,
  .footer-rich .footer-copy {
    grid-column: 1 / -1;
  }
  .hero-slide.align-left .hero-inner {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar { padding: 10px 8px; }
  .brand { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 8px 14px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .nav-cta .btn-primary { width: 100%; }
  /* ~8px side gutters for main content */
  .page { width: calc(100% - 16px); padding: 28px 0 48px; }
  .home-page { padding-top: 28px; }
  .page-narrow { width: calc(100% - 16px); }
  .grid-4 { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .use-strip { grid-template-columns: 1fr; }
  /* link cols use 2-up below */
  .hero-carousel { min-height: 520px; }
  .hero-slide {
    padding: 40px 8px 64px;
    align-items: flex-start;
    padding-top: 48px;
  }
  .hero-slide.align-left { text-align: left; }
  .hero-inner { max-width: 100%; padding: 0; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .field select { min-width: 0; width: 100%; }
  .composer { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; }
  .footer { padding: 20px 8px; }
  footer.footer.footer-rich {
    padding: 24px 8px 16px !important;
  }
  .footer-rich .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px 0;
    width: 100%;
  }
  .footer-rich .footer-nav-cols {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 6px;
    width: 100%;
    min-width: 0;
  }
  .footer-rich .footer-nav-cols .footer-col {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .footer-rich .footer-col.brand-col,
  .footer-rich .footer-copy {
    grid-column: 1 / -1;
  }
  .footer-slogan {
    max-width: none;
  }
  .footer-col {
    gap: 8px;
  }
  .footer-col h4 {
    margin: 0 0 2px;
  }
  .footer-col a {
    font-size: 13px;
  }
  .footer-copy {
    padding-top: 12px;
    margin-top: 4px;
    word-break: break-word;
  }
  .footer-brand-link .logo-lockup-sm {
    height: 40px;
  }
  .cap-card { min-height: 180px; padding: 24px 14px; }
  .cta-band { padding: 36px 12px; border-radius: 16px; }
  .section-head { max-width: 100%; margin-left: 0; margin-right: 0; padding: 0 2px; }
  .marquee-wrap { padding-left: 0; padding-right: 0; }
  .model-row, .price-card, .article-card { padding-left: 14px; padding-right: 14px; }
}


/* Nav primary CTA: don't inherit muted pill hover */
.nav-cta {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.nav-cta:hover { background: transparent !important; color: inherit !important; }
.nav-cta .btn-primary { display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-slide { transition: none; }
}

/* —— Blog / GEO articles —— */
.blog-index,
.blog-article {
  max-width: none;
  margin: 0;
  width: 100%;
}
.blog-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.blog-card {
  display: block;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(110, 41, 245, 0.12);
  box-shadow: 0 8px 28px rgba(40, 20, 80, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: rgba(110, 41, 245, 0.35);
  box-shadow: 0 12px 36px rgba(110, 41, 245, 0.12);
  transform: translateY(-2px);
}
.blog-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #1a1230;
}
.blog-card p {
  margin: 0;
  color: #5a5470;
  line-height: 1.6;
  font-size: 0.95rem;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 8px 0 28px;
  font-size: 0.85rem;
  color: #7a7490;
}
.blog-article .prose {
  line-height: 1.85;
  color: #2a2440;
  font-size: 1.05rem;
}
.blog-article .prose h2 {
  margin: 2em 0 0.7em;
  font-size: 1.35rem;
  color: #1a1230;
}
.blog-article .prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.1rem;
  color: #2a1848;
}
.blog-article .prose p,
.blog-article .prose li {
  margin: 0.85em 0;
}
.blog-article .prose ul,
.blog-article .prose ol {
  padding-left: 1.35em;
}
.blog-article .prose a {
  color: #6e29f5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-article .prose a:hover { color: #5520c4; }
.blog-callout {
  margin: 1.5em 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(110, 41, 245, 0.08), rgba(110, 41, 245, 0.03));
  border: 1px solid rgba(110, 41, 245, 0.16);
}
.blog-callout strong { color: #6e29f5; }
.blog-faq {
  margin: 2.5em 0 1em;
  padding: 22px 24px;
  border-radius: 16px;
  background: #faf8ff;
  border: 1px solid rgba(110, 41, 245, 0.12);
}
.blog-faq h2 { margin-top: 0; }
.blog-faq details {
  border-bottom: 1px solid rgba(110, 41, 245, 0.1);
  padding: 12px 0;
}
.blog-faq details:last-child { border-bottom: none; }
.blog-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #1a1230;
}
.blog-faq details p {
  margin: 10px 0 4px;
  color: #4a4460;
}
.blog-related {
  margin: 2.5em 0 1em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(110, 41, 245, 0.12);
}
.blog-related ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}
.blog-related a {
  color: #6e29f5;
  text-decoration: none;
  font-weight: 500;
}
.blog-related a:hover { text-decoration: underline; }
.blog-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2em 0 0.5em;
}


/* —— Scene cards + demo chat (purple palette only) —— */
.section-en {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--accent);
}
.hero-en {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero-badge.mint {
  /* keep class for compat; force purple soft, never mint */
  background: var(--accent-soft);
  color: var(--accent);
}
.scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.scene-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px 28px;
  align-items: stretch;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.scene-card.is-active {
  border-color: rgba(110, 41, 245, 0.35);
  box-shadow: 0 10px 28px rgba(110, 41, 245, 0.08);
  background: linear-gradient(180deg, #faf7ff 0%, #fff 42%);
}
.scene-idx {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.scene-en {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.scene-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.scene-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.demo-chat {
  background: #f7f5fc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}
.demo-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d4e8;
}
.demo-bar span:first-child { background: #f0a8a8; }
.demo-bar span:nth-child(2) { background: #e6d08a; }
.demo-bar span:nth-child(3) { background: #a8d7b5; }
.demo-bar em { font-style: normal; margin-left: 6px; }
.demo-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.demo-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.demo-bubble.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.demo-bubble.streaming { min-height: 3.2em; }
.demo-caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: demo-blink 1s steps(1) infinite;
}
@keyframes demo-blink {
  50% { opacity: 0; }
}
.demo-pill {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}
.demo-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: #2a2438;
  color: #e8e0ff;
  padding: 10px 12px;
  border-radius: 10px;
}

/* FAQ */
.faq-section { padding-bottom: 8px; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item {
  padding: 18px 4px 20px;
  border-bottom: 1px solid var(--border);
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.cta-band .cta-en {
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .scene-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 720px) {
  .scene-card { padding: 16px; }
  .scene-card h3 { font-size: 19px; }
  .demo-chat { min-height: 0; }
  .faq-item { padding: 16px 2px 18px; }
}


/* —— Model categories (purple-only tones) —— */
.model-cat {
  margin: 28px 0 36px;
}
.model-cat-head {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px 16px;
  margin-bottom: 14px;
  background: var(--accent-soft);
}
.model-cat-head.tone-lang { background: #f1e9ff; }
.model-cat-head.tone-image { background: #f5f0ff; }
.model-cat-head.tone-video { background: #efe8ff; }
.model-cat-head.tone-gen { background: #f7f3ff; }
.model-cat-en {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.model-cat-head h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.model-cat-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 640px;
}
.model-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.model-cat-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
}
.model-cat-nav a:hover {
  border-color: rgba(110, 41, 245, 0.25);
}
@media (max-width: 720px) {
  .model-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .model-row .meta {
    text-align: left;
    white-space: normal;
  }
}

/* —— Auth / account / recharge —— */
.auth-card, .wallet-card {
  background: #fff;
  border: 1px solid rgba(110, 41, 245, 0.12);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 28px rgba(110, 41, 245, 0.06);
  max-width: 440px;
  margin: 0 auto;
}
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.auth-tabs button {
  flex: 1;
  border: 1px solid rgba(110, 41, 245, 0.2);
  background: #faf8ff;
  color: #4b3a6e;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  cursor: pointer;
}
.auth-tabs button.is-active {
  background: var(--accent, #6E29F5);
  border-color: transparent;
  color: #fff;
}
.auth-form label, .wallet-form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: #4b3a6e;
}
.auth-form input, .wallet-form input, .wallet-form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(110, 41, 245, 0.22);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.auth-form input:focus, .wallet-form input:focus {
  outline: 2px solid rgba(110, 41, 245, 0.35);
  border-color: var(--accent, #6E29F5);
}
.auth-form .btn-primary, .wallet-form .btn-primary, .amount-grid .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}
.auth-hint, .wallet-hint, .mock-banner {
  font-size: 0.85rem;
  color: #6b5b8a;
  margin-top: 0.85rem;
  line-height: 1.5;
}
.mock-banner {
  background: #f5f0ff;
  border: 1px dashed rgba(110, 41, 245, 0.35);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.auth-error, .wallet-error {
  color: #b42318;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.auth-ok { color: #027a48; font-size: 0.9rem; }
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.amount-grid button {
  border: 1px solid rgba(110, 41, 245, 0.25);
  background: #faf8ff;
  border-radius: 10px;
  padding: 0.7rem 0.25rem;
  font: inherit;
  cursor: pointer;
  color: #3d2a6b;
}
.amount-grid button.is-active {
  background: var(--accent, #6E29F5);
  color: #fff;
  border-color: transparent;
}
.pay-methods {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.pay-methods label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(110, 41, 245, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  background: #fff;
}
.qr-mock {
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, #faf8ff, #fff);
  border-radius: 14px;
  border: 1px solid rgba(110, 41, 245, 0.15);
  margin: 1rem 0;
}
.qr-mock .qr-box {
  width: 160px;
  height: 160px;
  margin: 0.75rem auto;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, #6E29F5 0 8px, #fff 8px 16px),
    repeating-linear-gradient(#6E29F5 0 8px, #fff 8px 16px);
  background-blend-mode: multiply;
  opacity: 0.85;
  position: relative;
}
.qr-mock .qr-box::after {
  content: "演示二维码";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.72);
  color: #6E29F5;
  font-weight: 600;
  font-size: 0.95rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.stat-pill {
  background: #faf8ff;
  border: 1px solid rgba(110, 41, 245, 0.12);
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  text-align: center;
}
.stat-pill .v { font-size: 1.25rem; font-weight: 700; color: #6E29F5; }
.stat-pill .l { font-size: 0.8rem; color: #6b5b8a; margin-top: 0.25rem; }
.ledger-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ledger-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(110, 41, 245, 0.08);
  font-size: 0.9rem;
}
.ledger-list .delta-pos { color: #027a48; }
.ledger-list .delta-neg { color: #b42318; }
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.nav-user {
  font-size: 0.9rem;
  color: #6E29F5;
  font-weight: 600;
}
.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f5f0ff;
  color: #6E29F5;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}
@media (max-width: 640px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
}

/* —— UI polish 20261106aj: spacing, type, icons (palette unchanged) —— */
:root {
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --space-6: 56px;
  --leading-tight: 1.25;
  --leading-body: 1.7;
  --icon-size: 20px;
}

.page-hero {
  padding: 56px 0 28px;
  margin-bottom: 8px;
}
.page-hero h1 {
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.page-hero > p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 16px;
  line-height: var(--leading-body);
}

.eyebrow, .section-en, .model-cat-en {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
}

.section {
  padding: 64px 0 40px;
}
.section-head {
  margin-bottom: 28px;
  gap: 8px;
}
.section-head h2 {
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  margin: 4px 0 8px;
}
.section-head p {
  max-width: 40rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
}
.nav a .nav-ico {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  opacity: 0.85;
}
.nav a.is-active .nav-ico,
.nav a:hover .nav-ico { opacity: 1; color: var(--accent); }

.bh-ico {
  width: var(--icon-size);
  height: var(--icon-size);
  display: inline-block;
  vertical-align: -0.2em;
  color: var(--accent);
  flex: 0 0 auto;
}
.bh-ico-lg {
  width: 28px;
  height: 28px;
}
.bh-ico-xl {
  width: 36px;
  height: 36px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}
.icon-badge .bh-ico { width: 22px; height: 22px; }

.model-cat {
  margin: 28px 0 40px;
}
.model-cat-head {
  padding: 22px 24px 20px;
  border-radius: 18px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-items: start;
}
.model-cat-head .cat-ico-wrap {
  grid-row: 1 / span 3;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(110, 41, 245, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.model-cat-head .cat-ico-wrap .bh-ico { width: 24px; height: 24px; }
.model-cat-head h2 {
  font-size: clamp(22px, 2.6vw, 26px);
  margin: 2px 0 6px;
  letter-spacing: -0.02em;
}
.model-cat-intro {
  margin: 0;
  line-height: 1.65;
  font-size: 14.5px;
  color: #5b5270;
  max-width: 48rem;
}
.model-cat-nav {
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.model-cat-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.model-cat-nav a .bh-ico { width: 16px; height: 16px; }

.model-list { gap: 10px; display: flex; flex-direction: column; }
.model-row {
  padding: 16px 18px;
  border-radius: 14px;
  gap: 10px 16px;
}
.model-row h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 2px;
}
.model-row .desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cap-card {
  position: relative;
  padding-top: 28px;
}
.cap-card .icon-badge {
  position: relative;
  z-index: 1;
}
.cap-card.dark .icon-badge {
  background: rgba(255,255,255,0.12);
  color: #e9ddff;
}
.cap-card h3 {
  letter-spacing: -0.015em;
  margin: 4px 0 10px;
}
.cap-card p {
  line-height: 1.65;
  margin-bottom: 16px;
}

.pillar {
  padding: 22px 20px;
  border-radius: 16px;
}
.pillar h3 {
  margin: 8px 0 10px;
  letter-spacing: -0.015em;
}
.pillar-icon {
  /* keep decorative blobs but sit beside svg if present */
}

.scene-card {
  padding: 22px 20px;
  border-radius: 18px;
}
.scene-card h3 {
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}

.auth-card, .wallet-card {
  padding: 1.85rem 1.6rem 1.7rem;
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(110, 41, 245, 0.07);
}
.auth-card .icon-badge,
.wallet-card > .icon-badge {
  margin-bottom: 14px;
}
.auth-form label, .wallet-form label {
  margin-bottom: 1rem;
  line-height: 1.4;
}
.auth-form input, .wallet-form input {
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
}
.stat-pill {
  padding: 1rem 0.85rem;
  border-radius: 14px;
}
.stat-pill .v {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.amount-grid button {
  padding: 0.8rem 0.35rem;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.amount-grid button:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.pay-methods label {
  font-weight: 560;
  gap: 0.5rem;
}
.pay-methods .bh-ico { width: 18px; height: 18px; }

.topbar {
  padding: 12px 36px;
  backdrop-filter: saturate(1.2) blur(8px);
}

.faq-item h3 {
  letter-spacing: -0.01em;
}
.faq-item p {
  line-height: 1.7;
}

.chat-panel {
  border-radius: 18px;
}
.toolbar {
  gap: 12px;
  align-items: end;
}

@media (max-width: 720px) {
  .model-cat-head {
    grid-template-columns: 1fr;
  }
  .model-cat-head .cat-ico-wrap {
    grid-row: auto;
    margin-bottom: 4px;
  }
  .topbar { padding: 10px 16px; }
}


/* —— Nav hover ak: WorkBuddy/SiliconFlow inspired —— */
.nav a {
  color: #3f3358; /* deeper than muted gray */
  font-weight: 560;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.nav a:hover {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.nav a.is-active {
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
  font-weight: 650;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.nav a[href="login.html"],
.nav a[href="recharge.html"],
.nav a[href="account.html"],
.nav a.nav-user,
.nav a[data-auth-link] {
  color: #2a1f45;
  font-weight: 650;
}
.nav a[href="login.html"]:hover,
.nav a[href="recharge.html"]:hover,
.nav a[href="account.html"]:hover,
.nav a.nav-user:hover,
.nav a[data-auth-link]:hover {
  color: #fff !important;
  background: var(--accent) !important;
  box-shadow: none;
}
.nav a .nav-ico { color: inherit; opacity: 0.9; }

/* Plain-language model tags */
.plain-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.model-row .plain-tag { margin-bottom: 2px; }
.model-hint {
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #4b3a6e;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid rgba(110,41,245,0.12);
}
.model-hint strong { color: var(--accent); }
.toolbar .field { flex: 1; min-width: 200px; }


/* —— Chat decor al: WorkBuddy-inspired, purple-white only —— */
body:has(.chat-page) {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(110, 41, 245, 0.14), transparent 60%),
    radial-gradient(700px 380px at 95% 8%, rgba(167, 139, 250, 0.18), transparent 55%),
    radial-gradient(600px 360px at 50% 100%, rgba(110, 41, 245, 0.08), transparent 50%),
    var(--bg);
}
.chat-page {
  position: relative;
  z-index: 0;
}
.chat-stage {
  pointer-events: none;
  position: absolute;
  inset: 0 -40px auto;
  height: 520px;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 40%, rgba(110,41,245,0.07) 0 28%, transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(196,181,253,0.35) 0 18%, transparent 22%);
  filter: blur(2px);
}
.chat-panel {
  position: relative;
  border: 1px solid rgba(110, 41, 245, 0.14);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(110, 41, 245, 0.10),
    0 4px 16px rgba(15, 23, 42, 0.04);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.chat-panel-glow {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 280px;
  height: 180px;
  background: radial-gradient(circle, rgba(110,41,245,0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.chat-rail {
  position: absolute;
  left: 10px;
  top: 88px;
  bottom: 100px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(110,41,245,0.35), rgba(110,41,245,0.05));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  z-index: 1;
  pointer-events: none;
}
.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8c9ff;
}
.rail-dot.is-accent {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(110,41,245,0.15);
}
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px 0;
  position: relative;
  z-index: 1;
}
.chip-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #5b21d6;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(110,41,245,0.12);
}
.chat-panel .toolbar {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(241,233,255,0.65), rgba(255,255,255,0.4));
  border-bottom: 1px solid rgba(110,41,245,0.10);
  padding: 14px 18px 12px 22px;
}
.chat-panel .model-hint {
  margin: 0 18px 0 22px;
  position: relative;
  z-index: 1;
}
.chat-panel .messages {
  position: relative;
  z-index: 1;
  margin-left: 8px;
  background:
    linear-gradient(180deg, rgba(250,248,255,0.9), rgba(255,255,255,0.95)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(110,41,245,0.03) 23px,
      rgba(110,41,245,0.03) 24px
    );
  padding: 22px 20px 22px 28px;
  min-height: min(56vh, 520px);
  height: min(58vh, 560px);
}
.msg {
  align-items: flex-end;
  gap: 10px;
}
.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(110,41,245,0.12);
  box-shadow: 0 4px 12px rgba(110,41,245,0.08);
}
.msg-avatar .bh-ico { width: 16px; height: 16px; }
.msg.assistant { justify-content: flex-start; }
.bubble {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  border: 1px solid transparent;
}
.msg.assistant .bubble {
  background: #fff;
  border-color: rgba(110,41,245,0.10);
  border-top-left-radius: 6px;
  border-radius: 18px 18px 18px 6px;
}
.msg.user .bubble {
  background: linear-gradient(135deg, #7c3aed, #6e29f5 55%, #5b21d6);
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 10px 24px rgba(110,41,245,0.28);
}
.chat-panel .composer {
  position: relative;
  z-index: 1;
  margin: 0 14px 14px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(110,41,245,0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 12px 30px rgba(110,41,245,0.10),
    0 2px 8px rgba(15,23,42,0.04);
  border-top: 1px solid rgba(110,41,245,0.16);
}
.composer textarea {
  border: none;
  background: transparent;
  border-radius: 14px;
  min-height: 52px;
}
.composer textarea:focus {
  outline: none;
  box-shadow: none;
}
.composer .btn-primary {
  border-radius: 14px;
  min-width: 88px;
  box-shadow: 0 8px 18px rgba(110,41,245,0.28);
}
.chat-page .page-hero h1 {
  background: linear-gradient(120deg, #2a1f45 30%, #6e29f5 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 720px) {
  .chat-rail { display: none; }
  .chat-panel .messages { margin-left: 0; padding-left: 16px; }
  .chat-panel .composer { margin: 0 10px 10px; }
}


/* —— Chat craft am: WorkBuddy outer-frame + type/icons/inspire/出品 —— */
.chat-page {
  font-family: "Inter", "Noto Sans SC", var(--font);
}
.chat-hero h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 4.2vw, 40px);
}
.chat-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: #5b5270;
  max-width: 36rem;
}
.inspire-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.inspire-chip {
  border: 1px solid rgba(110,41,245,0.16);
  background: rgba(255,255,255,0.85);
  color: #4b3a6e;
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13px/1.2 "Inter", "Noto Sans SC", sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(110,41,245,0.06);
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}
.inspire-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* Outer frame: double ring + corner marks (WorkBuddy-like chrome) */
.chat-panel {
  border: 1px solid rgba(110,41,245,0.18);
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.8) inset,
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 24px 60px rgba(110,41,245,0.12),
    0 8px 24px rgba(15,23,42,0.05);
}
.chat-frame-ring {
  pointer-events: none;
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  border: 1px dashed rgba(110,41,245,0.14);
  z-index: 0;
}
.corner-ornament {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 2;
  pointer-events: none;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.55;
}
.corner-ornament.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.corner-ornament.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.corner-ornament.bl { bottom: 52px; left: 14px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.corner-ornament.br { bottom: 52px; right: 14px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5b5270;
}
.field-ico { width: 14px; height: 14px; color: var(--accent); }
.btn-ico {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ico .bh-ico { width: 14px; height: 14px; }

.composer {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
}
.composer-tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px;
}
.tool-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(110,41,245,0.1);
}
.tool-ico .bh-ico { width: 15px; height: 15px; }
.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
}
.btn-send .send-ico { width: 16px; height: 16px; color: #fff; }

.chat-brand-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #7c6b9a;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.chat-brand-plate img {
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(110,41,245,0.15);
}
.chat-brand-plate .plate-en {
  font-family: Inter, sans-serif;
  font-weight: 500;
  color: #9b8bb8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.plate-sep { opacity: 0.45; }

.chat-panel .messages {
  font-size: 15px;
  line-height: 1.65;
}
.msg.assistant .bubble {
  font-weight: 450;
}
.msg.user .bubble {
  font-weight: 500;
}

/* Soft divider hairline under chips */
.chat-chips {
  border-bottom: 1px solid rgba(110,41,245,0.08);
  padding-bottom: 12px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .composer { grid-template-columns: 1fr auto !important; }
  .composer-tools { display: none; }
  .corner-ornament { opacity: 0.35; }
}


/* —— Site-wide page auras an: distinct per page, purple-white —— */
.page-aura {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-aura .aura-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.page-aura .aura-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(rgba(110,41,245,0.9) 0.6px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}
body > header, body > main, body > footer, body > .hero-carousel, body > .marquee-band, body > .page {
  position: relative;
  z-index: 1;
}
/* home: wide mesh + soft orbs */
.deco-home .b1 { width: 520px; height: 520px; left: -120px; top: -80px; background: rgba(110,41,245,0.16); }
.deco-home .b2 { width: 420px; height: 420px; right: -80px; top: 120px; background: rgba(167,139,250,0.22); }
.deco-home .b3 { width: 360px; height: 360px; left: 35%; bottom: 5%; background: rgba(196,181,253,0.18); }
.deco-home .aura-motif {
  position: absolute; inset: 80px 10% auto; height: 220px;
  background:
    linear-gradient(115deg, transparent 40%, rgba(110,41,245,0.05) 45%, transparent 55%),
    linear-gradient(70deg, transparent 40%, rgba(110,41,245,0.04) 50%, transparent 60%);
  border-radius: 40px;
}
body.home .section-lift,
body.home .cap-card,
body.home .scene-card,
body.home .pillar {
  box-shadow: 0 16px 40px rgba(110,41,245,0.07), 0 2px 10px rgba(15,23,42,0.03);
  border: 1px solid rgba(110,41,245,0.08);
}
body.home .cap-card,
body.home .scene-card,
body.home .pillar { border-radius: 20px; }

/* models: ribbon stripes + mosaic */
.deco-models .b1 { width: 480px; height: 480px; right: -140px; top: -60px; background: rgba(110,41,245,0.14); }
.deco-models .b2 { width: 300px; height: 300px; left: -60px; top: 40%; background: rgba(139,92,246,0.12); }
.deco-models .b3 { display: none; }
.deco-models .aura-motif {
  position: absolute; left: 0; right: 0; top: 160px; height: 64px;
  background: repeating-linear-gradient(
    -12deg,
    rgba(110,41,245,0.05) 0 18px,
    transparent 18px 36px
  );
}
body.page-models .model-cat-head {
  box-shadow: 0 12px 28px rgba(110,41,245,0.08);
  border: 1px solid rgba(110,41,245,0.10);
}
body.page-models .model-row {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(110,41,245,0.08);
  box-shadow: 0 6px 18px rgba(110,41,245,0.04);
}
body.page-models .model-row:hover {
  border-color: rgba(110,41,245,0.22);
  box-shadow: 0 10px 24px rgba(110,41,245,0.09);
}

/* chat: stronger ambient (complement existing) */
.deco-chat .b1 { width: 560px; height: 420px; left: -100px; top: -40px; background: rgba(110,41,245,0.18); }
.deco-chat .b2 { width: 460px; height: 460px; right: -120px; top: 80px; background: rgba(196,181,253,0.28); }
.deco-chat .b3 { width: 280px; height: 280px; left: 45%; bottom: 10%; background: rgba(124,58,237,0.10); }
.deco-chat .aura-motif {
  position: absolute; inset: auto 8% 18% ; height: 180px;
  border: 1px solid rgba(110,41,245,0.08);
  border-radius: 32px;
  box-shadow: inset 0 0 60px rgba(110,41,245,0.05);
}
body.page-chat .chat-panel {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.85) inset,
    0 28px 70px rgba(110,41,245,0.16),
    0 10px 28px rgba(15,23,42,0.06);
}
body.page-chat .corner-ornament { opacity: 0.85; }

/* auth/login: concentric rings behind card */
.deco-auth .b1 { width: 420px; height: 420px; left: 50%; top: 120px; transform: translateX(-50%); background: rgba(110,41,245,0.14); }
.deco-auth .b2 { width: 260px; height: 260px; left: 12%; bottom: 12%; background: rgba(167,139,250,0.16); }
.deco-auth .b3 { width: 200px; height: 200px; right: 10%; top: 30%; background: rgba(196,181,253,0.2); }
.deco-auth .aura-motif {
  position: absolute; left: 50%; top: 210px; transform: translateX(-50%);
  width: min(520px, 92vw); height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(110,41,245,0.12);
  box-shadow:
    0 0 0 28px rgba(110,41,245,0.04),
    0 0 0 56px rgba(110,41,245,0.03);
}
.auth-shell {
  position: relative;
  border-radius: 22px !important;
  border: 1px solid rgba(110,41,245,0.16) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9) inset,
    0 22px 50px rgba(110,41,245,0.12) !important;
  overflow: hidden;
}
.auth-shell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* recharge: radial coin rings */
.deco-recharge .b1 { width: 480px; height: 480px; right: -100px; top: 40px; background: rgba(124,58,237,0.14); }
.deco-recharge .b2 { width: 300px; height: 300px; left: -40px; bottom: 10%; background: rgba(167,139,250,0.16); }
.deco-recharge .b3 { display: none; }
.deco-recharge .aura-motif {
  position: absolute; right: 8%; top: 180px; width: 280px; height: 280px; border-radius: 50%;
  border: 2px dashed rgba(110,41,245,0.18);
  box-shadow: 0 0 0 18px rgba(110,41,245,0.05), 0 0 0 36px rgba(110,41,245,0.03);
}
.shell-recharge {
  border-radius: 22px !important;
  border: 1px solid rgba(110,41,245,0.16) !important;
  box-shadow: 0 20px 48px rgba(110,41,245,0.11) !important;
  background:
    linear-gradient(180deg, rgba(241,233,255,0.55), rgba(255,255,255,0.95) 28%) !important;
}

/* account: soft ledger grid */
.deco-account .b1 { width: 400px; height: 400px; left: -80px; top: 80px; background: rgba(110,41,245,0.12); }
.deco-account .b2 { width: 340px; height: 340px; right: -60px; bottom: 8%; background: rgba(196,181,253,0.2); }
.deco-account .b3 { display: none; }
.deco-account .aura-motif {
  position: absolute; inset: 140px 6% 10%;
  background:
    linear-gradient(rgba(110,41,245,0.04) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(110,41,245,0.03) 1px, transparent 1px) 0 0 / 28px 100%;
  border-radius: 24px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.shell-account {
  border-radius: 22px !important;
  border: 1px solid rgba(110,41,245,0.14) !important;
  box-shadow: 0 18px 44px rgba(110,41,245,0.10) !important;
}
.shell-account .stat-pill {
  box-shadow: 0 8px 20px rgba(110,41,245,0.06);
  border-color: rgba(110,41,245,0.14);
}

/* pricing */
.deco-pricing .b1 { width: 380px; height: 380px; left: -60px; top: 60px; background: rgba(110,41,245,0.12); }
.deco-pricing .b2 { width: 300px; height: 300px; right: -40px; top: 30%; background: rgba(167,139,250,0.14); }
.deco-pricing .aura-motif {
  display: none; /* was a wide horizontal band behind pricing hero */
}

/* shared page-hero polish on decorated pages */
body.page-models .page-hero,
body.page-auth .page-hero,
body.page-wallet .page-hero,
body.page-pricing .page-hero,
body.page-chat .page-hero {
  position: relative;
}
/* removed page-hero underline bar — looked like a stray stripe on pricing */
body.page-models .page-hero::after,
body.page-auth .page-hero::after,
body.page-wallet .page-hero::after,
body.page-pricing .page-hero::after {
  content: none;
  display: none;
}


/* —— Chat rich ao: Buddy One density — frames, icons, mixed textures —— */
.deco-chat-rich .aura-blob { opacity: 0.7; }
.deco-chat-rich .geo {
  position: absolute;
  pointer-events: none;
}
.deco-chat-rich .geo-ring {
  width: 220px; height: 220px; right: 6%; top: 18%;
  border: 2px solid rgba(110,41,245,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(110,41,245,0.05), inset 0 0 40px rgba(110,41,245,0.06);
}
.deco-chat-rich .geo-grid {
  left: 4%; top: 55%; width: 160px; height: 160px;
  background:
    linear-gradient(rgba(110,41,245,0.12) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(110,41,245,0.12) 1px, transparent 1px) 0 0 / 16px 16px;
  border-radius: 18px;
  transform: rotate(-8deg);
  opacity: 0.7;
}
.deco-chat-rich .geo-dots {
  right: 12%; bottom: 12%; width: 140px; height: 90px;
  background-image: radial-gradient(circle, rgba(110,41,245,0.35) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.55;
}
.deco-chat-rich .geo-slash {
  left: 18%; top: 22%; width: 120px; height: 70px;
  background: repeating-linear-gradient(
    -35deg,
    rgba(110,41,245,0.16) 0 3px,
    transparent 3px 10px
  );
  border-radius: 12px;
  opacity: 0.65;
}
.deco-chat-rich .geo-tri {
  left: 72%; top: 62%; width: 0; height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 48px solid rgba(110,41,245,0.12);
  filter: drop-shadow(0 8px 12px rgba(110,41,245,0.08));
}
.deco-chat-rich .geo-arc {
  left: 8%; bottom: 22%; width: 100px; height: 50px;
  border: 3px solid rgba(124,58,237,0.22);
  border-bottom: none;
  border-radius: 100px 100px 0 0;
}
.deco-chat-rich .aura-grain {
  opacity: 0.055;
  background-image:
    radial-gradient(rgba(110,41,245,0.85) 0.55px, transparent 0.65px),
    radial-gradient(rgba(91,33,214,0.5) 0.4px, transparent 0.5px);
  background-size: 5px 5px, 9px 9px;
  background-position: 0 0, 2px 3px;
}

.hero-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(110,41,245,0.14);
  border-radius: 24px;
  padding: 22px 22px 18px;
  box-shadow: 0 16px 40px rgba(110,41,245,0.08);
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}
.hero-card-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hero-ico-wrap {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #f1e9ff, #fff);
  border: 1px solid rgba(110,41,245,0.16);
  color: var(--accent);
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(110,41,245,0.1);
}
.hero-card .inspire-row { margin-top: 14px; }
.inspire-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: #fff !important;
  border: 1px solid rgba(110,41,245,0.2) !important;
  box-shadow: 0 6px 16px rgba(110,41,245,0.08) !important;
}
.inspire-chip .bh-ico { width: 14px; height: 14px; color: var(--accent); }
.inspire-chip:hover .bh-ico { color: #fff; }

.zone-card {
  border: 1px solid rgba(110,41,245,0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(110,41,245,0.06);
}
.zone-toolbar {
  margin: 12px 16px 0 !important;
  background: linear-gradient(180deg, #f8f5ff, #fff) !important;
}
.hint-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 16px !important;
  padding: 12px 14px !important;
  background: #fff;
  border: 1px solid rgba(110,41,245,0.14);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(110,41,245,0.07);
}
.hint-card .model-hint {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  flex: 1;
}
.hint-ico {
  width: 40px; height: 40px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(110,41,245,0.14);
  flex: 0 0 auto;
}
.hint-ico .bh-ico { width: 18px; height: 18px; }
.zone-messages {
  margin: 12px 16px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(250,248,255,0.95), #fff),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(110,41,245,0.035) 27px 28px) !important;
}
.zone-composer {
  margin: 12px 16px 8px !important;
}
.chat-brand-plate {
  margin: 0 16px 12px;
  padding: 10px 14px !important;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(241,233,255,0.9), rgba(255,255,255,0.95));
  border: 1px dashed rgba(110,41,245,0.22);
  color: #4b3a6e !important;
  font-size: 13px !important;
}
.chat-panel .chat-chips {
  margin: 12px 16px 0;
  padding: 10px 12px !important;
  border: 1px solid rgba(110,41,245,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.75);
}
.chat-frame-ring {
  border: 1.5px dashed rgba(110,41,245,0.22) !important;
  inset: 10px !important;
}
.corner-ornament {
  width: 22px !important; height: 22px !important;
  border-width: 2.5px !important;
  opacity: 0.9 !important;
}
.chat-rail {
  width: 8px !important;
  background: linear-gradient(180deg, rgba(110,41,245,0.55), rgba(110,41,245,0.08)) !important;
}
@media (max-width: 720px) {
  .hero-card-inner { flex-direction: column; }
  .deco-chat-rich .geo-grid, .deco-chat-rich .geo-tri { display: none; }
}


/* —— Motion ap: Buddy One–inspired subtle animation —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .cap-card, .scene-card, .pillar, .model-row, .auth-card, .wallet-card, .inspire-chip, .chip-mini, .stat-pill, .amount-grid button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  }
  .cap-card:hover, .scene-card:hover, .pillar:hover, .model-row:hover, .auth-shell:hover, .wallet-shell:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(110,41,245,0.12);
  }
  .inspire-chip:hover, .chip-mini:hover, .amount-grid button:hover, .stat-pill:hover {
    transform: translateY(-2px);
  }
  .nav a {
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }
  .nav a:hover { transform: translateY(-1px); }
  .btn-primary, .btn-send, .btn-hero, .cap-btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
  }
  .btn-primary:hover, .btn-send:hover, .btn-hero:hover, .cap-btn:hover {
    transform: translateY(-1px);
  }
  .hero-ico-wrap, .hint-ico, .msg-avatar, .icon-badge, .tool-ico {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .hero-card:hover .hero-ico-wrap,
  .hint-card:hover .hint-ico,
  .msg.assistant:hover .msg-avatar {
    transform: scale(1.06);
  }
  .page-aura .aura-blob {
    animation: bh-float 12s ease-in-out infinite alternate;
  }
  .page-aura .b2 { animation-delay: -3s; animation-duration: 14s; }
  .page-aura .b3 { animation-delay: -6s; animation-duration: 16s; }
  .deco-chat-rich .geo-ring {
    animation: bh-spin-slow 48s linear infinite;
  }
  .deco-chat-rich .geo-dots {
    animation: bh-drift 18s ease-in-out infinite alternate;
  }
  .chat-brand-plate {
    animation: bh-fade-in 0.8s ease both;
  }
  .chat-panel .chip-mini {
    animation: bh-fade-in 0.5s ease both;
  }
  .chat-panel .chip-mini:nth-child(2) { animation-delay: 0.08s; }
  .chat-panel .chip-mini:nth-child(3) { animation-delay: 0.16s; }
  .inspire-chip { animation: bh-fade-in 0.45s ease both; }
  .inspire-chip:nth-child(2) { animation-delay: 0.05s; }
  .inspire-chip:nth-child(3) { animation-delay: 0.1s; }
  .inspire-chip:nth-child(4) { animation-delay: 0.15s; }
  .inspire-chip:nth-child(5) { animation-delay: 0.2s; }
  .corner-ornament {
    animation: bh-fade-in 0.7s ease both;
  }
  @keyframes bh-float {
    from { transform: translate3d(0,0,0) scale(1); }
    to { transform: translate3d(12px, -18px, 0) scale(1.04); }
  }
  @keyframes bh-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @keyframes bh-drift {
    from { transform: translateX(0); opacity: 0.45; }
    to { transform: translateX(16px); opacity: 0.7; }
  }
  @keyframes bh-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}


/* ===== WorkBuddy-inspired dark island footer ===== */
.footer.footer-dark {
  background: transparent;
  border: 0;
  padding: 0 1.25rem 2rem;
  margin-top: 3rem;
  position: relative;
}
.footer-dark .footer-island {
  position: relative;
  overflow: hidden;
  background: #0b0b0f;
  color: #f5f5f7;
  border-radius: 28px;
  padding: 2.25rem 2rem 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 10, 40, 0.18);
}
.footer-dark .footer-watermark {
  position: absolute;
  left: 50%;
  bottom: 0.4rem;
  transform: translateX(-50%);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.045);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}
.footer-dark .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.footer-dark .footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 280px;
}
.footer-dark .footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.footer-dark .footer-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8b5cf6, #6E29F5 55%, #4c1d95);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(110,41,245,0.35);
}
.footer-dark .footer-brand-mark svg { width: 22px; height: 22px; color: #fff; }
.footer-dark .footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-dark .footer-brand-cn { font-weight: 700; font-size: 1rem; color: #fff; }
.footer-dark .footer-brand-en { font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.footer-dark .footer-slogan {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-dark .footer-bot {
  width: 72px;
  height: 72px;
  margin-top: 0.25rem;
  opacity: 0.95;
}
.footer-dark .footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  flex: 1;
  min-width: min(100%, 520px);
}
.footer-dark .footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-dark .footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.86rem;
  margin: 0.35rem 0;
  transition: color .2s ease, transform .2s ease;
}
.footer-dark .footer-col a:hover {
  color: #c4b5fd;
  transform: translateX(2px);
}
.footer-dark .footer-col a .bh-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.85;
}
.footer-dark .footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
}
.footer-dark .footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-dark .footer-bottom a:hover { color: #ddd6fe; }

@media (max-width: 900px) {
  .footer-dark .footer-nav-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer.footer-dark { padding: 0 0.75rem 1.25rem; }
  .footer-dark .footer-island { border-radius: 20px; padding: 1.5rem 1.1rem 1rem; }
  .footer-dark .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-dark .footer-bot { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-dark .footer-col a { transition: none; }
}


/* ===== WorkBuddy enterprise-inspired home intro ===== */
.wb-intro-head .wb-lead {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  color: #4b4563;
  font-size: 1.05rem;
  line-height: 1.7;
}
.wb-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.wb-suite-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(110,41,245,0.12);
  border-radius: 20px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 10px 30px rgba(80, 40, 160, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.wb-suite-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.wb-suite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,41,245,0.28);
  box-shadow: 0 18px 40px rgba(110,41,245,0.12);
}
@media (prefers-reduced-motion: no-preference) {
  .wb-suite-card:hover::after { animation: wb-sheen 0.9s ease; }
}
@keyframes wb-sheen {
  to { transform: translateX(120%); }
}
.wb-ico-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: #6E29F5;
  background: linear-gradient(145deg, #f3eeff, #ebe4ff);
  box-shadow: inset 0 0 0 1px rgba(110,41,245,0.12);
}
.wb-ico-wrap .bh-ico { width: 22px; height: 22px; }
.wb-ico-wrap.tone-a { color: #6E29F5; }
.wb-ico-wrap.tone-b { color: #7c3aed; background: linear-gradient(145deg,#efe9ff,#e4dcff); }
.wb-ico-wrap.tone-c { color: #5b21b6; }
.wb-ico-wrap.tone-d { color: #4c1d95; }
.wb-ico-wrap.tone-e { color: #6d28d9; }
.wb-ico-wrap.tone-f { color: #7e22ce; }
.wb-suite-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #1f1633;
}
.wb-suite-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c5670;
}

.wb-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.wb-step {
  background: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.1rem 1.35rem;
  border: 1px solid rgba(110,41,245,0.1);
  box-shadow: 0 8px 24px rgba(40,20,80,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}
.wb-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6E29F5;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}
.wb-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #1f1633;
}
.wb-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c5670;
}

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

@media (prefers-reduced-motion: no-preference) {
  .wb-ico-wrap {
    animation: wb-float 4.5s ease-in-out infinite;
  }
  .wb-suite-card:nth-child(2) .wb-ico-wrap { animation-delay: .4s; }
  .wb-suite-card:nth-child(3) .wb-ico-wrap { animation-delay: .8s; }
  .wb-suite-card:nth-child(4) .wb-ico-wrap { animation-delay: 1.2s; }
  .wb-suite-card:nth-child(5) .wb-ico-wrap { animation-delay: 1.6s; }
  .wb-suite-card:nth-child(6) .wb-ico-wrap { animation-delay: 2s; }
}
@keyframes wb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .wb-ico-wrap { animation: none !important; }
  .wb-suite-card:hover { transform: none; }
  .wb-suite-card::after { display: none; }
}

/* soft home particles layer optional via existing aura */
.home-page .wb-intro { position: relative; }


/* ===== BirdHub as: experience + motion density + WorkBuddy-clean polish ===== */
:root {
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 36px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.035);
  --space-section: clamp(3.5rem, 6vw, 5.5rem);
}

.section { padding-block: var(--space-section); }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head h2 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.section-head p { color: var(--muted); line-height: 1.7; max-width: 36rem; }
.section-en { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: var(--muted-2); margin: 0 0 0.5rem; }

.cap-card, .pillar, .scene-card, .model-row, .auth-card, .wallet-card, .chat-panel, .xp-card {
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}
.btn-primary, .btn-hero, .btn-send, .cap-btn, .xp-tab.is-active { border-radius: 999px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); text-decoration: none;
  background: #fff;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.home-motion {
  position: relative; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  max-width: var(--max); overflow: hidden;
}
.home-motion-inner {
  position: relative; z-index: 1; display: grid; gap: 1.75rem;
  grid-template-columns: 1.1fr 1fr; align-items: center;
}
@media (max-width: 900px) { .home-motion-inner { grid-template-columns: 1fr; } }
.motion-stage {
  position: relative; min-height: 280px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8f5ff 0%, #fff 55%, #f3f0ff 100%);
  border: 1px solid rgba(110,41,245,0.08); box-shadow: var(--shadow);
  overflow: hidden; perspective: 900px;
}
.motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.motion-orbs span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(110,41,245,0.35));
  animation: bh-orb-float 9s ease-in-out infinite alternate;
}
.motion-orbs .o1 { width: 120px; height: 120px; left: 12%; top: 18%; }
.motion-orbs .o2 { width: 72px; height: 72px; right: 18%; top: 28%; animation-duration: 7s; animation-delay: -2s; opacity: 0.85; }
.motion-orbs .o3 { width: 48px; height: 48px; left: 40%; bottom: 16%; animation-duration: 8s; animation-delay: -4s; opacity: 0.7; }
@keyframes bh-orb-float {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(14px,-18px,0) scale(1.06); }
}
.motion-copy h2 { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -0.02em; }
.motion-copy p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.7; max-width: 34rem; }

.home-spatial { max-width: var(--max); margin: 0 auto 0.5rem; padding: 0 1.25rem clamp(2rem, 4vw, 3rem); }
.spatial-card {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1328 0%, #2a1f45 48%, #6E29F5 140%);
  color: #fff; overflow: hidden; box-shadow: 0 18px 50px rgba(110,41,245,0.22);
  transform-style: preserve-3d;
}
@media (max-width: 900px) { .spatial-card { grid-template-columns: 1fr; } }
.spatial-card .spatial-en { opacity: 0.65; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; margin: 0 0 0.4rem; }
.spatial-card h2 { margin: 0 0 0.55rem; font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 650; letter-spacing: -0.02em; }
.spatial-card p { margin: 0 0 1.2rem; color: rgba(255,255,255,0.78); line-height: 1.7; max-width: 34rem; }
.spatial-card .btn-primary { background: #fff; color: #6E29F5; }
.spatial-card .btn-primary:hover { background: #f3eefc; }
.spatial-preview {
  position: relative; min-height: 180px; border-radius: 18px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.spatial-preview .sp-layer {
  position: absolute; inset: 18px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(167,139,250,0.25));
  border: 1px solid rgba(255,255,255,0.18);
}
.spatial-preview .sp-layer.l2 { inset: 34px 28px 28px 40px; transform: translateZ(18px); opacity: 0.9; }
.spatial-preview .sp-layer.l3 { inset: 48px 42px 42px 56px; transform: translateZ(32px); opacity: 0.75; }
.spatial-preview .sp-chip {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.75rem;
  background: rgba(110,41,245,0.85); color: #fff;
}

.page-experience .xp-page { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.xp-hero { margin-bottom: 1.25rem; max-width: 40rem; }
.xp-hero h1 { margin: 0.2rem 0 0.55rem; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 650; letter-spacing: -0.025em; }
.xp-lead { color: var(--muted); line-height: 1.7; margin: 0 0 0.75rem; }
.xp-stage-wrap {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #fbfaff, #fff 40%, #f6f2ff);
  border: 1px solid rgba(110,41,245,0.1); box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.5rem; overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease;
}
.xp-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; }
.xp-stage-glow {
  position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(110,41,245,0.18), transparent 65%);
  pointer-events: none;
}
.xp-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.xp-tab {
  border: 1px solid var(--border); background: #fff; color: var(--muted);
  padding: 0.45rem 0.95rem; border-radius: 999px; cursor: pointer;
}
.xp-tab.is-active { background: var(--accent); color: #fff; border-color: transparent; }
.xp-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
@media (max-width: 900px) { .xp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .xp-cards { grid-template-columns: 1fr; } }
.xp-card {
  text-align: left; padding: 0.9rem 1rem; background: #fff; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
  animation: bh-fade-in 0.45s ease both; animation-delay: calc(var(--i, 0) * 0.04s);
}
.xp-card:hover { transform: translateY(-3px) rotateX(2deg); box-shadow: var(--shadow); border-color: rgba(110,41,245,0.25); }
.xp-card.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.xp-card-tag { display: inline-block; font-size: 0.7rem; color: var(--accent); background: var(--accent-soft); padding: 0.15rem 0.45rem; border-radius: 999px; margin-bottom: 0.35rem; }
.xp-card strong { display: block; font-size: 0.98rem; margin-bottom: 0.2rem; }
.xp-card em { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.xp-panel { position: relative; z-index: 1; background: rgba(255,255,255,0.72); border: 1px solid rgba(229,231,235,0.9); border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; backdrop-filter: blur(8px); }
.xp-selected { font-weight: 600; margin-bottom: 0.65rem; }
.xp-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.xp-prompt {
  width: 100%; resize: vertical; min-height: 96px; border-radius: 12px;
  border: 1px solid var(--border); padding: 0.75rem 0.9rem; background: #fff;
}
.xp-prompt:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.xp-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.75rem; }
.xp-status { margin: 0.75rem 0 0; color: #7c3aed; font-size: 0.92rem; }
.xp-output { margin-top: 1rem; }
.xp-out-text { white-space: pre-wrap; line-height: 1.65; padding: 0.9rem 1rem; background: #faf8ff; border-radius: 12px; border: 1px solid rgba(110,41,245,0.1); }
.xp-out-image img { max-width: 100%; border-radius: 14px; box-shadow: var(--shadow-sm); }
.xp-out-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }

.shine-title { position: relative; display: inline-block; }
.shine-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: bh-shine 4.5s ease-in-out infinite;
}
@keyframes bh-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); transform: translate(-50%,-50%) scale(1); opacity: 0;
  pointer-events: none;
}
.btn-ripple:hover::after { animation: bh-ripple 0.7s ease-out; }
@keyframes bh-ripple {
  from { opacity: 0.55; transform: translate(-50%,-50%) scale(1); }
  to { opacity: 0; transform: translate(-50%,-50%) scale(28); }
}
.float-soft { animation: bh-float 10s ease-in-out infinite alternate; }
.tilt-hover { transition: transform 0.25s ease, box-shadow 0.25s ease; transform-style: preserve-3d; }
.tilt-hover:hover { transform: translateY(-4px) rotateX(3deg) rotateY(-3deg); box-shadow: var(--shadow); }

.steps-grid .icon-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: var(--accent); background: var(--accent-soft); margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
  .cap-card, .pillar, .scene-card, .model-row { transition: transform 0.28s ease, box-shadow 0.28s ease; }
  .cap-card:hover, .pillar:hover, .scene-card:hover, .model-row:hover {
    transform: translateY(-3px); box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shine-title::after, .btn-ripple::after, .motion-orbs span, .float-soft, .page-aura .aura-blob { animation: none !important; }
  .xp-stage-wrap { transform: none !important; }
  .spatial-preview { transform: none; }
  .tilt-hover:hover, .xp-card:hover, .cap-card:hover, .pillar:hover, .scene-card:hover, .model-row:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
}


/* Footer logo: never browser-link blue; purple brand lockup on dark island */
.footer-dark .footer-brand-link {
  color: #fff !important;
  text-decoration: none;
}
.footer-dark .footer-brand-link:visited,
.footer-dark .footer-brand-link:hover,
.footer-dark .footer-brand-link:active {
  color: #fff !important;
}
.footer-dark .footer-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(243,238,255,0.92));
  border-radius: 14px;
  padding: 6px 10px;
  box-shadow: 0 8px 24px rgba(110, 41, 245, 0.25);
}
.footer-dark .footer-brand-mark {
  background: linear-gradient(145deg, #8b5cf6, #6E29F5 55%, #4c1d95) !important;
  color: #fff !important;
}
.footer-dark .footer-brand-mark svg {
  color: #fff !important;
  stroke: #fff !important;
}


/* Experience page — WorkBuddy-clean intro layer */
.xp-wb-intro { margin: 0 auto 1.5rem; max-width: 1100px; padding: 0 1rem; }
.xp-wb-intro .wb-lead { max-width: 40rem; margin: 0.6rem auto 0; text-align: center; color: #4b4563; line-height: 1.7; }
.xp-page .wb-suite-grid { margin-bottom: 0.5rem; }
.xp-hero { text-align: center; padding: 1.5rem 1rem 0.5rem; position: relative; z-index: 1; }
.xp-hero h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #1f1633;
  background: none;
  -webkit-text-fill-color: unset;
  letter-spacing: -0.02em;
}
.xp-hero .xp-lead {
  max-width: 36rem;
  margin: 0 auto;
  color: #5c5670;
  line-height: 1.65;
  font-size: 1.02rem;
}
.shine-title {
  /* disable clip-text that can look like 乱码 if font/paint fails */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #1f1633 !important;
  color: #1f1633 !important;
  animation: none !important;
}
.xp-stage-wrap {
  position: relative;
  z-index: 1;
  margin: 1rem auto 2rem;
  max-width: 1100px;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(110,41,245,0.12);
  box-shadow: 0 18px 50px rgba(80,40,160,0.08);
  overflow: hidden;
}
.xp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.xp-card {
  font-family: inherit;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(110,41,245,0.14);
  background: #fff;
  padding: 0.9rem 0.85rem;
  cursor: pointer;
  color: #1f1633;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.xp-card strong { display: block; font-size: 0.95rem; margin: 0.25rem 0; color: #1f1633; }
.xp-card em { display: block; font-style: normal; font-size: 0.8rem; color: #6b657e; }
.xp-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6E29F5;
  background: #f3eeff;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.xp-card.is-active {
  border-color: #6E29F5;
  box-shadow: 0 10px 28px rgba(110,41,245,0.18);
  transform: translateY(-2px);
}
.xp-panel { display: grid; gap: 0.65rem; }
.xp-label { font-size: 0.85rem; font-weight: 600; color: #3b3550; }
.xp-selected { font-weight: 600; color: #6E29F5; }
#xpPrompt {
  width: 100%;
  min-height: 96px;
  border-radius: 14px;
  border: 1px solid rgba(110,41,245,0.18);
  padding: 0.85rem 1rem;
  font: inherit;
  color: #1f1633;
  background: #fff;
  resize: vertical;
}
.xp-status { color: #5c5670; font-size: 0.9rem; }
.xp-output { margin-top: 0.75rem; color: #1f1633; line-height: 1.6; word-break: break-word; }
.xp-output img { max-width: 100%; border-radius: 14px; }
.xp-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.xp-tab {
  border: 1px solid rgba(110,41,245,0.16);
  background: #fff;
  color: #4b4563;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  cursor: pointer;
}
.xp-tab.is-active { background: #6E29F5; color: #fff; border-color: #6E29F5; }
.xp-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.45; }
@media (prefers-reduced-motion: reduce) {
  .xp-card { transition: none; }
  .xp-particles { display: none; }
}


/* pricing clean pass */
body.page-pricing .page-hero::after { content: none !important; display: none !important; }
body.page-pricing .deco-pricing .aura-motif { display: none !important; }
body.page-pricing .pricing-card {
  border: 1px solid rgba(110,41,245,0.12);
  box-shadow: 0 16px 40px rgba(110,41,245,0.08);
}
body.page-pricing .eyebrow { color: #6E29F5; }

.pricing-hero-mark {
  margin-top: 16px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(110,41,245,0.08);
  border: 1px solid rgba(110,41,245,0.14);
  display: grid; place-items: center;
}
.pricing-hero-mark img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* ===== nav icons + motion ay ===== */
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav a .nav-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.18s ease, color 0.18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(110,41,245,0.55), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  pointer-events: none;
}
.nav a.nav-cta::after { display: none; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a:hover .nav-ico,
.nav a.is-active .nav-ico {
  opacity: 1;
  color: #6E29F5;
  transform: translateY(-1px) scale(1.08);
}
@media (prefers-reduced-motion: no-preference) {
  .nav a:hover { transform: translateY(-1px); }
  .nav a.is-active .nav-ico {
    animation: nav-ico-pulse 2.4s ease-in-out infinite;
  }
  @keyframes nav-ico-pulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-1px) scale(1.06); }
  }
}
@media (max-width: 900px) {
  .nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(110,41,245,0.08);
    background: rgba(255,255,255,0.72);
    margin: 4px 0;
  }
  .nav a .nav-ico { width: 18px; height: 18px; opacity: 0.9; }
  .nav a::after { display: none; }
}

/* ===== ay: chat motion + stronger frames + site polish ===== */

/* Message enter */
.msg.msg-enter {
  animation: bh-msg-enter 0.35s ease both;
}
.msg.user.msg-enter { animation-name: bh-msg-enter-user; }
@keyframes bh-msg-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes bh-msg-enter-user {
  from { opacity: 0; transform: translateY(10px) translateX(8px); }
  to { opacity: 1; transform: none; }
}

/* Typing shimmer on empty assistant bubble */
.bubble.bubble-typing {
  min-width: 64px;
  min-height: 1.2em;
  position: relative;
  color: transparent !important;
  background:
    linear-gradient(90deg,
      rgba(241,233,255,0.95) 0%,
      rgba(255,255,255,0.98) 40%,
      rgba(216,201,255,0.95) 60%,
      rgba(241,233,255,0.95) 100%);
  background-size: 200% 100%;
  animation: bh-typing-shimmer 1.2s ease-in-out infinite;
}
.bubble.bubble-typing::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 14px;
  width: 28px; height: 6px;
  margin-top: -3px;
  border-radius: 999px;
  background: rgba(110,41,245,0.28);
  box-shadow: 10px 0 0 rgba(110,41,245,0.18), 20px 0 0 rgba(110,41,245,0.12);
}
@keyframes bh-typing-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Composer focus glow */
.composer:focus-within,
#chatForm:focus-within {
  border-color: rgba(110,41,245,0.38) !important;
  box-shadow:
    0 0 0 3px rgba(110,41,245,0.12),
    0 12px 28px rgba(110,41,245,0.12) !important;
}
.composer textarea:focus {
  outline: none;
  box-shadow: none;
}
.btn-send {
  position: relative;
  overflow: hidden;
}
.btn-send::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-send:hover::after {
  animation: bh-send-sheen 0.7s ease;
}
@keyframes bh-send-sheen {
  to { transform: translateX(120%); }
}

/* Soft pulse on chat-panel-glow + float dots */
.chat-panel-glow {
  animation: bh-glow-pulse 6s ease-in-out infinite;
}
.chat-panel-glow .float-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(110,41,245,0.45);
  box-shadow: 0 0 12px rgba(110,41,245,0.35);
  pointer-events: none;
}
.chat-panel-glow .float-dot.d1 { left: 42%; top: 38%; animation: bh-float-dot 7s ease-in-out infinite; }
.chat-panel-glow .float-dot.d2 { left: 68%; top: 62%; width: 6px; height: 6px; background: rgba(167,139,250,0.55); animation: bh-float-dot 9s ease-in-out infinite reverse; }
@keyframes bh-glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes bh-float-dot {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  50% { transform: translate(10px, -14px); opacity: 0.95; }
}

/* Stronger zone frames */
.zone-toolbar,
.zone-messages,
.zone-composer {
  border: 1.5px solid rgba(110,41,245,0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(110,41,245,0.04),
    0 10px 28px rgba(110,41,245,0.08) !important;
  background-clip: padding-box;
}
.zone-toolbar {
  border-radius: 16px !important;
  animation: bh-border-breathe 5.5s ease-in-out infinite;
}
.zone-messages {
  border-radius: 20px !important;
  animation: bh-border-breathe 6.5s ease-in-out infinite;
  animation-delay: -1.5s;
}
.zone-composer {
  border-radius: 18px !important;
  animation: bh-border-breathe 7s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes bh-border-breathe {
  0%, 100% { border-color: rgba(110,41,245,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 10px 28px rgba(110,41,245,0.07); }
  50% { border-color: rgba(110,41,245,0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 32px rgba(110,41,245,0.14); }
}

/* Zone head with spark */
.zone-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 16px 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #6E29F5;
  background: rgba(110,41,245,0.06);
  border: 1px solid rgba(110,41,245,0.14);
}
.zone-head .zone-spark {
  width: 14px; height: 14px;
  color: #6E29F5;
}
.zone-head-messages .zone-spark {
  animation: bh-spark-bounce 1.8s ease-in-out infinite;
}
@keyframes bh-spark-bounce {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
  40% { transform: translateY(-2px) scale(1.12); opacity: 1; }
  60% { transform: translateY(0) scale(1); }
}

/* Flowing purple-white conic border on chat panel */
.chat-panel.chat-panel-flow {
  position: relative;
  isolation: isolate;
  border: none !important;
  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)) padding-box,
    conic-gradient(from var(--bh-flow-angle, 0deg),
      rgba(110,41,245,0.15),
      rgba(196,181,253,0.85),
      rgba(110,41,245,0.55),
      rgba(255,255,255,0.9),
      rgba(167,139,250,0.7),
      rgba(110,41,245,0.15)) border-box;
  border: 2px solid transparent !important;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: bh-flow-angle 8s linear infinite;
}
/* removed --bh-flow-angle */
@keyframes bh-flow-angle {
  to { --bh-flow-angle: 360deg; }
}
/* Fallback rotating pseudo stroke for browsers without @property */
.chat-panel.chat-panel-flow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg,
    rgba(110,41,245,0.08),
    rgba(196,181,253,0.9),
    rgba(110,41,245,0.55),
    rgba(255,255,255,0.95),
    rgba(167,139,250,0.75),
    rgba(110,41,245,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: bh-spin-border 10s linear infinite;
  opacity: 0.85;
}
@keyframes bh-spin-border {
  to { transform: rotate(360deg); }
}
.chat-panel.chat-panel-flow > * { position: relative; z-index: 1; }
.chat-panel.chat-panel-flow .chat-panel-glow,
.chat-panel.chat-panel-flow .corner-ornament,
.chat-panel.chat-panel-flow .chat-frame-ring,
.chat-panel.chat-panel-flow .chat-rail { z-index: 0; }

/* Animated tool icons + send hover */
.composer-tools .tool-ico {
  display: inline-flex;
  animation: bh-tool-float 3.6s ease-in-out infinite;
}
.composer-tools .tool-ico:nth-child(2) { animation-delay: 0.6s; }
.composer-tools .tool-ico:nth-child(3) { animation-delay: 1.2s; }
@keyframes bh-tool-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.btn-send:hover {
  transform: translateY(-1px) scale(1.02);
}
.btn-send:active { transform: translateY(0) scale(0.98); }
.btn-send .send-ico {
  transition: transform 0.2s ease;
}
.btn-send:hover .send-ico {
  transform: translateX(2px);
}

/* Experience / blog auras */
.deco-experience .b1 { width: 480px; height: 480px; left: -100px; top: -40px; background: rgba(110,41,245,0.14); }
.deco-experience .b2 { width: 340px; height: 340px; right: -80px; top: 160px; background: rgba(167,139,250,0.18); }
.deco-experience .b3 { width: 260px; height: 260px; left: 40%; bottom: 8%; background: rgba(196,181,253,0.16); }
.deco-experience .aura-motif {
  position: absolute; right: 12%; top: 28%; width: 120px; height: 120px;
  border: 2px dashed rgba(110,41,245,0.16); border-radius: 28px; transform: rotate(12deg);
}
.deco-blog .b1 { width: 420px; height: 420px; left: -90px; top: -50px; background: rgba(110,41,245,0.12); }
.deco-blog .b2 { width: 300px; height: 300px; right: -70px; top: 120px; background: rgba(196,181,253,0.18); }
.deco-blog .b3 { display: none; }
.deco-blog .aura-motif {
  position: absolute; left: 18%; bottom: 18%; width: 90px; height: 90px;
  border: 1.5px dashed rgba(110,41,245,0.18); border-radius: 50%;
}

/* Soft site-wide accents: hero corner marks + eyebrow tint */
.page-hero { position: relative; }
.page-hero.soft-frame,
.hero-card.soft-frame {
  position: relative;
}
.soft-frame::before,
.soft-frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(110,41,245,0.35);
  border-style: solid;
  pointer-events: none;
}
.soft-frame::before {
  top: 10px; left: 10px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}
.soft-frame::after {
  bottom: 10px; right: 10px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6E29F5;
  box-shadow: 0 0 0 3px rgba(110,41,245,0.15);
  vertical-align: 1px;
}
body.page-pricing .pricing-hero-mark {
  background: rgba(110,41,245,0.1);
  border-color: rgba(110,41,245,0.2);
  box-shadow: 0 8px 20px rgba(110,41,245,0.1);
}
.auth-card, .wallet-card, .pricing-card, .blog-list > li, .xp-card {
  position: relative;
}
.auth-card, .wallet-card, .pricing-card {
  border-color: rgba(110,41,245,0.14);
}

/* Reduced motion: kill ay animations */
@media (prefers-reduced-motion: reduce) {
  .msg.msg-enter,
  .bubble.bubble-typing,
  .btn-send::after,
  .chat-panel-glow,
  .chat-panel-glow .float-dot,
  .zone-toolbar, .zone-messages, .zone-composer,
  .zone-head-messages .zone-spark,
  .chat-panel.chat-panel-flow,
  .chat-panel.chat-panel-flow::before,
  .composer-tools .tool-ico,
  .btn-send {
    animation: none !important;
    transition: none !important;
  }
  .bubble.bubble-typing { color: inherit !important; background: rgba(241,233,255,0.7); }
  .chat-panel.chat-panel-flow::before { opacity: 0.35; }
}

.chat-panel.chat-panel-flow { overflow: visible; }
.chat-panel.chat-panel-flow .messages { overflow: auto; }

.blog-article.soft-frame { padding: 22px 22px 18px; border-radius: 20px; background: rgba(255,255,255,0.72); border: 1px solid rgba(110,41,245,0.10); }
.xp-hero.soft-frame { padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,0.7); border: 1px solid rgba(110,41,245,0.12); }

/* ===== benefit lines (CN + EN signature) ===== */
.benefit-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 8px 12px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(110,41,245,0.06);
  border: 1px solid rgba(110,41,245,0.12);
  box-shadow: 0 8px 22px rgba(110,41,245,0.05);
}
.benefit-line .bn-cn {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3b0764;
  letter-spacing: 0.01em;
}
.benefit-line .bn-en {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6E29F5;
  opacity: 0.85;
  font-style: normal;
  letter-spacing: 0.02em;
}
.benefit-line .bn-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #6E29F5; opacity: 0.45;
  flex: 0 0 auto;
}
.page-hero .benefit-line { margin-top: 14px; }
.hero-slide .benefit-line {
  margin: 12px auto 0;
  justify-content: center;
}
.hero-slide.align-left .benefit-line { margin-left: 0; justify-content: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .benefit-line { animation: bh-fade-in 0.55s ease both; }
}

/* ===== mascot buddy ===== */
.bh-mascot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  pointer-events: none;
  z-index: 2;
}
.bh-mascot img {
  width: 72px; height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(110,41,245,0.18));
  user-select: none;
}
.bh-mascot .spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6E29F5;
  opacity: 0.35;
}
.bh-mascot .spark.s1 { top: 8px; right: 10px; }
.bh-mascot .spark.s2 { bottom: 14px; left: 6px; width: 4px; height: 4px; background: #c4b5fd; }
.bh-mascot .spark.s3 { top: 28px; left: 2px; width: 5px; height: 5px; opacity: 0.25; }
.bh-mascot-float {
  position: absolute;
  right: max(12px, 4vw);
  top: 12px;
}
.chat-hero { position: relative; }
.hero-carousel { position: relative; }
.bh-mascot-home {
  position: absolute;
  right: max(16px, 5vw);
  bottom: 28px;
  z-index: 5;
}
.page-hero { position: relative; }
@media (max-width: 720px) {
  .bh-mascot { width: 64px; height: 64px; }
  .bh-mascot img { width: 52px; height: 52px; }
  .bh-mascot-home { bottom: 12px; right: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bh-mascot img {
    animation: mascot-float 4.8s ease-in-out infinite;
  }
  .bh-mascot .spark.s1 { animation: mascot-twinkle 2.6s ease-in-out infinite; }
  .bh-mascot .spark.s2 { animation: mascot-twinkle 3.2s ease-in-out infinite 0.4s; }
  .bh-mascot .spark.s3 { animation: mascot-twinkle 2.9s ease-in-out infinite 0.8s; }
  @keyframes mascot-float {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(-7px) rotate(1.5deg); }
  }
  @keyframes mascot-twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.85); }
    50% { opacity: 0.7; transform: scale(1.15); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .bh-mascot img, .bh-mascot .spark { animation: none !important; }
}

/* ===== ay: chat frame refine (no nav) ===== */
/* Prefer single rotating stroke; keep fill clean (avoid double conic clash) */
.chat-panel.chat-panel-flow {
  background: rgba(255,255,255,0.94) !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  animation: none !important; /* angle var unused when using ::before spinner */
  box-shadow:
    0 20px 50px rgba(110, 41, 245, 0.10),
    0 4px 16px rgba(15, 23, 42, 0.04);
}
.chat-panel.chat-panel-flow::before {
  inset: -3px;
  border-radius: 26px;
  padding: 2.5px;
  opacity: 0.95;
  background: conic-gradient(from 0deg,
    rgba(110,41,245,0.12),
    #c4b5fd,
    #6E29F5,
    #f5f0ff,
    #a78bfa,
    rgba(110,41,245,0.12));
}
/* Inner quiet halo so zones read as frames inside the flow ring */
.chat-panel.chat-panel-flow::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1px solid rgba(110,41,245,0.08);
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.zone-toolbar,
.zone-messages,
.zone-composer {
  border-width: 1.5px !important;
  border-color: rgba(110,41,245,0.26) !important;
}
.zone-messages {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 0 0 1px rgba(110,41,245,0.04),
    0 12px 30px rgba(110,41,245,0.10) !important;
}
.chat-frame-ring {
  border-color: rgba(110,41,245,0.28) !important;
  opacity: 0.95;
}
.corner-ornament {
  border-color: #6E29F5 !important;
  opacity: 0.85 !important;
}
/* Soft rail accent pulse (decorative only) */
.chat-rail .rail-dot.is-accent {
  animation: bh-rail-pulse 2.2s ease-in-out infinite;
}
@keyframes bh-rail-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(110,41,245,0.12); }
  50% { box-shadow: 0 0 0 7px rgba(110,41,245,0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-rail .rail-dot.is-accent { animation: none !important; }
  .chat-panel.chat-panel-flow::before { animation: none !important; opacity: 0.45; }
}

/* mascot at CTA takeoff */
.cta-band {
  position: relative;
  overflow: visible;
}
.bh-mascot-cta {
  position: absolute;
  right: max(18px, 6vw);
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}
.bh-mascot-cta img {
  width: 96px;
  height: 96px;
}
@media (max-width: 720px) {
  .bh-mascot-cta {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 12px auto 0;
    display: flex;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .bh-mascot-cta img {
    animation: mascot-takeoff 3.6s ease-in-out infinite;
    transform-origin: 50% 70%;
  }
  @keyframes mascot-takeoff {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
    35% { transform: translateY(-6px) rotate(2deg) scale(1.03); }
    55% { transform: translateY(-14px) rotate(-1deg) scale(1.05); }
    75% { transform: translateY(-8px) rotate(1.5deg) scale(1.02); }
  }
}

/* ===== remove rotating chat border (user request) ===== */
.chat-panel.chat-panel-flow::before,
.chat-panel.chat-panel-flow::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
}
.chat-panel.chat-panel-flow {
  animation: none !important;
  border: 1px solid rgba(110,41,245,0.14) !important;
  background: rgba(255,255,255,0.96) !important;
  background-image: none !important;
}

/* ===== chat soft polish ba: less purple, fewer lines ===== */
body.page-chat {
  --accent: #7c6cf0;
  --accent-soft: #f6f3ff;
}
body.page-chat .chat-panel {
  border: 1px solid rgba(148, 140, 180, 0.22) !important;
  box-shadow:
    0 14px 36px rgba(80, 70, 120, 0.07),
    0 2px 10px rgba(15, 23, 42, 0.03) !important;
  background: rgba(255,255,255,0.97) !important;
}
/* kill leftover decorative lines */
body.page-chat .chat-frame-ring,
body.page-chat .corner-ornament,
body.page-chat .chat-rail,
body.page-chat .soft-frame::before,
body.page-chat .soft-frame::after,
body.page-chat .chat-panel.chat-panel-flow::before,
body.page-chat .chat-panel.chat-panel-flow::after {
  display: none !important;
  content: none !important;
  border: none !important;
  animation: none !important;
}
/* softer zone cards — one clean border, not stacked heavy purple */
body.page-chat .zone-card,
body.page-chat .zone-toolbar,
body.page-chat .zone-messages,
body.page-chat .zone-composer,
body.page-chat .hint-card {
  border: 1px solid rgba(160, 152, 190, 0.22) !important;
  border-width: 1px !important;
  border-color: rgba(160, 152, 190, 0.22) !important;
  box-shadow: 0 6px 18px rgba(80, 70, 120, 0.05) !important;
  background: #fff !important;
}
body.page-chat .zone-messages {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 8px 22px rgba(80, 70, 120, 0.06) !important;
}
body.page-chat .toolbar {
  border-bottom: 1px solid rgba(160, 152, 190, 0.16) !important;
}
body.page-chat .composer,
body.page-chat .chat-panel .composer {
  border: 1px solid rgba(160, 152, 190, 0.24) !important;
  border-top: 1px solid rgba(160, 152, 190, 0.18) !important;
}
body.page-chat .composer:focus-within,
body.page-chat #chatForm:focus-within {
  border-color: rgba(124, 108, 240, 0.35) !important;
  box-shadow:
    0 0 0 3px rgba(124, 108, 240, 0.08),
    0 10px 24px rgba(80, 70, 120, 0.08) !important;
}
/* soften purple accents on chat */
body.page-chat .eyebrow,
body.page-chat .benefit-line .bn-en,
body.page-chat .chip-mini,
body.page-chat .inspire-chip .bh-ico,
body.page-chat .msg-avatar,
body.page-chat .hero-ico-wrap {
  color: #6b5fd6;
}
body.page-chat .benefit-line {
  background: rgba(124, 108, 240, 0.05);
  border-color: rgba(160, 152, 190, 0.2);
  box-shadow: none;
}
body.page-chat .inspire-chip {
  border-color: rgba(160, 152, 190, 0.22);
  background: #faf9fd;
}
body.page-chat .inspire-chip:hover {
  border-color: rgba(124, 108, 240, 0.3);
  background: #fff;
}
body.page-chat .chip-mini {
  border-color: rgba(160, 152, 190, 0.2);
  background: rgba(250, 249, 253, 0.95);
  color: #5a5470;
}
body.page-chat .btn-primary,
body.page-chat .btn-send {
  background: linear-gradient(135deg, #7c6cf0, #6E29F5) !important;
  box-shadow: 0 8px 18px rgba(110, 41, 245, 0.18) !important;
}
body.page-chat .msg.assistant .bubble {
  background: #f7f5fc;
  border: 1px solid rgba(160, 152, 190, 0.18);
}
body.page-chat .msg.user .bubble {
  background: linear-gradient(135deg, #8b7cf5, #6E29F5);
}
body.page-chat .chat-panel-glow {
  opacity: 0.35;
  filter: saturate(0.7);
}
body.page-chat .zone-head {
  color: #6b6578;
}
body.page-chat .zone-head .zone-spark {
  color: #8b7cf5;
  opacity: 0.7;
}
body.page-chat .deco-chat .aura-blob,
body.page-chat .deco-chat-rich .geo {
  opacity: 0.45;
  filter: saturate(0.65);
}
/* subtle refined divider instead of many dashed lines */
body.page-chat .chat-brand-plate {
  border-top: 1px solid rgba(160, 152, 190, 0.14);
  color: #6b6578;
}

/* kill leftover chat decorative lines from screenshot */
body.page-chat .deco-chat .geo,
body.page-chat .deco-chat-rich .geo,
body.page-chat .deco-chat .aura-motif,
body.page-chat .deco-chat .aura-grain,
body.page-chat .chat-stage,
body.page-chat .chat-rail,
body.page-chat .chat-frame-ring,
body.page-chat .corner-ornament {
  display: none !important;
}
body.page-chat .deco-chat .aura-blob {
  opacity: 0.22 !important;
  filter: saturate(0.4) !important;
}
body.page-chat .chat-panel-glow {
  display: none !important;
}

/* ===== chat tech look bb ===== */
body.page-chat .chat-panel.chat-tech {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(120, 130, 170, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(248,249,252,0.98), rgba(255,255,255,0.99)) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.7) inset,
    0 16px 40px rgba(40, 50, 90, 0.08) !important;
  border-radius: 20px;
}
.chat-tech-hud {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.chat-tech-hud .tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(100, 110, 160, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 110, 160, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.chat-tech-hud .tech-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  top: 18%;
  background: linear-gradient(90deg, transparent, rgba(110,140,255,0.35), transparent);
  opacity: 0.5;
}
.chat-tech-hud .tech-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(110, 130, 200, 0.45);
  border-style: solid;
}
.chat-tech-hud .tc-tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.chat-tech-hud .tc-tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.chat-tech-hud .tc-bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.chat-tech-hud .tc-br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }
.chat-tech-hud .tech-chip {
  position: absolute;
  top: 12px;
  right: 52px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(90, 100, 140, 0.55);
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid rgba(120, 130, 170, 0.22);
  border-radius: 4px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
body.page-chat .chat-panel.chat-tech > *:not(.chat-tech-hud) {
  position: relative;
  z-index: 1;
}
/* cooler, less purple UI chrome */
body.page-chat .zone-card,
body.page-chat .zone-toolbar,
body.page-chat .zone-messages,
body.page-chat .zone-composer {
  border-color: rgba(130, 140, 175, 0.22) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.92) !important;
}
body.page-chat .zone-messages {
  background:
    linear-gradient(180deg, rgba(252,253,255,0.96), #fff) !important;
}
body.page-chat .btn-primary,
body.page-chat .btn-send {
  background: linear-gradient(135deg, #5b6cff, #6E29F5) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 8px 20px rgba(70, 80, 200, 0.22) !important;
}
body.page-chat .msg.assistant .bubble {
  background: rgba(245, 247, 252, 0.95);
  border: 1px solid rgba(130, 140, 175, 0.18);
  border-radius: 12px 12px 12px 4px;
}
body.page-chat .msg.user .bubble {
  background: linear-gradient(135deg, #6270f0, #5a3fd6);
  border-radius: 12px 12px 4px 12px;
}
body.page-chat .inspire-chip {
  border-radius: 8px;
  border-color: rgba(130, 140, 175, 0.25);
  font-variant: normal;
  letter-spacing: 0.01em;
}
body.page-chat .chip-mini {
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}
body.page-chat .composer:focus-within {
  border-color: rgba(90, 110, 230, 0.4) !important;
  box-shadow:
    0 0 0 1px rgba(90, 110, 230, 0.15),
    0 0 24px rgba(90, 110, 230, 0.08) !important;
}
@media (prefers-reduced-motion: no-preference) {
  .chat-tech-hud .tech-scan {
    animation: tech-scan 7s ease-in-out infinite;
  }
  @keyframes tech-scan {
    0%, 100% { top: 14%; opacity: 0.15; }
    50% { top: 72%; opacity: 0.45; }
  }
  .chat-tech-hud .tech-chip {
    animation: tech-chip-fade 3.5s ease-in-out infinite;
  }
  @keyframes tech-chip-fade {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.85; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-tech-hud .tech-scan,
  .chat-tech-hud .tech-chip { animation: none !important; }
}

/* ===== chat tech richer bc ===== */
.chat-tech-hud .tech-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    radial-gradient(circle at 12% 78%, rgba(90,120,255,0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 22%, rgba(90,120,255,0.22) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 10%, rgba(100,120,180,0.2) 10% 10.5%, transparent 10.5% 40%, rgba(100,120,180,0.15) 40% 40.4%, transparent 40.4%),
    linear-gradient(0deg, transparent 0 30%, rgba(100,120,180,0.14) 30% 30.4%, transparent 30.4% 70%, rgba(100,120,180,0.12) 70% 70.35%, transparent 70.35%);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.chat-tech-hud .tech-orbit {
  position: absolute;
  width: 120px; height: 120px;
  right: -28px; top: 40%;
  border: 1px solid rgba(110,140,230,0.22);
  border-radius: 50%;
  opacity: 0.55;
}
.chat-tech-hud .tech-orbit.o2 {
  width: 78px; height: 78px;
  right: -8px; top: calc(40% + 21px);
  border-style: dashed;
  opacity: 0.4;
}
.chat-tech-hud .tech-node {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(100, 130, 240, 0.55);
  box-shadow: 0 0 0 3px rgba(100,130,240,0.12), 0 0 10px rgba(100,130,240,0.35);
}
.chat-tech-hud .tech-node.n1 { left: 18%; top: 62%; }
.chat-tech-hud .tech-node.n2 { left: 42%; top: 28%; }
.chat-tech-hud .tech-node.n3 { right: 22%; bottom: 18%; }
.chat-tech-hud .tech-chip-latency {
  top: 12px;
  right: 148px;
  letter-spacing: 0.08em;
}
.chat-tech-hud .tech-meter {
  position: absolute;
  left: 14px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  opacity: 0.55;
}
.chat-tech-hud .tech-meter i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: linear-gradient(180deg, #7aa2ff, #5b6cff);
}
.chat-tech-hud .tech-meter i:nth-child(1) { height: 4px; }
.chat-tech-hud .tech-meter i:nth-child(2) { height: 7px; }
.chat-tech-hud .tech-meter i:nth-child(3) { height: 10px; }
.chat-tech-hud .tech-meter i:nth-child(4) { height: 13px; opacity: 0.85; }
.chat-tech-hud .tech-binary {
  position: absolute;
  left: 48px;
  bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(90, 105, 150, 0.4);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* message stream subtle side ticks */
body.page-chat .zone-messages {
  background-image:
    linear-gradient(90deg, rgba(100,130,220,0.08) 0 1px, transparent 1px) !important;
  background-size: 100% 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
}
body.page-chat .zone-head-messages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(90,100,140,0.65);
  margin: 4px 8px 0;
}
body.page-chat .composer-tools .tool-ico {
  border: 1px solid rgba(130,140,180,0.2);
  border-radius: 6px;
  padding: 2px;
  background: rgba(255,255,255,0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .chat-tech-hud .tech-orbit {
    animation: tech-orbit-spin 28s linear infinite;
  }
  .chat-tech-hud .tech-orbit.o2 {
    animation: tech-orbit-spin 18s linear infinite reverse;
  }
  @keyframes tech-orbit-spin {
    to { transform: rotate(360deg); }
  }
  .chat-tech-hud .tech-node.n1 { animation: tech-node-pulse 2.4s ease-in-out infinite; }
  .chat-tech-hud .tech-node.n2 { animation: tech-node-pulse 2.8s ease-in-out infinite 0.4s; }
  .chat-tech-hud .tech-node.n3 { animation: tech-node-pulse 3.1s ease-in-out infinite 0.8s; }
  @keyframes tech-node-pulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.35); opacity: 0.9; }
  }
  .chat-tech-hud .tech-meter i:nth-child(4) {
    animation: tech-bar 1.6s ease-in-out infinite;
  }
  @keyframes tech-bar {
    0%, 100% { height: 9px; opacity: 0.5; }
    50% { height: 14px; opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-tech-hud .tech-orbit,
  .chat-tech-hud .tech-node,
  .chat-tech-hud .tech-meter i { animation: none !important; }
}

.bh-mascot-robot img {
  width: 84px; height: 84px;
  filter: drop-shadow(0 8px 16px rgba(80,100,200,0.22));
}
@media (prefers-reduced-motion: no-preference) {
  .bh-mascot-robot img {
    animation: mascot-robot-hover 3.8s ease-in-out infinite;
  }
  @keyframes mascot-robot-hover {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    40% { transform: translateY(-6px) rotate(1deg); }
    70% { transform: translateY(-3px) rotate(-0.5deg); }
  }
}

/* ===== chat premium polish bd (WorkBuddy-inspired clean luxury) ===== */
body.page-chat .topbar {
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,232,240,0.9);
}
body.page-chat .chat-hero.hero-card {
  border: 1px solid rgba(220,224,236,0.9);
  background: linear-gradient(180deg, #ffffff, #f8f9fc);
  box-shadow: 0 10px 30px rgba(40,50,80,0.06);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1rem;
}
body.page-chat .chat-hero h1 {
  letter-spacing: -0.02em;
  font-weight: 700;
}
body.page-chat .chat-lead {
  color: #5c6478;
  max-width: 36em;
}
body.page-chat .inspire-row {
  gap: 0.45rem;
  margin-top: 0.85rem;
}
body.page-chat .inspire-chip {
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.86rem;
  background: #fff;
  border: 1px solid rgba(210,214,228,0.95);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
body.page-chat .inspire-chip:hover {
  border-color: rgba(40,184,148,0.45);
  box-shadow: 0 6px 16px rgba(40,184,148,0.1);
  transform: translateY(-1px);
}
/* WorkBuddy-like teal accent mixed sparingly with brand purple */
body.page-chat .eyebrow {
  color: #28b894 !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body.page-chat .benefit-line {
  border-radius: 999px;
  border: 1px solid rgba(210,214,228,0.9);
  background: #fff;
}
body.page-chat .benefit-line .bn-en { color: #28b894; }
body.page-chat .chat-panel.chat-tech {
  border-radius: 22px !important;
  border: 1px solid rgba(220,224,236,0.95) !important;
}
body.page-chat .zone-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 0.85rem 1rem !important;
  border-radius: 16px !important;
}
body.page-chat .hint-card {
  border-radius: 14px !important;
  border: 1px dashed rgba(200,206,224,0.9) !important;
  background: rgba(250,251,255,0.9) !important;
}
body.page-chat .btn-send {
  border-radius: 999px !important;
  padding: 0.65rem 1.15rem !important;
  background: linear-gradient(135deg, #28b894, #6E29F5) !important;
}
body.page-chat .chat-brand-plate {
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
body.page-chat .chat-tech-hud .tech-chip {
  border-radius: 999px;
  border-color: rgba(40,184,148,0.25);
  color: rgba(40,140,120,0.7);
}
body.page-chat .msg-avatar {
  background: linear-gradient(145deg, #eefcf7, #f3eeff);
  border: 1px solid rgba(40,184,148,0.2);
}
@media (prefers-reduced-motion: no-preference) {
  body.page-chat .inspire-chip {
    animation: none;
  }
  body.page-chat .chat-panel.chat-tech {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }
  body.page-chat .chat-panel.chat-tech:hover {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.8) inset,
      0 20px 48px rgba(40,50,90,0.1) !important;
  }
}

/* ===== 立即体验台 size + align be ===== */
.btn-hero.btn-hero-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.95rem 1.65rem;
  font-size: 1.08rem;
  font-weight: 650;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.btn-cta-align,
.home-spatial .btn-lg,
.home-motion .btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  min-width: 188px;
  padding: 0.95rem 1.7rem !important;
  font-size: 1.05rem !important;
  font-weight: 650;
  border-radius: 999px !important;
}
.home-motion-inner {
  align-items: center;
}
.home-motion .motion-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.home-motion .motion-copy .btn-cta-align {
  margin-top: 0.55rem;
}
.spatial-card > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.spatial-card .btn-cta-align {
  margin-top: 0.25rem;
}
.cap-btn.cap-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
  font-weight: 650;
  border-radius: 999px;
  margin-top: 0.75rem;
}
.nav-cta .btn-nav-cta {
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 650;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .btn-hero.btn-hero-lg,
  .btn-cta-align {
    width: 100%;
    max-width: 320px;
  }
}

/* ===== 立即体验界面放大对齐 bf ===== */
.home-spatial .spatial-card {
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: center;
  min-height: 320px;
}
.spatial-preview {
  min-height: 280px !important;
  height: 100%;
  border-radius: 22px !important;
  padding: 14px;
  display: flex;
  align-items: stretch;
  transform: rotateY(-8deg) rotateX(4deg) !important;
}
.spatial-preview .sp-ui {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.spatial-preview .sp-ui-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spatial-preview .sp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
}
.spatial-preview .sp-dot:nth-child(1) { background: #ff7b72; }
.spatial-preview .sp-dot:nth-child(2) { background: #ffd666; }
.spatial-preview .sp-dot:nth-child(3) { background: #6ee7a8; }
.spatial-preview .sp-ui-title {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}
.spatial-preview .sp-ui-body {
  flex: 1;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 14px;
  min-height: 160px;
}
.spatial-preview .sp-ui-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spatial-preview .sp-pill {
  display: block;
  text-align: center;
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.spatial-preview .sp-pill.is-on {
  background: rgba(255,255,255,0.92);
  color: #6E29F5;
  font-weight: 650;
  border-color: transparent;
}
.spatial-preview .sp-ui-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.spatial-preview .sp-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}
.spatial-preview .sp-line.w80 { width: 80%; }
.spatial-preview .sp-line.w60 { width: 60%; }
.spatial-preview .sp-line.w90 { width: 90%; }
.spatial-preview .sp-line.w70 { width: 70%; }
.spatial-preview .sp-line.w50 { width: 50%; }
.spatial-preview .sp-reply {
  margin-top: auto;
  padding: 10px;
  border-radius: 10px;
  background: rgba(110,41,245,0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spatial-preview .sp-ui-bar {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: flex-end;
}
.spatial-preview .sp-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  background: #fff;
  color: #6E29F5;
}
.spatial-preview .sp-chip {
  left: auto !important;
  right: 18px;
  bottom: 18px !important;
  font-size: 0.78rem !important;
  padding: 0.4rem 0.8rem !important;
}
.home-motion-inner {
  grid-template-columns: 1.25fr 1fr !important;
  gap: clamp(1.5rem, 3vw, 2.5rem) !important;
  align-items: center !important;
}
.motion-stage.motion-stage-ui {
  min-height: 340px !important;
  border-radius: 22px !important;
}
.home-spatial .spatial-card > div:first-child {
  max-width: 28rem;
}
.page-experience .xp-stage-wrap {
  padding: 1.6rem 1.5rem 1.85rem !important;
  min-height: 420px;
}
.page-experience .xp-cards {
  gap: 0.85rem;
}
.page-experience .xp-card {
  min-height: 108px;
  padding: 1rem 1.05rem !important;
}
.page-experience .xp-panel {
  padding: 1.15rem 1.25rem 1.35rem !important;
}
@media (max-width: 900px) {
  .home-spatial .spatial-card {
    grid-template-columns: 1fr !important;
  }
  .spatial-preview {
    min-height: 240px !important;
    transform: none !important;
  }
  .home-motion-inner {
    grid-template-columns: 1fr !important;
  }
  .motion-stage.motion-stage-ui {
    min-height: 260px !important;
  }
}

/* ===== clickable 立即体验台 fix bg ===== */
.hero-slide:not(.is-active) {
  pointer-events: none !important;
}
.hero-slide.is-active {
  pointer-events: auto;
  z-index: 2;
}
.motion-canvas,
.motion-orbs,
.motion-orbs span {
  pointer-events: none !important;
}
a.motion-stage {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.motion-stage-cta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  color: #fff;
  background: #6E29F5;
  box-shadow: 0 10px 24px rgba(110,41,245,0.28);
  pointer-events: none;
}
.spatial-copy {
  position: relative;
  z-index: 4;
}
.spatial-copy .btn-primary,
.spatial-copy a {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}
a.spatial-preview {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 2;
  transform: none !important; /* avoid 3D hit-box covering the CTA */
}
a.spatial-preview:hover {
  filter: brightness(1.06);
}
a.spatial-preview:focus-visible {
  outline: 3px solid rgba(255,255,255,0.7);
  outline-offset: 4px;
}
.home-motion .btn-cta-align,
.home-spatial .btn-cta-align,
.nav-cta,
.nav-cta .btn-primary,
.btn-hero.btn-hero-lg,
.cap-btn.cap-btn-lg {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}
/* tilt must not swallow clicks on links */
.spatial-card.tilt-hover a {
  pointer-events: auto !important;
}

/* ===== bh: kill click blockers on 立即体验台 ===== */
.home-spatial,
.home-motion {
  position: relative;
  z-index: 20;
  isolation: isolate;
}
.spatial-card-clickable,
.spatial-card {
  transform: none !important;
  pointer-events: auto !important;
}
.spatial-card-clickable .spatial-copy,
.spatial-card-clickable a,
a.spatial-preview,
a.motion-stage,
.home-spatial a,
.home-motion a {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 30;
}
a.spatial-preview,
a.motion-stage {
  display: flex;
  text-decoration: none;
  color: inherit;
  transform: none !important;
  -webkit-tap-highlight-color: rgba(110,41,245,0.25);
}
a.motion-stage { display: block; }
/* decorative layers never eat clicks */
.motion-canvas,
.motion-orbs,
.motion-orbs *,
.spatial-preview .sp-line,
.page-aura,
.page-aura * {
  pointer-events: none !important;
}
.hero-slide:not(.is-active) { pointer-events: none !important; }

/* ===== bi: experience hero CTA align + clickable ===== */
.page-experience .xp-hero {
  max-width: none !important;
  width: 100%;
  margin: 0 auto 1.5rem !important;
  text-align: left !important;
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem) !important;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}
.page-experience .xp-hero h1 {
  text-align: left;
}
.page-experience .xp-hero .xp-lead {
  max-width: 40rem;
  margin: 0 0 1rem;
  text-align: left;
}
.page-experience .xp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin-top: 0.35rem;
  position: relative;
  z-index: 6;
}
.page-experience a.benefit-line-cta {
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto !important;
  margin: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.page-experience a.benefit-line-cta:hover {
  background: rgba(110,41,245,0.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(110,41,245,0.1);
}
.page-experience .xp-hero-actions .btn-primary {
  pointer-events: auto !important;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  font-size: 1.02rem;
  font-weight: 650;
}
.page-experience .xp-hero-actions .token-chip {
  margin-left: 0;
  pointer-events: none;
}
.page-experience .xp-hero.soft-frame::before,
.page-experience .xp-hero.soft-frame::after {
  pointer-events: none !important;
}
.page-experience .xp-wb-intro,
.page-experience .xp-stage-wrap {
  position: relative;
  z-index: 4;
}
.page-experience .deco-experience,
.page-experience .page-aura,
.page-experience .page-aura * {
  pointer-events: none !important;
}
@media (max-width: 640px) {
  .page-experience .xp-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-experience .xp-hero-actions .btn-primary,
  .page-experience a.benefit-line-cta {
    width: 100%;
    justify-content: center;
  }
  .page-experience .xp-hero-actions .token-chip {
    align-self: flex-start;
  }
}

/* ===== bj: 立体体验台 hero enlarge + neat align ===== */
.page-experience .xp-page {
  max-width: var(--max) !important;
}
.page-experience .xp-hero.xp-hero-lg,
.page-experience .xp-hero {
  max-width: none !important;
  width: 100% !important;
  margin: 0 0 1.75rem !important;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem) !important;
  text-align: left !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(110,41,245,0.14) !important;
  box-shadow: 0 18px 48px rgba(110,41,245,0.08) !important;
  position: relative;
  z-index: 8;
  cursor: pointer;
  box-sizing: border-box;
}
.page-experience .xp-hero-inner {
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.page-experience .xp-hero .section-en {
  margin: 0 0 0.35rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b849c;
}
.page-experience .xp-hero h1 {
  margin: 0 0 0.65rem !important;
  font-size: clamp(2.35rem, 5.5vw, 3.4rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #1f1633 !important;
  text-align: left !important;
}
.page-experience .xp-hero .xp-lead {
  margin: 0 0 1.15rem !important;
  max-width: 40rem !important;
  font-size: clamp(1.02rem, 1.6vw, 1.12rem) !important;
  line-height: 1.75 !important;
  color: #5c5670 !important;
  text-align: left !important;
}
.page-experience .xp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.9rem;
  width: 100%;
}
.page-experience .xp-hero-actions .btn-primary {
  min-height: 54px !important;
  padding: 0.95rem 1.7rem !important;
  font-size: 1.08rem !important;
  font-weight: 650 !important;
  border-radius: 999px !important;
}
.page-experience a.benefit-line-cta {
  min-height: 48px;
  padding: 0.7rem 1.15rem !important;
  align-items: center;
  font-size: 0.98rem;
}
.page-experience .xp-wb-intro {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 0 1.75rem !important;
}
.page-experience .xp-wb-intro .section-head {
  text-align: left;
  margin-left: 0;
  max-width: 40rem;
}
.page-experience .xp-wb-intro .wb-lead {
  text-align: left !important;
  margin-left: 0 !important;
}
@media (max-width: 640px) {
  .page-experience .xp-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
  }
}

/* ===== bk: mobile polish after rest ===== */
@media (max-width: 640px) {
  .page-experience .xp-hero.xp-hero-lg {
    padding: 1.35rem 1.15rem 1.25rem !important;
    border-radius: 22px !important;
  }
  .page-experience .xp-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem) !important;
  }
  .page-experience .xp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .page-experience .xp-hero-actions .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 52px !important;
  }
  .page-experience a.benefit-line-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .page-experience .xp-hero-actions .token-chip {
    align-self: flex-start;
  }
  /* home spatial preview readable on phone */
  .spatial-preview {
    min-height: 220px !important;
  }
  .spatial-preview .sp-ui-body {
    grid-template-columns: 72px 1fr !important;
  }
  .home-spatial .spatial-card {
    padding: 1.25rem !important;
    min-height: 0 !important;
  }
}
/* keep nav CTA readable */
.nav-cta .btn-nav-cta {
  white-space: nowrap;
}

/* ===== bl: nav dedupe + kill stray hero corner ticks ===== */
.page-hero.soft-frame::before,
.page-hero.soft-frame::after,
.page-hero::before,
.page-hero::after {
  content: none !important;
  display: none !important;
}
body.page-models .page-hero::before,
body.page-models .page-hero::after,
body.page-blog .page-hero::before,
body.page-blog .page-hero::after {
  content: none !important;
  display: none !important;
}
