:root {
  --ink: #112033;
  --muted: #647084;
  --soft: #eef4f8;
  --line: #dbe5eb;
  --brand: #0f8bd6;
  --brand-dark: #0d3b66;
  --green: #19b47b;
  --yellow: #f7c948;
  --coral: #ff6b5f;
  --violet: #6757d9;
  --panel: #ffffff;
  --shadow: 0 22px 60px rgba(17, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fafc;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid rgba(219, 229, 235, 0.75);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  font-size: 22px;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: 170px;
  max-width: 40vw;
  height: auto;
}

.menu-toggle,
.menu-button,
.mobile-nav {
  display: none;
}

.nav {
  gap: 24px;
  color: #516074;
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover,
.login-link:hover {
  color: var(--brand);
}

.header-actions {
  gap: 16px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 139, 214, 0.28);
  font-weight: 800;
  white-space: nowrap;
}

.button:hover {
  background: #0879bd;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-outline {
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-outline:hover {
  color: #ffffff;
  background: var(--brand-dark);
}

.button-ghost {
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 104px) clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: -24% -12% auto auto;
  width: 720px;
  height: 720px;
  content: "";
  background:
    radial-gradient(circle at 35% 35%, rgba(25, 180, 123, 0.28), transparent 32%),
    radial-gradient(circle at 65% 65%, rgba(15, 139, 214, 0.24), transparent 36%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(25, 180, 123, 0.14);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.outbound-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 690px;
  margin-top: 24px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 139, 214, 0.22);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 139, 214, 0.1);
}

.outbound-highlight i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--green));
  border-radius: 8px;
}

.outbound-highlight strong,
.outbound-highlight span {
  display: block;
}

.outbound-highlight strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.outbound-highlight span {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin-top: 38px;
}

.proof-row div {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  font-size: 22px;
}

.proof-row span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-height: 620px;
}

.source-orbit {
  position: absolute;
  inset: 0;
}

.source {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17, 32, 51, 0.16);
  font-weight: 850;
  will-change: transform;
}

a.source,
.source-link {
  text-decoration: none;
}

.source-link:hover {
  box-shadow: 0 20px 46px rgba(17, 32, 51, 0.22);
}

.source img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.source-text-icon {
  display: inline-grid;
  min-width: 24px;
  height: 20px;
  place-items: center;
  color: #ffffff;
  background: rgba(17, 32, 51, 0.34);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 950;
}

.source-one {
  top: 34px;
  left: 24px;
  background: #7b4dd6;
  animation: channelFloatA 8.6s ease-in-out infinite;
}

.source-two {
  top: 90px;
  right: 36px;
  background: var(--brand);
  animation: channelFloatB 9.8s ease-in-out infinite;
}

.source-three {
  right: 0;
  bottom: 122px;
  background: #24a269;
  animation: channelFloatC 8.9s ease-in-out infinite;
}

.source-four {
  bottom: 36px;
  left: 42px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  animation: channelFloatD 10.4s ease-in-out infinite;
}

.source-five {
  top: 240px;
  left: -14px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  animation: channelFloatE 9.2s ease-in-out infinite;
}

.source-six {
  top: 190px;
  right: -6px;
  background: #1d2939;
  animation: channelFloatF 11s ease-in-out infinite;
}

.source-seven {
  top: 16px;
  right: 150px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  animation: channelFloatB 12s ease-in-out infinite;
}

.source-eight {
  bottom: 104px;
  left: -4px;
  background: var(--coral);
  animation: channelFloatC 10.8s ease-in-out infinite;
}

@keyframes channelFloatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  28% { transform: translate3d(18px, -10px, 0); }
  58% { transform: translate3d(8px, 18px, 0); }
  82% { transform: translate3d(-12px, 6px, 0); }
}

@keyframes channelFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  24% { transform: translate3d(-16px, 12px, 0); }
  54% { transform: translate3d(10px, 22px, 0); }
  80% { transform: translate3d(14px, -8px, 0); }
}

@keyframes channelFloatC {
  0%, 100% { transform: translate3d(0, 0, 0); }
  32% { transform: translate3d(-22px, -8px, 0); }
  62% { transform: translate3d(-6px, 18px, 0); }
  84% { transform: translate3d(12px, 4px, 0); }
}

@keyframes channelFloatD {
  0%, 100% { transform: translate3d(0, 0, 0); }
  22% { transform: translate3d(14px, -18px, 0); }
  52% { transform: translate3d(28px, 2px, 0); }
  78% { transform: translate3d(-8px, -10px, 0); }
}

@keyframes channelFloatE {
  0%, 100% { transform: translate3d(0, 0, 0); }
  26% { transform: translate3d(20px, 8px, 0); }
  56% { transform: translate3d(4px, -20px, 0); }
  86% { transform: translate3d(-10px, 12px, 0); }
}

@keyframes channelFloatF {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-18px, -16px, 0); }
  55% { transform: translate3d(-30px, 8px, 0); }
  83% { transform: translate3d(8px, 16px, 0); }
}

.app-window {
  position: absolute;
  top: 92px;
  right: 28px;
  left: 28px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(219, 229, 235, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  color: #516074;
  background: #f3f7fa;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 11px;
  height: 11px;
  background: #d7e1e8;
  border-radius: 50%;
}

.window-bar span:first-child {
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--yellow);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar strong {
  margin-left: 8px;
  font-size: 14px;
}

.workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 440px;
}

.inbox-list {
  padding: 16px;
  background: #f8fbfd;
  border-right: 1px solid var(--line);
}

.inbox-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  margin-bottom: 10px;
  color: #526073;
  border-radius: 8px;
}

.inbox-item b {
  color: var(--ink);
  font-size: 14px;
}

.inbox-item span {
  font-size: 13px;
}

.inbox-item.active {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 32, 51, 0.08);
}

.conversation {
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(15, 139, 214, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(15, 139, 214, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.customer-card,
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.customer-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: 50%;
  font-weight: 850;
}

small {
  display: block;
  color: var(--muted);
}

.tag {
  padding: 6px 10px;
  color: #0f684d;
  background: rgba(25, 180, 123, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.message {
  max-width: 76%;
  padding: 13px 15px;
  margin-top: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(17, 32, 51, 0.08);
}

.message.left {
  background: #ffffff;
}

.message.right {
  margin-left: auto;
  color: #ffffff;
  background: var(--brand);
}

.message.system {
  max-width: 100%;
  color: #586578;
  background: #fff8df;
  border: 1px solid #f4e4a8;
  box-shadow: none;
}

.order-card {
  margin-top: 22px;
}

.order-card button {
  min-height: 38px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--brand-dark);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.channels-section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.integration-category {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.integration-category:first-child {
  margin-top: 0;
}

.integration-category::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}

.channel-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

a.channel-card {
  display: block;
  color: inherit;
}

.integration-link {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.integration-link:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 139, 214, 0.36);
  box-shadow: 0 18px 42px rgba(17, 32, 51, 0.1);
}

.integration-link-more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.channel-card.pending {
  background: #fbfcfd;
}

.channel-card::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  color: rgba(17, 32, 51, 0.05);
  content: attr(data-mark);
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

.channel-card h3 {
  margin-bottom: 8px;
}

.channel-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
}

.channel-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 139, 214, 0.2);
  font-size: 22px;
}

.channel-icon img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}

.text-channel {
  font-size: 14px;
  letter-spacing: 0;
}

.channel-card.messenger .channel-icon {
  background: linear-gradient(135deg, #6757d9, #0f8bd6);
}

.channel-card.social .channel-icon {
  background: linear-gradient(135deg, #ff6b5f, #6757d9);
}

.channel-card.market .channel-icon {
  background: linear-gradient(135deg, #f7c948, #ff8a3d);
  color: #182334;
}

.channel-card.system .channel-icon {
  background: linear-gradient(135deg, #19b47b, #0d3b66);
}

.image-channel,
.channel-card.market .image-channel {
  background: #ffffff;
  border: 1px solid rgba(103, 87, 217, 0.25);
}

.channel-card.system .transparent-logo {
  background: #ffffff;
  border: 1px solid rgba(15, 139, 214, 0.18);
  box-shadow: 0 12px 26px rgba(17, 32, 51, 0.08);
}

.channel-card.system .transparent-logo img {
  max-width: 34px;
  max-height: 34px;
  border-radius: 7px;
}

.olx-channel,
.channel-card.market .olx-channel {
  color: #182334;
  background: linear-gradient(135deg, #f7c948, #ff8a3d);
}

.nova-channel,
.channel-card.system .nova-channel {
  background: linear-gradient(135deg, #ee1d24, #b5121b);
}

.image-channel.nova-channel,
.channel-card.system .image-channel.nova-channel {
  background: #ffffff;
  border: 1px solid rgba(238, 29, 36, 0.25);
}

.image-channel.nova-channel img {
  max-width: 34px;
  max-height: 34px;
  border-radius: 7px;
}

.wide-channel {
  grid-column: span 2;
  min-height: 160px;
  background:
    linear-gradient(135deg, rgba(15, 139, 214, 0.08), rgba(25, 180, 123, 0.08)),
    #ffffff;
}

.channel-card h3 {
  font-weight: 800;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.chat-flow-section {
  background:
    linear-gradient(180deg, #f7fafc, #ffffff);
  border-top: 1px solid var(--line);
}

.chat-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.2fr) 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.flow-panel {
  min-height: 340px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(17, 32, 51, 0.07);
}

.flow-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: rgba(15, 139, 214, 0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.flow-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.flow-icons span,
.scenario-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 850;
}

.flow-icons span:nth-child(1) {
  background: linear-gradient(135deg, #ff6b5f, #6757d9);
}

.flow-icons span:nth-child(2) {
  background: linear-gradient(135deg, #0f8bd6, #6757d9);
}

.flow-icons span:nth-child(3) {
  background: linear-gradient(135deg, #19b47b, #0d3b66);
}

.flow-icons span:nth-child(4) {
  color: #182334;
  background: linear-gradient(135deg, #f7c948, #ff8a3d);
}

.flow-icons span:nth-child(5) {
  background: linear-gradient(135deg, #0d3b66, #0f8bd6);
}

.flow-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.flow-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.18);
}

.chat-panel-main {
  background:
    linear-gradient(135deg, rgba(15, 139, 214, 0.08), rgba(25, 180, 123, 0.08)),
    #ffffff;
}

.mini-chat {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.mini-message {
  max-width: 84%;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(17, 32, 51, 0.08);
}

.mini-message.customer {
  background: #ffffff;
}

.mini-message.event {
  max-width: 100%;
  color: #0d3b66;
  background: rgba(15, 139, 214, 0.1);
  border: 1px solid rgba(15, 139, 214, 0.18);
  box-shadow: none;
}

.mini-message.auto {
  max-width: 100%;
  color: #6f5c12;
  background: #fff8df;
  border: 1px solid #f4e4a8;
  box-shadow: none;
}

.mini-message.manager {
  margin-left: auto;
  color: #ffffff;
  background: var(--brand);
}

.scenario-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.scenario-list span {
  color: var(--ink);
  background: #f2f6f9;
  border: 1px solid var(--line);
}

.scenario-list i {
  color: var(--brand);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: start;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section p,
.automation-copy p,
.feature-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.steps article,
.feature-card {
  padding: 24px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 34px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.large-card {
  grid-row: span 2;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, 0.96), rgba(15, 139, 214, 0.88)),
    url("/image/iphone-1x.png");
  background-position: center;
  background-size: cover;
  border: 0;
}

.large-card p,
.large-card .section-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 900;
}

.automation {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  position: relative;
  padding: 20px 20px 20px 58px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 32, 51, 0.06);
}

.timeline div::before {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--green);
  border: 5px solid rgba(25, 180, 123, 0.18);
  border-radius: 50%;
}

.timeline b,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

.site-footer {
  margin-top: clamp(34px, 5vw, 64px);
  color: #d9e7f2;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, 0.98), rgba(17, 32, 51, 0.98));
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 72px);
}

.footer-brand img {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 22px;
  filter: invert(1);
}

.footer-brand p {
  max-width: 420px;
  color: rgba(217, 231, 242, 0.78);
}

.footer-support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.footer-support-card i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
}

.footer-support-card strong,
.footer-support-card a {
  display: block;
}

.footer-support-card a {
  color: #ffffff;
  font-weight: 850;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 17px;
}

.footer-column a {
  color: rgba(217, 231, 242, 0.78);
  font-weight: 700;
}

.footer-column a:hover,
.footer-more {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px clamp(20px, 5vw, 72px);
  color: rgba(217, 231, 242, 0.72);
  background: rgba(0, 0, 0, 0.18);
  font-weight: 750;
}

.nav .active {
  color: var(--brand);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 4vw, 48px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(25, 180, 123, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.compact-hero {
  min-height: 300px;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.page-hero .hero-lead {
  font-size: clamp(16px, 1.7vw, 19px);
}

.page-section {
  background: #ffffff;
}

.align-left {
  max-width: 780px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.knowledge-panel,
.price-summary,
.code-preview {
  position: relative;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-panel {
  display: grid;
  gap: 12px;
}

.knowledge-panel span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--brand-dark);
  background: #f2f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.knowledge-panel i {
  color: var(--brand);
}

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

.article-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17, 32, 51, 0.07);
}

.article-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #eef4f8;
}

.article-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.article-card p {
  color: var(--muted);
}

.article-card a {
  color: var(--brand);
  font-weight: 850;
}

.feature-article {
  grid-column: span 2;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
}

.feature-article img {
  height: 100%;
  min-height: 320px;
}

.article-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.price-summary {
  display: grid;
  gap: 12px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, 0.96), rgba(15, 139, 214, 0.88));
}

.price-summary b {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.price-summary span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.summary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.price-summary .button {
  min-height: 46px;
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: none;
}

.price-summary .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

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

.pricing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-toolbar h2 {
  margin-bottom: 0;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  background: #eef4f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.billing-toggle button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--brand-dark);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}

.billing-toggle button.active {
  color: #ffffff;
  background: var(--brand);
}

.tariff-panel {
  display: none;
}

.tariff-panel.active {
  display: grid;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 32, 51, 0.06);
}

.featured-plan {
  background: #ffffff;
  border-color: rgba(15, 139, 214, 0.38);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.plan-header span {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 950;
}

.plan-header p,
.faq-grid p {
  color: var(--muted);
}

.plan-price b {
  color: var(--brand);
  font-size: 42px;
  line-height: 1;
}

.plan-price s {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
}

.plan-price span {
  color: var(--muted);
  font-weight: 800;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  gap: 10px;
  color: #3f4c5f;
}

.plan-list i {
  width: 20px;
  margin-top: 4px;
  color: var(--green);
}

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

.faq-section {
  background: #f7fafc;
}

.register-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(16px, 3vw, 32px) clamp(20px, 5vw, 72px);
  padding: clamp(26px, 4vw, 38px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, 0.98), rgba(15, 139, 214, 0.92));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.register-strip h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.register-strip p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.register-strip .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.register-strip-actions {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.register-strip .button {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: none;
}

.register-strip .button-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

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

.faq-grid article {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.integration-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 18%, rgba(238, 29, 36, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
  border-bottom: 1px solid var(--line);
}

.integration-title-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 920px;
}

.integration-title-row h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
}

.integration-logo {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(238, 29, 36, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(17, 32, 51, 0.09);
}

.integration-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}

.integration-logo i {
  color: var(--brand);
  font-size: 30px;
}

.integration-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.integration-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.integration-bullets i {
  color: #ee1d24;
}

.integration-visual {
  overflow: hidden;
  background: #102033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.integration-flow-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.integration-flow-card div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.integration-flow-card i {
  grid-row: span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: #ee1d24;
  border-radius: 8px;
}

.integration-flow-card b,
.integration-flow-card span {
  display: block;
}

.integration-flow-card span {
  color: rgba(217, 231, 242, 0.78);
  font-size: 14px;
}

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

.integration-card-grid article,
.template-grid article {
  padding: 24px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.integration-card-grid i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 20px;
}

.integration-card-grid p,
.integration-steps p,
.setup-copy p,
.template-grid p {
  color: var(--muted);
}

.integration-workflow {
  background:
    linear-gradient(180deg, #ffffff, #f7fafc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.integration-steps article {
  position: relative;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 32, 51, 0.06);
}

.integration-steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ee1d24;
  font-size: 28px;
  font-weight: 950;
}

.setup-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.setup-list {
  display: grid;
  gap: 12px;
}

.setup-list div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.setup-list b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
}

.template-section {
  background: #ffffff;
}

.template-grid article {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 32, 51, 0.06);
}

.template-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #ffffff;
  background: #ee1d24;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.security-section {
  background: #f7fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scenario-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.scenario-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
}

.scenario-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.scenario-grid article {
  padding: 20px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-grid i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
}

.scenario-grid p {
  color: var(--muted);
  font-size: 15px;
}

.ai-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 59, 102, 0.98), rgba(15, 139, 214, 0.92));
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
}

.ai-panel .section-kicker,
.ai-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.ai-panel h2 {
  color: #ffffff;
}

.ai-preview {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.ai-preview div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.ai-preview i {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--brand-dark);
  background: #ffffff;
  border-radius: 8px;
}

.ai-preview b,
.ai-preview span {
  display: block;
}

.ai-preview span {
  color: rgba(255, 255, 255, 0.74);
}

.security-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: start;
  padding: clamp(26px, 4vw, 38px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 32, 51, 0.06);
}

.security-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.security-points article {
  padding: 20px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.security-points i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
}

.security-points p {
  color: var(--muted);
  font-size: 15px;
}

.rozetka-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 160, 70, 0.17), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.rozetka-page .integration-logo {
  border-color: rgba(0, 160, 70, 0.24);
}

.rozetka-page .integration-bullets i,
.rozetka-page .integration-steps span {
  color: #00a046;
}

.rozetka-page .integration-flow-card i,
.rozetka-page .template-grid span {
  background: #00a046;
}

.prom-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 138, 61, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.prom-page .integration-logo,
.prom-page .integration-bullets span {
  border-color: rgba(255, 138, 61, 0.28);
}

.prom-page .integration-bullets i,
.prom-page .integration-steps span {
  color: #ff8a3d;
}

.prom-page .integration-flow-card i,
.prom-page .template-grid span {
  background: #ff8a3d;
}

.salesdrive-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 120, 212, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.salesdrive-page .integration-logo,
.salesdrive-page .integration-bullets span {
  border-color: rgba(0, 120, 212, 0.22);
}

.salesdrive-page .integration-bullets i,
.salesdrive-page .integration-steps span {
  color: #0078d4;
}

.salesdrive-page .integration-flow-card i,
.salesdrive-page .template-grid span {
  background: #0078d4;
}

.opencart-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(25, 180, 123, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.opencart-page .integration-logo,
.opencart-page .integration-bullets span {
  border-color: rgba(25, 180, 123, 0.24);
}

.opencart-page .integration-bullets i,
.opencart-page .integration-steps span {
  color: var(--green);
}

.opencart-page .integration-flow-card i,
.opencart-page .template-grid span {
  background: var(--green);
}

.olx-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(247, 201, 72, 0.22), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.olx-page .integration-logo,
.olx-page .integration-bullets span {
  border-color: rgba(247, 201, 72, 0.35);
}

.olx-page .integration-bullets i,
.olx-page .integration-steps span {
  color: #9a7a09;
}

.olx-page .integration-flow-card i,
.olx-page .template-grid span {
  color: #182334;
  background: #f7c948;
}

.messenger-page .integration-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(103, 87, 217, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #eef5f9 100%);
}

.messenger-page .integration-logo,
.messenger-page .integration-bullets span {
  border-color: rgba(103, 87, 217, 0.24);
}

.messenger-page .integration-bullets i,
.messenger-page .integration-steps span,
.messenger-page .integration-logo i {
  color: #6757d9;
}

.messenger-page .integration-flow-card i,
.messenger-page .template-grid span {
  background: #6757d9;
}

.telegram-bot-page .integration-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(44, 165, 224, 0.2), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef7fd 100%);
}

.telegram-bot-page .integration-logo,
.telegram-bot-page .integration-bullets span {
  border-color: rgba(44, 165, 224, 0.28);
}

.telegram-bot-page .integration-bullets i,
.telegram-bot-page .integration-steps span,
.telegram-bot-page .integration-logo i {
  color: #2ca5e0;
}

.telegram-bot-page .integration-flow-card i,
.telegram-bot-page .template-grid span {
  background: #2ca5e0;
}

.viber-bot-page .integration-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(115, 96, 242, 0.2), transparent 30%),
    linear-gradient(180deg, #f9f8ff 0%, #f1efff 100%);
}

.viber-bot-page .integration-logo,
.viber-bot-page .integration-bullets span {
  border-color: rgba(115, 96, 242, 0.28);
}

.viber-bot-page .integration-bullets i,
.viber-bot-page .integration-steps span,
.viber-bot-page .integration-logo i {
  color: #7360f2;
}

.viber-bot-page .integration-flow-card i,
.viber-bot-page .template-grid span {
  background: #7360f2;
}

.api-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.62fr);
}

.code-preview {
  padding: 0;
  overflow: hidden;
  background: #102033;
  border-color: rgba(255, 255, 255, 0.08);
}

.code-preview pre,
.response-card pre,
.code-block {
  overflow-x: auto;
  margin: 0;
  color: #dff5ff;
  background: #102033;
  font: 14px/1.7 "SFMono-Regular", Consolas, monospace;
}

.code-preview pre {
  padding: 24px;
}

.api-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.api-nav {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.api-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 14px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.api-nav i {
  color: var(--brand);
}

.api-docs {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.api-doc-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 32, 51, 0.06);
}

.api-doc-card p {
  color: var(--muted);
  font-size: 18px;
}

.code-block {
  max-width: 100%;
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
}

.light-code {
  color: var(--brand-dark);
  background: #eef7fb;
  border: 1px solid rgba(15, 139, 214, 0.18);
}

.api-table {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.api-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.api-table b {
  color: var(--brand-dark);
}

.api-table span {
  color: var(--muted);
}

.response-card {
  overflow: hidden;
  background: #102033;
  border-radius: 8px;
}

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

.response-card b {
  display: block;
  padding: 16px 18px 0;
  color: #ffffff;
}

.response-card pre {
  padding: 14px 18px 20px;
}

.blog-post-layout {
  padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 72px) 0;
  background: #ffffff;
}

.blog-post-head {
  max-width: 980px;
  margin: 0 auto 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--brand);
  font-weight: 850;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.post-meta span {
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #eef4f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

.blog-post-head h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
}

.blog-post-head p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
}

.post-cover {
  display: block;
  width: min(1120px, 100%);
  max-height: 520px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-body-wrap {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  gap: clamp(24px, 5vw, 56px);
  justify-content: center;
  padding: clamp(34px, 5vw, 64px) 0;
}

.post-body-wrap.single-post-body {
  grid-template-columns: minmax(0, 900px);
}

.post-aside {
  min-width: 0;
}

.post-aside-card {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-aside-card b {
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.post-aside-card a {
  color: var(--muted);
  font-weight: 750;
}

.post-aside-card a:hover {
  color: var(--brand);
}

.post-content {
  min-width: 0;
}

.post-content section {
  padding-bottom: 34px;
}

.post-content h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.post-content p,
.post-content li {
  color: #3f4c5f;
  font-size: 19px;
}

.post-content blockquote {
  margin: 28px 0;
  padding: 24px;
  color: var(--brand-dark);
  background: #eef7fb;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
}

.db-post-content {
  overflow: hidden;
  color: #3f4c5f;
  word-break: normal;
  overflow-wrap: anywhere;
}

.db-post-content > h1:first-child,
.db-post-content article > h1:first-child,
.db-post-content header > h1:first-child {
  display: none;
}

.db-post-content *,
.db-post-content *::before,
.db-post-content *::after {
  box-sizing: border-box;
  max-width: 100%;
}

.db-post-content article,
.db-post-content section,
.db-post-content header,
.db-post-content footer {
  width: 100%;
}

.db-post-content h2,
.db-post-content h3,
.db-post-content h4 {
  color: var(--brand-dark);
  line-height: 1.18;
}

.db-post-content h2 {
  margin: 34px 0 16px;
  font-size: clamp(26px, 3vw, 36px);
}

.db-post-content h3 {
  margin: 26px 0 12px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.db-post-content p {
  margin: 0 0 18px;
}

.db-post-content ul,
.db-post-content ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 24px;
}

.db-post-content li {
  padding-left: 4px;
}

.db-post-content a {
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.db-post-content a:hover {
  text-decoration: underline;
}

.db-post-content img,
.db-post-content video,
.db-post-content iframe {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 8px;
}

.db-post-content img {
  box-shadow: 0 12px 32px rgba(17, 32, 51, 0.08);
}

.db-post-content pre {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  padding: 18px;
  overflow-x: auto;
  color: #e7f2ff;
  background: #102033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.db-post-content code,
.db-post-content your_token {
  padding: 2px 6px;
  color: #0d3b66;
  background: #eef7fb;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.db-post-content pre code {
  display: block;
  min-width: max-content;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.db-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.db-post-content th,
.db-post-content td {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.db-post-content blockquote {
  margin: 24px 0;
}

.db-post-content hr {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
  border: 0;
}

.post-flow {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.post-flow div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-flow i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
}

.post-flow span {
  color: var(--ink);
  font-weight: 800;
}

.related-posts {
  background: #f7fafc;
}

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

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: none;
  }

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

  .hero-visual {
    min-height: 560px;
  }

  .feature-grid,
  .automation,
  .split-section {
    grid-template-columns: 1fr;
  }

  .chat-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

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

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

  .page-hero,
  .api-hero,
  .integration-hero {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .article-grid,
  .integration-card-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }

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

  .setup-section {
    grid-template-columns: 1fr;
  }

  .security-panel,
  .scenario-panel,
  .ai-panel,
  .security-points {
    grid-template-columns: 1fr;
  }

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

  .feature-article {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .pricing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-article img {
    min-height: 220px;
  }

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

  .register-strip {
    grid-template-columns: 1fr;
  }

  .register-strip-actions {
    min-width: 0;
  }

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

  .post-aside-card {
    position: static;
  }

  .api-nav {
    position: static;
  }

  .large-card {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    order: 4;
    margin-left: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(17, 32, 51, 0.06);
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand-dark);
  }

  .mobile-nav {
    display: none;
    order: 5;
    width: 100%;
    padding: 14px;
    background:
      linear-gradient(135deg, rgba(15, 139, 214, 0.08), rgba(25, 180, 123, 0.08)),
      #ffffff;
    border-top: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 24px 45px rgba(17, 32, 51, 0.08);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(219, 229, 235, 0.85);
    border-radius: 8px;
    font-weight: 800;
  }

  .mobile-nav > a + a,
  .mobile-nav-actions {
    margin-top: 8px;
  }

  .mobile-nav i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #ffffff;
    background: var(--brand);
    border-radius: 8px;
    font-size: 13px;
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-nav-actions a {
    justify-content: center;
  }

  .mobile-nav-actions a:first-child {
    background: #ffffff;
  }

  .mobile-nav-actions a:last-child {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
  }

  .mobile-nav-actions a:last-child i {
    color: var(--brand);
    background: #ffffff;
  }

  .menu-toggle:checked ~ .mobile-nav {
    display: grid;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 140px;
    max-width: 46vw;
  }

  .button-small {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding: 42px 18px 36px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead,
  .split-section p,
  .automation-copy p,
  .feature-card p {
    font-size: 16px;
  }

  .hero-actions,
  .proof-row {
    grid-template-columns: 1fr;
  }

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

  .proof-row {
    display: grid;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 34px;
  }

  .source-orbit {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .source {
    position: static;
    min-height: 34px;
    font-size: 13px;
    animation: none;
  }

  .app-window {
    position: static;
    border-radius: 10px;
  }

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

  .inbox-list {
    display: grid;
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inbox-item:not(.active) {
    display: none;
  }

  .conversation {
    padding: 16px;
  }

  .customer-card,
  .order-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .message {
    max-width: 100%;
  }

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

  .chat-flow-section {
    padding-top: 54px;
  }

  .flow-panel {
    min-height: auto;
    padding: 20px;
  }

  .flow-label,
  .flow-icons,
  .scenario-list,
  .mini-chat {
    margin-bottom: 18px;
  }

  .section {
    padding: 54px 18px;
  }

  .feature-grid {
    gap: 12px;
  }

  .channels-section {
    padding: 54px 18px;
  }

  .section-heading p {
    font-size: 16px;
  }

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

  .channel-card,
  .wide-channel {
    min-height: auto;
    grid-column: auto;
  }

  .channel-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 16px;
    padding: 18px;
  }

  .integration-link-more {
    grid-column: 2;
  }

  .channel-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .channel-card h3 {
    margin-bottom: 4px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 44px 18px;
  }

  .page-hero {
    min-height: auto;
    padding: 30px 18px 28px;
  }

  .integration-hero {
    padding: 30px 18px 28px;
  }

  .integration-title-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .integration-logo {
    width: 58px;
    height: 58px;
  }

  .integration-logo img {
    width: 40px;
    height: 40px;
  }

  .integration-title-row h1 {
    font-size: 31px;
  }

  .integration-bullets {
    display: grid;
    gap: 8px;
    margin: 18px 0;
  }

  .integration-visual {
    display: none;
  }

  .integration-steps {
    grid-template-columns: 1fr;
  }

  .setup-list div {
    align-items: start;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero .hero-lead {
    font-size: 16px;
  }

  .page-hero .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .page-hero .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .page-hero .knowledge-panel,
  .page-hero .price-summary,
  .page-hero .code-preview {
    display: none;
  }

  .knowledge-panel,
  .price-summary,
  .code-preview {
    padding: 18px;
  }

  .code-preview {
    padding: 0;
  }

  .article-card img {
    height: 170px;
  }

  .pricing-card,
  .faq-grid article,
  .api-doc-card {
    padding: 20px;
  }

  .register-strip {
    margin: 18px;
    padding: 24px 20px;
  }

  .billing-toggle {
    width: 100%;
  }

  .register-strip-actions {
    grid-template-columns: 1fr;
  }

  .register-strip .button {
    width: 100%;
  }

  .blog-post-layout {
    padding: 30px 18px 0;
  }

  .blog-post-head h1 {
    font-size: 34px;
  }

  .post-cover {
    border-radius: 8px;
  }

  .post-body-wrap {
    padding: 30px 0;
  }

  .post-content p,
  .post-content li {
    font-size: 17px;
  }

  .post-content blockquote {
    padding: 20px;
    font-size: 18px;
  }

  .plan-price b {
    font-size: 36px;
  }

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

  .api-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .api-example-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand img {
    width: 140px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .source {
    animation: none;
  }
}

@media (max-width: 430px) {
  .button-small {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .brand img {
    width: 116px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }
}
