:root {
  --color-bg: #f7f4ef;
  --color-surface: #fffefc;
  --color-text: #0b0f14;
  --color-dark: #1a1f2b;
  --color-steel: #2d3340;
  --color-border: #e7e1d8;
  --color-muted: #5f6673;
  --color-accent: #00d4ff;
  --color-mint: #a3ffd6;

  --font-heading: 'Manrope', 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-card: 20px;
  --radius-button: 14px;
  --shadow-card: 0 18px 50px rgba(11, 15, 20, 0.06);
  --shadow-deep: 0 30px 80px rgba(11, 15, 20, 0.18);

  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 32px clamp(20px, 4vw, 48px) clamp(60px, 8vh, 96px);
}

.hero::before {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 70vw;
  max-width: 980px;
  height: 70vw;
  max-height: 980px;
  content: "";
  background: radial-gradient(
    closest-side,
    rgba(0, 212, 255, 0.12),
    rgba(163, 255, 214, 0.06) 55%,
    transparent 75%
  );
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(11, 15, 20, 0.08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
}

.hero-grid,
.proof-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

/* ============ HEADER (floating pill) ============ */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: 100%;
  padding: 0 clamp(12px, 3vw, 32px);
  pointer-events: none;
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100%, var(--container));
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 12px 8px 20px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 999px;
  background: rgba(255, 254, 252, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 40px -12px rgba(11, 15, 20, 0.12);
  pointer-events: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--color-steel);
  font-size: 14px;
  font-weight: 500;
}

.header-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}

.header-nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  content: "";
  transform: translateX(-50%);
  transition: width 200ms ease;
}

.header-nav a:hover {
  color: var(--color-text);
}

.header-nav a:hover::after {
  width: 100%;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px 12px 20px;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: 14px;
  font-weight: 600;
  transition: background 200ms ease, transform 160ms ease, box-shadow 200ms ease;
  box-shadow: 0 8px 20px -8px rgba(11, 15, 20, 0.4);
}

.header-action svg {
  transition: transform 200ms ease;
}

.header-action-short {
  display: none;
}

.header-action:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(11, 15, 20, 0.5);
}

.header-action:hover svg {
  transform: translateX(2px);
}

/* ============ HERO GRID ============ */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-top: clamp(48px, 7vh, 80px);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.08), rgba(163, 255, 214, 0.08));
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.08);
}

.eyebrow svg {
  color: var(--color-accent);
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

h1 {
  position: relative;
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.h1-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(135deg, #00B8E0 0%, #00D4FF 50%, #4DE5C0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h1-underline {
  position: absolute;
  left: -2%;
  bottom: -8px;
  width: 104%;
  height: 14px;
  color: var(--color-accent);
  opacity: 0.7;
  pointer-events: none;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
}

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

.button-primary svg {
  margin-left: 8px;
  transition: transform 200ms ease;
}

.button-primary:hover svg {
  transform: translateX(3px);
}

/* Social proof under buttons */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.avatars {
  display: inline-flex;
}

.avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-surface);
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(11, 15, 20, 0.08);
}

.avatars span:first-child {
  margin-left: 0;
}

.proof-text-inline {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.proof-text-inline strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 26px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  transition: background 200ms ease, border-color 200ms ease, transform 160ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.button-primary {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 14px 32px rgba(0, 212, 255, 0.28);
}

.button-primary:hover {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-mint) 100%);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 212, 255, 0.32);
}

.button-secondary {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-text);
  transform: translateY(-1px);
}

/* Единая сетка карточек hero (4 шт, 2×2) */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
  margin: 0;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(0, 212, 255, 0.18);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(163, 255, 214, 0.14));
  color: var(--color-accent);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.feature-text strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.feature-text > span {
  color: var(--color-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

/* Каналы-чипы внутри feature-card */
.channel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.channel-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px 4px 7px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, transform 160ms ease;
}

.channel-chips .chip:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.channel-chips .chip svg {
  flex-shrink: 0;
}

.chip-tg svg { color: #229ED9; }
.chip-max img {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  object-fit: contain;
}
.chip-vk svg { color: #0077FF; }
.chip-site svg { color: var(--color-text); }
.chip-avito svg { color: #00AAFF; }

/* ============ HERO VISUAL — Telegram-style chat ============ */

.hero-visual {
  position: relative;
  align-self: stretch;
}

.chat-window {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 28px;
  background: var(--color-surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 80px -20px rgba(11, 15, 20, 0.18),
    0 12px 30px -12px rgba(11, 15, 20, 0.1);
  overflow: hidden;
}

.chat-window::before {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 70%;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.chat-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(11, 15, 20, 0.06);
  background: rgba(255, 254, 252, 0.7);
  backdrop-filter: blur(12px);
}

.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-mint));
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.chat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.chat-name {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
}

.chat-status em {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  font-style: normal;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.chat-actions span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.6;
}

/* Body */
.chat-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 18px;
  background:
    radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.05), transparent 60%),
    var(--color-bg);
  background-image:
    radial-gradient(circle, rgba(11, 15, 20, 0.04) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

.chat-day {
  align-self: center;
  margin: 4px 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.06);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: lowercase;
}

.chat-bubble {
  position: relative;
  max-width: 78%;
  padding: 10px 14px 8px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
  animation: bubbleIn 380ms ease both;
}

.hero-visual .chat-bubble {
  opacity: 0;
  animation-duration: 7s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.hero-visual .chat-message-1 { animation-name: heroChatMessage1; }
.hero-visual .chat-message-2 { animation-name: heroChatMessage2; }
.hero-visual .chat-message-3 { animation-name: heroChatMessage3; }
.hero-visual .chat-message-4 { animation-name: heroChatMessage4; }
.hero-visual .chat-message-5 { animation-name: heroChatMessage5; }

.chat-bubble p {
  margin: 0;
  color: inherit;
}

.chat-bubble.short {
  max-width: 50%;
}

.bubble-in {
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(11, 15, 20, 0.05);
}

.bubble-out {
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  background: linear-gradient(135deg, #d6f5ff 0%, #e8fff5 100%);
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(0, 212, 255, 0.12);
}

.chat-author {
  display: block;
  margin-bottom: 2px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
}

.chat-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  margin-top: 2px;
  float: right;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.chat-time .check {
  color: #00a8cc;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -2px;
}

.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--color-surface);
  box-shadow: 0 2px 6px rgba(11, 15, 20, 0.05);
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.45;
  animation: typingDot 1.2s infinite ease-in-out;
}

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

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

@keyframes typingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroChatMessage1 {
  0%, 4% { opacity: 0; transform: translateY(10px) scale(0.98); }
  9%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroChatMessage2 {
  0%, 17% { opacity: 0; transform: translateY(10px) scale(0.98); }
  22%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroChatMessage3 {
  0%, 31% { opacity: 0; transform: translateY(10px) scale(0.98); }
  36%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroChatMessage4 {
  0%, 46% { opacity: 0; transform: translateY(10px) scale(0.98); }
  51%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroChatMessage5 {
  0%, 61% { opacity: 0; transform: translateY(10px) scale(0.98); }
  66%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Input */
.chat-input {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border-top: 1px solid rgba(11, 15, 20, 0.06);
  background: rgba(255, 254, 252, 0.85);
  backdrop-filter: blur(8px);
}

.chat-input-placeholder {
  color: var(--color-muted);
  font-size: 14px;
}

.chat-input-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.35);
}

/* Callout — заявка ушла в CRM */
.chat-callout {
  position: absolute;
  right: -16px;
  bottom: 36px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 14px;
  background: var(--color-text);
  color: var(--color-surface);
  box-shadow: 0 18px 40px -12px rgba(11, 15, 20, 0.5);
  animation: bubbleIn 480ms ease 1.4s both;
}

.hero-visual .chat-callout {
  opacity: 0;
  animation: heroCalloutCycle 7s ease-in-out forwards;
}

@keyframes heroCalloutCycle {
  0%, 76% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  81%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .chat-bubble,
  .hero-visual .chat-callout,
  .function-card,
  .custom-function {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.callout-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-mint);
  box-shadow: 0 0 14px rgba(163, 255, 214, 0.85);
}

.chat-callout strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-surface);
}

.chat-callout span {
  display: block;
  font-size: 11px;
  color: rgba(255, 254, 252, 0.7);
}

/* ============ BOT FUNCTIONS ============ */

.bot-functions {
  position: relative;
  padding: 88px clamp(20px, 4vw, 48px) 104px;
  background:
    linear-gradient(180deg, rgba(255, 254, 252, 0.86), rgba(247, 244, 239, 0)),
    var(--color-bg);
  overflow: hidden;
}

.bot-functions::before {
  position: absolute;
  top: 8%;
  left: -14%;
  width: 52vw;
  max-width: 720px;
  height: 52vw;
  max-height: 720px;
  content: "";
  background: radial-gradient(closest-side, rgba(163, 255, 214, 0.12), transparent 72%);
  pointer-events: none;
}

.bot-functions::after {
  position: absolute;
  right: -18%;
  bottom: 4%;
  width: 56vw;
  max-width: 780px;
  height: 56vw;
  max-height: 780px;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.09), transparent 74%);
  pointer-events: none;
}

.section-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.section-heading p {
  max-width: 280px;
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

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

.function-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(11, 15, 20, 0.07);
  border-radius: 20px;
  background: rgba(255, 254, 252, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 44px -34px rgba(11, 15, 20, 0.28);
  scroll-margin-top: 110px;
  transition: border-color 180ms ease, box-shadow 220ms ease;
}

.function-card::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 30px;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 212, 255, 0.32), rgba(163, 255, 214, 0.17) 34%, transparent 68%);
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.96);
  transition: opacity 220ms ease, transform 240ms ease;
  pointer-events: none;
}

.function-card:hover {
  border-color: rgba(0, 212, 255, 0.36);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 54px -34px rgba(0, 212, 255, 0.28);
}

.function-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.function-card-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 4px;
  min-width: 0;
}

.function-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  color: #00a8cc;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.function-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.function-card p {
  grid-column: 2;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.mini-shot {
  align-self: stretch;
  min-width: 0;
  min-height: 238px;
  border: 1px solid rgba(11, 15, 20, 0.07);
  border-radius: 18px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 34px -28px rgba(11, 15, 20, 0.32);
  transition: box-shadow 220ms ease;
}

.function-card:hover .mini-shot {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 42px -28px rgba(0, 212, 255, 0.28);
}

.mini-chat {
  display: flex;
  flex-direction: column;
}

.mini-shot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(11, 15, 20, 0.06);
  background: rgba(255, 254, 252, 0.9);
}

.mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-mint));
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
}

.mini-shot-header div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-shot-header strong {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-shot-header span:not(.mini-avatar) {
  color: var(--color-muted);
  font-size: 10.5px;
  line-height: 1.25;
}

.mini-chat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 14px;
  background:
    radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.07), transparent 58%),
    var(--color-bg);
  background-image:
    radial-gradient(circle, rgba(11, 15, 20, 0.045) 1px, transparent 1.4px);
  background-size: 20px 20px;
}

.mini-bubble {
  max-width: 86%;
  padding: 9px 10px;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #d6f5ff 0%, #e8fff5 100%);
  color: var(--color-text);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.42;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.11);
}

.mini-bubble.user {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  background: var(--color-surface);
  box-shadow: 0 2px 7px rgba(11, 15, 20, 0.06);
}

.mini-bubble.bot {
  align-self: flex-end;
}

.mini-bubble.short {
  max-width: 76%;
}

.mini-bubble.wide {
  max-width: 88%;
}

.mini-app {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.08), transparent 38%),
    var(--color-surface);
}

.mini-app.mini-shot {
  min-height: 248px;
}

.mini-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mini-app-top span {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.mini-app-top strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  color: #0087a6;
  font-size: 11px;
  font-weight: 800;
}

.mini-app-search {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(247, 244, 239, 0.72);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

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

.mini-product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(11, 15, 20, 0.24);
}

.product-cover {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.product-cover.cyan {
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.85), rgba(45, 51, 64, 0.9));
}

.product-cover.mint {
  background:
    linear-gradient(135deg, rgba(163, 255, 214, 0.95), rgba(0, 212, 255, 0.58));
}

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

.mini-product strong {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
}

.mini-product span {
  color: var(--color-muted);
  font-size: 11px;
}

.mini-action {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-surface);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.mini-finance {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  padding: 12px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 212, 255, 0.11), transparent 48%),
    var(--color-bg);
}

.finance-result {
  align-self: flex-end;
  max-width: 82%;
}

.receipt-message {
  align-self: flex-start;
  width: 96px;
  height: 128px;
  padding: 5px;
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 14px 30px -20px rgba(11, 15, 20, 0.42);
  transform: rotate(-2deg);
}

.receipt-message img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.finance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 0 12px 28px -22px rgba(11, 15, 20, 0.28);
}

.finance-row span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.finance-row strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.custom-function {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(11, 15, 20, 0.07);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 254, 252, 0.94), rgba(232, 255, 245, 0.7)),
    var(--color-surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 50px -36px rgba(11, 15, 20, 0.26);
}

.custom-function-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.custom-function-copy h3 {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.custom-function-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.custom-function-form {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(11, 15, 20, 0.06);
  border-radius: 18px;
  background: rgba(255, 254, 252, 0.86);
}

.custom-function-form textarea,
.fake-input-row input {
  width: 100%;
  border: 1px solid var(--color-border);
  outline: none;
  font-family: var(--font-body);
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.custom-function-form textarea {
  min-height: 62px;
  resize: vertical;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.4;
}

.fake-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
}

.fake-input-row input,
.fake-input-row button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
}

.fake-input-row input {
  background: var(--color-surface);
  color: var(--color-text);
}

.custom-function-form textarea::placeholder,
.fake-input-row input::placeholder {
  color: var(--color-muted);
}

.custom-function-form textarea:focus,
.fake-input-row input:focus {
  border-color: rgba(0, 212, 255, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

.fake-input-row button {
  justify-content: center;
  border: 0;
  background: var(--color-text);
  color: var(--color-surface);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -16px rgba(11, 15, 20, 0.45);
  transition: transform 160ms ease, background 180ms ease;
}

.fake-input-row button:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
}

.custom-function-success {
  margin: 2px 4px 0;
  color: #0087a6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

/* ============ CASES ============ */

.cases-section {
  position: relative;
  padding: 92px clamp(20px, 4vw, 48px) 104px;
  background:
    linear-gradient(180deg, var(--color-bg), rgba(255, 254, 252, 0.82)),
    var(--color-bg);
  overflow: hidden;
}

.cases-section::before {
  position: absolute;
  inset: 12% auto auto -18%;
  width: 54vw;
  max-width: 760px;
  height: 54vw;
  max-height: 760px;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.13), transparent 72%);
  pointer-events: none;
}

.cases-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.cases-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.cases-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.cases-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.case-card {
  position: relative;
  min-height: 340px;
  padding: 20px;
  border: 1px solid rgba(11, 15, 20, 0.08);
  border-radius: 24px;
  background: rgba(255, 254, 252, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 60px -42px rgba(11, 15, 20, 0.32);
  overflow: hidden;
}

.case-card::before {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.case-card-featured {
  background:
    linear-gradient(145deg, rgba(11, 15, 20, 0.98), rgba(26, 31, 43, 0.94)),
    var(--color-text);
  color: var(--color-surface);
}

.case-card-featured::before {
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.28), transparent 72%);
}

.case-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.case-number,
.case-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.case-number {
  min-width: 40px;
  padding: 0 10px;
  border: 1px solid rgba(0, 212, 255, 0.36);
  background: rgba(0, 212, 255, 0.1);
  color: #00a8cc;
}

.case-card-featured .case-number {
  color: var(--color-accent);
}

.case-chip {
  padding: 0 12px;
  background: rgba(11, 15, 20, 0.06);
  color: var(--color-muted);
}

.case-card-featured .case-chip {
  background: rgba(255, 254, 252, 0.08);
  color: rgba(255, 254, 252, 0.72);
}

.case-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.024em;
}

.case-card p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

.case-card-featured p {
  color: rgba(255, 254, 252, 0.68);
}

.case-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0;
}

.case-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: #0087a6;
  font-size: 12px;
  font-weight: 800;
}

.case-card-featured .case-meta span {
  background: rgba(0, 212, 255, 0.14);
  color: var(--color-accent);
}

.case-actions {
  position: relative;
  z-index: 1;
  margin: -4px 0 18px;
}

.case-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.08);
  color: #0087a6;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.case-video::before {
  width: 0;
  height: 0;
  margin-right: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.case-video:hover {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.14);
  transform: translateY(-1px);
}

.case-card-featured .case-video {
  border-color: rgba(255, 254, 252, 0.16);
  background: rgba(255, 254, 252, 0.08);
  color: var(--color-surface);
}

.case-card-featured .case-video:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.18);
}

.case-details {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.case-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease, background 180ms ease;
}

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

.case-details summary:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
}

.case-card-featured .case-details summary {
  background: var(--color-accent);
  color: var(--color-text);
}

.case-card-featured .case-details summary:hover {
  background: var(--color-mint);
}

.case-details ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}

.case-details li {
  position: relative;
  padding-left: 18px;
  color: var(--color-steel);
  font-size: 13.5px;
  line-height: 1.42;
}

.case-details li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.case-card-featured .case-details li {
  color: rgba(255, 254, 252, 0.74);
}

.case-card-empty {
  min-height: 340px;
  border-style: dashed;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 212, 255, 0.1), transparent 34%),
    rgba(255, 254, 252, 0.52);
}

/* ============ AUTOMATION QUIZ ============ */

.automation-quiz {
  position: relative;
  padding: 96px clamp(20px, 4vw, 48px) 112px;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(0, 212, 255, 0.09), transparent 38%),
    radial-gradient(ellipse at 90% 80%, rgba(163, 255, 214, 0.16), transparent 42%),
    var(--color-surface);
  overflow: hidden;
}

.quiz-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.quiz-heading {
  max-width: 920px;
}

.quiz-heading h2 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.quiz-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(11, 15, 20, 0.07);
  border-radius: 26px;
  background: rgba(255, 254, 252, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 80px -44px rgba(11, 15, 20, 0.32);
}

.quiz-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.quiz-topline div {
  display: grid;
  gap: 6px;
}

.quiz-label {
  color: #00a8cc;
  font-size: 13px;
  font-weight: 800;
}

.quiz-topline strong {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.quiz-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 34px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  color: #0087a6;
  font-size: 13px;
  font-weight: 800;
}

.quiz-progress-bar {
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.07);
  overflow: hidden;
}

.quiz-progress-bar span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent), var(--color-mint));
  transition: width 220ms ease;
}

.quiz-step {
  display: none;
  flex: 1;
}

.quiz-step.active {
  display: block;
}

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

.quiz-option {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quiz-option input,
.employee-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.quiz-option:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(163, 255, 214, 0.14));
  box-shadow: 0 16px 34px -26px rgba(0, 212, 255, 0.54);
}

.quiz-option:hover {
  border-color: rgba(0, 212, 255, 0.36);
  transform: translateY(-1px);
}

.option-art {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(163, 255, 214, 0.18));
  overflow: hidden;
}

.option-art::before,
.option-art::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: 0 7px 20px -12px rgba(11, 15, 20, 0.5);
}

.option-notice::before {
  inset: 13px 9px auto;
  height: 11px;
}

.option-notice::after {
  right: 12px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
}

.option-catalog::before {
  top: 11px;
  left: 10px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
}

.option-catalog::after {
  right: 10px;
  bottom: 13px;
  width: 28px;
  height: 8px;
}

.option-booking::before {
  inset: 12px 10px 10px;
  border-radius: 9px;
}

.option-booking::after {
  top: 25px;
  left: 18px;
  width: 20px;
  height: 4px;
  background: var(--color-accent);
}

.option-finance::before {
  top: 10px;
  left: 16px;
  width: 24px;
  height: 34px;
  border-radius: 6px;
  transform: rotate(-5deg);
}

.option-finance::after {
  right: 12px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  background: var(--color-mint);
}

.option-chat::before {
  top: 13px;
  left: 9px;
  width: 31px;
  height: 15px;
}

.option-chat::after {
  right: 9px;
  bottom: 13px;
  width: 30px;
  height: 15px;
  background: rgba(255, 254, 252, 0.82);
}

.option-miniapp::before {
  inset: 9px 14px;
  border-radius: 10px;
}

.option-miniapp::after {
  left: 22px;
  bottom: 14px;
  width: 12px;
  height: 3px;
  background: var(--color-accent);
}

.option-custom::before {
  top: 26px;
  left: 14px;
  width: 28px;
  height: 5px;
}

.option-custom::after {
  top: 14px;
  left: 25px;
  width: 5px;
  height: 28px;
}

.option-unknown::before {
  top: 12px;
  left: 16px;
  width: 24px;
  height: 24px;
}

.option-unknown::after {
  left: 25px;
  bottom: 12px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
}

.quiz-fields {
  display: grid;
  gap: 12px;
}

.quiz-field {
  display: grid;
  gap: 7px;
}

.quiz-field span,
.employee-group > span {
  color: var(--color-steel);
  font-size: 13px;
  font-weight: 800;
}

.quiz-field input,
.quiz-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quiz-field input {
  min-height: 52px;
  padding: 14px 15px;
}

.quiz-field textarea {
  resize: vertical;
  min-height: 104px;
  padding: 14px 15px;
}

.quiz-field input:focus,
.quiz-field textarea:focus {
  border-color: rgba(0, 212, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}

.employee-group {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

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

.employee-options label {
  position: relative;
}

.employee-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.employee-options input:checked + span {
  border-color: rgba(0, 212, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(163, 255, 214, 0.14));
}

.phone-step {
  display: grid;
  gap: 20px;
  align-content: center;
  min-height: 330px;
}

.phone-step h3 {
  max-width: 420px;
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.phone-step p {
  max-width: 480px;
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5;
}

.quiz-success {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--color-steel);
  font-size: 13px;
  font-weight: 700;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.quiz-actions button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease, opacity 160ms ease;
}

.quiz-back {
  padding: 14px 18px;
  background: transparent;
  color: var(--color-muted);
}

.quiz-next {
  min-width: 190px;
  padding: 14px 22px;
  background: var(--color-text);
  color: var(--color-surface);
  box-shadow: 0 12px 26px -18px rgba(11, 15, 20, 0.54);
}

.quiz-actions button:not(:disabled):hover {
  transform: translateY(-1px);
}

.quiz-back:disabled,
.quiz-next:disabled {
  cursor: default;
  opacity: 0.52;
}

.quiz-next:disabled {
  opacity: 0.72;
}

/* ============ PRICING ============ */

.pricing-section {
  position: relative;
  padding: 96px clamp(20px, 4vw, 48px) 104px;
  background:
    linear-gradient(180deg, rgba(255, 254, 252, 0.96), var(--color-bg)),
    var(--color-bg);
  overflow: hidden;
}

.pricing-section::before {
  position: absolute;
  inset: auto -14% 8% auto;
  width: 48vw;
  max-width: 700px;
  height: 48vw;
  max-height: 700px;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.11), transparent 72%);
  pointer-events: none;
}

.pricing-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.34fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.pricing-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.pricing-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 22px;
  border: 1px solid rgba(11, 15, 20, 0.08);
  border-radius: 24px;
  background: rgba(255, 254, 252, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 62px -44px rgba(11, 15, 20, 0.32);
}

.price-card-featured {
  background:
    linear-gradient(145deg, rgba(11, 15, 20, 0.98), rgba(26, 31, 43, 0.96)),
    var(--color-text);
  color: var(--color-surface);
}

.price-card-top {
  display: grid;
  gap: 12px;
}

.price-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: #0087a6;
  font-size: 12px;
  font-weight: 800;
}

.price-card-featured .price-label {
  background: rgba(0, 212, 255, 0.16);
  color: var(--color-accent);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.024em;
}

.price-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

.price-card-featured p {
  color: rgba(255, 254, 252, 0.7);
}

.price-value {
  display: grid;
  gap: 4px;
  margin: 28px 0 24px;
}

.price-value span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: lowercase;
}

.price-card-featured .price-value span {
  color: rgba(255, 254, 252, 0.58);
}

.price-value strong {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--color-steel);
  font-size: 14px;
  line-height: 1.42;
}

.price-card li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.price-card-featured li {
  color: rgba(255, 254, 252, 0.76);
}

.price-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 15px;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 180ms ease;
}

.price-action:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
}

.price-card-featured .price-action {
  background: var(--color-accent);
  color: var(--color-text);
}

.price-card-featured .price-action:hover {
  background: var(--color-mint);
}

/* ============ CONTACTS ============ */

.contact-section {
  padding: 76px clamp(20px, 4vw, 48px) 88px;
  background: linear-gradient(135deg, var(--color-text), var(--color-dark));
  color: var(--color-surface);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.55fr);
  align-items: center;
  gap: 32px;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.contact-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 800;
}

.contact-copy h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 254, 252, 0.1);
  border-radius: 22px;
  background: rgba(255, 254, 252, 0.06);
  box-shadow: 0 24px 60px -42px rgba(0, 0, 0, 0.6);
}

.contact-phone,
.contact-link,
.contact-audit {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 800;
}

.contact-phone,
.contact-link {
  background: rgba(255, 254, 252, 0.08);
  color: var(--color-surface);
}

.contact-phone {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.018em;
}

.contact-audit {
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text);
  transition: transform 160ms ease, background 180ms ease;
}

.contact-audit:hover {
  background: var(--color-mint);
  transform: translateY(-1px);
}

/* ============ PROOF BAND ============ */

.proof-band {
  position: relative;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-dark) 100%);
  color: var(--color-surface);
  overflow: hidden;
}

.proof-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 254, 252, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.proof-band::after {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 60%;
  height: 200%;
  content: "";
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.18), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.proof-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.proof-number {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(72px, 10vw, 132px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-percent {
  font-size: 0.6em;
  vertical-align: top;
  margin-left: 4px;
}

.proof-asterisk {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--color-accent);
  margin-left: 2px;
  vertical-align: top;
  -webkit-text-fill-color: var(--color-accent);
}

.proof-note {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin: 20px auto 0;
  color: rgba(255, 254, 252, 0.5);
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}

.proof-text h2 {
  max-width: 720px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.proof-text p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 254, 252, 0.65);
  font-size: 15px;
  line-height: 1.55;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 980px) {
  .site-header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .chat-window {
    min-height: 480px;
  }

  .bot-functions {
    padding: 76px clamp(20px, 4vw, 48px) 84px;
  }

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

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading p {
    max-width: 560px;
  }

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

  .function-card {
    gap: 16px;
  }

  .custom-function {
    grid-template-columns: 1fr;
  }

  .cases-section {
    padding: 78px clamp(20px, 4vw, 48px) 88px;
  }

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

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

  .case-card-empty {
    grid-column: 1 / -1;
    min-height: 170px;
  }

  .automation-quiz {
    padding: 78px clamp(20px, 4vw, 48px) 88px;
  }

  .quiz-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quiz-heading {
    position: static;
  }

  .quiz-heading h2 {
    max-width: 760px;
  }

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

  .pricing-section {
    padding: 78px clamp(20px, 4vw, 48px) 88px;
  }

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

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

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

  .contact-container {
    grid-template-columns: 1fr;
  }

  .usp-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 12px;
  }

  .site-header {
    top: 8px;
    padding: 0 8px;
  }

  .site-header-inner {
    gap: 12px;
    padding: 6px 7px 6px 12px;
  }

  .brand-mark {
    font-size: 16px;
  }

  .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .header-action {
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(11, 15, 20, 0.08);
    background: rgba(255, 254, 252, 0.72);
    color: var(--color-text);
    font-size: 12px;
    box-shadow: none;
  }

  .header-action:hover {
    background: rgba(255, 254, 252, 0.9);
    box-shadow: none;
  }

  .header-action-full {
    display: none;
  }

  .header-action-short {
    display: inline;
  }

  .header-action svg {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero-grid {
    padding-top: 56px;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 7px;
    margin-bottom: 16px;
  }

  .hero-actions .button {
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero-actions .button-primary {
    flex: 1.05;
    box-shadow: 0 8px 18px rgba(0, 212, 255, 0.18);
  }

  .hero-actions .button-secondary {
    flex: 0.95;
    background: rgba(255, 254, 252, 0.64);
  }

  .hero-actions .button-primary svg {
    width: 11px;
    height: 11px;
    margin-left: 3px;
  }

  .feature-row {
    gap: 8px;
  }

  .feature-card {
    gap: 9px;
    padding: 11px;
    border-radius: 12px;
  }

  .feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .feature-icon svg {
    width: 16px;
    height: 16px;
  }

  .feature-text strong {
    font-size: 12.5px;
    line-height: 1.2;
  }

  .feature-text > span {
    font-size: 11px;
    line-height: 1.32;
  }

  .channel-chips {
    gap: 4px;
    margin-top: 4px;
  }

  .channel-chips .chip {
    padding: 3px 7px 3px 6px;
    font-size: 9.5px;
  }

  .bot-functions {
    padding: 60px 16px 68px;
  }

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

  .section-heading h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .section-heading p {
    max-width: 300px;
    font-size: 15px;
  }

  .function-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .function-card {
    gap: 16px;
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .function-card h3 {
    font-size: 22px;
  }

  .function-card p {
    font-size: 14px;
  }

  .mini-shot {
    min-height: 238px;
    border-radius: 20px;
  }

  .mini-app.mini-shot {
    min-height: 248px;
  }

  .receipt-message {
    width: 108px;
    height: 138px;
  }

  .custom-function {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .custom-function-copy h3 {
    font-size: 22px;
  }

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

  .fake-input-row button {
    width: 100%;
  }

  .cases-section {
    padding: 62px 16px 72px;
  }

  .cases-heading {
    margin-bottom: 22px;
  }

  .cases-heading h2 {
    font-size: 40px;
  }

  .cases-heading p {
    font-size: 14.5px;
  }

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

  .case-card {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .case-card-empty {
    grid-column: auto;
    min-height: 120px;
  }

  .case-card h3 {
    font-size: 26px;
  }

  .case-details summary {
    width: 100%;
  }

  .automation-quiz {
    padding: 64px 16px 76px;
  }

  .quiz-heading .eyebrow {
    margin-bottom: 18px;
  }

  .quiz-heading h2 {
    font-size: 31px;
    line-height: 1.1;
  }

  .quiz-card {
    min-height: 0;
    padding: 16px;
    border-radius: 22px;
  }

  .quiz-topline strong {
    font-size: 21px;
  }

  .quiz-option-grid {
    grid-template-columns: 1fr;
  }

  .quiz-option {
    min-height: 74px;
  }

  .quiz-step.active {
    display: flex;
    flex-direction: column;
    min-height: 720px;
  }

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

  .phone-step {
    min-height: 260px;
  }

  .phone-step h3 {
    font-size: 26px;
  }

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

  .quiz-back:disabled {
    display: none;
  }

  .quiz-next {
    min-width: 0;
  }

  .pricing-section {
    padding: 62px 16px 72px;
  }

  .pricing-heading h2 {
    font-size: 38px;
  }

  .pricing-heading p {
    font-size: 14.5px;
  }

  .price-card {
    padding: 18px;
    border-radius: 20px;
  }

  .price-card h3 {
    font-size: 25px;
  }

  .contact-section {
    padding: 60px 16px 68px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-copy h2 {
    font-size: 31px;
  }

  .contact-card {
    padding: 14px;
    border-radius: 20px;
  }

  .contact-phone,
  .contact-link,
  .contact-audit {
    width: 100%;
  }

  .contact-phone {
    font-size: 20px;
  }

  .mini-product {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .chat-window {
    min-height: 460px;
    border-radius: 22px;
  }

  .chat-callout {
    right: 12px;
    bottom: -16px;
  }

  .proof-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .proof-number {
    font-size: clamp(64px, 18vw, 96px);
  }
}
