:root {
  --ink: #05060a;
  --ink-2: #0b0d14;
  --fog: #f4f6fb;
  --mist: #9aa3b5;
  --line: rgba(244, 246, 251, 0.1);
  --accent: #5b8cff;
  --accent-2: #7dd3fc;
  --accent-deep: #3b6ef5;
  --glow: rgba(91, 140, 255, 0.35);
  --chat-bg: #080a10;
  --chat-panel: #10131c;
  --user-bubble: #1a2030;
  --bot-bubble: linear-gradient(135deg, #5b8cff, #3b6ef5);
  --max: 1140px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fog);
  font-family: var(--font-body);
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(91, 140, 255, 0.22), transparent 55%),
    radial-gradient(900px 480px at 95% 5%, rgba(125, 211, 252, 0.12), transparent 50%),
    radial-gradient(700px 420px at 50% 110%, rgba(59, 110, 245, 0.1), transparent 55%),
    linear-gradient(180deg, #03040a 0%, var(--ink) 40%, #080a12 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(3, 4, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.22rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px var(--glow);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.85;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--mist);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fog);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.88rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #f8faff;
  background: linear-gradient(120deg, #7aa2ff, var(--accent) 45%, #3b6ef5);
  box-shadow: 0 12px 36px var(--glow);
}

.btn-ghost {
  color: var(--fog);
  background: transparent;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 4.5rem 0 5.5rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 10, 0.15) 0%, rgba(3, 4, 10, 0.92) 78%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230b0d14'/%3E%3Cstop offset='1' stop-color='%2305060a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%235b8cff' stroke-opacity='0.32' stroke-width='2'%3E%3Cpath d='M60 740c200-240 340-200 520-50s300 190 480 50 280-240 460-150'/%3E%3Cpath d='M20 500c220-30 300 90 450 130s320-30 480-90 300-70 460 50'/%3E%3C/g%3E%3Cg fill='%237dd3fc' fill-opacity='0.5'%3E%3Ccircle cx='1200' cy='200' r='5'/%3E%3Ccircle cx='360' cy='160' r='4'/%3E%3Ccircle cx='780' cy='110' r='3'/%3E%3C/g%3E%3C/svg%3E")
      center / cover no-repeat;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
}

.hero p {
  margin: 0 0 1.7rem;
  color: var(--mist);
  font-size: 1.08rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
  animation: rise 1s ease 0.15s both;
}

.channel-strip span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--mist);
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list article {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: start;
  animation: rise 0.7s ease both;
}

.feature-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list article:nth-child(2) {
  animation-delay: 0.06s;
}
.feature-list article:nth-child(3) {
  animation-delay: 0.12s;
}
.feature-list article:nth-child(4) {
  animation-delay: 0.18s;
}
.feature-list article:nth-child(5) {
  animation-delay: 0.24s;
}
.feature-list article:nth-child(6) {
  animation-delay: 0.3s;
}

.feature-list .kicker {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--accent);
  font-weight: 700;
}

.feature-list strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.feature-list p {
  margin: 0.35rem 0 0;
  color: var(--mist);
}

.demand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.demand-grid > div {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.demand-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.demand-grid p {
  margin: 0;
  color: var(--mist);
  font-size: 0.96rem;
}

.cta-band {
  margin: 1rem 0 4rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: var(--mist);
  max-width: 36rem;
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  color: var(--mist);
  max-width: 42rem;
  font-size: 1.05rem;
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--mist);
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 2rem 0 0.6rem;
}

.contact-panel {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}

.contact-panel a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--mist);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fog);
  border-radius: 0.6rem;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .demand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 4.4rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(8, 12, 22, 0.97);
    border: 1px solid var(--line);
    border-radius: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .feature-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero {
    align-items: center;
    min-height: 78vh;
  }
}

/* â€”â€” Mid-page chatbot window (no corner FAB) â€”â€” */
.product-chat-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.product-chat-intro {
  text-align: center;
  margin-inline: auto;
}

.bot-window-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0;
}

.bot-window {
  width: min(30rem, 100%);
  height: min(38rem, 80vh);
  display: flex;
  flex-direction: column;
  border-radius: 1.45rem;
  overflow: hidden;
  background: linear-gradient(180deg, #10131c 0%, #05060a 72%);
  border: 1px solid rgba(91, 140, 255, 0.34);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 60px rgba(91, 140, 255, 0.14);
  animation: float-y 5.5s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.bot-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.2), rgba(125, 211, 252, 0.12));
  border-bottom: 1px solid rgba(244, 251, 249, 0.08);
}

.bot-window-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bot-window-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: #f8faff;
  background: linear-gradient(135deg, #7aa2ff, #3b6ef5);
}

.bot-window-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.bot-window-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--mist);
  font-weight: 600;
}

.bot-window-status::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #5b8cff;
  box-shadow: 0 0 8px #5b8cff;
}

.bot-window-actions {
  display: flex;
  gap: 0.28rem;
}

.bot-window-actions i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.bot-window-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  font-size: 0.84rem;
}

.bot-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.22), rgba(125, 211, 252, 0.12));
  border-bottom: 1px solid rgba(244, 251, 249, 0.08);
}

.bot-window-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 0.92rem;
}

.bot-window-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--mist);
  font-weight: 600;
}

.bot-window-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(244, 251, 249, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.bot-window-input span {
  flex: 1;
  border: 1px solid rgba(91, 140, 255, 0.25);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  color: rgba(154, 163, 181, 0.7);
  font-size: 0.88rem;
}

.bot-window-input em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
  color: #f8faff;
  background: linear-gradient(120deg, #7aa2ff, #3b6ef5);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
}

.bot-row {
  display: flex;
  width: fit-content;
  max-width: 82%;
  animation: msg-in 0.35s ease both;
}

.bot-row.is-user {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  justify-content: flex-end;
}

.bot-row.is-bot {
  align-self: flex-start;
  margin-right: auto;
  margin-left: 0;
  justify-content: flex-start;
}

.bot-row-full {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-bubble {
  padding: 0.72rem 0.9rem;
  border-radius: 1.05rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bot-row.is-user .bot-bubble {
  background: #1a2030;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-right-radius: 0.22rem;
  color: #f4f6fb;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.bot-row.is-bot .bot-bubble {
  background: linear-gradient(135deg, #5b8cff, #3b6ef5);
  color: #f8faff;
  font-weight: 600;
  border-bottom-left-radius: 0.22rem;
  box-shadow: 0 8px 18px rgba(91, 140, 255, 0.28);
}

.bot-who {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.bot-row.is-user .bot-who {
  text-align: right;
  color: #9eb0d0;
  opacity: 1;
}

.bot-row.is-bot .bot-who {
  color: #f8faff;
  opacity: 0.7;
}

.bot-typing {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  border-bottom-left-radius: 0.28rem;
  background: rgba(255, 255, 255, 0.08);
}

.bot-typing i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--accent);
  animation: typing 1.1s ease-in-out infinite;
}

.bot-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.bot-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.bot-carousel {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}

.bot-carousel::-webkit-scrollbar {
  display: none;
}

.bot-card {
  flex: 0 0 9.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(91, 140, 255, 0.2);
  border-radius: 0.9rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bot-card-art {
  height: 3.8rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.5), rgba(125, 211, 252, 0.35));
}

.bot-card strong {
  font-size: 0.82rem;
}

.bot-card span {
  color: var(--mist);
  font-size: 0.74rem;
}

.bot-card button {
  margin-top: 0.15rem;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f8faff;
  background: linear-gradient(120deg, #7aa2ff, #3b6ef5);
  cursor: default;
}

.bot-form {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 1rem;
  padding: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.bot-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

.bot-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--mist);
  font-weight: 600;
}

.bot-form input,
.bot-form select {
  width: 100%;
  border: 1px solid rgba(244, 251, 249, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--fog);
  border-radius: 0.6rem;
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-size: 0.86rem;
}

.bot-form-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-weight: 800;
  color: #f8faff;
  background: linear-gradient(120deg, #7aa2ff, var(--accent) 50%, #3b6ef5);
}

.bot-form-btn.is-done {
  background: rgba(91, 140, 255, 0.22);
  color: var(--accent-2);
}

.bot-stars {
  display: flex;
  gap: 0.2rem;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.25);
}

.bot-stars .is-on {
  color: #ffb020;
}

.bot-lang {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 1rem;
  padding: 0.85rem;
}

.bot-lang-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.bot-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.bot-lang-btn,
.bot-lang-grid button {
  border: 1px solid rgba(91, 140, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
  color: var(--fog);
  border-radius: 0.75rem;
  padding: 0.65rem 0.55rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: default;
}

.bot-lang-btn.is-on,
.bot-lang-grid button.is-on {
  background: linear-gradient(120deg, rgba(91, 140, 255, 0.4), rgba(125, 211, 252, 0.2));
  border-color: rgba(91, 140, 255, 0.6);
  color: #f4f6fb;
}

.bot-dropdown-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 1rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.bot-dd-label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--mist);
  font-weight: 600;
}

.bot-dd-label select {
  width: 100%;
  border: 1px solid rgba(244, 251, 249, 0.14);
  background: rgba(0, 0, 0, 0.32);
  color: var(--fog);
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
}

.bot-table-wrap {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: 1rem;
  padding: 0.75rem;
}

.bot-table-scroll {
  overflow-x: auto;
  margin-top: 0.45rem;
  border-radius: 0.65rem;
}

.bot-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 18rem;
  font-size: 0.78rem;
}

.bot-table th,
.bot-table td {
  padding: 0.5rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(244, 251, 249, 0.08);
  white-space: nowrap;
}

.bot-table th {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(91, 140, 255, 0.08);
}

.bot-table td {
  color: var(--fog);
}

.bot-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .bot-window {
    animation: none;
    height: min(34rem, 75vh);
  }
}

/* Compact premium chatbot polish */
.bot-window {
  width: min(25.5rem, 100%);
}

.bot-window-brand strong {
  font-size: 0.84rem;
}

.bot-window-status {
  font-size: 0.62rem;
}

.bot-window-avatar {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.68rem;
}

.bot-bubble {
  padding: 0.45rem 0.62rem;
  font-size: 0.72rem;
  line-height: 1.32;
}

.bot-who {
  font-size: 0.54rem;
  margin-bottom: 0.1rem;
}

.bot-form-title,
.bot-lang-title {
  font-size: 0.74rem !important;
}

.bot-form {
  padding: 0.55rem;
  gap: 0.32rem;
  border-radius: 0.8rem;
}

.bot-form label,
.bot-dd-label {
  font-size: 0.6rem !important;
}

.bot-form input,
.bot-form select,
.bot-dd-label select {
  padding: 0.34rem 0.48rem !important;
  font-size: 0.7rem !important;
}

.bot-form-btn {
  padding: 0.42rem 0.62rem !important;
  font-size: 0.68rem !important;
}

.bot-card {
  flex-basis: 7.6rem;
  padding: 0.34rem;
}

.bot-card-art {
  height: 2.6rem;
}

.bot-card strong {
  font-size: 0.66rem;
}

.bot-card span {
  font-size: 0.6rem;
}

.bot-card button {
  font-size: 0.58rem;
  padding: 0.22rem 0.36rem;
}

.bot-table {
  min-width: 0 !important;
  font-size: 0.66rem !important;
}

.bot-table-2x3 {
  table-layout: fixed;
}

.bot-table-2x3 th,
.bot-table-2x3 td {
  width: 50%;
  padding: 0.34rem 0.42rem !important;
  white-space: normal;
}

.bot-table th {
  font-size: 0.56rem !important;
}

.bot-lang-grid button {
  padding: 0.38rem 0.34rem !important;
  font-size: 0.68rem !important;
}

.bot-window-input span {
  padding: 0.42rem 0.7rem;
  font-size: 0.68rem;
}

.bot-window-input em {
  padding: 0.42rem 0.7rem;
  font-size: 0.66rem;
}

.bot-row {
  max-width: 78%;
}

.bot-window-msgs {
  font-size: 0.76rem;
  gap: 0.45rem;
  padding: 0.7rem 0.7rem;
}

/* —— Dashboard product demo —— */
.dash-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.dash-demo-section {
  padding-top: 0.5rem;
}

.dash-frame {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  min-height: 34rem;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(91, 140, 255, 0.28);
  background: linear-gradient(160deg, #0c101a 0%, #080a12 100%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(91, 140, 255, 0.12);
}

.dash-side {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--line);
  padding: 1rem 0.7rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 40rem;
  overflow: hidden;
}

.dash-side-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dash-side-label {
  margin: 0.55rem 0.45rem 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.dash-side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.dash-side-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mist);
  text-align: left;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.dash-side-nav button:hover {
  color: var(--fog);
  background: rgba(255, 255, 255, 0.04);
}

.dash-side-nav button.is-on {
  color: #f8faff;
  background: linear-gradient(120deg, rgba(91, 140, 255, 0.35), rgba(125, 211, 252, 0.12));
}

.dash-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.dash-topbar h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.dash-topbar p {
  margin: 0;
  color: var(--mist);
  font-size: 0.86rem;
  max-width: 36rem;
}

.dash-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(91, 140, 255, 0.1);
}

.dash-live-pill i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #5b8cff;
  box-shadow: 0 0 10px rgba(91, 140, 255, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

.dash-stage {
  position: relative;
  flex: 1;
  padding: 1.1rem 1.25rem 1.35rem;
  min-height: 26rem;
}

.dash-panel {
  display: none;
  animation: rise 0.35s ease both;
}

.dash-panel.is-on {
  display: block;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mock-stats.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-stats > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
}

.mock-stats span {
  display: block;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mock-stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.mock-stats strong.ok {
  color: #7dd3fc;
  font-size: 1.05rem;
}

.mock-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.mock-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(91, 140, 255, 0.18);
  border-radius: 0.9rem;
  padding: 0.9rem;
  display: grid;
  gap: 0.25rem;
}

.mock-tile b {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.mock-tile span {
  color: var(--mist);
  font-size: 0.78rem;
}

.mock-chart {
  height: 7.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.6rem 0.4rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.08), transparent);
}

.mock-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #7aa2ff, #3b6ef5);
  opacity: 0.9;
}

.mock-table {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.mock-tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line);
}

.mock-tr:last-child {
  border-bottom: 0;
}

.mock-tr.head {
  background: rgba(91, 140, 255, 0.08);
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-tr .ok {
  color: #7dd3fc;
  font-weight: 700;
}

.mock-tr .warn {
  color: #ffb020;
  font-weight: 700;
}

[data-panel="agentchats"] .mock-tr,
[data-panel="power"] .mock-tr {
  grid-template-columns: 1fr 1fr 0.8fr 1fr;
}

[data-panel="power"] .mock-tr {
  grid-template-columns: 1.3fr 1fr 0.8fr;
}

.mock-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.mock-tabs span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.mock-tabs span.is-on {
  color: #f8faff;
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.22);
}

.mock-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.85rem;
}

.mock-split.tall {
  grid-template-columns: 0.9fr 1.3fr;
  min-height: 16rem;
}

.mock-cal {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.mock-cal-head {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.mock-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.mock-cal-grid i {
  aspect-ratio: 1;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
}

.mock-cal-grid i.dot {
  background: rgba(91, 140, 255, 0.2);
}

.mock-cal-grid i.on {
  background: linear-gradient(135deg, #5b8cff, #3b6ef5);
}

.mock-list {
  display: grid;
  gap: 0.5rem;
}

.mock-list > div {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.15rem;
}

.mock-list b {
  font-size: 0.88rem;
}

.mock-list span {
  color: var(--mist);
  font-size: 0.75rem;
}

.mock-list.intents > div.is-on {
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.14);
}

.mock-editor {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mock-editor label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mist);
}

.mock-editor-box {
  border-radius: 0.7rem;
  border: 1px solid rgba(91, 140, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 5.5rem;
}

.mock-editor-box.sm {
  min-height: 3.5rem;
}

.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mock-actions span {
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.mock-actions .primary {
  color: #f8faff;
  background: linear-gradient(120deg, #7aa2ff, #3b6ef5);
}

.mock-actions .ghost {
  color: var(--fog);
  border: 1px solid var(--line);
}

.mock-link-card {
  border: 1px solid rgba(91, 140, 255, 0.25);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(91, 140, 255, 0.08);
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.mock-link-card.slim {
  margin-bottom: 0;
}

.mock-link-card > span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mist);
}

.mock-link-card code {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-2);
  word-break: break-all;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mock-chips span,
.mock-chip-row span {
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--mist);
}

.mock-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.mock-chip-row span.is-on {
  color: #f8faff;
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.22);
}

.mock-form-stack {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mock-form-stack.wide {
  max-width: 32rem;
}

.mock-form-stack > label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mist);
}

.mock-swatches {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.mock-swatches i {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.4rem;
  background: #5b8cff;
}

.mock-swatches i.b { background: #7dd3fc; }
.mock-swatches i.c { background: #3b6ef5; }
.mock-swatches i.d { background: #a5b4fc; }

.mock-range {
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b8cff 62%, rgba(255, 255, 255, 0.1) 62%);
  margin-bottom: 0.35rem;
}

.mock-range.short {
  background: linear-gradient(90deg, #5b8cff 40%, rgba(255, 255, 255, 0.1) 40%);
}

.mock-widget {
  border-radius: 1rem;
  border: 1px solid rgba(91, 140, 255, 0.28);
  overflow: hidden;
  background: #0a0c14;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
}

.mock-widget-bar {
  padding: 0.7rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.35), rgba(125, 211, 252, 0.12));
}

.mock-widget-msg {
  margin: 0.55rem 0.7rem 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  max-width: 85%;
  width: fit-content;
}

.mock-widget-msg.bot {
  background: linear-gradient(135deg, #5b8cff, #3b6ef5);
  color: #f8faff;
}

.mock-widget-msg.user {
  margin-left: auto;
  background: #1a2030;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-widget-msg.agent {
  background: rgba(125, 211, 252, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

.mock-inbox {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 0.75rem;
  min-height: 16rem;
}

.mock-inbox-list {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.mock-inbox-list > div {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.6rem 0.65rem;
  display: grid;
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.03);
}

.mock-inbox-list > div.is-on {
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.14);
}

.mock-inbox-list b {
  font-size: 0.78rem;
}

.mock-inbox-list span {
  color: var(--mist);
  font-size: 0.7rem;
}

.mock-inbox-thread {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.55rem 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.mock-composer {
  margin: 0.7rem 0.55rem 0;
  border: 1px solid rgba(91, 140, 255, 0.25);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: rgba(154, 163, 181, 0.75);
  font-size: 0.8rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.mock-row:last-of-type {
  border-bottom: 0;
}

.mock-row span {
  color: var(--mist);
}

.mock-row strong {
  text-align: right;
}

.mock-engine {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 0.85rem;
}

.mock-engine-col {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.mock-engine-col.grow {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mock-engine-col > b {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.35rem;
}

.mock-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.mock-channels > div {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 0.7rem;
  display: grid;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.mock-channels > div.on {
  border-color: rgba(91, 140, 255, 0.4);
  background: rgba(91, 140, 255, 0.12);
}

.mock-channels b {
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.mock-channels span {
  color: var(--mist);
  font-size: 0.74rem;
}

.dash-card-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.dash-card-grid button {
  appearance: none;
  text-align: left;
  border: 1px solid rgba(91, 140, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dash-card-grid button:hover {
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.1);
  transform: translateY(-2px);
}

.dash-card-grid button.is-on {
  border-color: rgba(91, 140, 255, 0.55);
  background: linear-gradient(145deg, rgba(91, 140, 255, 0.22), rgba(125, 211, 252, 0.08));
}

.dash-card-grid b {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

.dash-card-grid span {
  color: var(--mist);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .dash-frame {
    grid-template-columns: 1fr;
  }

  .dash-side {
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dash-side-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 11rem;
  }

  .dash-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-stats,
  .mock-home-grid,
  .mock-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-split,
  .mock-split.tall,
  .mock-inbox,
  .mock-engine {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dash-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-card-grid,
  .mock-stats,
  .mock-stats.compact,
  .mock-home-grid,
  .mock-channels {
    grid-template-columns: 1fr;
  }

  .dash-topbar {
    flex-direction: column;
  }

  .mock-tr,
  [data-panel="agentchats"] .mock-tr,
  [data-panel="power"] .mock-tr {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
