/* ─── Benefits Section Mocks · 2026-05-18 ─────────────────────
   2 варианта переоформления секции «Всё, что нужно бизнесу»:
   - body.bento-c → Mock C: Bento Grid (asymmetric, AI 2×2 featured)
   - body.bento-d → Mock D: Featured Flagship + Sliding Tabs
   ─────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   Shared card styles (used in Mock D tab content)
   ═══════════════════════════════════════════════════════════ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 48px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(10, 13, 20, 0.08);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .3s, border-color .25s;
  overflow: hidden;
}
@media (hover: hover) {
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.10);
  border-color: rgba(0, 102, 255, 0.30);
}
}
.bento-card-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.18);
  color: var(--brand);
  margin-bottom: 14px;
}
.bento-card-icon svg { width: 22px; height: 22px; }
.bento-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.bento-card-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--l-muted);
  margin-bottom: 14px;
}
.bento-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.78rem;
}
.bento-card-price { color: var(--brand); font-weight: 700; }
.bento-card-time { color: var(--l-muted); }
.bento-card-arrow {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,102,255,0.08);
  border-radius: 50%;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
@media (hover: hover) {
.bento-card:hover .bento-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
}
.bento-card-arrow svg { width: 14px; height: 14px; }

/* Featured AI card 2×2 */
.bento-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #0066ff 0%, #4f46e5 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.4);
  padding: 36px;
  justify-content: space-between;
}
.bento-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(99,102,241,0.30), transparent 50%);
  pointer-events: none;
}
.bento-card--featured > * { position: relative; z-index: 1; }
.bento-card--featured .bento-card-icon {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  width: 52px; height: 52px;
}
.bento-card--featured .bento-card-icon svg { width: 26px; height: 26px; }
.bento-card--featured .bento-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
  width: max-content;
}
.bento-card--featured .bento-card-kicker .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: kicker-pulse 2s ease-in-out infinite;
}
.bento-card--featured .bento-card-title {
  color: #ffffff;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}
.bento-card--featured .bento-card-text {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin-bottom: 18px;
  max-width: 80%;
}
.bento-usecases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bento-usecase {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(8px);
}
.bento-usecase-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.bento-card--featured .bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--brand);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  width: max-content;
  transition: transform .2s;
}
@media (hover: hover) {
.bento-card--featured .bento-cta:hover { transform: translateX(4px); }
}
.bento-card--featured .bento-cta svg { width: 14px; height: 14px; }

/* CTA "free offers" card — variant */
.bento-card--cta {
  background: linear-gradient(135deg, rgba(0,102,255,0.05), rgba(99,102,241,0.05)), #ffffff;
  border: 1px dashed rgba(0, 102, 255, 0.30);
}
.bento-card--cta .bento-card-icon {
  background: rgba(0,102,255,0.12);
}
.bento-card--cta .bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  width: max-content;
}

@media (max-width: 968px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--featured { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 540px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento-card--featured { grid-column: span 1; }
}


/* ═══════════════════════════════════════════════════════════
   MOCK D — Featured Flagship + Sliding Tabs
   ═══════════════════════════════════════════════════════════ */

.benefits-mock-d { margin-top: 48px; }

/* Flagship hero card */
.flagship-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: 40px;
  background: linear-gradient(135deg, #0066ff 0%, #4f46e5 50%, #06b6d4 100%);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate; /* 2026-05-20: containment for nested backdrop-filter on .flagship-usecase */
  margin-bottom: 56px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 102, 255, 0.20);
}
.flagship-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(99,102,241,0.35), transparent 50%);
  pointer-events: none;
}
.flagship-card > * { position: relative; z-index: 1; }
.flagship-left .bento-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  width: max-content;
}
.flagship-left .bento-card-kicker .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
  animation: kicker-pulse 2s infinite;
}
.flagship-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.flagship-text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
}
.flagship-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #ffffff;
  color: var(--brand);
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  width: max-content;
  transition: transform .2s, box-shadow .25s;
}
@media (hover: hover) {
.flagship-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
}
.flagship-cta svg { width: 14px; height: 14px; }

/* Right side: 6 use-cases grid 2×3 */
.flagship-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.flagship-usecase {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background .25s, transform .25s;
}
@media (hover: hover) {
.flagship-usecase:hover {
  background: rgba(255,255,255,0.20);
  transform: translateX(3px);
}
}
.flagship-usecase svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .flagship-card { grid-template-columns: 1fr; padding: 28px; }
  .flagship-right { grid-template-columns: 1fr; }
}

/* Tabs */
.benefits-tabs {
  position: relative;
  display: inline-flex;
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(10, 13, 20, 0.08);
  border-radius: 9999px;
  padding: 6px;
  margin: 0 auto 40px;
  gap: 4px;
}
.benefits-tabs-wrap {
  text-align: center;
}
.benefits-tab {
  position: relative;
  z-index: 1;
  padding: 10px 22px;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--l-mid);
  cursor: pointer;
  transition: color .25s;
  white-space: nowrap;
}
.benefits-tab.active { color: #ffffff; }
.benefits-tab-pill {
  position: absolute;
  top: 6px;
  height: calc(100% - 12px);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 9999px;
  z-index: 0;
  box-shadow: 0 4px 14px rgba(0,102,255,0.30);
  transition: left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1);
}

/* Tab content (3-column row of services) */
.benefits-tab-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefits-tab-content { display: none; }
.benefits-tab-content.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  animation: tab-fade-in .35s ease both;
}
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Tab label visibility — full on desktop, short on mobile */
.benefits-tab .tab-short { display: none; }

@media (max-width: 768px) {
  .benefits-tab-content.active { grid-template-columns: 1fr; }
  .benefits-tabs { flex-wrap: nowrap; gap: 4px; }
  .benefits-tab { padding: 8px 16px; font-size: 0.88rem; }
  .benefits-tab .tab-full { display: none; }
  .benefits-tab .tab-short { display: inline; }
}



/* ─── Blob shapes на .bento-card-icon · 2026-05-19 (Mock 1 раскатан) ── */
#benefits .bento-card-icon {
  width: 56px !important;
  height: 56px !important;
  border: none !important;
  background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%) !important;
  box-shadow: 0 12px 28px -8px rgba(0, 102, 255, 0.36), 0 0 22px -4px rgba(0, 102, 255, 0.40) !important;
  color: #fff !important;
  margin-bottom: 16px !important;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  will-change: transform;
}
#benefits .bento-card-icon svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #fff !important;
  color: #fff !important;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
/* ::after blob removed 2026-05-20 v2c — GPU jank fix (blur + overflow:hidden parent). Glow перенесён в multi-layer box-shadow выше. */
@media (hover: hover) {
#benefits .bento-card:hover .bento-card-icon {
  transform: scale(1.06);
  box-shadow: 0 16px 40px -8px rgba(0, 102, 255, 0.50), 0 0 32px -2px rgba(0, 102, 255, 0.55) !important;
}
}
/* 9 unique blob shapes */
#benefits .bento-card:nth-child(1) .bento-card-icon { border-radius: 62% 38% 50% 50% / 42% 50% 50% 58%; }
#benefits .bento-card:nth-child(2) .bento-card-icon { border-radius: 32% 68% 68% 32% / 50% 50% 50% 50%; background: linear-gradient(135deg, #06b6d4 0%, #0066ff 100%) !important; }
#benefits .bento-card:nth-child(3) .bento-card-icon { border-radius: 24% 76% 24% 76% / 24% 24% 76% 76%; background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%) !important; }
#benefits .bento-card:nth-child(4) .bento-card-icon { border-radius: 50% 50% 70% 30% / 30% 70% 50% 50%; background: linear-gradient(135deg, #0066ff 0%, #06b6d4 100%) !important; }
#benefits .bento-card:nth-child(5) .bento-card-icon { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; background: linear-gradient(135deg, #6366f1 0%, #0066ff 100%) !important; }
#benefits .bento-card:nth-child(6) .bento-card-icon { border-radius: 70% 30% 50% 50% / 50% 50% 30% 70%; background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%) !important; }
#benefits .bento-card:nth-child(7) .bento-card-icon { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
#benefits .bento-card:nth-child(8) .bento-card-icon { border-radius: 38% 62% 50% 50% / 58% 42% 58% 42%; background: linear-gradient(135deg, #06b6d4 0%, #0066ff 100%) !important; }
#benefits .bento-card:nth-child(9) .bento-card-icon { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%) !important; }

/* ═════════════════
