/* =====================================================================
   CasperAi — дизайн-система нового стека (общий файл для всех страниц)
   Шрифты Manrope + Unbounded подключаются через /css/fonts.css (self-hosted)
   ===================================================================== */

/* ===========================
   CasperAi — Hero + Features
   (шрифты Manrope и Unbounded подключены через Google Fonts выше)
   =========================== */

:root {
  --ink: #0b1330;
  --ink-2: #1a2347;
  --muted: #6b7390;
  --bg: #ffffff;
  --bg-soft: #f2f5fb;
  --bg-soft-2: #e7edf8;
  --brand: #2d6ef7;
  --brand-dark: #1f52c4;
  --accent-pink: #f4b1e8;
  --accent-blue: #a8c3ff;
  --line: #e5eaf3;
  --shadow-lg: 0 30px 80px -30px rgba(20, 35, 90, 0.25);
  --shadow-md: 0 8px 24px -8px rgba(20, 35, 90, 0.15);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: radial-gradient(125% 125% at 0% 100%, #c5d8f4 0%, #e6edf9 35%, #f6f8fd 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

/* =========== HEADER =========== */
.site-header {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo img { width: 52px; height: 52px; }
.site-header .logo img { width: auto; height: 36px; }
.logo .casper { color: var(--ink); }
.logo .ai { color: var(--brand); }

.nav {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: var(--brand); }

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-num {
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cta-btn:hover { background: var(--brand); }

/* Header social icons */
.header-socials { display: inline-flex; gap: 10px; align-items: center; }
.soc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--ink); border-radius: 50%; overflow: hidden;
  transition: transform 0.15s;
}
.soc-icon svg { width: 100%; height: 100%; display: block; }
.soc-icon img { width: 46%; height: 46%; display: block; }
.soc-icon:hover { transform: translateY(-2px); }

/* =========== HERO =========== */
.hero-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 60px 44px;
  position: relative;
}

.hero {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  border-radius: 36px;
  padding: 24px 56px;
  overflow: visible;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 0;
}

/* Декоративные пузыри */
.hero::before,
.hero::after {
  display: none;
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(45, 110, 247, 0.12), transparent 70%);
  top: -120px; right: 30%;
}
.hero::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(244, 177, 232, 0.3), transparent 70%);
  bottom: -80px; left: -60px;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tag {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(45, 110, 247, 0.15);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.tag.accent { color: var(--brand-dark); }
.tag.accent svg { width: 12px; height: 12px; }

.headline {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.headline .brand-text {
  color: var(--brand);
}

.subtext {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  color: #16a34a;
  font-size: 15px;
  font-weight: 500;
}
.trial-badge b { font-weight: 700; }

.cta-primary {
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(95deg, #df8bd8 0%, #7a96f4 50%, #2d6ef7 100%);
  background-size: 200% 100%;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(45, 110, 247, 0.5);
  transition: background-position 0.5s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(45, 110, 247, 0.6);
}

.cta-secondary {
  padding: 14px 26px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s;
}
.cta-secondary:hover {
  background: var(--ink);
  color: #fff;
}

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 19, 48, 0.08);
}
.stat-val {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-val .unit {
  font-size: 16px;
  color: var(--brand);
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* Role bubbles справа от текста */
.roles {
  position: absolute;
  right: -10px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}
.role {
  padding: 10px 18px;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.role.blue {
  background: linear-gradient(95deg, #3a7bfc, #5a95ff);
  color: #fff;
  font-weight: 600;
}

/* =========== PHONE / CHAT =========== */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.phone-frame {
  position: relative;
  width: 372px;
  height: 760px;
  zoom: 0.88;
  border-radius: 56px;
  padding: 12px;
  /* Titanium frame: metallic edge gradient */
  background:
    linear-gradient(145deg, #3a3d44 0%, #1c1e22 18%, #2c2f35 50%, #16181b 82%, #34373d 100%);
  box-shadow:
    0 50px 90px -30px rgba(20, 35, 90, 0.45),
    0 20px 40px -20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 11px #050608,
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.6);
}
/* Subtle brushed-metal sheen on the rails */
.phone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 56px;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.06) 47%, transparent 54%);
  pointer-events: none;
  z-index: 6;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 33px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.08);
}
.di-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #243042 0%, #0a0e16 60%, #000 100%);
  box-shadow: 0 0 0 1px rgba(60, 90, 140, 0.25);
}

/* Side buttons (titanium) */
.phone-buttons { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pb {
  position: absolute;
  border-radius: 3px;
  background: linear-gradient(90deg, #14161a 0%, #3a3d44 45%, #26282d 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* left side: action button + volume up/down */
.pb-action { left: -3px; top: 122px; width: 4px; height: 34px; }
.pb-volup  { left: -3px; top: 176px; width: 4px; height: 56px; }
.pb-voldn  { left: -3px; top: 244px; width: 4px; height: 56px; }
/* right side: power */
.pb-power  { right: -3px; top: 196px; width: 4px; height: 92px;
  background: linear-gradient(270deg, #14161a 0%, #3a3d44 45%, #26282d 100%); }

/* Home indicator */
.phone-home-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.55);
  z-index: 20;
  pointer-events: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0e1621;
  border-radius: 46px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ============================
   TELEGRAM-STYLE CHAT
   ============================ */

.tg-screen {
  background: #0e1621;
}

/* Status bar */
.tg-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 30px 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 3;
  background: #17212b;
}
.tg-time-sb { font-family: 'Manrope', sans-serif; }
.tg-statusbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.tg-battery {
  width: 26px;
  height: 12px;
  border: 1.2px solid rgba(255,255,255,0.8);
  border-radius: 3px;
  position: relative;
  padding: 1px;
}
.tg-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 0 2px 2px 0;
}
.tg-battery-fill {
  width: 80%;
  height: 100%;
  background: #fff;
  border-radius: 1.5px;
}

/* Telegram Header */
.tg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  background: #17212b;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 3;
}
.tg-back, .tg-header-btn {
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #6ab3f3;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.tg-header-btn { color: rgba(255,255,255,0.6); }
.tg-header-center {
  flex: 1;
  min-width: 0;
}
.tg-header-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tg-verified { flex: none; }
.tg-header-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}
.tg-online { color: #6ab3f3; }
.tg-header-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a6fa8 0%, #2a5585 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  flex: none;
}
.tg-header-avatar img { width: 100%; height: 100%; object-fit: contain; }

/* Body — clean background */
.tg-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0e1621;
}
.tg-bg-clean {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(58, 111, 168, 0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(124, 108, 242, 0.1), transparent 40%),
    #0e1621;
  pointer-events: none;
}
.tg-content {
  position: relative;
  z-index: 2;
  padding: 12px 10px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
.tg-content::-webkit-scrollbar { display: none; }

.tg-date-chip {
  align-self: center;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 4px 0 10px;
  backdrop-filter: blur(4px);
}

/* Rows */
.tg-row {
  display: flex;
  margin-bottom: 4px;
  animation: tgSlideIn 0.3s ease-out;
}
@keyframes tgSlideIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.tg-row-bot { justify-content: flex-start; }
.tg-row-client { justify-content: flex-end; }

.tg-bubble {
  max-width: 78%;
  padding: 7px 10px 6px;
  border-radius: 14px;
  font-size: 15.5px;
  line-height: 1.35;
  position: relative;
  word-wrap: break-word;
  white-space: pre-wrap;
  box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}

.tg-bubble-bot {
  background: #182533;
  color: #fff;
  border-bottom-left-radius: 4px;
}
.tg-bubble-client {
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.tg-text { padding-right: 48px; }

.tg-meta {
  position: absolute;
  right: 8px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
}
.tg-bubble-client .tg-meta { color: rgba(255,255,255,0.75); }
.tg-check { flex: none; }

/* Typing */
.tg-typing {
  padding: 10px 14px;
  display: flex;
  gap: 4px;
}
.tg-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  display: inline-block;
  animation: tgDot 1.2s infinite;
}
.tg-typing span:nth-child(2) { animation-delay: 0.15s; }
.tg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes tgDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Suggestions */
.tg-suggestions {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #17212b;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tg-suggestions::-webkit-scrollbar { display: none; }
.tg-chip {
  flex: none;
  padding: 7px 13px;
  background: rgba(106, 179, 243, 0.12);
  border: 1px solid rgba(106, 179, 243, 0.3);
  border-radius: 999px;
  font-size: 12px;
  color: #6ab3f3;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.tg-chip:hover:not(:disabled) {
  background: rgba(106, 179, 243, 0.3);
  color: #fff;
}
.tg-chip:disabled { opacity: 0.4; cursor: not-allowed; }

/* Input */
.tg-input {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px 18px;
  background: #17212b;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tg-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 8px;
  font-size: 14px;
  color: #fff;
  outline: none;
  font-family: inherit;
}
.tg-input input::placeholder { color: rgba(255,255,255,0.4); }
.tg-input-icon {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 8px;
  display: grid;
  place-items: center;
}
.tg-send-btn, .tg-mic-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #6ab3f3;
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.tg-mic-btn { background: transparent; color: rgba(255,255,255,0.55); }
.tg-send-btn svg { transform: translateX(1px); }

/* OLD chat styles — unused now, kept for safety */
.chat-header {
  display: flex;
  align-items: center;
  padding: 42px 16px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.chat-header-logo {
  width: 36px; height: 36px;
}
.chat-header-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.chat-header-sub {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1); }
}
.chat-header-actions {
  color: var(--brand);
  display: flex;
  gap: 12px;
}

/* Chat body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.chat-date {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 12px;
  text-transform: lowercase;
}

.row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  align-items: flex-start;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.row-client { flex-direction: row-reverse; }

.avatar {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar-bot {
  background: #eaf0fb;
  padding: 3px;
}
.avatar-bot img { width: 100%; height: 100%; object-fit: contain; }
.avatar-client {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.bubble-wrap {
  max-width: 78%;
  display: flex;
  flex-direction: column;
}
.row-client .bubble-wrap { align-items: flex-end; }
.bubble-label {
  font-size: 10px;
  color: var(--muted);
  margin: 0 4px 3px;
  font-weight: 500;
}

.bubble {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  word-wrap: break-word;
  white-space: pre-wrap;
}
.bubble-bot {
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(20, 35, 90, 0.06);
}
.bubble-client {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing */
.bubble.typing {
  padding: 12px;
  display: flex;
  gap: 3px;
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
  animation: typingDot 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Suggestions */
.chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(0deg, #f4f7fc 0%, transparent 100%);
}
.chat-suggestions::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.chip:hover:not(:disabled) {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.chip:disabled { opacity: 0.5; cursor: not-allowed; }

/* Input */
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  background: #f4f7fc;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
}
.chat-input input::placeholder { color: var(--muted); }
.chat-input input:focus { background: #edf2fa; }

.input-icon {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
}

.send-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
}
.send-btn.active {
  background: var(--brand);
  color: #fff;
}
.send-btn:disabled { cursor: not-allowed; }
.send-btn svg { transform: translate(-1px, 1px); }

/* =========== SCENARIO SWITCHER =========== */
.scenario-switch {
  position: absolute;
  top: -14px;
  right: -14px;
  display: flex;
  background: #fff;
  padding: 4px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  border: 1px solid var(--line);
}
.scenario-switch button {
  padding: 7px 14px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.scenario-switch button.active {
  background: var(--ink);
  color: #fff;
}

/* Live counter badge */
.live-counter {
  position: absolute;
  left: -180px;
  top: 60px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  border: 1px solid var(--line);
}
.live-counter .counter-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  display: grid;
  place-items: center;
  color: #fff;
}
.counter-val {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.counter-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  min-width: 240px;
  display: none;
}
.tweaks-panel.visible { display: block; }
.tweaks-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.tweaks-row { margin-bottom: 14px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.tweaks-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.tweaks-seg button {
  flex: 1;
  padding: 6px 10px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.tweaks-seg button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* =========== Responsive =========== */
@media (max-width: 1100px) {
  .live-counter { left: 10px; top: 10px; }
  .roles { display: none; }
}
@media (max-width: 640px) {
  .site-header { padding: 16px 20px; gap: 16px; flex-wrap: wrap; }
  .nav { display: none; }
  .hero-wrap { padding: 12px 16px 40px; }
  .hero { padding: 32px 24px; border-radius: 24px; }
}
/* ===========================
   CasperAi — Section 2: Features
   =========================== */

.features-section {
  padding: 80px 60px 100px;
  background: #ffffff;
}

.features-head {
  max-width: 1320px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.features-head-left {
  max-width: 820px;
}

.features-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #eaf0fb;
  color: var(--brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.features-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}

.features-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.features-title em {
  font-style: normal;
  color: var(--brand);
}

.features-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}

.features-head-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.features-tag {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f2f5fb;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.features-tag svg {
  width: 14px; height: 14px;
  color: var(--brand);
}

/* ===== Grid =====
   Layout:
   [ 01 Setup (tall) | 02 Knowledge | 03 Speed ]
   [ 01 Setup cont'd | 04 Integr.   | 05 Growth ]
*/
.features-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.f-card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.f-card:hover {
  transform: translateY(-4px);
}

.f-card-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  margin-bottom: 10px;
}

.f-card-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 12px;
}

.f-card-desc {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.75;
  margin: 0;
  max-width: 420px;
}

/* ===== LARGE: Setup (col 1, row 1/3) ===== */
.f-setup {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(155deg, #eef3fb 0%, #dfe8f6 100%);
  color: var(--ink);
  border: 1px solid rgba(45, 110, 247, 0.12);
}
.f-setup .f-card-label { color: var(--brand); opacity: 1; }

.setup-visual {
  margin-top: 22px;
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 40px -20px rgba(20, 35, 90, 0.2);
  border: 1px solid rgba(45, 110, 247, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
.sv-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: svIn 0.55s ease-out backwards;
}
.sv-field:nth-child(1) { animation-delay: 0.05s; }
.sv-field:nth-child(2) { animation-delay: 0.12s; }
.sv-field:nth-child(3) { animation-delay: 0.19s; }
.sv-field:nth-child(4) { animation-delay: 0.26s; }
.sv-field:nth-child(5) { animation-delay: 0.33s; }
.sv-field:nth-child(6) { animation-delay: 0.4s; }
@keyframes svIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sv-label-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.sv-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Unbounded', 'Manrope', sans-serif;
  letter-spacing: -0.01em;
}
.sv-hint {
  font-size: 11px;
  color: var(--muted);
}
.sv-select {
  width: 100%;
  padding: 10px 14px;
  background: #f7f9fd;
  border: 1px solid rgba(45, 110, 247, 0.15);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: left;
}
.sv-select:hover {
  background: #eef3fb;
  border-color: var(--brand);
}
.sv-select svg {
  color: var(--muted);
  transition: transform 0.2s;
  flex: none;
}
.sv-dropdown {
  position: relative;
}
.sv-dropdown.is-open .sv-select svg { transform: rotate(180deg); }
.sv-dropdown.is-open .sv-select {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 110, 247, 0.1);
}
.sv-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(45, 110, 247, 0.18);
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 6px;
  box-shadow: 0 20px 40px -16px rgba(20, 35, 90, 0.22);
  z-index: 10;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  max-height: 220px;
  overflow-y: auto;
}
.sv-dropdown.is-open .sv-dropdown-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sv-dropdown-list li {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s;
}
.sv-dropdown-list li:hover { background: #f2f5fb; }
.sv-dropdown-list li.is-selected {
  background: rgba(45, 110, 247, 0.1);
  color: var(--brand);
  font-weight: 600;
}

.sv-other-input {
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--brand);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  font-family: inherit;
  outline: none;
  display: none;
  animation: svIn 0.3s ease-out;
  box-shadow: 0 0 0 3px rgba(45, 110, 247, 0.1);
}
.sv-other-input.is-visible { display: block; }
.sv-other-input::placeholder { color: var(--muted); font-weight: 400; }

.sv-input {
  position: relative;
  padding: 10px 14px;
  background: #f7f9fd;
  border: 1px solid rgba(45, 110, 247, 0.15);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  min-height: 38px;
  outline: none;
  cursor: text;
  transition: border-color 0.2s, background 0.2s;
}
.sv-input:hover { background: #eef3fb; }
.sv-input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 110, 247, 0.12);
}

.sv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sv-chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #f2f5fb;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.sv-chip.sm {
  font-size: 11px;
  padding: 5px 10px;
}
.sv-chip.is-active {
  background: #1a2347;
  color: #fff;
  border-color: #1a2347;
  box-shadow: 0 4px 12px -4px rgba(45, 110, 247, 0.35);
}
.sv-chip:hover:not(.is-active) {
  background: #e6edf8;
  border-color: rgba(45, 110, 247, 0.2);
}
.sv-chip-ghost {
  background: transparent;
  border: 1px dashed rgba(45, 110, 247, 0.35);
  color: var(--brand);
}
.sv-subrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.sv-sublabel {
  font-size: 11px;
  color: var(--muted);
  margin-right: 4px;
}

/* ===== Knowledge (compact, col 2, row 1) ===== */
.f-knowledge {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(155deg, #eef3fb 0%, #dfe8f6 100%);
  color: var(--ink);
  border: 1px solid rgba(45, 110, 247, 0.12);
}
.f-knowledge .f-card-label { color: var(--brand); opacity: 1; }

.knowledge-visual {
  margin-top: auto;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px -20px rgba(20, 35, 90, 0.2);
  border: 1px solid rgba(45, 110, 247, 0.1);
}
.kv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.kv-head-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.kv-head-title svg { color: var(--brand); }

.kv-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.kv-upload-btn:hover { background: var(--brand-dark); }

.kv-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kv-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f9fd;
  border: 1px solid transparent;
  animation: kvFileIn 0.5s ease-out backwards;
  transition: all 0.2s;
}
.kv-file:hover {
  background: #eef3fb;
  border-color: rgba(45, 110, 247, 0.2);
}
@keyframes kvFileIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.kv-file:nth-child(1) { animation-delay: 0.1s; }
.kv-file:nth-child(2) { animation-delay: 0.2s; }
.kv-file:nth-child(3) { animation-delay: 0.3s; }
.kv-file:nth-child(4) { animation-delay: 0.4s; }

.kv-file-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.kv-file-icon.pdf { background: #e94c3c; }
.kv-file-icon.xls { background: #1d8e5c; }
.kv-file-icon.doc { background: #2d6ef7; }
.kv-file-icon.txt { background: #6b7390; }

.kv-file-meta { flex: 1; min-width: 0; }
.kv-file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kv-file-size {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.kv-file-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: #eaf7ef;
  color: #16a34a;
}
.kv-file-status.loading {
  background: #fff4e5;
  color: #d97706;
}
.kv-file-status .tick {
  width: 10px; height: 10px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== DARK CARDS (base) ===== */
.f-dark {
  background: linear-gradient(160deg, #14193a 0%, #0b1330 100%);
  color: #fff;
}
.f-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(45, 110, 247, 0.25), transparent 50%);
  pointer-events: none;
}
.f-dark > * { position: relative; z-index: 1; }
.f-dark .f-card-label { color: rgba(255,255,255,0.55); }

/* ===== Instant replies (chart: animated bars) ===== */
.f-instant {
  grid-column: 2;
  grid-row: 2;
}
.bars-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 20px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, #3a7bfc 0%, #2d6ef7 100%);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  animation: barGrow 1.2s cubic-bezier(.2,.8,.2,1) backwards;
  box-shadow: 0 0 20px rgba(45, 110, 247, 0.4);
}
.bar::after {
  content: attr(data-val);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-variant-numeric: tabular-nums;
}
.bar:nth-child(1) { height: 30%; animation-delay: 0.1s; opacity: 0.5; }
.bar:nth-child(2) { height: 55%; animation-delay: 0.2s; opacity: 0.65; }
.bar:nth-child(3) { height: 45%; animation-delay: 0.3s; opacity: 0.75; }
.bar:nth-child(4) { height: 75%; animation-delay: 0.4s; }
.bar:nth-child(5) { height: 90%; animation-delay: 0.5s; }
.bar:nth-child(6) { height: 100%; animation-delay: 0.6s; background: linear-gradient(180deg, #f4b1e8 0%, #2d6ef7 100%); }
@keyframes barGrow {
  from { height: 0%; opacity: 0; }
}

/* ===== Integrations (logo cloud) ===== */
.f-integrations {
  grid-column: 3;
  grid-row: 1;
}
.int-cloud {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.int-logo {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s;
  animation: intPulse 3s infinite;
}
.int-logo svg { width: 22px; height: 22px; }
.int-logo:hover {
  background: rgba(45, 110, 247, 0.2);
  border-color: rgba(45, 110, 247, 0.4);
  color: #fff;
  transform: scale(1.05);
}
.int-logo:nth-child(1) { animation-delay: 0s; }
.int-logo:nth-child(2) { animation-delay: 0.3s; }
.int-logo:nth-child(3) { animation-delay: 0.6s; }
.int-logo:nth-child(4) { animation-delay: 0.9s; }
.int-logo:nth-child(5) { animation-delay: 1.2s; color: #6ab3f3; }
.int-logo:nth-child(6) { animation-delay: 1.5s; }
@keyframes intPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 110, 247, 0); }
  50% { box-shadow: 0 0 0 3px rgba(45, 110, 247, 0.1); }
}

/* ===== Results — removed ===== */

/* ===== 24/7 Growth chart ===== */
.f-growth {
  grid-column: 3;
  grid-row: 2;
}
.growth-chart {
  margin-top: auto;
  position: relative;
  height: 140px;
}
.growth-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.growth-line {
  fill: none;
  stroke: url(#growthGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: growthDraw 2s ease-out 0.3s forwards;
}
@keyframes growthDraw {
  to { stroke-dashoffset: 0; }
}
.growth-area {
  fill: url(#growthArea);
  opacity: 0;
  animation: growthFill 1.2s ease-out 1.5s forwards;
}
@keyframes growthFill {
  to { opacity: 1; }
}
.growth-dot {
  fill: #f4b1e8;
  opacity: 0;
  animation: dotShow 0.4s ease-out forwards;
  filter: drop-shadow(0 0 8px rgba(244, 177, 232, 0.8));
}
@keyframes dotShow {
  to { opacity: 1; }
}
.growth-tag {
  position: absolute;
  top: -2px;
  right: 0;
  padding: 5px 10px;
  background: rgba(244, 177, 232, 0.2);
  border: 1px solid rgba(244, 177, 232, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #f4b1e8;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .features-section { padding: 60px 40px 80px; }
  .features-title { font-size: 40px; }
  .features-head { grid-template-columns: 1fr; }
  .features-head-right { justify-content: flex-start; }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .f-setup { grid-column: 1 / 3; grid-row: 1; min-height: 600px; }
  .f-knowledge { grid-column: 1; grid-row: 2; min-height: 360px; }
  .f-instant { grid-column: 2; grid-row: 2; }
  .f-integrations { grid-column: 1; grid-row: 3; }
  .f-growth { grid-column: 2; grid-row: 3; }
}
@media (max-width: 640px) {
  .features-section { padding: 40px 20px 60px; }
  .features-title { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .f-setup,
  .f-knowledge,
  .f-instant,
  .f-integrations,
  .f-growth {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
  }
}
/* ===========================
   CasperAi — Results Section (стили; блок Results не выводится)
   =========================== */

.results-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf2ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.results-head {
  max-width: 1320px;
  margin: 0 auto 48px;
  padding: 0 60px;
  text-align: center;
}

.results-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #eaf0fb;
  color: var(--brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.results-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.results-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
  color: var(--brand);
  white-space: nowrap;
  display: inline-block;
  padding-right: 60px;
}

/* ===== Marquee ===== */
.results-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-bottom: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.results-marquee-track {
  display: flex;
  width: max-content;
  animation: resultsScroll 32s linear infinite;
}
.results-marquee:hover .results-marquee-track {
  animation-play-state: paused;
}
@keyframes resultsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Carousel ===== */
.results-carousel-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}

.results-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.results-carousel::-webkit-scrollbar { display: none; }

.result-card {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 380px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 24px -8px rgba(20, 35, 90, 0.12);
  border: 1px solid rgba(45, 110, 247, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(20, 35, 90, 0.18);
}

.rc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rc-tag {
  padding: 6px 14px;
  background: rgba(45, 110, 247, 0.08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.rc-logo {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.rc-logo img {
  max-height: 100%;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}

.rc-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.rc-subtitle {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.rc-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}

.rc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 110, 247, 0.08);
}
.rc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rc-stat-val {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--brand);
}
.rc-stat-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.rc-cta {
  margin-top: 4px;
}
.rc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 14px -4px rgba(45, 110, 247, 0.4);
}
.rc-cta-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  gap: 10px;
  box-shadow: 0 8px 18px -4px rgba(45, 110, 247, 0.5);
}
.rc-cta-btn svg {
  width: 14px;
  height: 14px;
}

/* ===== Nav arrows ===== */
.results-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.results-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(45, 110, 247, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--brand);
}
.results-nav-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}
.results-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: scale(1);
}
.results-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .results-section { padding: 60px 40px 80px; }
  .results-title { font-size: 40px; }
  .result-card { flex: 0 0 calc(50% - 9px); min-width: 340px; }
}
@media (max-width: 640px) {
  .results-section { padding: 40px 20px 60px; }
  .results-title { font-size: 30px; }
  .result-card { flex: 0 0 100%; min-width: 280px; }
  .rc-stats { grid-template-columns: 1fr; }
}

/* =====================================================================
   CasperAi — секции полной главной (новый дизайн)
   ===================================================================== */

.container { max-width: 1320px; margin: 0 auto; padding: 0 60px; }

.section { padding: 44px 0; }
.section.soft { background: var(--bg-soft); }
.section.ink { background: linear-gradient(160deg, #14193a 0%, #0b1330 100%); color: #fff; }

.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: #eaf0fb; color: var(--brand);
  border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section.ink .eyebrow { background: rgba(255,255,255,0.08); color: var(--accent-blue); }

.section-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: clamp(26px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 700; margin: 0 0 18px; color: var(--ink); text-wrap: balance;
}
.section.ink .section-title { color: #fff; }
.section-title em { font-style: normal; color: var(--brand); }
.section-sub { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0; }
.section.ink .section-sub { color: rgba(255,255,255,0.7); }

/* ===== Stats band (преимущества) ===== */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s, box-shadow .25s;
}
.stat-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-block .big {
  font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 30px;
  font-weight: 800; letter-spacing: -0.02em; color: var(--brand); margin: 0 0 10px;
}
.stat-block .cap { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* ===== Use cases / spheres ===== */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card {
  position: relative; border-radius: 24px; padding: 30px;
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf0fb, #dfe8f6); color: var(--brand); margin-bottom: 4px;
}
.case-ico svg { width: 26px; height: 26px; }
.case-card h3 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.case-card p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ===== Capabilities ===== */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 24px; display: flex; gap: 14px; align-items: flex-start;
  transition: background .25s, border-color .25s;
}
.cap-card:hover { background: rgba(45,110,247,0.12); border-color: rgba(45,110,247,0.35); }
.cap-card .tick {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(45,110,247,0.18); color: var(--accent-blue);
  display: grid; place-items: center;
}
.cap-card .tick svg { width: 18px; height: 18px; }
.cap-card p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.85); }

/* ===== About us ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-text p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.about-badges { display: flex; flex-direction: column; gap: 14px; }
.about-badge {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md);
}
.about-badge .ab-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2d6ef7, #5a95ff); color: #fff;
}
.about-badge p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.about-badge b { color: var(--ink); }

/* ===== Comparison ===== */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.compare-col {
  border-radius: 24px; padding: 28px; border: 1px solid var(--line); background: #fff;
}
.compare-col.us {
  background: linear-gradient(160deg, #14193a 0%, #0b1330 100%); color: #fff; border: none;
  box-shadow: var(--shadow-lg); position: relative;
}
.compare-col h3 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 19px; font-weight: 700;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.compare-col.us h3 { color: #fff; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.compare-col.us li { color: rgba(255,255,255,0.85); }
.compare-col li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.compare-col li .x { color: #e06363; }
.compare-col li .v { color: #34d39a; }
.compare-badge {
  position: absolute; top: -12px; left: 28px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(95deg, #f4b1e8, #a8c3ff, #2d6ef7); color: #fff;
  font-size: 12px; font-weight: 700;
}

/* ===== Pricing ===== */
.pricing-note { font-size: 15px; color: var(--muted); margin: 0 0 36px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  border-radius: 24px; padding: 32px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(160deg, #14193a 0%, #0b1330 100%); color: #fff; border: none;
  box-shadow: var(--shadow-lg); position: relative;
}
.price-name {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 22px; font-weight: 700; margin: 0;
}
.price-val {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--brand); margin: 4px 0 0;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.price-card.featured .price-val { color: var(--accent-blue); }
.price-val small { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.price-card.featured .price-val small { color: rgba(255,255,255,0.6); }
.price-desc { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; min-height: 66px; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.75); }
.price-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-feats li { display: flex; gap: 9px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.price-feats li:nth-child(4) { margin-top: 7px; }
.price-card.featured .price-feats li { color: rgba(255,255,255,0.82); }
.price-feats li svg { flex: none; width: 16px; height: 16px; color: var(--brand); margin-top: 2px; }
.price-card.featured .price-feats li svg { color: var(--accent-blue); }
.price-btn {
  margin-top: auto;
  padding: 14px 22px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; font-family: inherit;
  background: var(--ink); color: #fff; transition: background .15s, transform .15s;
}
.price-btn:hover { background: var(--brand); transform: translateY(-1px); }
.price-card.featured .price-btn { background: var(--brand); }
.price-card.featured .price-btn:hover { background: #fff; color: var(--ink); }

/* Consumption / support sub-table */
.pricing-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.pricing-sub .ps-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.pricing-sub h4 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 16px; font-weight: 700;
  margin: 0 0 14px; color: var(--ink);
}
.pricing-sub ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-sub li {
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px;
  color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}
.pricing-sub li:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-sub li b { color: var(--brand); white-space: nowrap; }

/* ===== Process steps ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
}
.process-num {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 15px; font-weight: 800;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf0fb, #dfe8f6); color: var(--brand);
}
.process-step h3 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 18px; font-weight: 700;
  margin: 0; letter-spacing: -0.01em; color: var(--ink);
}
.process-step p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; flex: 1; }
.process-step .dur {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px; background: #eaf7ef; color: #16a34a;
  font-size: 12px; font-weight: 600;
}

/* ===== FAQ ===== */
.faq { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 768px) { .faq { grid-template-columns: 1fr; max-width: 880px; } }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(45,110,247,0.25); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; min-height: 84px; font-size: 17px; font-weight: 600; color: var(--ink);
  font-family: inherit; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q svg { flex: none; width: 20px; height: 20px; color: var(--brand); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ===== Final CTA ===== */
.cta-section { padding: 44px 0; }
.cta-card {
  margin: 0; padding: 0;
  background: transparent; color: var(--ink); position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch;
}
.cta-left { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.cta-photo { position: relative; height: 300px; flex: none; border-radius: 24px; overflow: hidden; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Контакты: мессенджеры + телефон */
.cta-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-socials { display: flex; gap: 12px; }
.cta-soc {
  width: 52px; height: 52px; border-radius: 14px; background: #3771C8;
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: transform .15s, box-shadow .2s;
}
.cta-soc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(55,113,200,0.7); }
.cta-soc img { width: 24px; height: 24px; display: block; }
.cta-phone {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 24px; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.cta-phone:hover { color: var(--brand); }

/* Фонд содействия инновациям */
.cta-badges { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 20px 28px; }
.cta-fund { display: flex; align-items: flex-start; gap: 16px; }
.cta-fund-logo { height: 56px; width: auto; flex: none; }
.cta-fund p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Бейдж ИТ-парк */
.cta-itpark {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-2);
}
.cta-itpark-mark {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  background: #EF7F1A; color: #fff; border-radius: 8px; padding: 3px 8px;
  font-family: 'Unbounded','Manrope',sans-serif; font-weight: 800; font-size: 13px; line-height: 1;
}
.cta-itpark-mark b { font-weight: 800; }
.cta-itpark-mark i { font-style: normal; font-weight: 600; }

.cta-right {
  position: relative; z-index: 1; padding: 44px 48px; border-radius: 36px; overflow: hidden;
  background: linear-gradient(140deg, #2d6ef7 0%, #1f52c4 60%, #14193a 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.cta-form-title { font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 18px; color: #fff; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form select {
  padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 16px; font-family: inherit; outline: none;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
.lead-form select option { color: #0b1330; }
.lead-form select:focus { border-color: #fff; }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.78); cursor: pointer; }
.lead-consent input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 0; accent-color: #fff; }
.lead-consent a { color: #fff; text-decoration: underline; }
.form-consent { display: flex; width: 100%; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 0; accent-color: var(--brand); }
.form-consent span { flex: 1; min-width: 0; }
.form-consent a { color: var(--brand); text-decoration: underline; }
.cta-right::after {
  content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,177,232,0.35), transparent 70%);
  top: -120px; right: -60px; pointer-events: none;
}
.cta-card h2 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 34px; line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 800; margin: 0; color: var(--ink);
  position: relative; z-index: 1;
}

/* ===== Lead form ===== */
.lead-form { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.lead-form input {
  padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 16px; font-family: inherit; outline: none;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.6); }
.lead-form input:focus { border-color: #fff; background: rgba(255,255,255,0.16); }
.lead-form button {
  padding: 16px 24px; border-radius: 14px; border: none; cursor: pointer;
  background: #fff; color: var(--brand); font-size: 16px; font-weight: 700; font-family: inherit;
  transition: transform .15s, box-shadow .2s;
}
.lead-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3); }
.lead-form .form-note { font-size: 13px; color: rgba(255,255,255,0.6); margin: 2px 0 0; }

/* ===== Footer ===== */
.site-footer { background: transparent; color: var(--ink); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.15fr 1.25fr auto; gap: 40px; align-items: start; margin-bottom: 40px; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-brand p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 16px 0 0; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-size: 16px; transition: color .15s; }
.footer-mini { display: none; }
.footer-mini a { color: var(--ink-2); text-decoration: none; font-size: 16px; transition: color .15s; }
.footer-mini a:hover { color: var(--brand); }
@media (max-width: 768px) {
  .footer-top .footer-nav { display: none; }
  .footer-mini { display: flex; flex-direction: column; gap: 14px; }
}
.footer-nav a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-phone { font-family: 'Unbounded','Manrope',sans-serif; font-size: 24px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.footer-support {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.footer-support svg { width: 18px; height: 18px; }
.footer-support-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.footer-support:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-support:hover .footer-support-dot { background: #4ade80; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand); }

/* ===== Cookie banner ===== */
.cookie-bar {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px; z-index: 1000;
}
.cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.cookie-bar button {
  flex: none; padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
}
.cookie-bar button:hover { background: var(--brand); }
.cookie-bar.hidden { display: none; }

/* ===== Responsive (новые секции) ===== */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .section { padding: 32px 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; gap: 28px; }
  .cta-photo { height: 280px; }
  .cta-right { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 24px 0; }
  #pricing, .cta-section, .reviews-carousel, .cases-carousel { padding: 24px 0; }
  .cc-card { box-shadow: none; }
  .stats-band, .cases-grid, .caps-grid, .process-grid, .pricing-sub { grid-template-columns: 1fr; }
  .cta-card h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
}

/* =====================================================================
   CasperAi — Лендинги фич и статьи блога (новый стек)
   Префикс .lp-* (landing page / long-form post). Переиспользуемые блоки
   для группы похожих страниц: hero, оглавление, контент-проза,
   инфо-блоки, шаги, блок похожих статей.
   ===================================================================== */

/* ===== Хлебные крошки ===== */
.lp-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); margin: 0 0 22px;
}
.lp-crumbs a { color: var(--muted); text-decoration: none; transition: color .15s; }
.lp-crumbs a:hover { color: var(--brand); }
.lp-crumbs .sep { opacity: .5; }
.lp-crumbs .current { color: var(--ink-2); }

/* ===== Hero лендинга/статьи ===== */
.lp-hero { padding: 24px 0 10px; }
.lp-hero .container { display: block; }
.lp-hero-inner {
  background: linear-gradient(140deg, #f6f8fd 0%, #eaf0fb 55%, #dee8f8 100%);
  border-radius: 36px; padding: 56px 60px; position: relative; overflow: hidden;
}
.lp-hero-inner::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,177,232,0.3), transparent 70%);
  top: -120px; right: -40px; pointer-events: none;
}
.lp-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center;
  position: relative; z-index: 1;
}
.lp-hero-grid.no-media { grid-template-columns: 1fr; }
.lp-hero-title {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 48px; line-height: 1.08;
  letter-spacing: -0.02em; font-weight: 800; margin: 18px 0 18px; color: var(--ink);
  text-wrap: balance;
}
.lp-hero-title em { font-style: normal; color: var(--brand); }
.lp-hero-lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; max-width: 640px; }
.lp-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); margin-top: 24px; }
.lp-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.lp-hero-meta svg { width: 16px; height: 16px; color: var(--brand); }
.lp-hero-media img {
  width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(45,110,247,0.12); display: block;
}

/* ===== Раскладка статьи: контент + сайдбар ===== */
.lp-layout {
  max-width: 1320px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start;
}
.lp-layout.narrow { grid-template-columns: minmax(0, 820px); justify-content: center; }

/* ===== Оглавление (sticky) ===== */
.lp-toc {
  position: sticky; top: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 24px;
}
.lp-toc-title {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 14px;
}
.lp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.lp-toc li { counter-increment: toc; }
.lp-toc a {
  display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none;
  font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: background .15s, color .15s;
}
.lp-toc a::before {
  content: counter(toc, decimal-leading-zero); color: var(--brand); font-weight: 700;
  font-variant-numeric: tabular-nums; flex: none;
}
.lp-toc a:hover { background: var(--bg-soft); color: var(--brand); }

/* ===== Проза статьи ===== */
.lp-prose { max-width: 760px; }
.lp-prose > *:first-child { margin-top: 0; }
.lp-prose h2 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 30px; line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 700; color: var(--ink); margin: 48px 0 18px;
  scroll-margin-top: 24px;
}
.lp-prose h2 em { font-style: normal; color: var(--brand); }
.lp-prose h3 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 21px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 12px;
}
.lp-prose p { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0 0 18px; }
.lp-prose a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(45,110,247,0.3); }
.lp-prose a:hover { border-bottom-color: var(--brand); }
.lp-prose strong { color: var(--ink); font-weight: 700; }
.lp-prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lp-prose ul li {
  position: relative; padding-left: 30px; font-size: 18px; line-height: 1.6; color: var(--ink-2);
}
.lp-prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand);
}

/* ===== Нумерованные шаги (переиспользуемо в статьях/фич-страницах) ===== */
.lp-steps { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: lpstep; display: flex; flex-direction: column; gap: 14px; }
.lp-steps li {
  counter-increment: lpstep; position: relative; padding: 18px 22px 18px 64px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  font-size: 16.5px; line-height: 1.55; color: var(--ink-2);
}
.lp-steps li::before {
  content: counter(lpstep); position: absolute; left: 18px; top: 16px;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2d6ef7, #5a95ff); color: #fff;
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 14px; font-weight: 800;
}
.lp-steps li b, .lp-steps li strong { color: var(--ink); }

/* ===== Инфо-блок / выноска ===== */
.lp-callout {
  display: flex; gap: 16px; padding: 24px 26px; border-radius: 18px; margin: 0 0 26px;
  background: #eaf0fb; border: 1px solid rgba(45,110,247,0.15);
}
.lp-callout .lp-callout-ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2d6ef7, #5a95ff); color: #fff;
}
.lp-callout .lp-callout-ico svg { width: 22px; height: 22px; }
.lp-callout p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.lp-callout p strong { color: var(--ink); }

/* ===== Карточки «преимущества/профит» внутри прозы ===== */
.lp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 26px; }
.lp-feature {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  transition: transform .25s, box-shadow .25s;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lp-feature h4 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 10px;
}
.lp-feature h4 svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.lp-feature p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ===== Блок похожих статей ===== */
.lp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.lp-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lp-post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.lp-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.lp-post-card:hover .lp-post-thumb img { transform: scale(1.04); }
.lp-post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-post-date { font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: 0.01em; }
.lp-post-card h3 {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 18px; line-height: 1.25;
  letter-spacing: -0.01em; font-weight: 700; color: var(--ink); margin: 0;
}
.lp-post-card p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0; flex: 1; }
.lp-post-more {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--brand); margin-top: 4px;
}
.lp-post-more svg { width: 15px; height: 15px; transition: transform .2s; }
.lp-post-card:hover .lp-post-more svg { transform: translateX(3px); }

/* ===== State screen (спасибо / 404) ===== */
.state-screen {
  min-height: calc(100vh - 220px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 80px 20px; gap: 18px;
}
.state-screen .state-eyebrow { margin-bottom: 4px; }
.state-screen .state-title {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 64px; line-height: 1.05;
  letter-spacing: -0.02em; font-weight: 700; color: var(--ink); margin: 0;
}
.state-screen .state-title em { font-style: normal; color: var(--brand); }
.state-screen .state-sub { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 560px; }
.state-screen .cta-row { margin-top: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .state-screen .state-title { font-size: 40px; }
  .state-screen .state-sub { font-size: 17px; }
}

/* ===== Responsive (lp) ===== */
@media (max-width: 1100px) {
  .lp-hero-inner { padding: 40px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-hero-title { font-size: 38px; }
  .lp-layout { grid-template-columns: 1fr; padding: 0 40px; gap: 32px; }
  .lp-toc { position: static; }
  .lp-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-hero-inner { padding: 28px 22px; border-radius: 24px; }
  .lp-hero-title { font-size: 28px; }
  .lp-hero-lead { font-size: 17px; }
  .lp-layout { padding: 0 20px; }
  .lp-prose h2 { font-size: 24px; }
  .lp-prose p, .lp-prose ul li { font-size: 16px; }
  .lp-grid-2 { grid-template-columns: 1fr; }
  .lp-related-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   CasperAi — Сквозной адаптив главной страницы
   (бургер-меню + дополнительные брейкпоинты; всё аддитивно)
   ===================================================================== */

/* ----- Бургер-кнопка и мобильное меню ----- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(82vw, 320px);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 60px -20px rgba(20, 35, 90, 0.3);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 84px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.mobile-nav-phone {
  margin-top: auto;
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  text-decoration: none;
  padding: 8px;
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 48, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 1100;
}
body.nav-open .mobile-nav-overlay { opacity: 1; visibility: visible; }

/* ----- ≤1280px: ноутбук — поджать отступы секций и hero ----- */
@media (max-width: 1280px) {
  .site-header { padding: 26px 40px; gap: 28px; }
  .hero-wrap { padding: 20px 40px 64px; }
  .hero { padding: 48px 44px 52px; gap: 40px; min-height: 0; }
  .features-section { padding: 72px 40px 88px; }
  .section { padding: 40px 0; }
  .cta-section { padding: 32px 0 80px; }
  .nav { gap: 22px; }
  .nav a { font-size: 16px; }
  .phone-num { font-size: 18px; }
}

/* ----- ≤1024px: планшет альбом — многоколоночные сетки в 2 колонки ----- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 0.9fr; gap: 32px; }
  .hero-right { overflow: hidden; }
  .phone-frame { zoom: 0.62; transform: none; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- Бургер появляется ≤900px, обычная навигация прячется ----- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-socials { display: none; }
}

/* ----- ≤768px: hero в 1 колонку, заголовки меньше, шапка компактнее ----- */
@media (max-width: 768px) {
  .site-header { padding: 18px 24px; gap: 14px; }
  .phone-num { display: none; }
  .cta-btn { padding: 11px 20px; font-size: 16px; }

  .hero-wrap { padding: 16px 24px 56px; }
  .hero { grid-template-columns: 1fr; padding: 40px 32px; gap: 24px; }
  .hero-left { text-align: left; }
  .hero-right { margin-top: 8px; justify-content: center; }
  .phone-frame { zoom: 0.7; }

  .features-section { padding: 56px 24px 72px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .f-setup { grid-column: 1 / 3; grid-row: 1; min-height: 0; }
  .f-knowledge { grid-column: 1; grid-row: 2; min-height: 0; }
  .f-instant { grid-column: 2; grid-row: 2; }
  .f-integrations { grid-column: 1; grid-row: 3; }
  .f-growth { grid-column: 2; grid-row: 3; }

  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- ≤640px: телефон — всё в 1 колонку, кнопки на всю ширину ----- */
@media (max-width: 640px) {
  .site-header { padding: 16px 18px; gap: 12px; flex-wrap: nowrap; }
  .site-header .logo img { height: 30px; }
  .header-right { gap: 10px; }

  .hero-wrap { padding: 12px 16px 44px; }
  .hero { padding: 28px 20px; }
  .cta-row { gap: 12px; }
  .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
  .phone-frame { zoom: 0.66; }

  .features-section { padding: 44px 16px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .f-setup, .f-knowledge, .f-instant, .f-integrations, .f-growth {
    grid-column: 1; grid-row: auto; min-height: 0;
  }
  .features-sub { font-size: 17px; }

  .caps-grid, .process-grid, .cases-grid, .stats-band, .pricing-sub {
    grid-template-columns: 1fr;
  }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-photo { height: 220px; }
  .cta-right { padding: 28px 22px; }
  .cta-contact { gap: 14px; }
  .lead-form button { width: 100%; }
}

/* ----- ≤400px: узкий телефон — финальная подстройка ----- */
@media (max-width: 400px) {
  .site-header { padding: 14px 14px; }
  .cta-btn { padding: 10px 16px; font-size: 15px; }
  .hero { padding: 24px 16px; border-radius: 20px; }
  .phone-frame { zoom: 0.56; }
  .features-section { padding: 40px 14px 52px; }
  .container { padding: 0 16px; }
  .f-card { padding: 22px; }
}

/* =========== КЕЙСЫ (карусель) =========== */
.cases-carousel { overflow: hidden; }
.cc-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.cc-head-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cc-more {
  padding: 12px 24px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: background 0.15s, transform 0.15s;
}
.cc-more:hover { background: var(--brand-dark); transform: translateY(-2px); }
.cc-nav { display: flex; gap: 10px; flex-shrink: 0; }
.cc-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cc-arrow svg { width: 20px; height: 20px; }
.cc-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cc-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 4px; margin: -4px -4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.cc-track.cc-dragging {
  cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto;
  user-select: none;
}
.cc-track.cc-dragging .cc-card, .cc-track.cc-dragging .rv-card { pointer-events: none; }
.cc-track::-webkit-scrollbar { display: none; }
.cc-card {
  flex: 0 0 300px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-md);
}
.cc-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.cc-title {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 18px; line-height: 1.3; font-weight: 700;
  color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em;
}
.cc-desc {
  font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cc-read {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cc-read img { width: 16px; height: 16px; }
.cc-read:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cc-thumb {
  margin-top: 18px; flex: 1; min-height: 240px; border-radius: 14px;
  background: linear-gradient(135deg, #e6edf9 0%, #c5d8f4 100%);
  overflow: hidden;
}
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .cc-card { flex-basis: 78%; }
  .cc-head { flex-wrap: wrap; }
}

/* =========== ТАРИФЫ (сравнительная таблица) =========== */
.accent-text { color: var(--brand); }
.pricing-table-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 14px; box-shadow: var(--shadow-md);
  overflow-x: auto; scrollbar-width: none;
}
.pricing-table-wrap::-webkit-scrollbar { display: none; }
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.pricing-table th, .pricing-table td {
  padding: 16px 20px; text-align: center; font-size: 15px; color: var(--ink);
}
.pt-feat { text-align: left; font-weight: 600; }
.pt-plan {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 18px; font-weight: 700; padding: 22px 20px;
}
.pricing-table tbody td { border-top: 1px solid var(--line); }
/* выделенная средняя колонка */
.pt-mid { background: var(--brand); color: #fff; }
.pt-mid, .pt-mid span { color: #fff; }
.pricing-table thead .pt-mid { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.pricing-table tbody tr:last-child .pt-mid { border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.pricing-table tbody td.pt-mid { border-top: 1px solid rgba(255,255,255,0.18); }
/* строка с ценой */
.pt-price td {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--brand);
  padding: 24px 20px 26px;
}
.pt-price td span { font-size: 14px; font-weight: 600; color: var(--muted); }
.pt-price td.pt-mid, .pt-price td.pt-mid span { color: #fff; }
@media (max-width: 640px) {
  .pricing-table th, .pricing-table td { padding: 14px 14px; font-size: 14px; }
  .pt-plan { font-size: 16px; }
  .pt-price td { font-size: 18px; }
}

/* Тарифы: компактнее секция + шире заголовок */
#pricing { padding: 44px 0; }
#pricing .section-head { max-width: 920px; }
#pricing .section-head { margin-bottom: 36px; }

/* Тарифы: переключатель периода оплаты */
.bill-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.bill-toggle {
  display: inline-flex; gap: 4px; padding: 6px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  flex-wrap: wrap; justify-content: center;
}
.bill-opt {
  padding: 10px 18px; border: none; background: transparent; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.bill-opt:not(.is-active):hover { color: var(--ink); }
.bill-opt.is-active { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.bill-badge { font-size: 11px; font-weight: 700; color: var(--brand); }
.bill-opt.is-active .bill-badge { color: #fff; }
.pv-amount { white-space: nowrap; }

/* Footer адаптив */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { gap: 16px; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: repeat(2, auto); }
}

/* =========== ВИДЕО-ОТЗЫВЫ (шортс) =========== */
.rv-track { align-items: stretch; }
.rv-card {
  flex: 0 0 256px; aspect-ratio: 9 / 16; scroll-snap-align: start;
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #3a7bfc 0%, #1f52c4 55%, #14193a 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.rv-play {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.rv-play svg { width: 26px; height: 26px; margin-left: 3px; }
.rv-play:hover { transform: scale(1.08); background: #fff; }
.rv-name { position: absolute; left: 16px; bottom: 16px; color: #fff; font-size: 14px; font-weight: 600; opacity: 0.9; }
.rv-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .rv-card { flex-basis: 200px; } }

/* ============ Мобильные правки (только ≤640px) ============ */
.faq-more-wrap { display: none; justify-content: center; margin-top: 24px; }
.faq-more {
  padding: 12px 26px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.faq-more:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 640px) {
  /* 1. кнопка "Начать бесплатно" компактная, в одну строку */
  .site-header { gap: 12px; }
  .cta-btn { padding: 9px 15px; font-size: 13px; white-space: nowrap; line-height: 1.1; }
  /* 2. убрать телефон в шапке */
  .site-header .phone-num { display: none; }
  /* теги hero — мельче (~-30%) */
  .tags { gap: 8px; margin-bottom: 22px; }
  .tag { padding: 8px 14px; font-size: 12.5px; }
  .tag .dot { width: 5px; height: 5px; }
  .tag.accent svg { width: 11px; height: 11px; }
  /* кнопки hero компактнее */
  .cta-row { gap: 12px; }
  .cta-primary { padding: 14px 22px; font-size: 15px; }
  .cta-secondary { padding: 12px 18px; font-size: 14px; }
  .trial-badge { padding: 9px 14px; font-size: 13px; }
  /* 5. переключатель периода — в одну строку */
  .bill-toggle { width: 100%; flex-wrap: nowrap; gap: 3px; padding: 4px; }
  .bill-opt { flex: 1 1 0; justify-content: center; padding: 9px 4px; font-size: 12.5px; gap: 3px; white-space: nowrap; }
  .bill-badge { font-size: 10px; }
  /* 7. форма: имя и телефон в столбик (телефон не уезжает) */
  .lead-row { grid-template-columns: 1fr; }
  /* 6. FAQ: показываем 5 вопросов + кнопка "Больше вопросов" */
  .faq:not(.faq-expanded) .faq-item:nth-child(n+6) { display: none; }
  .faq-more-wrap { display: flex; }
}

/* Мобильные: скрыть мокап телефона в hero */
@media (max-width: 768px) {
  .hero-right { display: none; }
}

/* Мини-чат в hero (анимация сообщений) — только на мобильных вместо подзаголовка */
.mini-chat { display: none; }
.mc-track {
  display: flex; flex-direction: column; gap: 10px; will-change: transform;
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
}
.mc-msg {
  max-width: 90%; padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.4; word-wrap: break-word;
  opacity: 0; transform: translateY(16px) scale(0.94);
  animation: mcIn 0.7s cubic-bezier(0.34, 1.4, 0.5, 1) forwards;
}
.mc-bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: 0 6px 18px -10px rgba(20,35,90,0.25); }
.mc-client { align-self: flex-end; background: #e9edf4; color: var(--ink-2); border-bottom-right-radius: 5px; }
@keyframes mcIn { to { opacity: 1; transform: translateY(0) scale(1); } }
/* Десктоп: лента-чат в hero-right вместо телефона — сообщения идут сверху, плавно, без перезапуска */
.mini-chat--hero {
  display: flex; flex-direction: column; justify-content: flex-start;
  height: 460px; width: 100%; max-width: 460px; margin-left: auto; overflow: hidden;
  padding: 28px; border-radius: 28px;
  background: linear-gradient(160deg, #eef3fc 0%, #dfe8fa 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mini-chat--hero .mc-track { gap: 14px; }
.mini-chat--hero .mc-msg {
  font-size: 15px; max-width: 86%; padding: 12px 16px;
  transform: translateY(26px);
  animation: mcInHero 1.1s cubic-bezier(0.16, 0.84, 0.3, 1) forwards;
}
@keyframes mcInHero { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .hero-left .subtext { display: none; }
  .mini-chat--mobile {
    display: block; height: 150px; overflow: hidden; margin: 4px 0 38px;
  }
}

/* Кейсы: компактнее на планшете/мобиле */
@media (max-width: 768px) {
  .cc-card { padding: 18px; }
  .cc-title { font-size: 16px; margin-bottom: 8px; }
  .cc-desc { font-size: 13px; -webkit-line-clamp: 2; margin-bottom: 14px; }
  .cc-thumb { flex: none; height: 120px; min-height: 0; margin-top: 14px; }
  .cc-read { padding: 8px 16px; font-size: 13px; }
}

/* Планшет/мобайл (≤768): компактные отступы между блоками + без тени у кейсов */
@media (max-width: 768px) {
  .section, #pricing, .cta-section, .cases-carousel, .reviews-carousel { padding: 26px 0; }
  .cc-card { box-shadow: none; }
}

/* =========== ПОП-АП ФОРМА =========== */
.lead-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.lead-modal.is-open { display: flex; }
.lead-modal__backdrop { position: absolute; inset: 0; background: rgba(11,19,48,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lead-modal__card {
  position: relative; z-index: 1; background: #fff; border-radius: 26px;
  width: 100%; max-width: 460px; padding: 38px 32px 30px;
  box-shadow: 0 40px 100px -30px rgba(20,35,90,0.45);
  max-height: 92vh; overflow-y: auto;
  animation: lmIn 0.35s cubic-bezier(0.22,0.61,0.36,1);
}
@keyframes lmIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.lead-modal__close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--bg-soft); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.lead-modal__close svg { width: 18px; height: 18px; }
.lead-modal__close:hover { background: var(--bg-soft-2); }
.lead-modal__title { font-family: 'Unbounded','Manrope',sans-serif; font-size: 23px; font-weight: 800; text-align: center; color: var(--ink); margin: 0 6px 8px; letter-spacing: -0.02em; line-height: 1.15; }
.lead-modal__sub { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.lead-modal__form { display: flex; flex-direction: column; gap: 14px; }
.lead-modal__form input[type="text"], .lead-modal__form input[type="tel"] {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-size: 16px; font-family: inherit; outline: none;
}
.lead-modal__form input::placeholder { color: var(--muted); }
.lead-modal__form input:focus { border-color: var(--brand); background: #fff; }
.lm-label { font-size: 14px; font-weight: 600; color: var(--ink); margin: 4px 0 -4px; }
.lm-contact { display: flex; gap: 8px; }
.lm-c {
  flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.lm-c svg { width: 17px; height: 17px; }
.lm-c img { width: 17px; height: 17px; filter: invert(1); }
.lm-c.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lm-c.is-active img { filter: none; }
.lm-submit {
  margin-top: 6px; padding: 16px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(95deg, #df8bd8 0%, #7a96f4 50%, #2d6ef7 100%); background-size: 200% 100%;
  color: #fff; font-size: 16px; font-weight: 700; font-family: inherit; transition: background-position 0.5s, transform 0.15s;
}
.lm-submit:hover { background-position: 100% 0; transform: translateY(-2px); }
.lm-thanks { text-align: center; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.55; margin: 30px 0; }

/* Партнёрская форма в hero (страница partner.html) */
.partner-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow-lg);
}
.partner-form-title {
  font-family: 'Unbounded','Manrope',sans-serif; font-size: 22px; font-weight: 800;
  color: var(--ink); margin: 0 0 22px; line-height: 1.2; letter-spacing: -0.02em;
}
.partner-form { display: flex; flex-direction: column; gap: 14px; }
.partner-form input {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-size: 16px; font-family: inherit; outline: none;
}
.partner-form input::placeholder { color: var(--muted); }
.partner-form input:focus { border-color: var(--brand); background: #fff; }
.partner-form button {
  margin-top: 6px; padding: 16px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(95deg, #df8bd8 0%, #7a96f4 50%, #2d6ef7 100%); background-size: 200% 100%;
  color: #fff; font-size: 16px; font-weight: 700; font-family: inherit;
  transition: background-position 0.5s, transform 0.15s;
}
.partner-form button:hover { background-position: 100% 0; transform: translateY(-2px); }

/* На странице партнёрки правый блок hero — это форма, на мобильных НЕ скрываем */
@media (max-width: 768px) {
  .hero-right:has(.partner-form-card) { display: block; }
}

/* Страницы с формой-картой в hero — делаем колонку формы шире (десктоп/планшет) */
@media (min-width: 769px) {
  .hero:has(.partner-form-card) { grid-template-columns: 1fr 1.15fr; }
}

/* Соцдоказательство — аватары + текст под первым блоком */
.proof-band { padding: 14px 0 6px; }
.proof-wrap {
  max-width: 1320px; margin: 0 auto; padding: 0 60px;
  display: flex; align-items: center; gap: 44px; flex-wrap: wrap;
}
.proof-avatars { display: flex; flex-shrink: 0; }
.proof-av {
  width: 92px; height: 92px; border-radius: 50%;
  border: 4px solid #fff; box-shadow: 0 10px 24px rgba(11, 19, 48, 0.14);
  margin-left: -26px; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.proof-av:first-child { margin-left: 0; }
.proof-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-av svg { width: 100%; height: 100%; display: block; }
.proof-text {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; line-height: 1.32;
  color: var(--ink-2); margin: 0; max-width: 640px; letter-spacing: -0.01em;
}
.proof-text strong { color: var(--brand); }
@media (max-width: 768px) {
  .proof-wrap { padding: 0 24px; gap: 20px; flex-direction: column; align-items: flex-start; }
  .proof-av { width: 68px; height: 68px; border-width: 3px; margin-left: -20px; }
}
@media (max-width: 480px) {
  .proof-band { padding: 22px 0 4px; }
  .proof-text { font-size: 18px; }
}

/* Партнёрская: блоки «Для кого» и «Почему мы» — в 2 колонки (ровно) */
#who .pricing-grid, #whyus .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  #who .pricing-grid, #whyus .pricing-grid { grid-template-columns: 1fr; }
}

/* Партнёрская: иконки в карточках «Для кого» */
.who-ico {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  background: #eaf0fb; color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.who-ico svg { width: 27px; height: 27px; }

/* Партнёрская: мини-дашборды в блоке «Почему мы» */
.wu-visual { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.wu-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.wu-chips span { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.wu-chips .wu-more { color: var(--brand); background: #eaf0fb; border-color: transparent; }
.wu-apps { display: flex; flex-direction: column; gap: 9px; }
.wu-app { display: flex; align-items: center; gap: 10px; }
.wu-app-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; font-family: 'Unbounded','Manrope',sans-serif; }
.wu-app-ico.bx { background: #14193a; }
.wu-app-name { font-size: 13px; font-weight: 600; color: var(--ink); flex: 1; }
.wu-app-badge { font-size: 11px; font-weight: 700; color: var(--brand); background: #eaf0fb; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.wu-steps { display: flex; flex-direction: column; gap: 9px; }
.wu-step { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.wu-step svg { width: 18px; height: 18px; flex: none; color: #16a34a; }
.wu-chart { position: relative; height: 104px; padding: 0; overflow: hidden; }
.wu-chart svg { width: 100%; height: 100%; display: block; }
.wu-chart-badge { position: absolute; top: 10px; right: 12px; z-index: 1; font-family: 'Unbounded','Manrope',sans-serif; font-weight: 800; font-size: 15px; color: var(--brand); background: #fff; padding: 3px 9px; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(20,35,90,0.25); }

/* ===== Страница интеграции: лого-связка в hero ===== */
.hero-logos { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero-logos img { display: block; width: auto; }
.hero-logos .hl-casper { height: 32px; }
.hero-logos .hl-bx { height: 27px; }
.hero-logos .hl-amo { height: 84px; border-radius: 50%; }
.hero-logos .hl-tg-img { height: 84px; display: block; }
.hero-logos .hl-avito { height: 40px; }
.hero-logos .hl-x { color: var(--muted); font-size: 24px; font-weight: 300; line-height: 1; }
@media (max-width: 640px) {
  .hero-logos { gap: 14px; margin-top: 24px; }
  .hero-logos .hl-casper { height: 26px; }
  .hero-logos .hl-bx { height: 22px; }
  .hero-logos .hl-amo { height: 64px; }
  .hero-logos .hl-tg-img { height: 64px; }
  .hero-logos .hl-avito { height: 30px; }
}

/* ===== Реферальная плашка под тарифами ===== */.ref-banner {
  display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 30px auto 0;
  background: linear-gradient(135deg, #eaf0fb, #f2f5fb); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 26px;
}
.ref-ico { width: 46px; height: 46px; border-radius: 13px; flex: none; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.ref-ico svg { width: 24px; height: 24px; }
.ref-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.ref-text strong { color: var(--ink); }
@media (max-width: 640px) { .ref-banner { flex-direction: column; text-align: center; padding: 20px; gap: 14px; } }

/* ===== Хедер: выпадающее меню «Интеграции» ===== */.nav-dd { position: relative; }
.nav-dd::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd-toggle svg { width: 11px; height: 11px; transition: transform 0.2s; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease; z-index: 120;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd:hover .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 15px; color: var(--ink); white-space: nowrap; transition: background 0.15s, color 0.15s; }
.nav-dd-menu a:hover { background: var(--bg-soft); color: var(--brand); }

/* Мобильное меню: подраздел интеграций */
.mnav-int-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 12px 8px 4px; }

/* Футер: колонка интеграций */
.footer-int { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.footer-int a { color: var(--ink-2); text-decoration: none; font-size: 16px; transition: color 0.15s; }
.footer-int a:hover { color: var(--brand); }

/* ===== Отраслевые лендинги: статистика и логострип ===== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px 26px; text-align: center; }
.stat-num { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 56px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; line-height: 1; margin: 0 0 12px; }
.stat-label { font-size: 19px; color: var(--muted); line-height: 1.45; margin: 0; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; max-width: 420px; } }

.logos-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; }
.logos-strip img { height: 36px; width: auto; }
.logos-strip .ls-round { height: 48px; }

/* ===== Блог: фильтр-ползунок и сетка ===== */
.blog-filter { position: relative; display: inline-flex; gap: 2px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
.bf-slider { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; background: linear-gradient(95deg, #7a96f4, #2d6ef7); border-radius: 999px; transition: transform 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1); z-index: 0; }
.bf-opt { position: relative; z-index: 1; border: none; background: none; cursor: pointer; padding: 11px 22px; border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color 0.2s; }
.bf-opt.is-active { color: #fff; }
@media (max-width: 720px) { .blog-filter { overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; } .bf-opt { padding: 10px 16px; font-size: 14px; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e6edf9 0%, #c5d8f4 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-thumb svg { width: 52px; height: 52px; color: #fff; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.blog-meta .blog-cat { color: var(--brand); }
.blog-card-title { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.25; letter-spacing: -0.01em; }
.blog-card-desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; flex: 1; }
.blog-card .cc-read { align-self: flex-start; }
.blog-card.is-hidden { display: none; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===== Статья / кейс (лонгрид) ===== */
.article { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 30px; }
.article-title { font-family: 'Unbounded','Manrope',sans-serif; font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin: 14px 0 0; text-wrap: balance; }
.article-title em { color: var(--brand); font-style: normal; }
.article-meta { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.article-cover { aspect-ratio: 16 / 7; border-radius: 24px; background: linear-gradient(135deg, #e6edf9 0%, #c5d8f4 100%); display: flex; align-items: center; justify-content: center; margin: 0 0 36px; overflow: hidden; }
.article-cover svg { width: 72px; height: 72px; color: #fff; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover.cover-full { aspect-ratio: auto; }
.article-cover.cover-full img { height: auto; object-fit: contain; }
.article-lead { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; margin: 0 0 28px; }
.article-body h2 { font-family: 'Unbounded','Manrope',sans-serif; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 40px 0 14px; }
.article-body h3 { font-family: 'Unbounded','Manrope',sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 24px 0 8px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 18px; }
.article-body ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article-body ul li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.article-body ul li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--brand); }
.article-body blockquote { margin: 28px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--brand); font-size: 20px; line-height: 1.55; font-style: italic; color: var(--ink); }
.article-stats { margin: 30px 0 36px; }
.article-cta { margin-top: 44px; }

/* ===== Отраслевые лендинги: «заголовок слева + контент справа» ===== */
.split { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; align-items: start; }
.split-title { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: clamp(32px, 3.6vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.split-title em { color: var(--brand); font-style: normal; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* Лендинг ниши: больше внутренних полей у hero-карточки (ширина как у всех блоков) */
@media (min-width: 769px) { .hero.lp-hero { padding: 44px 72px; gap: 64px; } }

/* Ключевые факты: ровная сетка 3×3 (заголовок занимает первую ячейку) */
.facts-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facts-grid3 .split-title { margin: 0; align-self: center; }
@media (max-width: 900px) { .facts-grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .facts-grid3 { grid-template-columns: 1fr; } }

/* Ключевые факты */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.fact-ico { color: var(--brand); }
.fact-ico svg { width: 28px; height: 28px; }
.fact-card p { margin: 0; font-size: 20px; line-height: 1.3; color: var(--ink-2); }
.fact-card p strong { display: block; color: var(--ink); font-weight: 800; }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } }

/* Цена */
.price-hero { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 24px; padding: 42px; }
.ph-amount { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 24px; }
.ph-sub { font-size: 16px; font-weight: 700; margin: 0 0 14px; opacity: 0.95; }
.price-hero ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-hero li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.4; }
.price-hero li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* Эффект от запуска */
.effect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.effect-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; }
.ec-arrow { position: absolute; top: 24px; right: 24px; color: var(--muted); }
.ec-arrow svg { width: 20px; height: 20px; }
.effect-card h3 { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 12px; padding-right: 30px; letter-spacing: -0.01em; line-height: 1.2; }
.effect-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.effect-note { text-align: center; margin: 32px auto 0; max-width: 760px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.effect-note strong { color: var(--brand); }
@media (max-width: 560px) { .effect-grid { grid-template-columns: 1fr; } }

/* Кейс */
.case-study { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 28px; padding: 40px; max-width: 1100px; margin: 0 auto; }
.cs-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.cs-top:not(:has(.cs-right)) { grid-template-columns: 1fr; }
.cs-badge { display: inline-block; background: var(--brand); color: #fff; font-weight: 700; padding: 9px 18px; border-radius: 999px; font-size: 14px; margin-bottom: 18px; }
.cs-title { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 23px; font-weight: 800; color: var(--ink); margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.01em; }
.cs-desc { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 24px; }
.cs-row { display: grid; grid-template-columns: 118px 1fr; gap: 16px; margin-bottom: 14px; align-items: start; }
.cs-label { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 7px 10px; border-radius: 8px; text-align: center; }
.cs-row p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cs-row p strong { color: var(--ink); }
.cs-hours { background: #fff7d6; border-radius: 16px; padding: 20px; text-align: center; margin-bottom: 18px; }
.cs-hours b { display: block; font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 30px; font-weight: 800; color: var(--ink); }
.cs-hours span { font-size: 14px; color: var(--ink-2); }
.cs-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; text-align: center; }
.cs-nums b { display: block; font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 24px; font-weight: 800; color: var(--brand); }
.cs-nums span { font-size: 12px; color: var(--muted); }
.cs-bars-title { font-weight: 700; font-size: 14px; color: var(--ink); margin: 0 0 12px; }
.cs-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 14px; color: var(--ink-2); }
.cs-bar .cs-track { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: #e5eaf3; overflow: hidden; margin-top: 4px; }
.cs-bar .cs-fill { height: 100%; border-radius: 999px; background: var(--brand); }
.cs-quote { margin: 26px 0 0; padding: 22px 26px; background: #fff; border-radius: 16px; border: 1px solid var(--line); font-style: italic; color: var(--ink-2); line-height: 1.6; font-size: 15px; }
@media (max-width: 760px) { .case-study { padding: 26px; } .cs-top { grid-template-columns: 1fr; gap: 26px; } }

/* Лендинг: hero с широким текстом и формой справа */
@media (min-width: 769px) { .hero.lp-hero:has(.partner-form-card) { grid-template-columns: 1.7fr 1fr; } }
.hero.lp-hero .subtext { max-width: 640px; }
.hero.lp-hero .subtext + .subtext { margin-top: -14px; }
.hero.lp-hero .subtext strong { color: var(--ink); font-weight: 700; }

/* Эффект: график-сравнение */
.effect-chart { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px 32px; }
.effect-chart h3 { font-family: 'Unbounded', 'Manrope', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.01em; }
.ec-cap { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.ec-bars { display: flex; align-items: flex-end; gap: 44px; height: 180px; }
.ec-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; }
.ec-col { width: 84px; border-radius: 12px 12px 0 0; background: var(--bg-soft-2); display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; }
.ec-bar.is-hi .ec-col { background: linear-gradient(180deg, var(--brand), var(--brand-dark)); }
.ec-val { font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 800; font-size: 20px; color: var(--ink-2); }
.ec-bar.is-hi .ec-val { color: #fff; }
.ec-lab { font-size: 13px; color: var(--muted); text-align: center; }
.ec-grow { margin-left: auto; align-self: center; background: #eaf0fb; color: var(--brand); font-family: 'Unbounded','Manrope',sans-serif; font-weight: 800; font-size: 26px; border-radius: 14px; padding: 14px 20px; }
/* мини-визуализация в карточках эффекта */
.ec-spark { height: 40px; width: auto; display: block; margin-top: 18px; }

/* CTA-подзаголовок в одну строку (десктоп) */
.section-sub.cta-oneline { text-wrap: balance; }
@media (min-width: 769px) { .section-sub.cta-oneline { max-width: 720px; } }

/* Кейс: reels-видео и отзыв с аватаром */
.cs-reels { position: relative; background: #0b1330; border-radius: 20px; aspect-ratio: 9 / 16; max-width: 300px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,0.7); text-align: center; padding: 20px; overflow: hidden; }
.cs-reels span { font-size: 14px; }
.cs-reels video, .cs-reels iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* Шортсы-видео (вертикальные 9:16) — горизонтальная лента */
.reels-row { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 16px; margin: 22px 0 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.reel { flex: 0 0 auto; width: 244px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #0b1330; box-shadow: var(--shadow-md); scroll-snap-align: start; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reels-solo { justify-content: center; }
@media (max-width: 480px) { .reel { width: 78vw; max-width: 280px; } }

.cs-video { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; margin: 34px auto 0; border-radius: 18px; overflow: hidden; background: #0b1330; box-shadow: var(--shadow-lg); }
.cs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-quote-wrap { display: flex; gap: 18px; align-items: center; margin-top: 26px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }.cs-avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--bg-soft-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.cs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cs-quote-text { font-style: italic; color: var(--ink-2); line-height: 1.55; font-size: 15px; margin: 0 0 10px; }
.cs-author { font-size: 14px; }
.cs-author b { color: var(--ink); }
.cs-author span { color: var(--muted); }

/* Выравнивание карточек преимуществ: заголовки одной высоты — описания с одной линии */
#advantages .cc-title { min-height: 2.6em; }
@media (max-width: 640px) { #advantages .cc-title { min-height: 0; } }

/* ===== Страница интеграции: пошаговая инструкция ===== */
.istep-list { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.istep {
  display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.istep-num {
  width: 58px; height: 58px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded','Manrope',sans-serif; font-weight: 800; font-size: 23px; color: #fff;
  background: linear-gradient(135deg, #7a96f4, #2d6ef7);
}
.istep-num svg { width: 28px; height: 28px; }
.istep-title { font-family: 'Unbounded','Manrope',sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin: 8px 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.istep-desc { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }
.istep-shot {
  margin-top: 18px; border: 2px dashed #c7d3ea; border-radius: 16px; background: var(--bg-soft);
  min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); font-size: 14px; text-align: center; padding: 24px;
}
.istep-shot svg { width: 36px; height: 36px; opacity: 0.45; }
.istep-shot img { width: 100%; border-radius: 12px; display: block; border: 1px solid var(--line); }
.istep-media { position: relative; margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #0b1330; cursor: zoom-in; }
.istep-media video, .istep-media img { width: 100%; display: block; }
.istep-media.portrait { max-width: 300px; margin-left: 0; margin-right: auto; }
.istep-media::after { content: ""; position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 9px; background: rgba(11,19,48,0.6) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M15%203h6v6M9%2021H3v-6M21%203l-7%207M3%2021l7-7'/%3E%3C/svg%3E") center/17px no-repeat; pointer-events: none; transition: background-color .15s; }
.istep-media:hover::after { background-color: rgba(45,110,247,0.9); }

.media-lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,12,30,0.92); padding: 20px; }
.media-lb.is-open { display: flex; }
.media-lb video, .media-lb img { max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); background: #0b1330; }
.media-lb__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.media-lb__close:hover { background: rgba(255,255,255,0.26); }
.media-lb__close svg { width: 22px; height: 22px; }
.istep-cap { margin: 20px 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.istep-cap:first-of-type { margin-top: 18px; }

/* ===== Страница интеграции: блок помощи ===== */
.help-card {
  display: flex; align-items: center; gap: 26px; max-width: 900px; margin: 0 auto;
  background: linear-gradient(135deg, #eaf0fb, #f2f5fb);
  border: 1px solid var(--line); border-radius: 24px; padding: 30px 34px;
}
.help-ico { width: 58px; height: 58px; border-radius: 16px; flex: none; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.help-ico svg { width: 28px; height: 28px; }
.help-body { flex: 1; }
.help-title { font-family: 'Unbounded','Manrope',sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; line-height: 1.25; }
.help-text { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }
.help-card .cta-primary { flex: none; }
@media (max-width: 760px) {
  .help-card { flex-direction: column; text-align: center; align-items: center; padding: 28px 22px; gap: 18px; }
  .help-card .cta-primary { width: 100%; justify-content: center; }
}
.istep-done { background: linear-gradient(135deg, rgba(45,110,247,0.06), rgba(122,150,244,0.12)); border-color: rgba(45,110,247,0.22); }
.istep-done .istep-num { background: linear-gradient(135deg, #34c08f, #1f9e78); }

/* ===== Страница интеграции: видеоинструкция ===== */
.video-embed { max-width: 900px; margin: 0 auto; }
.video-ph {
  position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #0b1330, #243067);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: rgba(255,255,255,0.72); font-size: 15px; text-align: center; padding: 20px;
}
.video-play {
  width: 78px; height: 78px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.96); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35); transition: transform 0.15s;
}
.video-play:hover { transform: scale(1.07); }
.video-play svg { width: 28px; height: 28px; margin-left: 5px; color: var(--brand); }
.video-ph iframe, .video-ph video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 640px) {
  .istep { grid-template-columns: 46px 1fr; gap: 16px; padding: 20px; }
  .istep-num { width: 46px; height: 46px; font-size: 19px; border-radius: 13px; }
  .istep-num svg { width: 22px; height: 22px; }
  .istep-title { font-size: 17px; }
  .istep-shot { min-height: 150px; }
  .video-play { width: 60px; height: 60px; }
}

/* Страница благодарности /thanks */
.thanks-wrap { max-width: 760px; margin: 40px auto; text-align: center; padding: 20px; }
.thanks-ico { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: rgba(45,110,247,0.1); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.thanks-ico svg { width: 44px; height: 44px; }
.thanks-title { font-family: 'Unbounded','Manrope',sans-serif; font-size: clamp(26px,4vw,38px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
.thanks-text { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 32px; }
.thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.thanks-cases { margin-top: 56px; }
.thanks-cases-title { font-family: 'Unbounded','Manrope',sans-serif; font-size: clamp(19px,2.6vw,25px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 22px; }
.thanks-cases-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; text-align: left; }
.thanks-case { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(20,24,40,0.08); box-shadow: 0 8px 24px -16px rgba(20,24,40,0.35); text-decoration: none; transition: transform .15s, box-shadow .2s, border-color .2s; }
.thanks-case:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -16px rgba(45,110,247,0.45); border-color: rgba(45,110,247,0.4); }
.thanks-case-tag { font-size: 12.5px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.thanks-case-name { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.thanks-case-arrow { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.thanks-cases-more { margin-top: 26px; text-align: center; }
@media (max-width: 640px) { .thanks-cases-grid { grid-template-columns: 1fr; } }
