﻿:root {
  --bg: #080d22;
  --bg-soft: #eef2ff;
  --ink: #142033;
  --muted: #66708f;
  --line: #d8deef;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --green: #3421b8;
  --green-2: #5b35d5;
  --sun: #36e6d4;
  --amber: #8d6bff;
  --aurora: #27f4d2;
  --violet: #7c3cff;
  --night: #0b102c;
  --shadow: 0 22px 58px rgba(21, 18, 72, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(8, 13, 34, 0.96) 0%, rgba(26, 28, 83, 0.92) 28%, var(--bg-soft) 62%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(39, 244, 210, 0.22), transparent 34%),
    radial-gradient(ellipse at 78% 4%, rgba(124, 60, 255, 0.32), transparent 36%),
    linear-gradient(115deg, transparent 16%, rgba(70, 236, 229, 0.2) 28%, rgba(124, 60, 255, 0.16) 42%, transparent 58%);
  opacity: 0.95;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 48px;
  background: rgba(7, 12, 32, 0.9);
  border-bottom: 1px solid rgba(226, 232, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand,
.topbar nav,
.hero-actions,
.panel-head,
.form-actions,
.button-row,
.detail-actions,
.metric-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, var(--aurora), var(--violet));
  border-radius: 8px;
}

.brand strong {
  display: block;
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span:last-child {
  display: block;
  color: #dffcff;
  font-size: 0.9rem;
  font-weight: 700;
}

.topbar nav {
  flex: 0 1 auto;
  justify-content: flex-end;
  gap: 2px;
  padding: 3px;
  background: rgba(238, 242, 255, 0.06);
  border: 1px solid rgba(238, 242, 255, 0.1);
  border-radius: 10px;
}

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

.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  white-space: nowrap;
  padding: 8px 9px;
  color: rgba(238, 242, 255, 0.78);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.topbar a:hover {
  background: rgba(238, 242, 255, 0.09);
  color: var(--aurora);
}

main {
  padding-bottom: 70px;
}

main > section {
  margin-bottom: 54px;
}

main > section:last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr);
  gap: 54px;
  min-height: 590px;
  padding: 64px 72px 46px;
  align-items: center;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(39, 244, 210, 0.2), transparent 36%),
    radial-gradient(ellipse at 84% 10%, rgba(124, 60, 255, 0.26), transparent 34%),
    radial-gradient(ellipse at 58% 58%, rgba(143, 247, 239, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(8, 13, 34, 0.44), rgba(8, 13, 34, 0.04)),
    linear-gradient(135deg, rgba(8, 13, 34, 0.1), rgba(52, 33, 184, 0.12));
  background-size: 150% 120%, 160% 120%, 150% 140%, 100% 100%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 50% 60%, 0 0, 0 0;
  border-bottom: 1px solid rgba(226, 232, 255, 0.08);
  animation: heroBackdropShift 10s ease-in-out infinite alternate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity, background-position;
}

.hero::before {
  inset: 2% -26% auto -26%;
  height: 380px;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(143, 247, 239, 0.55), transparent 34%),
    radial-gradient(ellipse at 58% 44%, rgba(124, 60, 255, 0.52), transparent 32%),
    linear-gradient(102deg, transparent 3%, rgba(39, 244, 210, 0.78) 22%, rgba(143, 247, 239, 0.48) 38%, rgba(124, 60, 255, 0.62) 58%, rgba(54, 230, 212, 0.42) 76%, transparent 96%);
  background-size: 130% 100%, 140% 100%, 170% 100%;
  background-position: 0% 50%, 100% 50%, 0% 50%;
  filter: blur(20px);
  opacity: 0.9;
  transform: rotate(-8deg);
  animation: heroAuroraDrift 5.5s ease-in-out infinite alternate;
}

.hero::after {
  inset: 23% -30% auto -30%;
  height: 300px;
  background:
    radial-gradient(ellipse at 72% 48%, rgba(39, 244, 210, 0.46), transparent 30%),
    linear-gradient(96deg, transparent 5%, rgba(124, 60, 255, 0.42) 24%, rgba(39, 244, 210, 0.58) 48%, rgba(143, 247, 239, 0.38) 70%, transparent 94%);
  background-size: 150% 100%, 180% 100%;
  background-position: 100% 50%, 100% 50%;
  filter: blur(26px);
  opacity: 0.78;
  transform: rotate(-3deg);
  animation: heroAuroraWave 6.5s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 850px;
  min-width: 0;
}

.hero > .assistant-visual {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8ff7ef;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(54, 230, 212, 0.28);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1.09;
  width: 100%;
  max-width: 760px;
  overflow-wrap: break-word;
}

.hero h1 {
  color: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(8, 13, 34, 0.22);
}

.hero p:not(.eyebrow) {
  color: rgba(238, 242, 255, 0.8);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.62;
  max-width: 620px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions > * {
  min-width: 168px;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  color: rgba(238, 242, 255, 0.9) !important;
  background: rgba(238, 242, 255, 0.08);
  border: 1px solid rgba(238, 242, 255, 0.16);
  border-radius: 8px;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.api-status {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 12px;
  color: #e8fbff;
  background: rgba(238, 242, 255, 0.1);
  border: 1px solid rgba(238, 242, 255, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.api-status.ready {
  color: #f8fbff;
  background: rgba(54, 230, 212, 0.14);
  border-color: rgba(141, 247, 239, 0.38);
}

.api-status.missing {
  color: #f7edff;
  background: rgba(124, 60, 255, 0.22);
}

.primary-action,
.secondary-action,
.ghost-button,
.chat-input button,
.quick-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.primary-action,
.chat-input button {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  padding: 0 18px;
}

.secondary-action,
.ghost-button {
  color: var(--green);
  background: #eef2ff;
  padding: 0 16px;
}

.hero .primary-action,
.hero .secondary-action {
  color: #dffcff;
  background: rgba(54, 230, 212, 0.08);
  border: 1px solid rgba(141, 247, 239, 0.32);
}

.hero .primary-action:hover,
.hero .secondary-action:hover {
  background: rgba(54, 230, 212, 0.14);
}

.assistant-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(39, 244, 210, 0.22), transparent 34%),
    linear-gradient(215deg, rgba(124, 60, 255, 0.36), transparent 45%),
    #0b102c;
  border: 1px solid rgba(238, 242, 255, 0.18);
  box-shadow: 0 26px 80px rgba(3, 8, 30, 0.42);
}

.product-shot {
  display: grid;
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  contain: paint;
}

.hero-photo-visual {
  min-height: 540px;
  background: #080d22;
  border: 1px solid rgba(226, 232, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.hero-photo-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-photo-visual::before {
  content: "";
  position: absolute;
  inset: -18% -22%;
  z-index: 1;
  height: auto;
  background:
    linear-gradient(180deg, rgba(8, 13, 34, 0.04), rgba(8, 13, 34, 0.22)),
    linear-gradient(102deg, transparent 10%, rgba(39, 244, 210, 0.28) 28%, rgba(141, 107, 255, 0.24) 48%, rgba(54, 230, 212, 0.18) 68%, transparent 88%),
    radial-gradient(ellipse at 16% 10%, rgba(39, 244, 210, 0.22), transparent 34%);
  filter: blur(10px);
  opacity: 0.92;
  transform: translate3d(-2%, -1%, 0) rotate(-2deg);
  animation: heroAuroraDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-photo-visual::after {
  content: "";
  position: absolute;
  inset: 8% -28% auto -20%;
  z-index: 1;
  height: 210px;
  background:
    linear-gradient(98deg, transparent 7%, rgba(143, 247, 239, 0.38) 30%, rgba(124, 60, 255, 0.26) 54%, rgba(39, 244, 210, 0.2) 76%, transparent 96%);
  filter: blur(24px);
  opacity: 0.72;
  transform: translate3d(0, 0, 0) rotate(-8deg);
  animation: heroAuroraWave 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-photo-badge,
.hero-photo-panel {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 227, 245, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(3, 8, 30, 0.24);
  backdrop-filter: blur(16px);
}

.hero-photo-badge {
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: #101a34;
}

.hero-photo-badge strong,
.hero-photo-badge small {
  display: block;
}

.hero-photo-badge small {
  margin-top: 2px;
  color: #52607d;
  font-weight: 800;
}

.hero-photo-panel {
  left: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  display: grid;
  gap: 7px;
  min-width: min(245px, calc(100% - 36px));
  padding: 14px;
}

.hero-photo-panel strong {
  color: #101a34;
}

.hero-photo-panel span {
  display: block;
  padding: 7px 9px;
  color: #17233f;
  background: rgba(238, 245, 255, 0.9);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 800;
}

@keyframes heroAuroraDrift {
  0% {
    opacity: 0.72;
    background-position: 0% 50%, 100% 50%, 0% 50%;
    transform: translate3d(-9%, -10px, 0) rotate(-9deg) scale(1);
  }
  50% {
    opacity: 0.98;
    background-position: 44% 50%, 54% 48%, 58% 50%;
    transform: translate3d(2%, 18px, 0) rotate(-5deg) scale(1.04);
  }
  100% {
    opacity: 0.84;
    background-position: 100% 50%, 0% 52%, 100% 50%;
    transform: translate3d(10%, -4px, 0) rotate(-2deg) scale(1.08);
  }
}

@keyframes heroAuroraWave {
  0% {
    opacity: 0.46;
    background-position: 100% 50%, 100% 50%;
    transform: translate3d(9%, 0, 0) rotate(-7deg) scaleX(0.96);
  }
  50% {
    opacity: 0.82;
    background-position: 48% 54%, 40% 50%;
    transform: translate3d(-2%, 24px, 0) rotate(-3deg) scaleX(1.04);
  }
  100% {
    opacity: 0.58;
    background-position: 0% 48%, 0% 50%;
    transform: translate3d(-11%, 8px, 0) rotate(1deg) scaleX(1.12);
  }
}

@keyframes heroBackdropShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 60%, 0 0, 0 0;
  }
  50% {
    background-position: 54% 14%, 46% 8%, 42% 48%, 0 0, 0 0;
  }
  100% {
    background-position: 100% 8%, 0% 16%, 58% 42%, 0 0, 0 0;
  }
}

.aurora-strip {
  position: absolute;
  inset: 8% 0 auto 0;
  height: 170px;
  background: linear-gradient(100deg, transparent 6%, rgba(39, 244, 210, 0.86) 28%, rgba(124, 60, 255, 0.66) 52%, rgba(54, 230, 212, 0.38) 78%, transparent 96%);
  filter: blur(20px);
  opacity: 0.78;
  transform: rotate(-9deg);
}

.product-browser {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 460px;
  background: rgba(248, 251, 255, 0.96);
  border: 1px solid rgba(221, 227, 245, 0.78);
  border-radius: 8px;
  box-shadow: 0 28px 62px rgba(3, 8, 30, 0.38);
}

.product-browser .browser-bar {
  align-items: center;
}

.product-browser .browser-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.hero-product-visual {
  min-height: 560px;
  background:
    radial-gradient(ellipse at 18% 10%, rgba(39, 244, 210, 0.24), transparent 36%),
    radial-gradient(ellipse at 88% 82%, rgba(124, 60, 255, 0.26), transparent 42%),
    linear-gradient(145deg, #080d22, #111a3f 58%, #08152c);
}

.hero-product-visual::before,
.hero-product-visual::after {
  opacity: 0.28;
}

.hero-browser {
  min-height: 500px;
  background: #f8fbff;
}

.hero-site-preview {
  min-height: 390px;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(232, 241, 255, 0.96)),
    radial-gradient(ellipse at 82% 12%, rgba(39, 244, 210, 0.16), transparent 35%);
}

.site-preview-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  color: #50607f;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(203, 213, 235, 0.82);
}

.site-preview-nav strong {
  margin-right: auto;
  color: #101a34;
  font-size: 1rem;
}

.site-preview-nav span {
  font-size: 0.84rem;
  font-weight: 800;
}

.site-preview-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(290px, 0.78fr);
  gap: 26px;
  align-items: stretch;
  padding: 32px;
}

.site-preview-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 300px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 235, 0.78);
  border-radius: 8px;
}

.preview-eyebrow {
  margin: 0;
  color: #3421b8;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-preview-copy h3 {
  max-width: 420px;
  margin: 0;
  color: #101a34;
  font-size: 1.55rem;
  line-height: 1.15;
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.preview-lines span {
  display: block;
  height: 12px;
  background: #dbe5f8;
  border-radius: 999px;
}

.preview-lines span:nth-child(2) {
  width: 82%;
}

.preview-lines span:nth-child(3) {
  width: 64%;
}

.preview-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.preview-cta-row span {
  padding: 10px 12px;
  color: #10203f;
  background: #ffffff;
  border: 1px solid #cbd5eb;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.preview-cta-row span:first-child {
  color: #06362f;
  background: linear-gradient(135deg, #8ff7ef, #dffcf7);
  border-color: rgba(39, 244, 210, 0.65);
}

.brand-chat-window {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #cbd8f4;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(21, 18, 72, 0.18);
}

.brand-chat-window .mock-message {
  max-width: 95%;
  box-shadow: none;
}

.lead-mini-card {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding: 12px;
  color: #10203f;
  background: #f3f8ff;
  border: 1px solid #d8e5fb;
  border-radius: 8px;
}

.lead-mini-card strong,
.lead-mini-card span {
  display: block;
}

.lead-mini-card strong {
  color: #101a34;
}

.lead-mini-card span {
  color: #52607d;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-conversion-panel {
  grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
  margin-top: 18px;
}

.mock-site {
  position: relative;
  min-height: 318px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(238, 242, 255, 0.9), rgba(255, 255, 255, 0.98)),
    linear-gradient(120deg, rgba(39, 244, 210, 0.16), rgba(124, 60, 255, 0.12));
}

.mock-copy {
  width: min(48%, 260px);
}

.mock-copy strong,
.mock-copy span {
  display: block;
}

.mock-copy strong {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.12rem;
}

.mock-copy span {
  height: 13px;
  margin-bottom: 11px;
  background: #dfe5f7;
  border-radius: 999px;
}

.mock-copy span:nth-child(3) {
  width: 84%;
}

.mock-copy span:nth-child(4) {
  width: 62%;
}

.tuiske-chat-card {
  position: absolute;
  top: 34px;
  right: 34px;
  width: min(330px, calc(100% - 68px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #d9e3ff;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(52, 33, 184, 0.18);
}

.chat-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.small-mark {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}

.chat-card-head small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.mock-message {
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  line-height: 1.4;
}

.mock-message.bot {
  color: var(--ink);
  background: #eef2ff;
}

.mock-message.user {
  margin-left: auto;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.typing-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.typing-row span {
  width: 6px;
  height: 6px;
  background: var(--aurora);
  border-radius: 999px;
}

.conversion-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
  gap: 10px;
  margin: 0 24px 24px;
  padding: 14px;
  color: white;
  background: linear-gradient(135deg, #28156f, #3421b8 55%, #0da7b5);
  border-radius: 8px;
}

.conversion-panel strong,
.conversion-panel span {
  display: block;
}

.conversion-panel span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-size: 0.86rem;
}

.assistant-visual::before {
  content: "";
  position: absolute;
  inset: 10% -24% auto -18%;
  height: 190px;
  background:
    linear-gradient(100deg, transparent 8%, rgba(39, 244, 210, 0.75) 32%, rgba(141, 107, 255, 0.5) 54%, rgba(54, 230, 212, 0.35) 74%, transparent 96%);
  filter: blur(22px);
  opacity: 0.72;
  transform: rotate(-8deg);
}

.assistant-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px),
    radial-gradient(circle at 84% 48%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px);
  background-size: 210px 180px, 260px 220px, 230px 190px;
  opacity: 0.5;
}

.browser-frame {
  position: absolute;
  inset: 34px;
  overflow: hidden;
  z-index: 1;
  background: rgba(248, 251, 255, 0.95);
  border: 1px solid rgba(205, 216, 232, 0.62);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(3, 8, 30, 0.32);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: linear-gradient(90deg, #160d46, #3421b8 48%, #128fbd);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.site-lines {
  position: absolute;
  top: 72px;
  left: 28px;
  width: 44%;
}

.site-lines strong,
.site-lines span {
  display: block;
}

.site-lines strong {
  margin-bottom: 18px;
  color: var(--ink);
}

.site-lines span {
  height: 12px;
  margin-bottom: 10px;
  background: #dfe5f7;
  border-radius: 999px;
}

.site-lines span:last-child {
  width: 72%;
}

.chat-card {
  position: absolute;
  max-width: 290px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dde3f5;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(52, 33, 184, 0.16);
}

.chat-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--green-2);
  font-weight: 800;
}

.chat-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.bot-card {
  top: 136px;
  right: 34px;
}

.user-card {
  top: 254px;
  right: 86px;
  background: #edf2ff;
}

.lead-panel {
  position: absolute;
  left: 28px;
  right: 34px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 14px;
  color: white;
  background: linear-gradient(135deg, #28156f, #3421b8 55%, #0da7b5);
  border-radius: 8px;
}

.lead-panel strong,
.lead-panel span {
  display: block;
}

.lead-panel span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  font-size: 0.86rem;
}

.workflow,
.workspace,
.settings,
.install,
.industries,
.training,
.use-cases,
.websites,
.quote-request,
.pricing,
.process,
.faq,
.demo-access-gate,
.final-cta,
.site-footer {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading h2 {
  color: #f8fbff;
}

.section-heading p:not(.eyebrow) {
  color: rgba(238, 242, 255, 0.76);
}

.section-heading .eyebrow {
  color: #8ff7ef;
}

.websites {
  padding: 34px;
  color: var(--ink);
  background: rgba(248, 251, 255, 0.97);
  border: 1px solid rgba(216, 222, 239, 0.9);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(21, 18, 72, 0.14);
}

.websites .section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px 28px;
  align-items: end;
  margin-bottom: 24px;
}

.websites .section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #3421b8;
  text-shadow: none;
}

.websites .section-heading h2 {
  margin-bottom: 0;
  color: #101a34;
}

.websites .section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #52607d;
  font-size: 1rem;
  line-height: 1.68;
}

.quote-request {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 5vw, 42px);
  color: #12203f;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(229, 238, 255, 0.96)),
    radial-gradient(ellipse at 84% 8%, rgba(39, 244, 210, 0.16), transparent 38%);
  border: 1px solid rgba(216, 222, 239, 0.94);
  border-radius: 8px;
  box-shadow: 0 22px 62px rgba(21, 18, 72, 0.14);
}

.quote-copy h2 {
  margin-bottom: 14px;
  color: #101a34;
  font-size: 2.2rem;
}

.quote-copy p:not(.eyebrow) {
  color: #52607d;
  line-height: 1.7;
}

.quote-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 22px;
  color: #273656;
  line-height: 1.55;
}

.quote-points li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--aurora), var(--violet));
  border-radius: 999px;
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: clamp(18px, 3vw, 26px);
  background: #ffffff;
  border: 1px solid rgba(203, 213, 235, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 31, 68, 0.12);
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  color: #17233f;
  font-size: 0.92rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: #101a34;
  background: #f8fbff;
  border: 1px solid #cbd5eb;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(39, 244, 210, 0.22);
  border-color: #27d6c8;
  background: #ffffff;
}

.quote-form button {
  justify-self: start;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #52607d;
  font-weight: 800;
  line-height: 1.45;
}

.form-status[data-state="success"] {
  color: #08725f;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.privacy-note {
  margin: 0;
  color: #4f5f7d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.privacy-note a {
  color: #1b2f6f;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  min-height: auto;
  padding-bottom: clamp(32px, 5vw, 54px);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: clamp(20px, 3vw, 30px);
  color: #17233f;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 235, 0.88);
  border-radius: 22px;
  box-shadow: 0 18px 52px rgba(13, 26, 58, 0.08);
}

.legal-card h2 {
  margin: 0 0 10px;
  color: #10214f;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.legal-card p,
.legal-card li {
  color: #42516d;
  line-height: 1.72;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-card a {
  color: #1b2f6f;
  font-weight: 800;
}

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

.combined-use-cases {
  display: grid;
  gap: 24px;
}

.combined-use-cases .section-heading {
  margin-bottom: 0;
}

.combined-use-cases .feature-row {
  width: 100%;
  margin: 0;
}

.combined-use-cases .audience-row {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.combined-use-cases .audience-row article {
  min-height: 230px;
}

.compact-heading {
  padding-top: 8px;
}

.compact-heading h2 {
  max-width: 760px;
  font-size: 1.8rem;
}

.demo-access-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(8, 13, 34, 0.96), rgba(52, 33, 184, 0.86)),
    radial-gradient(ellipse at 88% 0%, rgba(39, 244, 210, 0.25), transparent 38%);
  border: 1px solid rgba(238, 242, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-access-gate h2 {
  margin-bottom: 8px;
  color: #f8fbff;
}

.demo-access-gate p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.78);
  line-height: 1.6;
}

.demo-access-gate.hidden,
.protected-demo.locked {
  display: none;
}

.use-case-grid,
.website-layout,
.step-list,
.faq-grid {
  display: grid;
  gap: 16px;
}

.use-case-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.website-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.step-list,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.industry-card {
  min-height: 158px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.industry-card.active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.industry-card strong,
.industry-card span {
  display: block;
}

.industry-card strong {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.industry-card span {
  color: var(--muted);
  line-height: 1.5;
}

.workflow article,
.use-case-grid article,
.website-layout article,
.step-list article,
.faq-grid article,
.lead-list,
.lead-detail,
.settings-grid,
.training-form,
.training-preview,
.knowledge-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow article {
  padding: 24px;
}

.use-case-grid article,
.website-layout article,
.step-list article,
.faq-grid article {
  padding: 22px;
}

.workflow article,
.website-layout article,
.use-case-grid article,
.step-list article,
.faq-grid article {
  display: grid;
  align-content: start;
}

.workflow article,
.website-layout article {
  grid-template-rows: auto auto 1fr auto;
}

.website-layout h3,
.use-case-grid h3,
.step-list h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: #101a34;
  font-size: 1.16rem;
  line-height: 1.25;
}

.use-case-grid article,
.website-layout article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.workflow span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: white;
  background: var(--green-2);
  border-radius: 8px;
  font-weight: 800;
}

.step-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-2);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-top: 14px;
  color: #3421b8;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}

.text-link:hover {
  color: #0f766e;
  text-decoration: underline;
}

.faq .section-heading h2 {
  color: #101a34;
}

.faq {
  padding: 34px;
  color: #101a34;
  background: rgba(248, 251, 255, 0.98);
  border: 1px solid rgba(216, 222, 239, 0.9);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(21, 18, 72, 0.12);
}

.website-layout span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #f8fbff;
  background: linear-gradient(135deg, #2430d2, #0da7b5);
  border-radius: 8px;
  font-weight: 900;
}

.service-pair article {
  min-height: 260px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: 2.1rem;
}

.workflow h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.workflow p,
.section-heading p:not(.eyebrow),
.use-case-grid p,
.website-layout p,
.step-list p,
.faq-grid p,
.lead-detail p,
.settings label,
.message,
.lead-card span {
  color: var(--muted);
  line-height: 1.55;
}

.examples-section {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(8, 13, 34, 0.98), rgba(22, 31, 76, 0.96) 58%, rgba(52, 33, 184, 0.82));
  border: 1px solid rgba(226, 232, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(8, 13, 34, 0.26);
}

.examples-section .section-heading h2 {
  color: #ffffff;
}

.examples-section .section-heading p:not(.eyebrow),
.examples-section .use-case-grid p {
  color: rgba(238, 242, 255, 0.8);
}

.examples-section .use-case-grid article {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(226, 232, 255, 0.18);
  box-shadow: none;
}

.examples-section .use-case-grid h3 {
  color: #ffffff;
}

.examples-section .example-benefit,
.examples-section .example-line {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 16px;
  color: #f8fbff;
  background: rgba(238, 242, 255, 0.08);
  border: 1px solid rgba(226, 232, 255, 0.15);
  border-radius: 8px;
}

.examples-section .example-benefit strong,
.examples-section .example-line strong {
  color: #ffffff;
  font-size: 0.94rem;
}

.examples-section .example-benefit p,
.examples-section .example-line p {
  margin: 0;
  color: rgba(238, 242, 255, 0.8);
}

.examples-section .example-line {
  background: rgba(54, 230, 212, 0.1);
  border-color: rgba(141, 247, 239, 0.22);
}

.website-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 42px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  color: #f8fbff;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(112, 255, 241, 0.26), transparent 38%),
    linear-gradient(135deg, rgba(8, 13, 34, 0.98), rgba(20, 32, 84, 0.94) 58%, rgba(52, 33, 184, 0.9));
  border: 1px solid rgba(226, 232, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 26px 80px rgba(8, 13, 34, 0.28);
}

.website-cta::after {
  content: "";
  position: absolute;
  inset: auto -8% -70% 28%;
  height: 210px;
  background: linear-gradient(90deg, transparent, rgba(112, 255, 241, 0.28), rgba(138, 109, 255, 0.3), transparent);
  filter: blur(26px);
  transform: rotate(-5deg);
  pointer-events: none;
}

.website-cta > * {
  position: relative;
  z-index: 1;
}

.website-cta h3 {
  max-width: 720px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1.08;
}

.website-cta p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.8);
  line-height: 1.68;
}

.website-cta .primary-action {
  white-space: nowrap;
  color: #061327;
  background: linear-gradient(135deg, #8ff7ef, #dce7ff 54%, #bca8ff);
  box-shadow: 0 16px 38px rgba(39, 244, 210, 0.18);
}

.website-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.website-cta-actions .secondary-action {
  white-space: nowrap;
  color: #061327;
  background: linear-gradient(135deg, #8ff7ef, #dce7ff 54%, #bca8ff);
  border-color: transparent;
  box-shadow: 0 16px 38px rgba(39, 244, 210, 0.18);
}

.pricing-card {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.4fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  color: white;
  background:
    linear-gradient(135deg, rgba(11, 16, 44, 0.96), rgba(52, 33, 184, 0.92)),
    linear-gradient(110deg, rgba(39, 244, 210, 0.28), transparent 58%);
  border: 1px solid rgba(238, 242, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-block {
  display: grid;
  gap: 4px;
}

.price-label {
  margin: 0;
  color: rgba(238, 242, 255, 0.74);
  font-weight: 800;
}

.price-block strong {
  font-size: 2.65rem;
  line-height: 1;
}

.price-block span {
  color: #bdfcf1;
  font-weight: 800;
}

.launch-card {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
  padding: clamp(24px, 4.5vw, 42px);
  color: #f8fbff;
  background:
    radial-gradient(ellipse at 86% 0%, rgba(39, 244, 210, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(8, 13, 34, 0.98), rgba(20, 32, 84, 0.94) 62%, rgba(52, 33, 184, 0.88));
  border: 1px solid rgba(218, 228, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(8, 13, 34, 0.32);
}

.launch-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
}

.launch-card-head h2 {
  max-width: 790px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 2.6rem;
  line-height: 1.06;
}

.launch-card-head p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.8);
  line-height: 1.68;
}

.launch-card-head .primary-action {
  white-space: nowrap;
  color: #061327;
  background: linear-gradient(135deg, #8ff7ef, #dce7ff 54%, #bca8ff);
  box-shadow: 0 16px 38px rgba(39, 244, 210, 0.18);
}

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

.launch-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(17px, 2.4vw, 22px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(238, 242, 255, 0.14);
  border-radius: 8px;
}

.launch-grid span {
  width: fit-content;
  padding: 5px 8px;
  color: #061327;
  background: #8ff7ef;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.launch-grid strong {
  color: #ffffff;
  font-size: 1.06rem;
}

.launch-grid p {
  color: rgba(238, 242, 255, 0.78);
  line-height: 1.58;
}

.pricing-card ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 18px;
}

.seller-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  min-height: 460px;
}

.lead-list,
.lead-detail {
  padding: 18px;
}

.panel-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.button-row,
.detail-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.panel-head h3,
.lead-detail h3 {
  margin-bottom: 0;
}

#leadList {
  display: grid;
  gap: 10px;
}

.lead-card {
  width: 100%;
  padding: 14px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.lead-card.active {
  border-color: var(--green);
  background: #f4f1ff;
}

.lead-card strong,
.lead-card span {
  display: block;
}

.lead-detail {
  min-width: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.detail-item {
  padding: 12px;
  background: var(--surface-2);
  border-radius: 8px;
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.summary-box {
  padding: 16px;
  background: #f4f1ff;
  border: 1px solid #d9ceff;
  border-radius: 8px;
}

.detail-actions {
  margin-top: 16px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.status-pill {
  padding: 7px 10px;
  color: var(--green);
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 16px;
}

.training-form,
.training-preview {
  padding: 20px;
}

.knowledge-panel {
  margin-top: 16px;
  padding: 20px;
}

.demo-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(11, 16, 44, 0.96), rgba(52, 33, 184, 0.9)),
    linear-gradient(110deg, rgba(39, 244, 210, 0.22), transparent 58%);
  border: 1px solid rgba(238, 242, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.demo-console article {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.demo-console span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #bdfcf1;
  font-weight: 900;
}

.demo-console h3 {
  margin-bottom: 8px;
}

.demo-console p {
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.78);
  line-height: 1.5;
}

.demo-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.demo-actions .ghost-button {
  color: #e8fbff;
  background: rgba(238, 242, 255, 0.12);
  border: 1px solid rgba(238, 242, 255, 0.18);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.document-uploader,
.document-library,
.knowledge-answer,
.quality-panel {
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.document-uploader {
  display: grid;
  align-content: start;
  gap: 14px;
}

.document-uploader p,
.knowledge-answer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.document-item strong,
.document-item span {
  display: block;
}

.document-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.knowledge-test {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.knowledge-test label,
.document-uploader label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.knowledge-test input,
.document-uploader input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.knowledge-test input {
  padding: 0 12px;
}

.document-uploader input {
  padding: 9px 12px;
}

.knowledge-answer {
  min-height: 160px;
  margin-top: 16px;
}

.quality-panel {
  margin-top: 16px;
}

.quality-results {
  display: grid;
  gap: 10px;
}

.quality-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quality-result strong,
.quality-result span {
  display: block;
}

.quality-result span {
  color: var(--muted);
  line-height: 1.45;
}

.quality-badge {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.quality-badge.pass {
  color: #12323a;
  background: #c8fbf3;
}

.quality-badge.fail {
  color: #4b2c7d;
  background: #eee4ff;
}

.knowledge-answer.found {
  background: #f8fbff;
  border-color: #c8d4ff;
}

.knowledge-answer.missing {
  background: #f4f1ff;
  border-color: #d9ceff;
}

.knowledge-answer h3 {
  margin-bottom: 8px;
}

.source-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.source-chip {
  padding: 9px 10px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.compact {
  margin-bottom: 10px;
}

.training-form {
  display: grid;
  gap: 16px;
}

.settings label,
.training-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.settings input,
.settings textarea,
.training-form textarea,
.chat-input input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.settings input,
.settings textarea,
.training-form textarea {
  padding: 12px 13px;
}

.settings textarea,
.training-form textarea {
  resize: vertical;
}

.training-preview {
  align-self: start;
  max-height: 760px;
  overflow: auto;
}

.training-preview h3 {
  margin-bottom: 16px;
}

.learned-block {
  padding: 14px;
  margin-bottom: 12px;
  background: var(--surface-2);
  border-radius: 8px;
}

.learned-block strong {
  display: block;
  margin-bottom: 8px;
}

.learned-block p {
  margin-bottom: 0;
  color: var(--muted);
  white-space: pre-line;
}

.wide {
  grid-column: 1 / -1;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 16px;
}

.install article {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.install p {
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(24px, 5vw, 46px);
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(8, 13, 34, 0.98), rgba(52, 33, 184, 0.88)),
    radial-gradient(ellipse at 84% 10%, rgba(39, 244, 210, 0.26), transparent 38%);
  border: 1px solid rgba(226, 232, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-cta > div {
  min-width: 0;
  max-width: 100%;
}

.final-cta h2 {
  max-width: min(760px, 100%);
  margin-bottom: 12px;
  font-size: 2.3rem;
}

.final-cta p:not(.eyebrow) {
  max-width: min(760px, 100%);
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.78);
  line-height: 1.65;
}

.portal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 42px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(10, 18, 47, 0.94), rgba(52, 33, 184, 0.78)),
    radial-gradient(ellipse at 92% 18%, rgba(39, 244, 210, 0.22), transparent 36%);
  border: 1px solid rgba(221, 227, 245, 0.14);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.portal-strip h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 2rem;
}

.portal-strip p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(238, 242, 255, 0.76);
  line-height: 1.65;
}

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

.portal-actions .secondary-action {
  color: #dffcff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(141, 247, 239, 0.22);
}

.final-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 24px;
  color: #101a34;
  background: linear-gradient(135deg, rgba(248, 251, 255, 0.96), rgba(230, 238, 255, 0.94));
  border: 1px solid rgba(16, 26, 52, 0.1);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 42px rgba(12, 18, 39, 0.12);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 560px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #40506f;
  line-height: 1.55;
}

.footer-brand strong {
  color: #101a34;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 700;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 11px;
  color: #101a34;
  background: #ffffff;
  border: 1px solid rgba(16, 26, 52, 0.14);
  border-radius: 8px;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 22px rgba(16, 26, 52, 0.06);
}

.footer-links a:hover {
  color: #ffffff;
  background: #1b2f6f;
  border-color: #1b2f6f;
}

.metric-strip {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.metric-strip span {
  padding: 8px 11px;
  color: var(--green-2);
  background: var(--surface-2);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.code-card pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  color: #e9fbff;
  background: #12153e;
  border-radius: 8px;
}

.code-card code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  min-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 800;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 0 rgba(54, 230, 212, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(54, 230, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 230, 212, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero::before,
  .hero::after,
  .hero-photo-visual::before,
  .hero-photo-visual::after,
  .chat-launcher .pulse-dot {
    animation: none;
  }
}

.chat-panel {
  display: none;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 112px));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chat-panel.open {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: white;
  background: linear-gradient(135deg, #160d46, var(--green), #0da7b5);
}

.chat-panel header span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: rgba(255,255,255,0.16);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f8f9ff;
}

.message {
  max-width: 86%;
  padding: 11px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message.user {
  align-self: flex-end;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-color: var(--green-2);
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  min-width: 58px;
  min-height: 40px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: #62708f;
  border-radius: 999px;
  animation: typingPulse 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.32s;
}

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

.quick-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.quick-actions button {
  flex: 0 0 auto;
  color: var(--green);
  background: var(--surface-2);
  padding: 0 12px;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-input input {
  min-height: 44px;
  padding: 0 12px;
}

.empty-state {
  display: grid;
  place-content: center;
  min-height: 390px;
  text-align: center;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .hero,
  .seller-layout,
  .workflow,
  .use-case-grid,
  .website-layout,
  .step-list,
  .faq-grid,
  .pricing-card,
  .demo-console,
  .industry-grid,
  .settings-grid,
  .training-layout,
  .knowledge-grid,
  .knowledge-test,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .website-cta {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .demo-access-gate {
    align-items: flex-start;
    flex-direction: column;
  }

  .websites {
    padding: 24px;
  }

  .websites .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quote-request {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .final-cta,
  .portal-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-actions {
    justify-content: flex-start;
  }

  .launch-grid {
    grid-template-columns: 1fr;
  }

  .launch-card-head {
    grid-template-columns: 1fr;
  }

  .launch-card-head .primary-action,
  .website-cta .primary-action,
  .website-cta-actions,
  .website-cta-actions .secondary-action {
    width: 100%;
  }

  .website-cta-actions {
    justify-content: flex-start;
  }

  .final-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 44px 18px 72px;
  }

  .hero-copy,
  .hero h1,
  .hero p:not(.eyebrow) {
    max-width: calc(100vw - 36px);
  }

  h1 {
    font-size: 2.3rem;
    line-height: 1.12;
  }

  .assistant-visual {
    min-height: 390px;
  }

  .product-browser {
    min-height: 400px;
  }

  .hero-browser {
    min-height: auto;
  }

  .site-preview-main {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .site-preview-copy {
    min-height: auto;
  }

  .mock-site {
    min-height: 286px;
    padding: 24px;
  }

  .tuiske-chat-card {
    right: 24px;
    width: min(310px, calc(100% - 48px));
  }

  .conversion-panel {
    grid-template-columns: 1fr 1fr;
    margin: 0 18px 18px;
  }

  .browser-frame {
    inset: 22px;
  }

  .bot-card {
    top: 118px;
    right: 24px;
  }

  .user-card {
    top: 226px;
    right: 44px;
  }

  .lead-panel {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card {
    align-items: start;
  }

  .topbar nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .chat-launcher {
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .topbar {
    gap: 12px;
    padding: 12px 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 14px 88px;
  }

  h1 {
    font-size: 1.86rem;
    line-height: 1.12;
  }

  .chat-widget {
    right: 10px;
    bottom: 10px;
  }

  .chat-launcher {
    min-height: 44px;
    padding: 0 13px;
    gap: 8px;
    font-size: 0.86rem;
  }

  .chat-panel {
    width: calc(100vw - 24px);
    height: min(590px, calc(100vh - 92px));
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .chat-card {
    max-width: 240px;
  }

  .lead-panel {
    grid-template-columns: 1fr;
  }

  .hero p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .hero-photo-visual {
    min-height: 440px;
  }

  .hero-photo-visual img {
    object-position: 46% 50%;
  }

  .product-shot {
    padding: 14px;
  }

  .product-browser {
    min-height: 430px;
  }

  .hero-product-visual {
    min-height: auto;
  }

  .hero-photo-visual {
    min-height: 430px;
  }

  .hero-photo-badge {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }

  .hero-photo-panel {
    left: 14px;
    right: 14px;
    bottom: 92px;
    min-width: 0;
  }

  .site-preview-nav {
    gap: 10px;
    overflow-x: auto;
    padding: 14px 16px;
  }

  .site-preview-main {
    gap: 16px;
    padding: 16px;
  }

  .site-preview-copy,
  .brand-chat-window {
    padding: 14px;
  }

  .hero-conversion-panel {
    grid-template-columns: 1fr;
  }

  .mock-site {
    padding: 18px;
  }

  .mock-copy {
    width: 100%;
  }

  .tuiske-chat-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 22px;
  }

  .conversion-panel {
    grid-template-columns: 1fr;
    margin: 0 14px 14px;
  }
}

