/* ==========================================================================
   Loopy Landing — design tokens
   Yaşıl/emerald palitra frontend/web-dəki `primary` Tailwind şkalası ilə eynidir
   (ikinci rebrand, 2026-10-02 — bax Logo/DESIGN.md "Warm Merchant Modern").
   ========================================================================== */
:root {
  --p-50: #ecfdf5;
  --p-100: #d1fae5;
  --p-200: #a7f3d0;
  --p-300: #6ee7b7;
  --p-400: #34d399;
  --p-500: #10b981;
  --p-600: #059669;
  --p-700: #047857;
  --wa: #25d366;

  --ink: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-window:
    0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-card:
    0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 10px 30px -5px rgba(16, 185, 129, 0.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1160px;
}

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

body {
  margin: 0;
  font-family:
    'Inter',
    'Segoe UI',
    system-ui,
    -apple-system,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--p-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.1rem, 3.5vw + 1rem, 3.25rem);
}
h2 {
  font-size: clamp(1.65rem, 2.2vw + 1rem, 2.25rem);
}
h3 {
  font-size: 1.05rem;
}
h4 {
  font-size: 0.9rem;
}
p {
  margin: 0 0 16px;
  color: var(--slate-600);
}
.text-accent {
  color: var(--p-600);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--p-700);
  background: var(--p-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn:focus-visible {
  outline: 2px solid var(--p-500);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--p-600);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(5, 150, 105, 0.4);
}
.btn--primary:hover {
  background: var(--p-700);
  transform: translateY(-1px);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #1e293b;
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--slate-200);
}
.btn--ghost:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}
.btn--outline {
  background: #fff;
  color: var(--p-700);
  border-color: var(--p-200);
}
.btn--outline:hover {
  border-color: var(--p-500);
  background: var(--p-50);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.btn--lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.link-muted {
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 4px;
  transition: color 150ms;
}
.link-muted:hover {
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand__logo {
  height: 30px;
  width: auto;
}
.mobile-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 150ms;
}
.main-nav a:hover {
  color: var(--ink);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Language switcher ---------- */
.lang-switch {
  position: relative;
}
.lang-switch__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition:
    border-color 150ms,
    color 150ms;
}
.lang-switch__toggle:hover {
  border-color: var(--slate-400);
  color: var(--ink);
}
.lang-switch__toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.lang-switch__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-window);
  padding: 6px;
  flex-direction: column;
  gap: 2px;
}
.lang-switch__menu.is-open {
  display: flex;
}
.lang-switch__option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
  transition: background-color 150ms;
}
.lang-switch__option:hover {
  background: var(--slate-50);
}
.lang-switch__option.is-active {
  background: var(--p-50);
  color: var(--p-700);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 200ms var(--ease-out),
    opacity 200ms var(--ease-out);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
}
.hero__glow--1 {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: rgba(16, 185, 129, 0.1);
}
.hero__glow--2 {
  top: 28%;
  left: -160px;
  width: 320px;
  height: 320px;
  background: rgba(5, 150, 105, 0.1);
}
.hero__glow--3 {
  top: 45%;
  right: -160px;
  width: 380px;
  height: 380px;
  background: rgba(16, 185, 129, 0.08);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(15, 23, 42, 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  opacity: 0.6;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 20%,
    black 40%,
    transparent 85%
  );
}
.hero__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.circuit-flow {
  stroke-dasharray: 6 10;
  animation: flow-line 5s linear infinite;
}
.circuit-flow--fast {
  stroke-dasharray: 8 12;
  animation: flow-line 3.2s linear infinite;
}
@keyframes flow-line {
  to {
    stroke-dashoffset: -120;
  }
}
.circuit-pulse {
  fill: none;
  opacity: 0.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse-node 3s ease-in-out infinite;
}
.circuit-pulse--lg {
  animation-duration: 3.6s;
}
@keyframes pulse-node {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.25;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.pill-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 20px;
}
.pill-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill-step svg {
  width: 13px;
  height: 13px;
  color: var(--p-600);
}
.pill-step--active {
  color: var(--p-800, var(--p-700));
  background: var(--p-50);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--p-200);
}
.pill-step--final {
  color: var(--ink);
}
.pill-arrow {
  width: 11px;
  height: 11px;
  color: var(--slate-400);
  flex-shrink: 0;
}
.pill-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}
.pill-dot__ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--p-500);
  opacity: 0.7;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.pill-dot__core {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--p-600);
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.trust-badge svg {
  width: 13px;
  height: 13px;
  color: var(--wa);
}

.hero__lead {
  font-size: 1.08rem;
  max-width: 50ch;
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.hero__note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 14px;
}

/* ---------- App preview window + floating badges ---------- */
.app-preview {
  position: relative;
  max-width: 980px;
  margin: 56px auto 0;
  padding: 0 4px;
}
.window {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
}
.window__bar {
  height: 42px;
  background: rgba(241, 245, 249, 0.8);
  border-bottom: 1px solid var(--slate-200);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.window__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.window__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}
.window__dot--red {
  background: #ff5f56;
}
.window__dot--amber {
  background: #ffbd2e;
}
.window__dot--green {
  background: #27c93f;
}
.window__path {
  margin-left: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.window__path svg {
  width: 13px;
  height: 13px;
  color: var(--slate-400);
}
.window__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--p-700);
  background: var(--p-50);
  border: 1px solid var(--p-200);
  padding: 3px 9px;
  border-radius: 6px;
}
.window__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--p-500);
}

.window__body {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  font-size: 0.72rem;
}
.window__sidebar {
  grid-column: span 3;
  border-right: 1px solid var(--slate-200);
  background: rgba(248, 250, 252, 0.7);
  padding: 14px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.window__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-400);
  padding: 0 6px;
  margin-bottom: 8px;
}
.window__seg-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.window__seg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--slate-600);
  cursor: default;
}
.window__seg span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.window__seg--active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--slate-200);
  font-weight: 700;
  color: var(--ink);
}
.window__dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
}
.window__dot-sm--blue {
  background: #3b82f6;
}
.window__dot-sm--amber {
  background: #f59e0b;
}
.window__dot-sm--rose {
  background: #f43f5e;
}
.window__dot-sm--neutral {
  background: var(--slate-400);
}
.window__count {
  font-size: 0.65rem;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 1px 6px;
  border-radius: 5px;
}
.window__count--amber {
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
}
.window__sync {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  padding: 9px;
}
.window__sync-title {
  font-weight: 600;
  color: var(--slate-700, var(--ink));
  display: flex;
  align-items: center;
  gap: 6px;
}
.window__pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--p-500);
  animation: pulse-soft 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-soft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.window__sync-sub {
  color: var(--slate-400);
  font-size: 0.65rem;
  margin-top: 2px;
}

.window__queue {
  grid-column: span 12;
  border-right: 1px solid var(--slate-200);
  background: #fff;
  padding: 14px;
  overflow-y: auto;
}
.window__queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
  font-weight: 700;
  color: var(--ink);
}
.window__badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--p-700);
  background: var(--p-50);
  padding: 2px 8px;
  border-radius: 999px;
}
.window__queue-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.window__queue-item {
  padding: 9px 7px;
  border-radius: 8px;
  cursor: default;
}
.window__queue-item--selected {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--slate-200);
}
.window__queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.window__queue-name {
  font-weight: 700;
  color: var(--ink);
}
.window__queue-name--muted {
  font-weight: 600;
  color: var(--slate-700, #334155);
}
.window__queue-days {
  font-size: 0.65rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 5px;
}
.window__queue-days--muted {
  color: var(--slate-400);
  background: none;
  padding: 0;
}
.window__queue-row--muted {
  color: var(--slate-500);
}
.window__queue-row--footer {
  padding-top: 5px;
  border-top: 1px dashed var(--slate-200);
  margin-top: 5px;
  font-size: 0.65rem;
  color: var(--slate-400);
}
.window__ready {
  color: var(--p-600);
  font-weight: 600;
}

.window__chat {
  grid-column: span 12;
  background: rgba(248, 250, 252, 0.5);
  padding: 14px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.window__chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  padding: 9px;
}
.window__chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--p-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.window__chat-name {
  font-weight: 700;
  color: var(--ink);
}
.window__chat-sub {
  color: var(--slate-400);
  font-size: 0.65rem;
}
.window__chat-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.window__bubble {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.window__bubble p {
  margin: 0;
  color: var(--slate-700, #334155);
  line-height: 1.45;
}
.window__bubble--in {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-top-left-radius: 2px;
}
.window__bubble--out {
  background: var(--p-50);
  border: 1px solid var(--p-200);
  margin-left: auto;
  border-top-right-radius: 2px;
}
.window__bubble-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--p-700);
  margin-bottom: 4px;
}
.window__bubble-tag svg {
  width: 11px;
  height: 11px;
}
.window__bubble-time {
  text-align: right;
  font-size: 0.6rem;
  color: var(--slate-400);
  margin-top: 4px;
}
.window__check {
  color: var(--p-500);
}

/* Floating badge cards around the window */
.float-card {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-window);
  padding: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.float-card--a {
  top: 36px;
  left: -36px;
  max-width: 230px;
  animation: float-slow 6s ease-in-out infinite;
}
.float-card--b {
  bottom: 70px;
  left: -16px;
  padding: 8px 12px;
  animation: float-reverse 7s ease-in-out infinite;
}
.float-card--c {
  top: 56px;
  right: -36px;
  max-width: 230px;
  animation: float-reverse 6.4s ease-in-out infinite;
}
.float-card--d {
  bottom: 56px;
  right: -16px;
  padding: 8px 12px;
  animation: float-slow 5.6s ease-in-out infinite;
}
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.float-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.float-card__icon--wa {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa);
}
.float-card__icon--wa svg {
  width: 17px;
  height: 17px;
}
.float-card__title {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.float-card__ping {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f59e0b;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.float-card__desc {
  margin: 2px 0 0;
  color: var(--slate-500);
  font-size: 0.65rem;
  font-weight: 500;
}
.float-card__tags {
  margin-top: 5px;
}
.float-card__tag {
  font-size: 0.6rem;
  background: var(--p-50);
  color: var(--p-700);
  border: 1px solid var(--p-200);
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 700;
}
.float-card__icon-sm {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.float-card__icon-sm--primary {
  background: var(--p-100);
}
.float-card__icon-sm--blue {
  background: #dbeafe;
}
.float-card__muted {
  color: var(--slate-400);
  font-size: 0.62rem;
  font-weight: 500;
}
.float-card__positive {
  color: var(--p-600);
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}
.float-card__positive-sm {
  color: var(--p-600);
}

/* ---------- Stats ---------- */
.stats {
  padding: 44px 0;
  background: var(--slate-50);
  border-block: 1px solid var(--slate-200);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-card__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.4rem);
  font-weight: 800;
  color: var(--p-700);
  margin: 0 0 4px;
  font-variant-numeric: tabular-nums;
}
.stat-card__number--text {
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.7rem);
}
.stat-card__label {
  color: var(--slate-600);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Shared section heading ---------- */
.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 44px;
}
.section-heading__lead {
  font-size: 1rem;
}

/* ---------- Feature centered (command palette / builder) ---------- */
.feature-centered {
  padding: 88px 0;
  border-top: 1px solid var(--slate-100);
}
.feature-centered--alt {
  background: var(--slate-50);
}
.feature-centered__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.feature-centered__lead {
  font-size: 1rem;
  margin-bottom: 44px;
}

.palette {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
}
.palette__search {
  padding: 14px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
  display: flex;
  align-items: center;
  gap: 12px;
}
.palette__search svg {
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  flex-shrink: 0;
}
.palette__placeholder {
  flex: 1;
  color: var(--slate-400);
  font-size: 0.85rem;
}
.palette__kbd {
  font-size: 0.65rem;
  font-family: monospace;
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--slate-400);
}
.palette__list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.palette__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 10px;
  border-radius: 9px;
  color: var(--slate-600);
  font-size: 0.88rem;
  transition: background-color 150ms;
}
.palette__item:hover {
  background: var(--slate-50);
}
.palette__item--active {
  background: var(--slate-100);
  color: var(--ink);
  font-weight: 600;
}
.palette__item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.palette__item-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.palette__item-icon--active {
  background: var(--p-100);
  color: var(--p-700);
}
.palette__item-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--p-700);
  background: var(--p-50);
  padding: 2px 8px;
  border-radius: 999px;
}
.palette__item-count {
  font-size: 0.7rem;
  color: var(--slate-400);
  font-family: monospace;
}
.palette__footer {
  padding: 10px 14px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--slate-500);
}
.palette__footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Message builder ---------- */
.builder {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  box-shadow: var(--shadow-window);
  padding: 24px;
  text-align: left;
}
.builder__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}
.builder__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-400);
}
.builder__title {
  font-size: 1.02rem;
  margin: 3px 0 0;
}
.builder__badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--p-700);
  background: var(--p-50);
  border: 1px solid var(--p-200);
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.builder__tokens {
  margin-top: 16px;
}
.builder__tokens label {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.builder__token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.builder__token {
  font-family: monospace;
  font-size: 0.68rem;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.builder__preview {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
}
.builder__preview-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.builder__preview-bubble {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-700, #334155);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.builder__highlight {
  background: var(--p-50);
  color: var(--p-700);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
}
.builder__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--slate-400);
}

/* ---------- Split sections ---------- */
.split {
  padding: 88px 0;
  border-top: 1px solid var(--slate-100);
}
.split--alt {
  background: var(--slate-50);
}
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__copy p:last-of-type {
  margin-bottom: 20px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 0.88rem;
  color: var(--slate-700, #334155);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-list__icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--p-50);
  color: var(--p-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.services-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-window);
}
.services-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--slate-400);
  margin-bottom: 16px;
}
.services-card__status {
  color: var(--p-700);
  background: var(--p-50);
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: none;
}
.services-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px;
}
.service-row__left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.service-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.service-row__icon--wa {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa);
}
.service-row__icon--wa svg {
  width: 18px;
  height: 18px;
}
.service-row__icon--xls {
  background: var(--p-100);
  color: var(--p-700);
}
.service-row__icon--rfm {
  background: #dbeafe;
  color: #1d4ed8;
}
.service-row h4 {
  margin: 0;
  font-size: 0.88rem;
}
.service-row p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--slate-500);
}
.service-row__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--p-50);
  color: var(--p-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.inbox-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.inbox-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
  font-weight: 700;
}
.inbox-card__count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--p-700);
  background: var(--p-50);
  padding: 2px 8px;
  border-radius: 999px;
}
.inbox-card__list {
  display: flex;
  flex-direction: column;
}
.inbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--slate-100);
}
.inbox-row:last-child {
  border-bottom: none;
}
.inbox-row--active {
  background: var(--p-50);
}
.inbox-row__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.inbox-row__msg {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 2px;
}
.inbox-row__time {
  font-size: 0.68rem;
  color: var(--slate-400);
  flex-shrink: 0;
}

/* ---------- Value pillars ---------- */
.pillars {
  padding: 88px 0;
  border-top: 1px solid var(--slate-100);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-box {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.pillar-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.pillar-box__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pillar-box__icon svg {
  width: 18px;
  height: 18px;
}
.pillar-box__icon--primary {
  background: var(--p-100);
  color: var(--p-700);
}
.pillar-box__icon--blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.pillar-box__icon--amber {
  background: #fef3c7;
  color: #b45309;
}
.pillar-box h3 {
  margin-bottom: 6px;
}
.pillar-box p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Security ---------- */
.security {
  padding: 84px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}
.security__inner {
  text-align: center;
}
.security__lead {
  max-width: 480px;
  margin: 0 auto 44px;
}
.security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}
.security-badge {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}
.security-badge__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--slate-100);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.security-badge__icon svg {
  width: 18px;
  height: 18px;
}
.security-badge h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.security-badge p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 88px 0;
  border-top: 1px solid var(--slate-100);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.price-card--featured {
  border-color: var(--p-300);
  box-shadow: var(--shadow-window);
  transform: scale(1.02);
}
.price-card--featured:hover {
  transform: scale(1.02) translateY(-3px);
}
.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--p-600);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin: 0;
}
.price-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 22px;
}
.price-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-left: 4px;
}
.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--slate-700, #334155);
}
.price-card__features li {
  padding-left: 24px;
  position: relative;
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--p-50);
  box-shadow: inset 0 0 0 1.5px var(--p-400);
}

/* ---------- FAQ ---------- */
.faq {
  padding: 88px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}
.faq__inner {
  max-width: 680px;
}
.faq__list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--slate-400);
  transition: transform 200ms var(--ease-out);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 72px 0 88px;
}
.final-cta__card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-window);
}
.final-cta__card p {
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 26px;
}
.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  padding: 56px 0 0;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer__brand p {
  color: var(--slate-500);
  font-size: 0.85rem;
  margin-top: 14px;
}
.site-footer h4 {
  color: var(--ink);
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer__col a {
  color: var(--slate-500);
  font-size: 0.85rem;
  transition: color 150ms;
}
.site-footer__col a:hover {
  color: var(--p-600);
}
.site-footer__bottom {
  padding: 20px 0 28px;
  border-top: 1px solid var(--slate-100);
}
.site-footer__bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 900px) {
  .window__body {
    min-height: 420px;
  }
  .window__sidebar {
    display: flex;
  }
  .window__queue {
    grid-column: span 4;
  }
  .window__chat {
    grid-column: span 5;
    display: flex;
  }
  .float-card {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .price-card--featured {
    transform: none;
  }
  .price-card--featured:hover {
    transform: translateY(-3px);
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .split__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split__visual--first {
    order: 2;
  }

  .mobile-panel {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
    display: none;
    flex-direction: column;
    padding: 18px 24px 22px;
    gap: 18px;
  }
  .mobile-panel.is-open {
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .hero {
    padding: 44px 0 56px;
  }
  .pill-row {
    font-size: 0.64rem;
    padding: 6px 10px;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .pillars__grid {
    grid-template-columns: 1fr;
  }
  .security__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__actions,
  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn,
  .final-cta__actions .btn {
    width: 100%;
  }
  .final-cta__card {
    padding: 36px 22px;
  }
  .builder__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .builder__head {
    flex-direction: column;
    gap: 10px;
  }
  .builder__badge {
    align-self: flex-start;
  }
}
