/* ============================================================
   BotDev Portfolio — Стили
   ============================================================ */

/* ============================================================
   1. CSS-ПЕРЕМЕННЫЕ И СБРОС
   ============================================================ */
:root {
  --color-bg:          #04080f;
  --color-bg-dark:     #020609;
  --color-bg-card:     #080f1e;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-blue: rgba(37, 99, 235, 0.3);

  --color-blue:        #2563eb;
  --color-blue-light:  #3b82f6;
  --color-cyan:        #0891b2;
  --color-cyan-light:  #38bdf8;
  --color-white:       #ffffff;
  --color-text:        #94a3b8;
  --color-text-bright: #cbd5e1;
  --color-text-muted:  #475569;

  --gradient-primary:  linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --gradient-card:     linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(8,145,178,0.03) 100%);

  --glow-blue:    0 0 40px rgba(37, 99, 235, 0.35);
  --glow-cyan:    0 0 40px rgba(8, 145, 178, 0.3);
  --shadow-card:  0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.5);

  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  /* Плавный cubic-bezier вместо ease — ощущение премиума */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   2. ТИПОГРАФИКА И ОБЩИЕ БЛОКИ
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--dark {
  background-color: var(--color-bg-dark);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan-light);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--color-text);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 3px 10px;
}

.tag--blue {
  color: var(--color-cyan-light);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.logo:hover { opacity: 0.9; }

.logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo__img {
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.55));
}

.logo__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__subtitle {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Мобильный адаптив логотипа */
@media (max-width: 640px) {
  .logo__img { width: 36px; height: 36px; }
  .logo__title { font-size: 16px; }
  .logo__subtitle { display: none; }
}

/* ============================================================
   3. КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* Shimmer-эффект */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 100%; }

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.55);
}

.btn--tg {
  background: linear-gradient(135deg, #2979ff, #00b0ff);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(41, 121, 255, 0.35);
}
.btn--tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(41, 121, 255, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-bright);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-blue-light);
  color: var(--color-cyan-light);
  transform: translateY(-2px);
}

.btn--sm  { font-size: 13px; padding: 9px 18px; border-radius: var(--radius-sm); }
.btn--lg  { font-size: 17px; padding: 16px 38px; border-radius: var(--radius-lg); }

/* ============================================================
   4. ХЕДЕР
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(4, 8, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--color-border), 0 4px 24px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav { flex: 1; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

.header__tg { margin-left: auto; }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px;
  margin-left: auto;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   5. МОБИЛЬНОЕ МЕНЮ
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: rgba(4, 8, 15, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--color-border);
  z-index: 99;
  padding: 90px 20px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}

.mobile-nav__link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 13px 16px;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav__link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.05);
}

.mobile-nav__btn { width: 100%; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.overlay.active { opacity: 1; pointer-events: all; }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Сетка фона */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hero__glow--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  opacity: 0.18;
  top: -250px; right: -150px;
}
.hero__glow--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #0891b2, transparent 70%);
  opacity: 0.12;
  bottom: -150px; left: -100px;
}

.hero__particles { position: absolute; inset: 0; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-cyan-light);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s var(--ease-out) both;
}

.hero__title {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}

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

.hero__subtitle {
  font-size: 17px;
  color: var(--color-text-bright);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

/* Строка доверия под кнопками */
.hero__trust-line {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 28px;
  animation: fadeInUp 0.7s var(--ease-out) 0.35s both;
}

/* Бейджи услуг вместо выдуманных цифр */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
}

.hero__badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-bright);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 7px 16px;
  transition: border-color var(--transition), background var(--transition);
}

.hero__badge-item:hover {
  border-color: var(--color-border-blue);
  background: rgba(37,99,235,0.08);
}

/* Визуальный блок */
.hero__visual {
  position: relative;
  height: 520px;
  animation: fadeInRight 0.9s var(--ease-out) 0.25s both;
}

/* ============================================================
   7. МОКАПЫ
   ============================================================ */

/* Ноутбук */
.mockup-laptop {
  position: absolute;
  top: 0; left: 0;
  width: 410px;
}

.mockup-laptop__screen {
  background: #060d1c;
  border: 1.5px solid rgba(37,99,235,0.25);
  border-radius: 10px 10px 0 0;
  padding: 8px;
  box-shadow: var(--glow-blue), var(--shadow-card);
  overflow: hidden;
}
.mockup-laptop__base {
  height: 14px;
  background: linear-gradient(#0b1628, #08111e);
  border: 1.5px solid rgba(37,99,235,0.2);
  border-top: none;
  border-radius: 0 0 3px 3px;
}
.mockup-laptop__foot {
  height: 5px;
  background: #040a12;
  border-radius: 0 0 5px 5px;
  margin: 0 18px;
  border: 1px solid rgba(255,255,255,0.05);
  border-top: none;
}

.mockup-browser {
  background: #040a12;
  border-radius: 5px;
  overflow: hidden;
  min-height: 250px;
}
.mockup-browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: #070f1e;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }

.mockup-browser__url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
  padding: 3px 8px;
  font-family: var(--font-mono);
}

.mockup-browser__content { padding: 10px; }
.mb-nav-line {
  height: 7px;
  background: rgba(37,99,235,0.3);
  border-radius: 4px;
  margin-bottom: 14px;
}
.mb-hero-block {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 14px;
}
.mb-line { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; margin-bottom: 7px; }
.mb-line--wide   { width: 75%; }
.mb-line--medium { width: 55%; }
.mb-line--bright { background: rgba(37,99,235,0.45); height: 9px; }
.mb-btn-row { display: flex; gap: 7px; margin-top: 10px; }
.mb-btn { height: 18px; border-radius: 3px; width: 65px; }
.mb-btn--blue    { background: rgba(37,99,235,0.65); }
.mb-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,0.12); }
.mb-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mb-card {
  height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 5px;
}

/* Телефон */
.mockup-phone {
  position: absolute;
  bottom: 0; right: -10px;
  width: 195px;
  background: #060d1c;
  border: 1.5px solid rgba(8,145,178,0.3);
  border-radius: 26px;
  box-shadow: var(--glow-cyan), var(--shadow-card);
  overflow: hidden;
  will-change: transform;
  animation: float 4.5s ease-in-out infinite;
}
.mockup-phone__screen { padding: 14px 9px; min-height: 360px; }
.mockup-phone__home {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mockup-phone__home::after {
  content: '';
  width: 55px; height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
}

/* Чат внутри телефона */
.tg-chat__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 9px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 9px;
}
.tg-chat__avatar { font-size: 20px; }
.tg-chat__name { font-size: 11px; font-weight: 700; color: var(--color-white); }
.tg-chat__status { font-size: 9px; color: #22c55e; }

.tg-chat__messages { display: flex; flex-direction: column; gap: 6px; margin-bottom: 9px; }
.tg-msg {
  font-size: 10px;
  padding: 6px 9px;
  border-radius: 10px;
  max-width: 88%;
  line-height: 1.4;
}
.tg-msg--bot {
  background: rgba(37,99,235,0.18);
  color: var(--color-text-bright);
  align-self: flex-start;
  border-radius: 2px 10px 10px 10px;
}
.tg-msg--user {
  background: rgba(8,145,178,0.22);
  color: var(--color-cyan-light);
  align-self: flex-end;
  border-radius: 10px 2px 10px 10px;
}

.tg-chat__keyboard { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tg-key {
  font-size: 9px;
  padding: 5px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 6px;
  text-align: center;
  color: var(--color-text-bright);
}

/* Плавающие карточки */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(6, 14, 30, 0.92);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  will-change: transform;
}
.float-card__icon { font-size: 15px; }
.float-card--1 {
  top: 28px; right: 195px;
  animation: float 3.2s ease-in-out infinite;
}
.float-card--2 {
  bottom: 55px; left: 10px;
  animation: float 3.8s ease-in-out 0.6s infinite;
}

/* ============================================================
   9. УСЛУГИ
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-blue);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37,99,235,0.15);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}
.service-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 18px;
  line-height: 1.65;
}
.service-card__list { display: flex; flex-direction: column; gap: 6px; }
.service-card__list li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-cyan-light);
  font-size: 11px;
  line-height: 1.6;
}

/* ============================================================
   10. РАБОТЫ
   ============================================================ */
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-blue);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(37,99,235,0.15);
}

.work-card__preview {
  height: 210px;
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.work-card__preview--barber { background: linear-gradient(135deg, #070c17 0%, #0b1628 100%); }
.work-card__preview--moto   { background: linear-gradient(135deg, #07101e 0%, #0c1b32 100%); }
.work-card__preview--shop   { background: linear-gradient(135deg, #060c18 0%, #091525 100%); }

/* Превью чат барбершопа */
.preview-chat {
  background: rgba(4,10,24,0.9);
  border: 1px solid rgba(37,99,235,0.22);
  border-radius: 12px;
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.preview-chat__header {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.preview-chat__msg {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--color-text);
}
.preview-chat__msg--bot {
  background: rgba(37,99,235,0.12);
  align-self: flex-start;
  border-radius: 2px 8px 8px 8px;
}
.preview-chat__keys { display: flex; gap: 5px; }
.preview-key {
  font-size: 9px;
  padding: 4px 9px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 5px;
  color: var(--color-text);
}
.preview-key.active {
  background: rgba(37,99,235,0.35);
  border-color: var(--color-blue);
  color: var(--color-white);
}

/* Превью сайт мотосервис */
.preview-site {
  height: 100%;
  background: #04080f;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.preview-site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ps-logo { width: 36px; height: 7px; background: var(--gradient-primary); border-radius: 3px; }
.ps-links { display: flex; gap: 5px; }
.ps-link { width: 22px; height: 4px; background: rgba(255,255,255,0.12); border-radius: 2px; }
.preview-site__hero { padding: 16px 10px 10px; text-align: center; }
.ps-moto { font-size: 32px; margin-bottom: 8px; }
.ps-title { height: 8px; width: 65%; background: rgba(255,255,255,0.18); border-radius: 3px; margin: 0 auto 5px; }
.ps-subtitle { height: 6px; width: 50%; background: rgba(255,255,255,0.09); border-radius: 3px; margin: 0 auto 10px; }
.ps-cta { height: 20px; width: 80px; background: var(--gradient-primary); border-radius: 3px; margin: 0 auto; }
.preview-site__services { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 8px 10px; }
.ps-card {
  height: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 5px;
}

/* Превью магазин */
.preview-shop {
  height: 100%;
  background: rgba(4,10,24,0.9);
  border: 1px solid rgba(8,145,178,0.18);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.preview-shop__header {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.preview-shop__items { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shop-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
}
.shop-item__img { font-size: 18px; }
.shop-item__info { flex: 1; }
.shop-item__name { height: 5px; background: rgba(255,255,255,0.14); border-radius: 3px; margin-bottom: 4px; width: 65%; }
.shop-item__price { font-size: 9px; color: var(--color-cyan-light); font-weight: 600; }
.shop-item__btn {
  width: 20px; height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
}
.preview-shop__footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-total { font-size: 10px; font-weight: 600; color: var(--color-white); }
.shop-order-btn { font-size: 9px; padding: 4px 9px; background: var(--gradient-primary); border-radius: 5px; color: white; font-weight: 600; }

.work-card__body { padding: 22px 22px 26px; }
.work-card__tags { display: flex; gap: 7px; margin-bottom: 10px; }
.work-card__title { font-size: 18px; font-weight: 700; color: var(--color-white); letter-spacing: -0.01em; margin-bottom: 8px; }
.work-card__text { font-size: 14px; color: var(--color-text); margin-bottom: 18px; line-height: 1.6; }

/* ============================================================
   11. ПРЕИМУЩЕСТВА
   ============================================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 28px 22px;
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.07), transparent 65%);
  opacity: 0;
  transition: opacity var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-blue);
}
.benefit-card:hover::after { opacity: 1; }

.benefit-card__icon { font-size: 32px; margin-bottom: 14px; display: block; }
.benefit-card__title { font-size: 16px; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.benefit-card__text { font-size: 14px; color: var(--color-text); line-height: 1.6; }

/* ============================================================
   12. ПРОЦЕСС
   ============================================================ */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.process__step-num {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: transparent;
  -webkit-text-stroke: 1px rgba(37,99,235,0.25);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.process__step-line {
  position: absolute;
  top: 26px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,0.5), rgba(8,145,178,0.1));
}
.process__step-line--last { display: none; }

.process__step-body {
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  margin-top: 14px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.process__step-body:hover {
  border-color: var(--color-border-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.15);
}
.process__step-icon { font-size: 28px; margin-bottom: 12px; }
.process__step-title { font-size: 16px; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.process__step-text { font-size: 13px; color: var(--color-text); line-height: 1.6; }

/* ============================================================
   13. ОБО МНЕ
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Текстовая часть */
.about__content { display: flex; flex-direction: column; }

.about__title { text-align: left; margin-bottom: 20px; }

.about__text {
  font-size: 15px;
  color: var(--color-text-bright);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about__text--secondary { color: var(--color-text); margin-bottom: 28px; }

.about__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.about__list-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-bright);
}
.about__list-icon {
  color: var(--color-cyan-light);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.about__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Фото-колонка */
.about__photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about__photo-card {
  position: relative;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
}

.about__photo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(8,145,178,0.3));
  z-index: 0;
}

.about__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 24px 80px rgba(0, 120, 255, 0.22), 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(0, 180, 255, 0.18);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.about__photo:hover {
  box-shadow: 0 28px 90px rgba(0, 120, 255, 0.35), 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

/* Карточка под фото */
.about__person-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-blue);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}
.about__person-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.about__person-role {
  font-size: 13px;
  color: var(--color-cyan-light);
  margin-bottom: 6px;
}
.about__person-tags {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================================
   14. CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__glow { position: absolute; border-radius: 50%; filter: blur(110px); }
.cta__glow--1 {
  width: 600px; height: 600px;
  background: var(--color-blue);
  opacity: 0.12;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta__glow--2 {
  width: 350px; height: 350px;
  background: var(--color-cyan);
  opacity: 0.09;
  top: -50px; right: -50px;
}

/* Блок CTA с рамкой-свечением */
.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(8,15,30,0.6);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: 0 0 80px rgba(37,99,235,0.1), inset 0 0 60px rgba(8,145,178,0.03);
  backdrop-filter: blur(10px);
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-cyan-light);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.18);
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 24px;
}
.cta__title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta__subtitle {
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 36px;
}
.cta__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================================
   15. ФУТЕР
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  padding: 56px 24px 40px;
}
.footer__desc { font-size: 14px; color: var(--color-text-muted); margin: 10px 0 14px; }
.footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cyan-light);
  transition: color var(--transition);
}
.footer__tg:hover { color: #7dd3fc; }
.footer__nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 14px;
}
.footer__nav-list { display: flex; flex-direction: column; gap: 7px; }
.footer__nav-link { font-size: 14px; color: var(--color-text-muted); transition: color var(--transition); }
.footer__nav-link:hover { color: var(--color-text-bright); }
.footer__bottom { border-top: 1px solid var(--color-border); padding: 18px 24px; }
.footer__copy { font-size: 13px; color: var(--color-text-muted); text-align: center; }

/* ============================================================
   16. АНИМАЦИИ
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(1.06); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.9; }
}

/* Появление при скролле */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Стаггер-задержки — правильная последовательность */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.4s; }

/* Пользователи с включённой опцией «Меньше движения» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Скроллбар */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,0.6); }

/* ============================================================
   17. АДАПТИВНОСТЬ
   ============================================================ */

/* --- Планшет 1024px --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle { margin: 0 auto 36px; }
  .hero__actions  { justify-content: center; }
  .hero__badges   { justify-content: center; }

  /* На планшете показываем только телефон, без ноутбука */
  .hero__visual {
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mockup-laptop { display: none; }
  .float-card    { display: none; }
  .mockup-phone {
    position: relative;
    bottom: auto; right: auto;
    width: 180px;
    animation: float 4.5s ease-in-out infinite;
  }

  .about__inner        { grid-template-columns: 1fr; gap: 48px; }
  .about__content      { order: 1; }
  .about__photo-wrap   { order: 2; }
  .about__title        { text-align: left; }
  .about__photo-card,
  .about__photo,
  .about__person-card  { max-width: 100%; }
  .about__actions      { flex-direction: column; }
  .about__actions .btn { width: 100%; justify-content: center; }

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

  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process__step-line { display: none; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* --- Мобильный 768px --- */
@media (max-width: 768px) {
  .nav { display: none; }
  .header__tg { display: none; }
  .burger { display: flex; }

  .section { padding: 64px 0; }
  .section__header { margin-bottom: 36px; }

  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero__visual {
    height: 220px;
  }
  .mockup-phone {
    width: 160px;
  }
  .mockup-phone__screen { min-height: 300px; padding: 12px 8px; }

  .services__grid  { grid-template-columns: 1fr; }
  .works__grid     { grid-template-columns: 1fr; }
  .benefits__grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .process__steps  { grid-template-columns: 1fr; gap: 16px; }

  .cta { padding: 64px 0; }
  .cta__inner { padding: 40px 24px; border-radius: 20px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 28px;
  }

  .about__inner { gap: 36px; }
}

/* --- Маленькие телефоны 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__title { letter-spacing: -0.02em; }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero__actions .btn { width: 100%; }

  .hero__badge-item { font-size: 12px; padding: 6px 13px; }

  .hero__visual { height: 180px; }
  .mockup-phone { width: 145px; }
  .mockup-phone__screen { min-height: 260px; }

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

  .service-card { padding: 24px 20px; }
  .work-card__body { padding: 18px 18px 22px; }
  .benefit-card { padding: 22px 18px; }
}

/* --- Очень маленькие 360px --- */
@media (max-width: 360px) {
  .hero__badges { gap: 7px; }
}

/* ============================================================
   НОВЫЕ БЛОКИ: ЧТО ВЫ ПОЛУЧИТЕ + ТАРИФЫ
   ============================================================ */

/* --- Блок "Что вы получите" --- */
.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-card {
  padding: 28px 22px;
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-blue);
}

.result-card:hover::before { opacity: 1; }

.result-card__icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.result-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.result-card__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

/* --- Блок "Тарифы" --- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-blue);
}

/* Выделенная (популярная) карточка тарифа */
.pricing-card--featured {
  border-color: rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(8,145,178,0.06) 100%);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.2), var(--shadow-card);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.3), var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card__header { text-align: center; }

.pricing-card__icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.pricing-card__desc {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.55;
  margin-top: 10px;
}

.pricing-card__who {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.5;
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.pricing-card__price {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.pricing-card__price span {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--color-text-bright);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-cyan-light);
  font-size: 13px;
  font-weight: 700;
}

.pricing-card .btn { width: 100%; }

.pricing__note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- Улучшенные карточки работ --- */
.work-card__features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.work-card__features li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.work-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-cyan-light);
  font-size: 11px;
  line-height: 1.6;
}

.work-card__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  margin-bottom: 16px;
  display: inline-block;
}

/* --- Hero label (новый, вместо badge с анимацией) --- */
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-cyan-light);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 22px;
  animation: fadeInDown 0.7s var(--ease-out) both;
}

/* --- Адаптивность новых блоков --- */
@media (max-width: 1200px) {
  .pricing__grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .results__grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 24px; }
  .pricing__grid--4 { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .results__grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pricing__grid  { max-width: 360px; }
  .pricing__grid--4 { max-width: 360px; }
}

@media (max-width: 480px) {
  .results__grid  { grid-template-columns: 1fr; }
  .pricing__grid  { max-width: 100%; }
  .pricing__grid--4 { max-width: 100%; }
  .result-card    { padding: 20px 16px; }
  .pricing-card   { padding: 28px 20px; }
}

/* ============================================================
   18. ДЕМО-БОТЫ
   ============================================================ */

/* ── Инструкция "Как протестировать" ─────────────────────── */
.demo-howto {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(8,145,178,0.05) 100%);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.demo-howto__icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-howto__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.demo-howto__text {
  font-size: 14px;
  color: var(--color-text-bright);
  line-height: 1.65;
}

/* ── Сетка карточек ──────────────────────────────────────── */
.demo-bots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

/* ── Карточка бота ───────────────────────────────────────── */
.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.demo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18), 0 4px 16px rgba(0,0,0,0.4);
}

.demo-card:hover::before { opacity: 1; }

/* ── Бейджи ──────────────────────────────────────────────── */
.demo-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Зелёный бейдж "Демо 24/7" */
.demo-badge--live {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.22);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.08);
}

.demo-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Синий бейдж "Telegram" */
.demo-badge--tg {
  color: var(--color-cyan-light);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.18);
}

/* ── Верхняя строка: иконка + тег ───────────────────────── */
.demo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-card__icon {
  font-size: 32px;
  line-height: 1;
}

.demo-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan-light);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 50px;
  padding: 4px 11px;
}

/* ── Тело карточки ───────────────────────────────────────── */
.demo-card__body { flex: 1; }

.demo-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.demo-card__desc {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 14px;
}

.demo-card__features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.demo-card__features li {
  font-size: 13px;
  color: var(--color-text-bright);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.demo-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-cyan-light);
  font-size: 11px;
  line-height: 1.7;
}

/* ── Кнопки ──────────────────────────────────────────────── */
.demo-card__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

.demo-card__btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}

/* Подсветка кнопки при hover на карточку */
.demo-card:hover .btn--primary {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* ── Подпись под сеткой ──────────────────────────────────── */
.demo-bots__note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  margin-bottom: 40px;
}

/* ── Блок доверия ────────────────────────────────────────── */
.demo-trust {
  background: linear-gradient(135deg, rgba(37,99,235,0.07) 0%, rgba(8,145,178,0.04) 100%);
  border: 1px solid var(--color-border-blue);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
}

.demo-trust__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.demo-trust__lead {
  font-size: 14px;
  color: var(--color-text-bright);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 24px;
}

.demo-trust__points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.demo-trust__point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-bright);
  font-weight: 500;
}

.demo-trust__point-icon {
  color: var(--color-cyan-light);
  font-size: 15px;
}

/* ── Адаптив ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .demo-bots__grid { grid-template-columns: repeat(2, 1fr); }
  .demo-bots__grid .demo-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .demo-trust { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .demo-howto { flex-direction: column; gap: 10px; padding: 16px 18px; }
  .demo-bots__grid { grid-template-columns: 1fr; gap: 16px; }
  .demo-bots__grid .demo-card:nth-child(5) { grid-column: auto; max-width: 100%; margin: 0; }
  .demo-card { padding: 18px 16px; }
  .demo-card__badges { gap: 5px; }
  .demo-badge { font-size: 10px; padding: 3px 9px; }
  .demo-card__actions { flex-direction: column; }
  .demo-card__actions .btn { width: 100%; justify-content: center; }
  .demo-trust { padding: 22px 18px; }
  .demo-trust__points { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   19. ДЕМО-ЛЕНДИНГИ
   ============================================================ */

.landings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.landing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.landing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.landing-card:hover {
  border-color: var(--color-border-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, .14);
}

.landing-card:hover::before { opacity: 1; }

.landing-card__icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.landing-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.landing-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
}

.landing-card__desc {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

.landing-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.landing-card__btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border-blue);
  background: transparent;
  color: var(--color-cyan-light);
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.landing-card__btn:hover {
  background: rgba(37, 99, 235, .12);
  border-color: var(--color-blue-light);
  color: var(--color-white);
}

.landing-card__btn--main {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
  font-weight: 600;
}

.landing-card__btn--main:hover {
  opacity: .88;
  background: var(--gradient-primary);
  color: var(--color-white);
}

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .landings__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .landings__grid { grid-template-columns: 1fr; gap: 14px; }
  .landing-card { padding: 18px 16px; gap: 14px; }
  .landing-card__icon { font-size: 28px; }
  .landing-card__actions { flex-direction: column; }
  .landing-card__btn { text-align: center; }
}

/* ============================================================
   20. ДЕМО-ЛЕНДИНГИ — бейджи на карточках
   ============================================================ */

.landing-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.landing-card__badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-bright);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 3px 9px;
}

.landing-card__badge--tg {
  color: var(--color-cyan-light);
  background: rgba(56,189,248,.07);
  border-color: rgba(56,189,248,.18);
}

/* Пояснительный блок "Как работает связка" */
.demo-landings__note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
}

/* ============================================================
   21. ДЛЯ КОГО
   ============================================================ */

.forwho__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.forwho-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.forwho-card:hover {
  border-color: var(--color-border-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(37,99,235,.12);
}

.forwho-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.forwho-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.forwho-card__text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
}

@media (max-width: 1024px) { .forwho__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .forwho__grid { grid-template-columns: 1fr; gap: 12px; } .forwho-card { padding: 20px 18px; } }

/* ============================================================
   22. ЧТО ВХОДИТ В ЗАПУСК
   ============================================================ */

.launch__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.launch__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.launch-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.launch-item:first-child { padding-top: 0; }
.launch-item:last-child  { border-bottom: none; }

.launch-item__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-cyan-light);
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.launch-item__text {
  font-size: 14px;
  color: var(--color-text-bright);
  line-height: 1.5;
}

.launch__conclusion {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-blue);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.launch__conclusion-icon { font-size: 40px; }

.launch__conclusion-text {
  font-size: 15px;
  color: var(--color-text-bright);
  line-height: 1.7;
}

.launch__conclusion .btn { align-self: stretch; text-align: center; justify-content: center; }

@media (max-width: 900px) {
  .launch__inner { grid-template-columns: 1fr; gap: 32px; }
  .launch__conclusion { position: static; }
}

/* ============================================================
   23. FOOTER — контакты
   ============================================================ */

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.footer__tg--channel {
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer__tg--channel:hover { color: var(--color-cyan-light); }

/* ============================================================
   24. HERO — trust line responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero__trust-line { text-align: center; }
}
