/* ─────────────────────────────────────────────────────────────
   БЕЛЫЙ КЛЮЧ — ДИЗАЙН-СИСТЕМА «ТРИКОЛОР НЕОН»
   ───────────────────────────────────────────────────────────── */

/* ── Шрифты ── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Токены дизайн-системы ── */
:root {
  --white:           #FFFFFF;
  --off-white:       #F7F9FC;
  --blue:            #0052B4;
  --blue-light:      #1E6FD9;
  --red:             #FF2D55;
  --red-light:       #FF5170;
  --text-primary:    #0A0F1E;
  --text-secondary:  #4B5675;
  --text-muted:      #8A94AE;
  --border:          rgba(0, 82, 180, 0.1);
  --border-glass:    rgba(255, 255, 255, 0.4);

  /* Фирменный градиент */
  --grad:            linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  --grad-h:          linear-gradient(135deg, var(--blue-light) 0%, var(--red-light) 100%);

  /* Premium iOS Liquid Glassmorphism */
  --glass-bg:        rgba(255, 255, 255, 0.45);
  --glass-bg-strong: rgba(255, 255, 255, 0.65);
  --glass-blur:      backdrop-filter: blur(24px) saturate(190%);
  --shadow-soft:     0 4px 24px rgba(0, 82, 180, 0.05);
  --shadow-card:     0 8px 40px rgba(0, 82, 180, 0.08), 0 1px 0 rgba(255,255,255,0.7) inset;
  --shadow-blue:     0 0 30px rgba(0, 82, 180, 0.35), 0 0 60px rgba(0, 82, 180, 0.12);
  --shadow-red:      0 0 30px rgba(255, 45, 85, 0.35),  0 0 60px rgba(255, 45, 85, 0.12);

  /* Радиусы */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Анимации */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --in-oklab: ;
  --in-oklch: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* ── Ресет и базовые стили ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", 'Manrope', 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Иконки (SVG) ── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

svg.icon-grad * {
  stroke: url(#brand-grad);
}

.city-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.plan-zero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.b2b__card-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  opacity: 0.95;
}

/* ── Утилиты ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 82, 180, 0.07);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0, 82, 180, 0.15);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 82, 180, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-h);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  border-radius: inherit;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 82, 180, 0.35);
}

.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── ХЕДЕР ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo__text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all 0.25s;
}

.nav__link:hover {
  color: var(--blue);
  background: rgba(0, 82, 180, 0.06);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Выпадающий список городов */
.city-selector {
  position: relative;
}

.city-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.25s;
  cursor: pointer;
}

.city-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.city-btn__icon { font-size: 14px; }
.city-btn__arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.city-selector.open .city-btn__arrow { transform: rotate(180deg); }

.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease-out);
  z-index: 100;
}

.city-selector.open .city-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.city-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.city-option:hover { background: rgba(0, 82, 180, 0.06); color: var(--blue); }
.city-option.active { color: var(--blue); font-weight: 700; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg var(--in-oklab),
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.82) 50%,
    rgba(0, 82, 180, 0.08) 100%
  );
}

/* Декоративные сферы свечения */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero__glow--blue {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 180, 0.12) 0%, transparent 70%);
  top: -100px;
  right: 5%;
  animation: glow-float 12s ease-in-out infinite alternate;
}

.hero__glow--red {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.09) 0%, transparent 70%);
  bottom: 0;
  right: 20%;
  animation: glow-float 16s ease-in-out infinite alternate-reverse;
}

@keyframes glow-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--red); opacity: 1; }
  50%       { box-shadow: 0 0 14px var(--red); opacity: 0.7; }
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero__zero-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.hero__zero-price .big {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Role Picker Glassmorphism */
.role-picker {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 24px 32px;
  margin: 36px 0;
  text-align: center;
}

.role-picker-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.role-btn {
  padding: 12px 24px;
  border: 1px solid var(--border-glass);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.35s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.role-btn:hover {
  border-color: #1D9E75;
  background: #f0fdf8;
  color: #1D9E75;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(29, 158, 117, 0.15);
}

.role-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Scrolled Target Glow Pulse */
.role-target-glow {
  animation: sectionPulseGlow 2s ease-in-out;
}

@keyframes sectionPulseGlow {
  0% {
    box-shadow: 0 0 0 0px rgba(29, 158, 117, 0);
  }
  20% {
    box-shadow: 0 0 40px 10px rgba(29, 158, 117, 0.25);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(29, 158, 117, 0);
  }
}

/* ── АДРЕС-ЧЕК ── */
.address-check {
  background: var(--off-white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.address-check__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.address-check__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.address-check__form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 580px;
}

.address-input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.address-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 82, 180, 0.1);
}

.address-input::placeholder { color: var(--text-muted); }

.address-check__result {
  font-size: 14px;
  font-weight: 600;
  min-height: 24px;
  transition: all 0.3s;
}

.address-check__result.success { color: #16A34A; }
.address-check__result.error   { color: var(--red); }
.address-check__result.loading { color: var(--blue); }

/* ── КАК ЭТО РАБОТАЕТ ── */
.how-it-works {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,82,180,0.14);
}

.step-card__num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── ПРЕИМУЩЕСТВА ── */
.features {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--r-md);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,82,180,0.12);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 82, 180, 0.22);
}

.feature-card__body { flex: 1; }

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── ТАРИФЫ ── */
.pricing {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,82,180,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* ─ Базовая карточка тарифа ─ */
.pricing-card {
  border-radius: var(--r-lg);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transition: background 0.3s;
}

.pricing-card:hover::before { background: var(--grad); }

/* ─ PLUS-карточки с неоновым свечением и темным фоном ─ */
.pricing-card.plus {
  border: 2px solid transparent;
  background: rgba(8, 11, 24, 0.93) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  background-clip: padding-box;
  position: relative;
  color: var(--white);
}

.pricing-card.plus::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r-lg) + 2px);
  background: var(--grad);
  z-index: -1;
}

.pricing-card.plus::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r-lg) + 2px);
  background: var(--grad);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.55;
  animation: neon-pulse 3s ease-in-out infinite;
}

.pricing-card.plus .plan-name {
  color: var(--white);
}

.pricing-card.plus .plan-tagline {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card.plus .plan-zero {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.plus .plan-zero__text {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card.plus .plan-zero__price {
  color: var(--white);
}

.pricing-card.plus .plan-zero__icon svg * {
  stroke: var(--white);
}

.pricing-card.plus .plan-price__per {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card.plus .plan-feature {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card.plus .plan-feature strong {
  color: var(--white);
}

@keyframes neon-pulse {
  0%, 100% {
    opacity: 0.45;
    filter: blur(12px);
    box-shadow:
      0 0 20px rgba(0,82,180,0.5),
      0 0 60px rgba(255,45,85,0.3);
  }
  50% {
    opacity: 0.75;
    filter: blur(20px);
    box-shadow:
      0 0 40px rgba(0,82,180,0.7),
      0 0 80px rgba(255,45,85,0.5);
  }
}

.pricing-card.plus:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 60px rgba(0,82,180,0.25),
    0 0 80px rgba(255,45,85,0.2);
}

/* Бейдж "PLUS" / "PREMIUM" */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}

.plan-badge.plus-badge {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,82,180,0.3);
}

.plan-badge.base-badge {
  background: rgba(0,82,180,0.08);
  color: var(--blue);
}

.plan-badge.premium-badge {
  background: rgba(255,45,85,0.08);
  color: var(--red);
}

.plan-badge__star { font-size: 12px; }

.plan-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.plan-zero {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,82,180,0.05);
  border: 1px solid rgba(0,82,180,0.1);
  border-radius: var(--r-sm);
  margin-bottom: 24px;
}

.plan-zero__icon { font-size: 18px; }

.plan-zero__text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-zero__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
}

.plan-price {
  margin-bottom: 28px;
}

.plan-price__amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price__per {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-feature__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: white;
  margin-top: 1px;
}

.plan-feature__text { line-height: 1.45; }

/* ── Модуль ИИ-Юрист ── */
.ai-lawyer {
  background: var(--off-white);
  padding: 72px 0;
}

.ai-lawyer__card {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  padding: 48px 56px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.ai-lawyer__icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0,82,180,0.3);
}

.ai-lawyer__body { flex: 1; }

.ai-lawyer__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.ai-lawyer__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.ai-lawyer__price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ai-lawyer__price {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── B2B WHITE LABEL ── */
.b2b {
  background: linear-gradient(135deg var(--in-oklch), #0A1628 0%, #0052B4 50%, #1a0a1e 100%);
  position: relative;
  overflow: hidden;
}

.b2b::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,45,85,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-float 14s ease-in-out infinite;
}

.b2b::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,82,180,0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-float 18s ease-in-out infinite alternate-reverse;
}

.b2b .container { position: relative; z-index: 1; }

.b2b .section-label {
  background: rgba(255,255,255,0.1);
  color: #a5c8ff;
  border-color: rgba(255,255,255,0.15);
}

.b2b .section-title { color: var(--white); }

.b2b .section-subtitle { color: rgba(255,255,255,0.7); max-width: 640px; }

.b2b__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 48px 0;
}

.b2b__card {
  padding: 28px 24px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out);
}

.b2b__card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.b2b__card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.b2b__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.b2b__card-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.b2b__cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 100px;
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ── ФУТЕР ── */
.footer {
  background: #0A0F1E;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.8fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer__corp-item {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.footer__corp-role {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.footer__corp-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1px;
}

.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.footer__logo-icon {
  width: 36px; height: 36px;
  border-radius: 9px; overflow: hidden;
}

.footer__logo-name {
  font-size: 18px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__desc {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 260px;
}

.footer__legal {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--white); }

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── МОБАЙЛ ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .address-check__form { flex-direction: column; border-radius: var(--r-md); }
  .address-input { border-radius: var(--r-md) !important; }
  .ai-lawyer__card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .role-buttons { flex-direction: column; width: 100%; gap: 12px; }
  .role-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .section-title { font-size: 1.75rem; }
  .b2b__cta-wrap { flex-direction: column; align-items: flex-start; }
}

/* ── ДОСТУПНОСТЬ И REDUCED MOTION ── */
@property --animation-reduced {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { --animation-reduced: none !important; }
}

/* ── СКРОЛЛБАР ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 100px; }

/* ── ПРЕМИУМ ПОЛОСА ГОСУДАРСТВЕННОГО ТРИКОЛОРА РФ ── */
.tricolor-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  display: flex;
  z-index: 2000; /* Самый высокий приоритет поверх всего */
}
.tricolor-strip__color {
  flex: 1;
  height: 100%;
}
.tricolor-strip__color--white { background: #FFFFFF; }
.tricolor-strip__color--blue  { background: #0039A6; } /* Синий по ГОСТ */
.tricolor-strip__color--red   { background: #D52B1E; }  /* Красный по ГОСТ */

/* ── СЕЛЕКТОР ЯЗЫКОВ [RU / EN] В СТИЛЕ iOS ── */
.lang-selector {
  display: inline-flex;
  background: rgba(0, 82, 180, 0.05);
  border: 1px solid rgba(0, 82, 180, 0.08);
  padding: 2px;
  border-radius: 10px;
  gap: 1px;
  align-items: center;
  align-self: center;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: transparent;
}
.lang-btn.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 82, 180, 0.12);
}

/* ── МОБИЛЬНОЕ МЕНЮ (Slide-in Drawer с эффектом размытия) ── */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-20px);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 40px 24px;
}
.mobile-nav__link {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.25s, transform 0.25s;
}
.mobile-nav__link:hover {
  color: var(--blue);
}

/* Анимация гамбургера в крестик при открытии */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── ПРУЖИННЫЕ МИКРО-АНИМАЦИИ iOS SPRING PRESS ── */
.btn, .nav__link, .city-btn, .lang-btn, .mobile-nav__link, .floating-cta__btn {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, box-shadow 0.25s, color 0.25s, opacity 0.25s;
}
.btn:hover, .nav__link:hover, .city-btn:hover, .lang-btn:hover, .mobile-nav__link:hover, .floating-cta__btn:hover {
  transform: scale(1.025) translateY(-2px);
}
.btn:active, .nav__link:active, .city-btn:active, .lang-btn:active, .mobile-nav__link:active, .floating-cta__btn:active {
  transform: scale(0.96) translateY(0);
}

/* ── ПЛАВНЫЙ ПЕРЕХОД ПРИ СМЕНЕ ЯЗЫКА (i18n fade) ── */
body.switching-lang [data-i18n] {
  opacity: 0;
  transform: scale(0.99);
}
[data-i18n] {
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── ПРЕМИУМ FLOATING CTA В СТИЛЕ iOS ── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-cta.visible {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}
.floating-cta__btn {
  box-shadow: 0 12px 32px rgba(0, 82, 180, 0.25);
  padding: 14px 22px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--grad);
  color: var(--white);
  position: relative;
  border: 1px solid rgba(255,255,255,0.25);
}
.floating-cta__btn .pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse-dot-cta 1.6s ease-in-out infinite;
}
@keyframes pulse-dot-cta {
  0%, 100% { box-shadow: 0 0 6px var(--red); opacity: 1; transform: scale(1); }
  50%       { box-shadow: 0 0 14px var(--red); opacity: 0.7; transform: scale(1.2); }
}
@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  .floating-cta__btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* ── ИНТЕРАКТИВНАЯ КАРТА ПОКРЫТИЯ (Leaflet + iOS-style) ── */
.map-container {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  padding: 12px;
  margin-top: 48px;
}
.map-element {
  height: 500px;
  border-radius: calc(var(--r-xl) - 8px);
  z-index: 1;
}
.map-legend {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot--blue {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}
.legend-dot--red {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* Кастомные iOS-маркеры */
.pulsing-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulsing-marker::after {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  animation: marker-pulse 1.8s infinite ease-out;
}
.pulsing-marker--blue {
  background: var(--blue);
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(0, 82, 180, 0.5);
}
.pulsing-marker--blue::after {
  background: rgba(0, 82, 180, 0.4);
}
.pulsing-marker--red {
  background: var(--red);
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}
.pulsing-marker--red::after {
  background: rgba(255, 45, 85, 0.4);
}

@keyframes marker-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Корректировка Leaflet всплывашек под iOS Liquid Glass */
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--r-sm) !important;
  box-shadow: var(--shadow-soft) !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
}

@media (max-width: 768px) {
  .map-element {
    height: 380px;
  }
  .map-legend {
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 10px 14px;
    flex-direction: row;
    justify-content: space-around;
  }
}

/* ══════════════════════════════════════════════════
   КИЛЛЕР-ФИЧИ ДЛЯ ЖИЛЬЦОВ (BENTO TABS EDITION)
   ══════════════════════════════════════════════════ */
.killer-features {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.killer-features::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 82, 180, 0.03) 0%, rgba(255, 45, 85, 0.01) 100%);
  filter: blur(120px);
  pointer-events: none;
}

/* iOS Segmented Control Tab Switcher */
.bento-tabs-control {
  display: flex;
  background: rgba(0, 82, 180, 0.05);
  border-radius: 100px;
  padding: 5px;
  gap: 4px;
  max-width: 680px;
  margin: 0 auto 48px;
  border: 1px solid rgba(0, 82, 180, 0.08);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 82, 180, 0.02);
  z-index: 10;
}

.bento-tab-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.35s var(--ease-spring);
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bento-tab-btn:hover {
  color: var(--blue-light);
}

.bento-tab-btn.active {
  background: var(--white);
  color: var(--blue-light);
  box-shadow: 0 4px 15px rgba(0, 82, 180, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* Bento Grids Container */
.bento-grids-container {
  position: relative;
  min-height: 580px;
  z-index: 5;
}

.bento-grid {
  display: none;
  opacity: 0;
  transform: scale(0.98) translateY(12px);
  transition: opacity 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-grid.active {
  display: grid;
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Доступ и Сервисы - 3 колонки (1 большая, 2 маленьких) */
.bento-grid--access, .bento-grid--services {
  grid-template-columns: 1.3fr 1fr;
}

.bento-card--large {
  grid-row: span 2;
  min-height: 580px !important;
}

/* Bento Card */
.bento-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 278px;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 82, 180, 0.08);
}

.bento-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 82, 180, 0.15);
  background: rgba(0, 82, 180, 0.06);
  color: var(--blue-light);
  z-index: 10;
}

.bento-card__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.bento-card__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 90%;
}

/* 🔓 Внутренний Виджет: Замок */
.widget-lock-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
  margin-top: 12px;
}

.sim-large-key-btn {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(0, 82, 180, 0.04);
  border: 4px solid rgba(0, 82, 180, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 0 30px rgba(0, 82, 180, 0.05);
}

.sim-large-key-btn.unlocked {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.25);
}

.sim-large-key-inner {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 40px;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 82, 180, 0.25);
}

.sim-large-key-btn.unlocked .sim-large-key-inner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.sim-large-key-inner svg {
  width: 44px;
  height: 44px;
  stroke: white;
}

.sim-key-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-key-circle-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #10b981;
  opacity: 0;
  pointer-events: none;
}

.sim-large-key-btn.unlocked .sim-key-circle-pulse {
  animation: key-pulse 1.5s infinite ease-out;
}

@keyframes key-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ⏳ Внутренний Виджет: Временный пропуск */
.sim-glass-card {
  background: rgba(0, 82, 180, 0.03);
  border: 1px solid rgba(0, 82, 180, 0.08);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.sim-qr-container {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,82,180,0.1);
}

.sim-qr-scanline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: qr-scan 2s infinite ease-in-out;
}

@keyframes qr-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.sim-timer {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  font-family: monospace;
}

.sim-copy-btn {
  background: rgba(0, 82, 180, 0.05);
  border: 1px solid rgba(0, 82, 180, 0.1);
  color: var(--blue-light);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  width: 100%;
  transition: all 0.3s;
}

.sim-copy-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* 📞 Внутренний Виджет: SIP Домофония */
.sim-sip-window {
  width: 100%;
  background: #101217;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}

.sim-sip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1b1e25 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat center;
  background-size: 52px;
}

.sim-sip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

.sim-sip-caller {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sim-sip-name {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.sim-sip-tag {
  color: #10b981;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sim-sip-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 4px;
}

.sim-sip-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s;
}

.sim-sip-btn:hover {
  transform: scale(1.1);
}

.sim-sip-btn--decline {
  background: #ff3b30;
}

.sim-sip-btn--accept {
  background: #34c759;
  animation: sip-pulse 1.5s infinite ease-in-out;
}

@keyframes sip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

/* 🚨 Внутренний Виджет: SOS Тревога */
.widget-sos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 12px;
  margin-top: 16px;
}

.sim-sos-btn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #ff3b30;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 40px rgba(255, 59, 48, 0.35);
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sim-sos-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.3);
  animation: sos-wave 1.8s infinite ease-out;
}

@keyframes sos-wave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.sim-sos-btn.triggered {
  background: #111;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid #ff3b30;
}

.sim-sos-btn.triggered::before {
  animation: none;
}

.sim-sos-status {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.sim-sos-sub {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 220px;
}

/* 🛡️ Внутренний Виджет: Страховка */
.sim-insurance-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 2px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.sim-insurance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(212,175,55,0.15) 50%, transparent 55%);
  animation: ins-shine 4s infinite linear;
}

@keyframes ins-shine {
  0% { transform: translate(-30%, -30%); }
  100% { transform: translate(30%, 30%); }
}

.sim-insurance-shield {
  font-size: 40px;
  color: #d4af37;
  text-shadow: 0 0 15px rgba(212,175,55,0.3);
}

.sim-insurance-status {
  font-size: 9px;
  font-weight: 700;
  color: #d4af37;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sim-insurance-coverage {
  text-align: center;
}

.sim-insurance-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.sim-insurance-lbl {
  font-size: 10px;
  color: var(--text-secondary);
}

/* ⚙️ Внутренний Виджет: Оплата ЖКУ */
.sim-utility-card {
  background: linear-gradient(135deg, rgba(30,111,217,0.06) 0%, rgba(255,45,85,0.06) 100%);
  border: 1px solid rgba(30,111,217,0.15);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.sim-utility-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sim-utility-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  transition: color 0.3s;
}

.sim-pay-btn {
  background: var(--grad);
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 100px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(255,45,85,0.2);
  transition: all 0.3s;
}

.sim-pay-btn:active {
  transform: scale(0.97);
}

/* 🔨 Внутренний Виджет: Заявки ТСЖ */
.sim-ticket-card {
  background: rgba(0, 82, 180, 0.04);
  border: 1px solid rgba(0, 82, 180, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-ticket-badge {
  align-self: flex-start;
  font-size: 8px;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(30,111,217,0.1);
  border: 1px solid rgba(30,111,217,0.2);
  padding: 2px 6px;
  border-radius: 100px;
}

.sim-ticket-title {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.sim-ticket-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.sim-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,82,180,0.12);
}

.sim-progress-dot.active {
  background: var(--blue-light);
  box-shadow: 0 0 6px var(--blue-light);
}

.sim-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(0,82,180,0.08);
  margin: 0 4px;
}

.sim-progress-line.active {
  background: var(--blue-light);
}

/* 🔔 Внутренний Виджет: Push-уведомление */
.ios-push-notification {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.push-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 6px;
}

.push-app {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.push-app img {
  border-radius: 4px;
}

.push-title {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
}

.push-body {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.4;
}

/* 🗳️ Внутренний Виджет: Онлайн голосование */
.sim-vote-card {
  background: rgba(0, 82, 180, 0.03);
  border: 1px solid rgba(0, 82, 180, 0.08);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.sim-vote-title {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.sim-vote-legit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #10b981;
  font-weight: 700;
}

.sim-vote-option {
  background: var(--white);
  border: 1px solid rgba(0, 82, 180, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.sim-vote-option:hover {
  background: rgba(0, 82, 180, 0.04);
  border-color: rgba(0, 82, 180, 0.15);
}

.sim-vote-option span {
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 700;
}

.sim-vote-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* 🛒 Внутренний Виджет: Маркетплейс */
.sim-view--market {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sim-market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sim-market-item {
  background: var(--white);
  border: 1px solid rgba(0, 82, 180, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.sim-market-item:hover {
  background: rgba(0, 82, 180, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.sim-market-icon {
  font-size: 20px;
}

.sim-market-label {
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   АДАПТИВНОСТЬ
   ══════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .bento-card--large {
    grid-row: span 1;
    min-height: 480px !important;
  }
  
  .bento-grids-container {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .killer-features {
    padding: 64px 0;
  }
  .bento-tabs-control {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 6px;
  }
  .bento-tab-btn {
    flex: none;
    width: 48%;
    padding: 10px;
    font-size: 13px;
  }
  .bento-card {
    padding: 24px;
    min-height: 240px;
  }
  .bento-card__title {
    font-size: 1.15rem;
  }
  .bento-card__desc {
    font-size: 12.5px;
    max-width: 100%;
  }
}

