@font-face {
  font-family: "Vazirmatn AgentHub";
  src: url("./assets/fonts/vazirmatn-arabic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC;
}

@font-face {
  font-family: "Vazirmatn AgentHub";
  src: url("./assets/fonts/vazirmatn-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
  font-family: "Manrope AgentHub";
  src: url("./assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --background: #06070a;
  --background-soft: #090b10;
  --surface: #0d1016;
  --surface-elevated: #131720;
  --surface-soft: #10131a;
  --text-primary: #f5f5f2;
  --text-secondary: #9299a6;
  --text-muted: #69717e;
  --accent-primary: #6e7bff;
  --accent-hover: #7f8aff;
  --telegram-accent: #47a9f8;
  --success: #53d2a0;
  --warning: #f4bd69;
  --danger: #e77c83;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --shell: 1240px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  scrollbar-color: #303641 var(--background);
}

html[lang="fa"] body {
  font-family: "Vazirmatn AgentHub", Tahoma, Arial, sans-serif;
}

html[lang="en"] body {
  font-family: "Manrope AgentHub", Inter, Arial, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-primary);
  background: var(--background);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
strong,
b {
  font-weight: 700;
}

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

::selection {
  color: white;
  background: rgba(110, 123, 255, 0.7);
}

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

.skip-link {
  position: fixed;
  inset-inline-start: 20px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  color: #06070a;
  background: white;
  border-radius: 4px;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.page-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 130;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--telegram-accent), var(--accent-primary));
  transform: scaleX(0);
  transform-origin: left center;
}

html[dir="rtl"] .page-progress span {
  transform-origin: right center;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 120;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(6, 7, 10, 0.84);
  border-bottom-color: var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 48px), 1360px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: "Manrope AgentHub", Inter, sans-serif;
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 6px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.login-link {
  position: relative;
  color: #bcc1ca;
  font-size: 13px;
  font-weight: 550;
  transition: color 200ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 1px;
  background: var(--telegram-accent);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.main-nav a:hover,
.login-link:hover {
  color: white;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  direction: ltr;
}

.language-switch button {
  padding: 4px 1px;
  border: 0;
  color: var(--text-muted);
  background: transparent;
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color 200ms ease;
}

.language-switch button.is-active,
.language-switch button:hover {
  color: white;
}

.language-switch > span {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(71, 84, 210, 0.22);
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 34px rgba(71, 84, 210, 0.3);
}

.button-secondary {
  color: #e8e9ec;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.055);
}

.button-arrow {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.header-action {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: white;
  transition: transform 250ms ease;
}

.hero {
  position: relative;
  min-height: min(950px, 100svh);
  padding-top: calc(var(--header-height) + 52px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 32%, rgba(71, 169, 248, 0.105), transparent 27%),
    radial-gradient(circle at 32% 18%, rgba(110, 123, 255, 0.08), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  min-height: 610px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  color: #bdc2cc;
  font-size: 12px;
  font-weight: 600;
}

.eyebrow > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--telegram-accent);
  box-shadow: 0 0 12px rgba(71, 169, 248, 0.75);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.7vw, 82px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 strong,
.operator-copy h2 span,
.operator-copy h2 strong {
  display: block;
}

.hero h1 strong {
  color: #b8c1ff;
  font-weight: 760;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 2;
}

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

.hero-actions .button {
  min-height: 50px;
  padding-inline: 22px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: #a8aeba;
  font-size: 12px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-benefits i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
}

.hero-product {
  position: relative;
  height: 570px;
  min-width: 0;
}

.hero-product::before {
  content: "";
  position: absolute;
  top: 6%;
  inset-inline: 8%;
  height: 72%;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.telegram-window {
  position: absolute;
  z-index: 2;
  top: 24px;
  inset-inline-start: 0;
  width: min(420px, 75%);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(13, 16, 22, 0.96);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(1.5deg);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.window-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--telegram-accent), var(--accent-primary));
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.window-header > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.4;
}

.window-header b {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 12px;
}

.window-header small {
  color: var(--text-secondary);
  font-size: 10px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(83, 210, 160, 0.08);
}

.chat-flow {
  min-height: 446px;
  padding: 20px 16px 16px;
  background:
    linear-gradient(rgba(13, 16, 22, 0.8), rgba(13, 16, 22, 0.94)),
    radial-gradient(circle at 15% 25%, rgba(71, 169, 248, 0.16), transparent 33%);
}

.message {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.75;
}

.customer-message {
  margin-inline-start: auto;
  color: #e9eaf0;
  background: #1b2433;
}

.agent-message {
  display: flex;
  flex-direction: column;
  margin-inline-end: auto;
  background: #111823;
  border-color: rgba(71, 169, 248, 0.16);
}

.agent-message small {
  margin-top: 3px;
  color: #6e7988;
  font-size: 8px;
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 16px 0 12px;
  direction: ltr;
}

.mini-products article {
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0b0d12;
}

.product-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 58px;
  overflow: hidden;
  border-radius: 4px;
  background: #171b23;
}

.product-thumb::before,
.product-thumb::after {
  content: "";
  position: absolute;
  border: 5px solid currentColor;
}

.product-thumb::before {
  top: 16px;
  left: calc(50% - 18px);
  width: 26px;
  height: 28px;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.product-thumb::after {
  top: 32px;
  left: calc(50% - 21px);
  width: 32px;
  height: 12px;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.thumb-one { color: #7f8aff; background: #17182a; }
.thumb-two { color: #47a9f8; background: #10202d; }
.thumb-three { color: #72c9a9; background: #11211d; }

.mini-products b,
.mini-products small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-products b {
  margin-top: 6px;
  color: #e4e7ed;
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.mini-products small {
  color: #777f8d;
  font-size: 7px;
}

.demo-cart-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(71, 169, 248, 0.25);
  border-radius: 5px;
  color: #eaf6ff;
  background: rgba(71, 169, 248, 0.1);
  font-size: 10px;
}

.demo-cart-button span:last-child {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--telegram-accent);
  font-size: 14px;
}

.seller-preview {
  position: absolute;
  z-index: 3;
  inset-inline-end: 0;
  bottom: 52px;
  width: min(330px, 60%);
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: rgba(19, 23, 32, 0.97);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}

.seller-preview-head,
.seller-preview-head span,
.order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.seller-preview-head span {
  justify-content: flex-start;
}

.seller-preview-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.seller-preview-head b,
.seller-preview-head small {
  font-size: 10px;
}

.seller-preview-head small {
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
}

.order-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0 16px;
}

.order-value span {
  color: var(--text-muted);
  font-size: 9px;
}

.order-value strong {
  font-size: 19px;
}

.order-meta {
  color: #bfc4cd;
  font-size: 9px;
}

.order-meta b {
  padding: 3px 7px;
  border: 1px solid rgba(244, 189, 105, 0.2);
  border-radius: 4px;
  color: var(--warning);
  background: rgba(244, 189, 105, 0.08);
  font-size: 8px;
}

.order-progress {
  height: 3px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.order-progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--telegram-accent));
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.7fr 2.3fr;
  gap: 36px;
  align-items: center;
  min-height: 116px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}

.hero-proof > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
}

.hero-proof ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 48px;
  padding-inline: 26px;
  border-inline-start: 1px solid var(--border);
}

.hero-proof strong {
  font-size: 12px;
}

.hero-proof span {
  color: var(--text-muted);
  font-size: 10px;
}

.section {
  position: relative;
  padding: 128px 0;
  scroll-margin-top: var(--header-height);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  max-width: 1120px;
  margin-bottom: 58px;
}

.section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -22px;
  color: #aeb4bf;
}

.section-kicker > span:first-child {
  color: var(--telegram-accent);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 10px;
}

.section-kicker > span:first-child::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-inline: 10px 0;
  vertical-align: middle;
  background: var(--border-strong);
}

.section-heading h2,
.security-copy h2,
.operator-copy h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  max-width: 460px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 2;
}

.how-section {
  background: var(--background-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step-card {
  min-width: 0;
  padding: 28px;
  border-inline-start: 1px solid var(--border);
  transition: background 250ms ease, transform 250ms ease;
}

.step-card:last-child {
  border-inline-end: 1px solid var(--border);
}

.step-card:hover {
  z-index: 2;
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-2px);
}

.step-card > header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 10px;
}

.step-card > header i {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.step-card h3 {
  margin: 24px 0 10px;
  font-size: 16px;
}

.step-card > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.9;
}

.step-ui {
  position: relative;
  height: 112px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0b0e13;
}

.store-ui {
  padding: 18px;
}

.store-ui span {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.store-ui span:nth-child(2) {
  width: 62%;
}

.store-ui button {
  width: 100%;
  margin-top: 2px;
  padding: 7px;
  border: 0;
  border-radius: 4px;
  color: white;
  background: rgba(110, 123, 255, 0.55);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.csv-ui {
  padding: 22px 18px;
  font-family: "Manrope AgentHub", sans-serif;
  direction: ltr;
}

.csv-ui b {
  display: block;
  color: #d6d9df;
  font-size: 10px;
}

.csv-ui span {
  display: block;
  height: 4px;
  margin: 22px 0 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.csv-ui i {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--telegram-accent);
}

.csv-ui small {
  color: var(--telegram-accent);
  font-size: 9px;
}

.bot-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
}

.bot-ui > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #06140f;
  background: var(--success);
  font-size: 13px;
  font-style: normal;
}

.bot-ui span {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.bot-ui b,
.bot-ui small {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.bot-ui small { color: var(--success); }

.sell-ui {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 16px;
  direction: ltr;
}

.sell-ui span {
  height: 1px;
  background: var(--border-strong);
}

.sell-ui i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(71, 169, 248, 0.25);
  border-radius: 50%;
  color: var(--telegram-accent);
  font-style: normal;
}

.sell-ui b {
  grid-column: 1 / -1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #d5d9e0;
  text-align: center;
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.demo-section {
  background: #080a0e;
}

.demo-heading {
  margin-bottom: 48px;
}

.product-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 100px minmax(0, 0.85fr);
  align-items: center;
  min-height: 520px;
}

.demo-inbox,
.demo-dashboard {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.demo-inbox > header,
.demo-dashboard > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.demo-inbox > header > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-inbox > header b,
.demo-dashboard > header b {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 12px;
}

.demo-inbox > header small {
  color: var(--success);
  font-size: 9px;
}

.demo-conversation {
  padding: 28px;
  background:
    radial-gradient(circle at 75% 15%, rgba(71, 169, 248, 0.07), transparent 30%),
    #0a0d12;
}

.demo-conversation > .message {
  font-size: 12px;
}

.result-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  direction: ltr;
}

.result-row article {
  position: relative;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0e1117;
}

.result-row article.is-selected {
  border-color: rgba(71, 169, 248, 0.38);
  background: #101722;
}

.result-row .product-thumb {
  height: 82px;
}

.result-row article > div {
  padding: 8px 26px 2px 1px;
}

.result-row b,
.result-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-row b {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 10px;
}

.result-row small {
  color: var(--text-muted);
  font-size: 8px;
}

.result-row button {
  position: absolute;
  right: 9px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: white;
  background: var(--accent-primary);
  font-size: 10px;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 8px;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.flow-connector i {
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--telegram-accent));
}

.flow-connector i:last-child {
  transform: rotate(180deg);
}

.demo-dashboard {
  transform: translateY(28px);
}

.demo-dashboard > header > span {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.demo-dashboard > header small {
  color: var(--text-muted);
  font-size: 8px;
}

.demo-dashboard > header i {
  color: var(--text-muted);
  font-style: normal;
}

.dashboard-order {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-elevated);
}

.order-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(71, 169, 248, 0.25);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(71, 169, 248, 0.2), rgba(110, 123, 255, 0.12));
}

.dashboard-order > div {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.dashboard-order small {
  color: var(--text-muted);
  font-size: 8px;
}

.dashboard-order b,
.dashboard-order strong {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 11px;
}

.dashboard-order strong {
  justify-self: end;
}

.status-pill {
  grid-column: 2 / -1;
  width: max-content;
  padding: 3px 7px;
  border: 1px solid rgba(244, 189, 105, 0.18);
  border-radius: 4px;
  color: var(--warning);
  background: rgba(244, 189, 105, 0.07);
  font-size: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 22px;
  border-top: 1px solid var(--border);
  border-inline-start: 1px solid var(--border);
}

.dashboard-grid div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  border-inline-end: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dashboard-grid small {
  color: var(--text-muted);
  font-size: 8px;
}

.dashboard-grid strong {
  overflow: hidden;
  color: #dce0e7;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-dashboard > button {
  width: calc(100% - 44px);
  margin: 20px 22px 22px;
  padding: 9px;
  border: 0;
  border-radius: 5px;
  color: white;
  background: var(--accent-primary);
  font-size: 10px;
}

.capabilities-section {
  background: var(--background-soft);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 330px;
  gap: 12px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: #10141b;
}

.bento-suggest,
.bento-inbox {
  grid-column: span 2;
}

.bento-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.bento-card > header i {
  font-style: normal;
  transition: color 200ms ease, transform 200ms ease;
}

.bento-card:hover > header i {
  color: var(--telegram-accent);
  transform: translate(2px, -2px);
}

html[dir="rtl"] .bento-card:hover > header i {
  transform: translate(-2px, -2px);
}

.bento-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.bento-card > p {
  max-width: 500px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.9;
}

.feature-ui {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #090c11;
}

.suggestion-ui {
  padding: 14px;
}

.suggestion-ui p {
  width: 72%;
  margin: 0 0 10px auto;
  padding: 8px 10px;
  border-radius: 5px;
  color: #d9dce3;
  background: #1a2230;
  font-size: 8px;
}

.suggestion-ui span {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 82%;
  padding: 9px;
  border: 1px solid rgba(71, 169, 248, 0.12);
  border-radius: 5px;
  color: #b9dfff;
  background: rgba(71, 169, 248, 0.06);
  font-size: 8px;
}

.suggestion-ui span i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--telegram-accent);
}

.control-ui {
  padding: 14px;
}

.control-ui > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 8px;
}

.control-ui > span > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.control-ui em {
  position: relative;
  display: block;
  width: 25px;
  height: 13px;
  margin-inline-start: auto;
  border-radius: 7px;
  background: rgba(83, 210, 160, 0.25);
}

.control-ui em::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-end: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
}

.control-ui button {
  width: 100%;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #c7cbd3;
  background: var(--surface-elevated);
  font-size: 8px;
}

.csv-feature-ui,
.usage-ui {
  padding: 14px;
}

.csv-feature-ui header,
.usage-ui header {
  display: flex;
  justify-content: space-between;
  color: #d6d9e0;
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 8px;
}

.csv-feature-ui header span,
.usage-ui header span {
  color: var(--telegram-accent);
}

.csv-feature-ui > div,
.usage-ui > div {
  height: 3px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.07);
}

.csv-feature-ui > div i,
.usage-ui > div i {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--telegram-accent));
}

.csv-feature-ui small,
.usage-ui small {
  color: var(--text-muted);
  font-size: 7px;
}

.order-ui {
  padding: 10px;
}

.order-ui > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 8px;
  align-items: center;
}

.order-ui i {
  grid-row: span 2;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(71, 169, 248, 0.2);
  border-radius: 4px;
  background: rgba(71, 169, 248, 0.07);
}

.order-ui b,
.order-ui strong {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 8px;
}

.order-ui em {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--warning);
  background: rgba(244, 189, 105, 0.08);
  font-size: 7px;
  font-style: normal;
}

.inbox-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--border);
}

.inbox-ui > span,
.bots-ui > span {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 8px;
  padding: 11px;
  background: #090c11;
}

.inbox-ui i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #d8eaff;
  background: #152337;
  font-size: 8px;
  font-style: normal;
}

.inbox-ui b,
.inbox-ui small {
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-ui small { color: var(--text-muted); }

.inbox-ui em {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: white;
  background: var(--accent-primary);
  font-size: 6px;
  font-style: normal;
}

.bots-ui {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--border);
}

.bots-ui > span {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.bots-ui i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.bots-ui span:last-child i { background: var(--warning); }
.bots-ui b { font-family: "Manrope AgentHub", sans-serif; font-size: 8px; }
.bots-ui em { color: var(--text-muted); font-size: 7px; font-style: normal; }

.knowledge-ui {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 13px;
}

.knowledge-ui > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--telegram-accent);
}

.knowledge-ui p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.55;
}

.knowledge-ui b { font-size: 8px; }
.knowledge-ui small { color: var(--text-muted); font-size: 7px; }
.knowledge-ui > i { color: var(--success); font-size: 9px; font-style: normal; }
.usage-ui > div i { width: 34%; }

.comparison-section {
  background: #080a0e;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-card {
  min-width: 0;
  padding: 40px;
  background: var(--surface);
}

.comparison-after {
  position: relative;
  border-inline-start: 1px solid rgba(110, 123, 255, 0.24);
  background:
    radial-gradient(circle at 90% 0, rgba(110, 123, 255, 0.1), transparent 35%),
    #11141c;
}

.comparison-card header {
  margin-bottom: 30px;
}

.comparison-card header > span {
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
  text-transform: uppercase;
}

.comparison-after header > span { color: #adb5ff; }

.comparison-card h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.comparison-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-top: 1px solid var(--border);
  color: #adb2bc;
  font-size: 12px;
}

.comparison-card li i {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--danger);
  background: rgba(231, 124, 131, 0.08);
  font-size: 10px;
  font-style: normal;
}

.comparison-after li i {
  color: var(--success);
  background: rgba(83, 210, 160, 0.08);
}

.operator-section {
  background: var(--background-soft);
}

.operator-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(580px, 1.28fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
}

.operator-copy .section-kicker,
.security-copy .section-kicker {
  margin-bottom: 24px;
}

.operator-copy h2 {
  margin-bottom: 24px;
}

.operator-copy h2 strong {
  color: #b8c1ff;
}

.operator-copy > p:not(.section-kicker),
.security-copy > p:not(.section-kicker) {
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 2;
}

.operator-copy li,
.security-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: #c7cbd2;
  font-size: 12px;
}

.operator-copy li i {
  color: var(--success);
  font-style: normal;
}

.inbox-preview {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.inbox-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.inbox-preview > header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inbox-preview > header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--telegram-accent);
}

.inbox-preview > header b { font-size: 11px; }
.inbox-preview > header small { color: var(--success); font-size: 8px; }

.inbox-body {
  display: grid;
  grid-template-columns: 185px 1fr;
  min-height: 380px;
}

.inbox-body > aside {
  border-inline-end: 1px solid var(--border);
  background: #0a0d12;
}

.conversation-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 8px;
  min-height: 72px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--border);
}

.conversation-item.active {
  background: rgba(71, 169, 248, 0.055);
  box-shadow: inset 2px 0 var(--telegram-accent);
}

html[dir="rtl"] .conversation-item.active {
  box-shadow: inset -2px 0 var(--telegram-accent);
}

.conversation-item > i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #dceeff;
  background: #152235;
  font-size: 8px;
  font-style: normal;
}

.conversation-item b,
.conversation-item small {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item small { color: var(--text-muted); }

.conversation-item em {
  position: absolute;
  top: 13px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: white;
  background: var(--accent-primary);
  font-size: 6px;
  font-style: normal;
}

.operator-chat {
  padding: 0 20px 18px;
}

.chat-owner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.chat-owner > span {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.chat-owner b { font-size: 10px; }
.chat-owner small { color: var(--text-muted); font-size: 8px; }

.chat-owner > strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 7px;
}

.chat-owner > strong i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.operator-chat .message {
  font-size: 9px;
}

.operator-message {
  margin-inline-end: auto;
  color: #e7e9ed;
  border-color: rgba(110, 123, 255, 0.2);
  background: rgba(110, 123, 255, 0.12);
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: 28px;
  padding: 6px 7px 6px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 8px;
}

.composer button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: white;
  background: var(--accent-primary);
}

.return-ai {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 7px;
  border: 1px solid rgba(83, 210, 160, 0.16);
  border-radius: 4px;
  color: var(--success);
  background: rgba(83, 210, 160, 0.04);
  font-size: 7px;
}

.return-ai i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.security-section {
  background: #080a0e;
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.security-copy {
  max-width: 520px;
}

.security-visual {
  position: relative;
  min-height: 480px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black 25%, transparent 72%);
}

.security-visual::before,
.security-visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.security-visual::before { width: 300px; height: 300px; }
.security-visual::after { width: 430px; height: 430px; }

.security-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.security-core .brand-mark {
  width: 58px;
  height: 58px;
  box-shadow: 0 0 50px rgba(71, 169, 248, 0.14);
}

.security-core b {
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 10px;
}

.security-node {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(13, 16, 22, 0.95);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.security-node i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.security-node b {
  font-size: 8px;
}

.node-one { top: 11%; inset-inline-start: 8%; }
.node-two { top: 20%; inset-inline-end: 2%; }
.node-three { bottom: 10%; inset-inline-start: 25%; }

.security-copy li i {
  width: 7px;
  height: 7px;
  border: 2px solid var(--telegram-accent);
  border-radius: 50%;
}

.plans-section {
  background: var(--background-soft);
}

.plans-heading {
  margin-bottom: 38px;
}

.plans-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 11px;
  text-align: center;
}

.plans-status.state-loading i,
.plans-status.state-idle i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--telegram-accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.plans-status.state-success {
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: start;
}

.plan-duration-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(58px, 1fr));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}

.plans-status .plan-duration-switch button {
  min-height: 34px;
  padding: 5px 12px;
  border: 0;
  border-inline-end: 1px solid var(--border-strong);
  border-radius: 0;
  color: var(--text-secondary);
  background: transparent;
}

.plans-status .plan-duration-switch button:last-child {
  border-inline-end: 0;
}

.plans-status .plan-duration-switch button.is-active {
  color: white;
  background: var(--telegram-accent);
}

.plans-status.state-error,
.plans-status.state-empty {
  color: #d1a7aa;
}

.plans-status button {
  padding: 5px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: white;
  background: var(--surface-elevated);
  cursor: pointer;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 520px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 260ms ease, border-color 260ms ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.plan-card.is-recommended {
  border-color: rgba(110, 123, 255, 0.38);
  background:
    radial-gradient(circle at 100% 0, rgba(110, 123, 255, 0.12), transparent 30%),
    var(--surface-elevated);
}

.plan-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.plan-card > header b {
  padding: 4px 8px;
  border: 1px solid rgba(110, 123, 255, 0.28);
  border-radius: 4px;
  color: #cbd0ff;
  background: rgba(110, 123, 255, 0.08);
  font-size: 8px;
}

.plan-card h3 {
  margin: 24px 0 6px;
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 31px;
}

.plan-card > p {
  min-height: 54px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 12px;
}

.plan-price {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-price strong {
  color: var(--text-primary);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 20px;
}

.plan-price span {
  color: var(--text-muted);
  font-size: 9px;
}

.plan-card > small {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 9px;
}

.plan-card ul {
  margin-bottom: 26px;
}

.plan-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-top: 1px solid var(--border);
  color: #adb2bc;
  font-size: 11px;
}

.plan-card li strong {
  color: var(--text-primary);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 12px;
}

.plan-card > .button {
  width: 100%;
  margin-top: auto;
}

.fallback-note {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-bottom: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  text-align: center;
}

.plan-skeleton {
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(100deg, #0d1016 20%, #131720 45%, #0d1016 70%);
  background-size: 240% 100%;
  animation: skeleton 1.4s ease infinite;
}

.plans-noscript {
  padding: 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.faq-section {
  background: #080a0e;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  display: block;
  margin: 0;
}

.faq-layout .section-kicker {
  margin-bottom: 24px;
}

.faq-layout .section-heading h2 {
  margin-bottom: 20px;
}

.faq-layout .section-heading > p:last-child {
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span {
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.faq-item summary b {
  font-size: 13px;
}

.faq-item summary i {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 5px;
  width: 8px;
  height: 1px;
  background: #c8ccd3;
  transition: transform 220ms ease;
}

.faq-item summary i::after {
  transform: rotate(90deg);
}

.faq-item[open] summary i::after {
  transform: rotate(0);
}

.faq-item p {
  max-width: 690px;
  margin: -4px 50px 26px 34px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 2;
}

html[dir="rtl"] .faq-item p {
  margin: -4px 34px 26px 50px;
}

.final-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--header-height);
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(110, 123, 255, 0.14), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(circle, black 20%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  padding: 100px 24px;
  text-align: center;
}

.cta-inner .eyebrow {
  margin-inline: auto;
}

.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 68px);
}

.final-cta p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.final-cta .button {
  min-height: 50px;
  padding-inline: 24px;
}

.final-cta small {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #050608;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.6fr);
  gap: 50px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.footer-brand p {
  max-width: 390px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 2;
}

.enamad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  min-height: 104px;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease;
}

.enamad-badge:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.enamad-badge img {
  display: block;
  width: 80px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links b {
  margin-bottom: 5px;
  color: #daddE3;
  font-size: 11px;
}

.footer-links a {
  width: max-content;
  color: var(--text-muted);
  font-size: 10px;
  transition: color 200ms ease;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-family: "Manrope AgentHub", sans-serif;
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes skeleton {
  to { background-position: -240% 0; }
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 22px;
  }

  .main-nav {
    gap: 19px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.86fr) minmax(490px, 1.14fr);
    gap: 40px;
  }

  .hero-product {
    height: 530px;
  }

  .telegram-window {
    width: 72%;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card:nth-child(2) {
    border-inline-end: 1px solid var(--border);
  }

  .step-card:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

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

  .bento-suggest,
  .bento-inbox {
    grid-column: span 2;
  }

  .bento-control,
  .bento-bots {
    grid-column: span 1;
  }

  .operator-layout {
    grid-template-columns: 0.68fr 1.32fr;
    gap: 42px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 66px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.menu-open {
    height: auto;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav,
  .header-tools {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header.menu-open .main-nav {
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .site-header.menu-open .main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
  }

  .site-header.menu-open .header-tools {
    display: flex;
    flex-wrap: wrap;
    padding: 14px 0 18px;
  }

  .site-header.menu-open .header-action {
    margin-inline-start: auto;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 780px;
  }

  .hero-product {
    width: min(680px, 100%);
    height: 560px;
    margin-inline: auto;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .hero-proof li:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .section {
    padding: 100px 0;
  }

  .product-demo {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flow-connector {
    min-height: 40px;
    transform: none;
  }

  .demo-dashboard {
    width: min(620px, 90%);
    margin-inline: auto;
    transform: none;
  }

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

  .bento-suggest,
  .bento-inbox {
    grid-column: span 2;
  }

  .operator-layout,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .operator-copy,
  .security-copy {
    max-width: 680px;
  }

  .inbox-preview {
    width: min(760px, 100%);
  }

  .security-visual {
    width: min(650px, 100%);
    margin-inline: auto;
    order: 2;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-inline: auto;
  }

  .plan-card {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .shell,
  .header-inner {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-tools {
    gap: 12px;
  }

  .site-header.menu-open .login-link {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 64px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-product {
    height: 505px;
  }

  .telegram-window {
    width: 82%;
  }

  .seller-preview {
    bottom: 32px;
    width: 62%;
  }

  .hero-proof ul {
    grid-template-columns: 1fr;
  }

  .hero-proof li,
  .hero-proof li:first-child {
    min-height: 62px;
    justify-content: center;
    padding-inline: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .section-heading .section-kicker {
    margin-bottom: 20px;
  }

  .section-heading h2,
  .security-copy h2,
  .operator-copy h2 {
    margin-bottom: 18px;
    font-size: 36px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    border: 0;
    gap: 10px;
  }

  .step-card,
  .step-card:nth-child(n) {
    border: 1px solid var(--border);
    border-radius: 7px;
  }

  .step-ui {
    height: 126px;
  }

  .demo-conversation {
    padding: 18px;
  }

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

  .result-row article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
  }

  .result-row .product-thumb {
    grid-row: span 2;
    height: 62px;
  }

  .result-row article > div {
    padding: 0 30px 0 0;
  }

  .result-row button {
    bottom: 21px;
  }

  .demo-dashboard {
    width: 100%;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-card,
  .bento-suggest,
  .bento-inbox {
    grid-column: span 1;
    min-height: 300px;
  }

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

  .comparison-after {
    border-inline-start: 0;
    border-top: 1px solid rgba(110, 123, 255, 0.24);
  }

  .comparison-card {
    padding: 28px 22px;
  }

  .inbox-body {
    grid-template-columns: 1fr;
  }

  .inbox-body > aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-inline-end: 0;
    border-bottom: 1px solid var(--border);
  }

  .conversation-item {
    min-width: 0;
    border-inline-end: 1px solid var(--border);
  }

  .conversation-item small {
    display: none;
  }

  .chat-owner {
    margin-bottom: 16px;
  }

  .security-visual {
    min-height: 380px;
  }

  .security-visual::after {
    width: 340px;
    height: 340px;
  }

  .security-visual::before {
    width: 240px;
    height: 240px;
  }

  .node-one { inset-inline-start: 0; }
  .node-two { inset-inline-end: 0; }

  .faq-item summary {
    grid-template-columns: 26px 1fr auto;
    gap: 10px;
  }

  .faq-item summary b {
    font-size: 12px;
  }

  .faq-item p,
  html[dir="rtl"] .faq-item p {
    margin: -2px 36px 24px;
  }

  .final-cta {
    min-height: 520px;
  }

  .final-cta h2 {
    font-size: 42px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 18px;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-benefits {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-product {
    height: 485px;
    margin-inline: -8px;
    width: calc(100% + 16px);
  }

  .telegram-window {
    inset-inline-start: 0;
    width: 90%;
  }

  .chat-flow {
    min-height: 414px;
  }

  .mini-products article:nth-child(3) {
    display: none;
  }

  .mini-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .seller-preview {
    inset-inline-end: 0;
    width: 74%;
    bottom: 6px;
  }

  .order-value strong {
    font-size: 15px;
  }

  .section-heading h2,
  .security-copy h2,
  .operator-copy h2 {
    font-size: 32px;
  }

  .dashboard-order {
    grid-template-columns: auto 1fr;
  }

  .dashboard-order > strong {
    grid-column: 2;
    justify-self: start;
  }

  .status-pill {
    grid-column: 2;
  }

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

  .inbox-body > aside {
    grid-template-columns: 1fr 1fr;
  }

  .conversation-item:nth-child(3) {
    display: none;
  }

  .chat-owner > strong span {
    display: none;
  }

  .operator-chat {
    padding-inline: 14px;
  }

  .security-node {
    min-width: 112px;
    padding: 8px;
  }

  .node-three {
    inset-inline-start: 8%;
  }

  .plan-card {
    padding: 24px 20px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
