/* ==========================================================================
   RIDEHOST.RU — Landing (Bento Dark)
   Самостоятельный файл: те же токены, что и в bento.css панели, чтобы лендинг,
   документы (оферта/политика) и личный кабинет выглядели как один продукт.
   Старый landing.css не подключается и не тронут — для отката верните <link>.
   ========================================================================== */

:root {
  --bg-app: #07080c;
  --bg-tile: #0f1117;
  --bg-tile-2: #12141b;
  --bg-inset: #0a0b10;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --text: #d9dce4;
  --text-head: #f4f5f8;
  --text-muted: #868c9b;
  --text-dim: #5f6573;

  --cyan: #5cc8f5;
  --violet: #8b7cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(135deg, #4fb9ec, #7b86f4);

  /* ширина контента: растёт вместе с экраном, чтобы на больших мониторах не было узкой полосы посередине */
  --wrap: min(1240px, calc(100% - 32px));
  --gap: 16px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* совместимость с инлайн-стилями старых страниц документов */
  --lh-primary: var(--cyan);
  --lh-text-muted: var(--text-muted);
  --lh-text-dim: var(--text-dim);
}

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

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

body.landing-page {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-app);
  background-image:
    radial-gradient(60rem 36rem at 12% -8%, rgba(92, 200, 245, 0.07), transparent 60%),
    radial-gradient(52rem 32rem at 100% 0%, rgba(139, 124, 246, 0.08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--text-head); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
strong { color: var(--text-head); font-weight: 600; }
::selection { background: rgba(92, 200, 245, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; border: 2px solid var(--bg-app); }

/* старые декоративные слои больше не нужны */
#landing-canvas, .landing-noise, .landing-glow-top, .shard, .landing-shard { display: none !important; }

/* --------------------------------------------------------------------------
   1. Шапка — плавающая «пилюля», как в панели
   -------------------------------------------------------------------------- */
.landing-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: var(--wrap);
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  background: rgba(14, 16, 21, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.landing-header.scrolled { background: rgba(12, 13, 18, 0.9); border-color: var(--border-hover); }

.landing-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.landing-logo-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(92, 200, 245, 0.1);
  border: 1px solid rgba(92, 200, 245, 0.2);
}
.landing-logo-icon img { width: 22px; height: 22px; max-width: 22px !important; max-height: 22px !important; object-fit: contain; }
.landing-logo-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text-head); }
.landing-logo-text span { color: var(--cyan); }

.landing-nav { flex: 1; display: flex; justify-content: center; }
.landing-nav ul { display: flex; gap: 4px; }
.landing-nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 11px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.landing-nav-link i { display: none; }
.landing-nav-link:hover { color: var(--text-head); background: rgba(255, 255, 255, 0.05); }
.landing-nav-link.active { color: var(--text-head); background: rgba(92, 200, 245, 0.1); }
.landing-nav-mobile-actions { display: none; }

.landing-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.landing-btn-login,
.landing-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 12px;
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.landing-btn-login { color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.landing-btn-login:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-hover); }
.landing-btn-primary { color: #06090f; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(92, 200, 245, 0.7); }
.landing-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(92, 200, 245, 0.85); }

.landing-burger {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  place-items: center; color: var(--text-head);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   2. Каркас и бенто-сетка
   -------------------------------------------------------------------------- */
.lb-wrap { width: var(--wrap); margin: 0 auto; padding: 24px 0 0; }

.lb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: var(--gap);
}
.s-2 { grid-column: span 2; } .s-3 { grid-column: span 3; } .s-4 { grid-column: span 4; }
.s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; } .s-7 { grid-column: span 7; }
.s-8 { grid-column: span 8; } .s-12 { grid-column: 1 / -1; }
.r-2 { grid-row: span 2; }

.lb-section { margin-top: 88px; scroll-margin-top: 96px; }

.lb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.lb-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 12px; }
.lb-head p { max-width: 420px; color: var(--text-muted); font-size: 0.95rem; }
.lb-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(92, 200, 245, 0.08); border: 1px solid rgba(92, 200, 245, 0.18);
}

/* --------------------------------------------------------------------------
   3. Плитка
   -------------------------------------------------------------------------- */
.lb-tile {
  --tone: var(--cyan);
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-tile);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.lb-tile:hover, .lb-tile:hover { border-color: var(--border-hover); }
a.lb-tile:hover { transform: translateY(-2px); }

.c-cyan { --tone: var(--cyan); } .c-violet { --tone: var(--violet); } .c-green { --tone: var(--green); }
.c-amber { --tone: var(--amber); } .c-red { --tone: var(--red); }

/* мягкое свечение — только у героя, цены, CTA и избранного */
.lb-glow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--tone) 14%, transparent), transparent 55%);
}
.lb-tile > * { position: relative; z-index: 1; }

.lb-tile h3 { font-size: 1.15rem; }
.lb-tile p { color: var(--text-muted); font-size: 0.92rem; }

.lb-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.lb-sub { font-size: 0.85rem; color: var(--text-muted); }
.lb-big { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text-head); }
.lb-big small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--text-muted); margin-left: 8px; }
.lb-big-sm { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.2; }

.lb-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.05rem;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 24%, transparent);
}
.lb-icon.c-cyan, .lb-icon.c-violet, .lb-icon.c-green, .lb-icon.c-amber, .lb-icon.c-red { color: var(--tone); }

.lb-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-row-head { display: flex; align-items: flex-start; gap: 14px; }
.lb-row-head h3 { margin: 2px 0 4px; }

.lb-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
}

.lb-meter { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.lb-meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 60%, transparent), var(--tone)); }

.lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: lbPulse 2.2s infinite; flex-shrink: 0; }
@keyframes lbPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* --------------------------------------------------------------------------
   4. Кнопки
   -------------------------------------------------------------------------- */
.lb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 14px;
  font-size: 0.98rem; font-weight: 600; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, border-color 0.2s;
}
.lb-btn-glow { color: #06090f; background: var(--grad); box-shadow: 0 14px 34px -14px rgba(92, 200, 245, 0.8); }
.lb-btn-glow:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(92, 200, 245, 0.95); }
.lb-btn-ghost { color: var(--text-head); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.lb-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-hover); }

.lb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--tone); }
.lb-link i { transition: transform 0.25s var(--ease); }
a:hover .lb-link i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Герой
   -------------------------------------------------------------------------- */
.lb-hero {
  padding: 40px;
  gap: 22px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(92, 200, 245, 0.10), transparent 60%),
    radial-gradient(80% 70% at 100% 100%, rgba(139, 124, 246, 0.12), transparent 60%),
    var(--bg-tile);
  border-color: rgba(92, 200, 245, 0.14);
}
.lb-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 80% at 85% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 80% at 85% 20%, #000, transparent 75%);
}
.lb-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 14ch; }
.lb-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.lb-lead { max-width: 560px; font-size: 1.05rem !important; color: var(--text-muted); }
.lb-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lb-status {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--text);
  background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.2);
}

.lb-hero-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.lb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-chips span {
  padding: 6px 12px; border-radius: 10px; font-size: 0.84rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
}

/* цена */
.lb-price { justify-content: space-between; }
.lb-checks { display: flex; flex-direction: column; gap: 10px; }
.lb-checks li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text); }
.lb-checks i {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 0.65rem; color: var(--green); background: rgba(52, 211, 153, 0.12);
}

/* автоустановка — три шага */
.lb-deploy { justify-content: space-between; }
.lb-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; }
.lb-steps::before {
  content: ""; position: absolute; top: 15px; left: 16.6%; right: 16.6%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(92, 200, 245, 0.35), rgba(52, 211, 153, 0.5));
}
.lb-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.lb-steps b {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 700; color: var(--cyan);
  background: #10161d; border: 1px solid rgba(92, 200, 245, 0.35);
}
.lb-steps .done { color: var(--text-head); }
.lb-steps .done b { color: #06090f; background: var(--green); border-color: transparent; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }

/* --------------------------------------------------------------------------
   6. Преимущества
   -------------------------------------------------------------------------- */
.lb-ddos { gap: 16px; }
.lb-ddos h3 { font-size: 1.45rem; margin-top: 6px; }
.lb-layers { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.lb-layer {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-inset); border: 1px solid var(--border);
}
.lb-layer-tag {
  width: 42px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 0.85rem; color: var(--cyan);
  background: rgba(92, 200, 245, 0.1); border: 1px solid rgba(92, 200, 245, 0.2);
}
.lb-layer-name { display: flex; flex-direction: column; font-weight: 600; color: var(--text-head); font-size: 0.92rem; line-height: 1.3; min-width: 0; }
.lb-layer-name small { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.lb-layer-ok {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 0.78rem; font-weight: 600; color: var(--green);
  padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, 0.1);
}

.lb-bars { display: flex; flex-direction: column; gap: 12px; }
.lb-bar { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 14px; font-size: 0.85rem; }
.lb-bar span { color: var(--text); font-weight: 500; }
.lb-bar i { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.lb-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, #7b86f4, #a99cff); }
.lb-bar.muted i::after { background: rgba(255, 255, 255, 0.22); }
.lb-bar b { font-weight: 700; color: var(--text-head); font-size: 0.85rem; min-width: 84px; text-align: right; }
.lb-bar.muted b { color: var(--text-muted); font-weight: 600; }
.lb-foot-note { font-size: 0.78rem; color: var(--text-dim); }

.lb-stat { justify-content: space-between; }
.lb-social { display: flex; gap: 8px; }
.lb-social a {
  flex: 1; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem;
  color: var(--text-head); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lb-social a:hover { color: var(--tone); border-color: color-mix(in srgb, var(--tone) 35%, transparent); background: color-mix(in srgb, var(--tone) 8%, transparent); }

/* --------------------------------------------------------------------------
   7. Игры
   -------------------------------------------------------------------------- */
.lb-game {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 230px; padding: 22px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  /* подложка на случай, если внешняя картинка не загрузилась */
  background:
    radial-gradient(90% 80% at 80% 10%, color-mix(in srgb, var(--tint, var(--cyan)) 22%, transparent), transparent 65%),
    radial-gradient(70% 60% at 0% 100%, rgba(139, 124, 246, 0.12), transparent 70%),
    var(--bg-tile);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lb-game::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--img) var(--pos, center) / cover no-repeat;
  transition: transform 0.6s var(--ease);
}
.lb-game::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.35) 0%, rgba(7, 8, 12, 0.55) 45%, rgba(7, 8, 12, 0.94) 100%);
}
.lb-game:hover { border-color: rgba(92, 200, 245, 0.35); transform: translateY(-2px); }
.lb-game:hover::before { transform: scale(1.05); }
.lb-game.featured { min-height: 476px; border-color: rgba(92, 200, 245, 0.2); }
.lb-game.featured h3 { font-size: 2.4rem; }
.lb-game.wide::after { background: linear-gradient(90deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.7) 50%, rgba(7, 8, 12, 0.3) 100%); }

.lb-game-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lb-game-tag, .lb-game-free {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lb-game-tag { color: var(--text-head); background: rgba(7, 8, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.12); }
.lb-game-free { color: var(--green); background: rgba(7, 8, 12, 0.55); border: 1px solid rgba(52, 211, 153, 0.3); }
.featured .lb-game-free { color: var(--amber); border-color: rgba(251, 191, 36, 0.35); }

.lb-game-body h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.lb-game-body p { color: rgba(217, 220, 228, 0.75); font-size: 0.88rem; margin-top: 2px; }
.lb-game-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.lb-game-price { font-weight: 800; font-size: 1.1rem; color: var(--text-head); }
.lb-game-price small { font-weight: 500; font-size: 0.8rem; color: rgba(217, 220, 228, 0.65); }
.lb-arrow {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 0.85rem;
  color: var(--text-head); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.lb-game:hover .lb-arrow { background: var(--grad); color: #06090f; border-color: transparent; transform: translateX(2px); }

.lb-games-cta { justify-content: space-between; }

/* --------------------------------------------------------------------------
   8b. Веб-хостинг
   -------------------------------------------------------------------------- */
.lb-chips a.lb-chip-web {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 10px; font-size: 0.84rem; font-weight: 600;
  color: var(--violet); background: rgba(139, 124, 246, 0.08); border: 1px solid rgba(139, 124, 246, 0.25);
  transition: background 0.2s, border-color 0.2s;
}
.lb-chips a.lb-chip-web:hover { background: rgba(139, 124, 246, 0.14); border-color: rgba(139, 124, 246, 0.4); }

/* полоса веб-хостинга в первом экране */
.lb-web-strip { flex-direction: row; align-items: center; gap: 20px; }
.lb-web-strip-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lb-web-strip-text h3 { font-size: 1.2rem; }
.lb-web-strip .lb-url { flex: 0 1 340px; margin-top: 0; }
.lb-web-price { justify-content: space-between; gap: 12px; }
.lb-web-price .lb-big { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.lb-web-price .lb-link i { transition: transform 0.25s var(--ease); }
a.lb-web-price:hover .lb-link i { transform: translateX(4px); }

.lb-web-intro { justify-content: space-between; }
.lb-web-intro h3 { font-size: 1.45rem; max-width: 24ch; }
.lb-web-intro p { max-width: 520px; }
.lb-url {
  display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: auto;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-inset); border: 1px solid var(--border);
  font-size: 0.98rem; color: var(--text-muted);
}
.lb-url > i { color: var(--tone); }
.lb-url > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-url b { color: var(--text-head); font-weight: 700; }
.lb-url em {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--green);
  padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.2);
}
.lb-url em .lb-dot { width: 6px; height: 6px; }

.lb-web-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.lb-feat {
  display: flex; align-items: flex-start; gap: 12px; min-width: 0;
  padding: 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border);
}
.lb-feat .lb-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 0.9rem; }
.lb-feat b { display: block; color: var(--text-head); font-weight: 600; font-size: 0.94rem; }
.lb-feat small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }

.lb-plan { gap: 16px; }
.lb-plan.is-free { border-color: rgba(52, 211, 153, 0.28); }
.lb-plan .lb-big { font-size: clamp(2.1rem, 3.4vw, 2.7rem); }
.lb-plan .lb-big small { margin-left: 6px; }
.lb-plan-note { font-size: 0.85rem !important; margin-top: -4px; }
.lb-plan-list { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.lb-plan-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }
.lb-plan-list i { width: 16px; text-align: center; font-size: 0.82rem; color: var(--tone); }
.lb-plan-list span { flex: 1; }
.lb-plan-list b { font-weight: 700; color: var(--text-head); }
.lb-plan-list b.is-unlimited { color: var(--green); font-size: 1.2rem; line-height: 1; }
.lb-plan .lb-btn { margin-top: auto; width: 100%; height: 48px; }

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */
.lb-faq { padding: 8px 26px; gap: 0; align-self: start; }
.landing-faq-item { border-bottom: 1px solid var(--border); }
.landing-faq-item:last-child { border-bottom: 0; }
.landing-faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-head);
}
.landing-faq-question i {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  font-size: 0.75rem; color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), color 0.2s, background 0.2s;
}
.landing-faq-question:hover i { color: var(--text-head); }
.landing-faq-item.active .landing-faq-question i { transform: rotate(45deg); color: #06090f; background: var(--grad); border-color: transparent; }
.landing-faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.landing-faq-item.active .landing-faq-content { grid-template-rows: 1fr; }
.landing-faq-inner { overflow: hidden; }
.landing-faq-inner p { padding: 0 48px 20px 0; color: var(--text-muted); font-size: 0.94rem; }

.lb-stack { display: flex; flex-direction: column; gap: var(--gap); align-self: start; min-width: 0; position: sticky; top: 96px; }
.lb-ask h3 { margin-top: 4px; }
.lb-link-row { flex-direction: row; align-items: center; gap: 14px; padding: 16px 20px; }
.lb-link-row > span:not(.lb-icon) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lb-link-row b { color: var(--text-head); font-weight: 600; }
.lb-link-row small { color: var(--text-muted); font-size: 0.82rem; }
.lb-link-row > .fa-arrow-right { margin-left: auto; color: var(--text-muted); transition: transform 0.25s var(--ease), color 0.2s; }
.lb-link-row:hover > .fa-arrow-right { color: var(--tone); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   10. CTA
   -------------------------------------------------------------------------- */
.lb-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 44px; }
.lb-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.lb-cta p { max-width: 560px; font-size: 1rem; }
.lb-cta::before { -webkit-mask-image: radial-gradient(60% 120% at 100% 50%, #000, transparent 70%); mask-image: radial-gradient(60% 120% at 100% 50%, #000, transparent 70%); }

/* --------------------------------------------------------------------------
   11. Подвал (плитками)
   -------------------------------------------------------------------------- */
.landing-footer { width: var(--wrap); margin: 88px auto 0; padding-bottom: 28px; }
.landing-footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.landing-footer-grid > * {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-tile); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.landing-footer-grid > :first-child { grid-column: span 4; }
.landing-footer-grid > :nth-child(3), .landing-footer-grid > :last-child { grid-column: span 3; }
.landing-footer-grid p { color: var(--text-muted) !important; font-size: 0.9rem !important; line-height: 1.6; margin: 0 !important; }
.landing-footer-grid .landing-brand { margin: 0 !important; }
.landing-footer-col h4, .landing-footer-grid h4 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.landing-footer-col ul, .landing-footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.landing-footer-grid ul a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text) !important; transition: color 0.2s; word-break: break-word; }
.landing-footer-grid ul a i { width: 14px; color: var(--text-muted); }
.landing-footer-grid a:hover { color: var(--cyan) !important; }
.landing-footer-socials { display: flex; gap: 8px; margin-top: auto; }
.landing-social-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text-head); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.landing-social-btn:hover { color: var(--cyan); border-color: rgba(92, 200, 245, 0.35); }
.landing-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 6px 0; font-size: 0.82rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   12. Документы (оферта, политика)
   -------------------------------------------------------------------------- */
.landing-doc-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding-top: 28px; }
.landing-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.landing-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.landing-breadcrumb a:hover { color: var(--cyan); }
.landing-breadcrumb .current { color: var(--text-head); }
.landing-breadcrumb .mr-1 { margin-right: 2px; }
.landing-doc-card { border-radius: var(--radius); background: var(--bg-tile); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.landing-doc-header {
  position: relative; padding: 36px 40px; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(92, 200, 245, 0.10), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(139, 124, 246, 0.10), transparent 60%);
}
.landing-doc-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(92, 200, 245, 0.08); border: 1px solid rgba(92, 200, 245, 0.18);
}
.landing-doc-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.landing-doc-subtitle { margin-top: 8px; color: var(--text-muted); }
.landing-doc-body { padding: 32px 40px 40px; color: var(--text); font-size: 0.95rem; }
.landing-doc-body p { margin-bottom: 12px; }
.landing-doc-body h2 { font-size: 1.25rem; margin: 32px 0 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.landing-doc-body h3 { font-size: 1rem; margin: 20px 0 10px; color: var(--text-head); }
.landing-doc-body ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.landing-doc-body li { position: relative; padding-left: 20px; }
.landing-doc-body li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.8; }
.landing-doc-body a { color: var(--cyan); }
.landing-doc-footer-note {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding: 20px; border-radius: var(--radius-sm);
  background: var(--bg-inset); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted);
}
.landing-doc-footer-note .landing-btn-primary { color: #06090f !important; }

/* --------------------------------------------------------------------------
   13. Адаптив
   -------------------------------------------------------------------------- */
/* Большие мониторы: шире сетка, крупнее типографика и плитки */
@media (min-width: 1500px) {
  :root { --wrap: min(1440px, calc(100% - 96px)); --gap: 18px; }
  body.landing-page { font-size: 16px; }
  .lb-hero { padding: 48px; }
  .lb-hero h1 { font-size: 4.4rem; }
  .lb-lead { max-width: 620px; font-size: 1.12rem !important; }
  .lb-tile { padding: 30px; }
  .lb-head h2 { font-size: 2.6rem; }
  .lb-game { min-height: 260px; }
  .lb-game.featured { min-height: 536px; }
  .lb-cta { padding: 52px; }
}
@media (min-width: 1900px) {
  :root { --wrap: min(1600px, calc(100% - 160px)); --gap: 20px; }
  .lb-hero h1 { font-size: 4.8rem; }
  .lb-game { min-height: 290px; }
  .lb-game.featured { min-height: 600px; }
}

@media (max-width: 1099.98px) {
  .lb-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .s-3, .s-4, .md-3 { grid-column: span 3; }
  .s-5, .s-6, .s-7, .s-8, .s-12, .md-6 { grid-column: 1 / -1; }
  .r-2 { grid-row: auto; }
  .lb-grid > .md-3 { grid-column: span 3; }
  .lb-grid > .md-6 { grid-column: 1 / -1; }
  .lb-game.featured { min-height: 340px; }
  .lb-stack { position: static; }
  .lb-web-strip { flex-wrap: wrap; align-items: flex-start; }
  .lb-web-strip .lb-url { flex: 1 1 100%; }

  .landing-footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .landing-footer-grid > *, .landing-footer-grid > :nth-child(3), .landing-footer-grid > :last-child { grid-column: span 2; }
  .landing-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  .landing-header { padding: 8px 8px 8px 12px; }
  .landing-burger { display: grid; }
  .landing-header-actions .landing-btn-login { display: none; }

  .landing-nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 8px; padding: 8px;
    border-radius: 20px; background: #0b0c11; border: 1px solid var(--border-hover);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 100vmax rgba(4, 5, 8, 0.55);
  }
  .landing-nav.open { display: flex; animation: lbDrop 0.25s var(--ease); }
  .landing-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .landing-nav-link {
    width: 100%; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 14px; border-radius: 14px; color: var(--text-head);
    background: var(--bg-tile); border: 1px solid var(--border);
  }
  .landing-nav-link i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--cyan); background: rgba(92, 200, 245, 0.1); font-size: 0.85rem; }
  .landing-nav-mobile-actions { display: flex; flex-direction: column; gap: 8px; }
  .landing-nav-mobile-actions a { width: 100%; height: 48px; border-radius: 14px; }
  @keyframes lbDrop { from { transform: translateY(-6px); } to { transform: none; } }
}

@media (max-width: 699.98px) {
  body.landing-page { font-size: 14.5px; }
  .lb-grid { grid-template-columns: 1fr; gap: 12px; }
  .lb-grid > * { grid-column: 1 / -1 !important; }
  .lb-wrap { padding-top: 16px; }
  .lb-section { margin-top: 64px; }
  .lb-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }

  .lb-tile { padding: 20px; border-radius: 20px; }
  .lb-hero { padding: 26px 22px; gap: 18px; }
  .lb-hero h1 { font-size: 2.1rem; }
  .lb-grad { white-space: normal; }
  .lb-actions .lb-btn { flex: 1 1 100%; }
  .lb-big { font-size: 2.4rem; }
  .lb-big.lb-big-sm { font-size: 1.35rem; }

  .lb-game { min-height: 200px; }
  .lb-game.featured { min-height: 280px; }
  .lb-game.featured h3 { font-size: 1.9rem; }

  .lb-bar { grid-template-columns: 92px 1fr auto; gap: 10px; }
  .lb-bar b { min-width: 0; }
  .lb-layer { padding: 12px; gap: 12px; }
  .lb-layer-ok { padding: 4px 8px; }
  .lb-layer-ok i { display: none; }

  .lb-web-intro h3 { font-size: 1.25rem; }
  .lb-web-feats { grid-template-columns: 1fr; padding: 12px; }
  .lb-url { padding: 12px 14px; font-size: 0.88rem; }
  .lb-url > span { white-space: normal; overflow-wrap: anywhere; }

  .lb-faq { padding: 4px 20px; }
  .landing-faq-inner p { padding-right: 0; }

  .lb-cta { flex-direction: column; align-items: stretch; padding: 28px 22px; gap: 20px; }
  .lb-cta .lb-btn { width: 100%; }

  .landing-header { top: 10px; margin-top: 10px; width: calc(100% - 24px); }
  .lb-wrap, .landing-footer, .landing-doc-page { width: calc(100% - 24px); }
  .landing-header-actions .landing-btn-primary span { display: none; }
  .landing-header-actions .landing-btn-primary { width: 40px; padding: 0; }

  .landing-footer { margin-top: 64px; }
  .landing-footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .landing-footer-grid > *, .landing-footer-grid > :nth-child(3), .landing-footer-grid > :last-child { grid-column: 1 / -1; padding: 20px; }
  .landing-footer-grid > :not(:first-child) ul { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }

  .landing-doc-header { padding: 26px 22px; }
  .landing-doc-body { padding: 24px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Многостраничный лендинг: страницы услуг, автоустановка, вопросы
   ========================================================================== */
.lb-crumbs { display: flex; align-items: center; gap: 10px; margin: 6px 0 16px; font-size: 0.84rem; color: var(--text-dim); }
.lb-crumbs a { color: var(--text-muted); transition: color 0.2s; }
.lb-crumbs a:hover { color: var(--text-head); }
.lb-crumbs i { font-size: 0.6rem; opacity: 0.6; }
.lb-crumbs span { color: var(--text); }
.lb-page-hero { justify-content: center; }
.lb-page-hero h1 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.lb-tag i { font-size: 0.7rem; }
.lb-inline-link { color: var(--cyan); font-weight: 600; white-space: nowrap; }
.lb-inline-link:hover { text-decoration: underline; }
.lb-section-tight { margin-top: 40px; }
.lb-chip-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px;
  font-size: 0.88rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.lb-chip-link:hover { background: rgba(92, 200, 245, 0.08); border-color: rgba(92, 200, 245, 0.3); }
.lb-chip-link i { color: var(--cyan); font-size: 0.8rem; }

/* направления на главной */
.lb-dir { gap: 12px; }
.lb-dir h3 { font-size: 1.3rem; margin-top: 6px; }
.lb-dir p b { color: var(--text-head); font-weight: 600; }
.lb-dir .lb-link { margin-top: auto; }

/* шаги «как это работает» */
.lb-num { gap: 10px; }
.lb-num-n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 26%, transparent);
}
.lb-num h3 { margin-top: 6px; }

/* строка-переход на соседнюю страницу */
.lb-next { padding: 22px 26px; }
.lb-next b { font-size: 1.05rem; }

/* тизер автоустановки на главной */
.lb-apps-teaser h3 { font-size: 1.35rem; }
.lb-apps-teaser .lb-link { margin-top: auto; }
.lb-shots { position: relative; height: 128px; margin: 4px 0 6px; }
.lb-shots img {
  position: absolute; top: 6px; width: 46%; max-width: 230px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 12px; border: 1px solid var(--border-hover); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s var(--ease);
}
.lb-shots img:nth-child(1) { left: 0; transform: rotate(-4deg); }
.lb-shots img:nth-child(2) { left: 24%; transform: rotate(1deg); z-index: 2; }
.lb-shots img:nth-child(3) { left: 48%; transform: rotate(5deg); z-index: 3; }
a:hover .lb-shots img:nth-child(1) { transform: rotate(-7deg) translateX(-6px); }
a:hover .lb-shots img:nth-child(3) { transform: rotate(8deg) translateX(6px); }

/* демонстрация хода установки */
.lb-demo { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.lb-demo-head { display: flex; align-items: center; gap: 14px; }
.lb-demo-head b { display: block; color: var(--text-head); font-size: 1rem; }
.lb-demo-head small { color: var(--text-muted); font-size: 0.8rem; }
.lb-demo-time { color: var(--text-head); font-variant-numeric: tabular-nums; }
.lb-demo-spin {
  position: relative; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(92, 200, 245, 0.15); border-top-color: var(--cyan); animation: lbSpin 0.9s linear infinite;
}
.lb-demo.is-done .lb-demo-spin { animation: none; border-color: transparent; background: rgba(52, 211, 153, 0.15); }
.lb-demo.is-done .lb-demo-spin::after {
  content: "\f00c"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--green); font-size: 0.95rem;
}
@keyframes lbSpin { to { transform: rotate(360deg); } }
.lb-demo-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.lb-demo-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(92, 200, 245, 0.45); transition: width 0.7s var(--ease); }
.lb-demo-steps { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.lb-demo-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-dim); transition: color 0.35s; }
.lb-demo-dot {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border);
  display: grid; place-items: center; transition: background-color 0.35s, border-color 0.35s;
}
.lb-demo-steps li.active { color: var(--text-head); font-weight: 600; }
.lb-demo-steps li.active .lb-demo-dot { border-color: rgba(92, 200, 245, 0.25); border-top-color: var(--cyan); animation: lbSpin 0.9s linear infinite; }
.lb-demo-steps li.done { color: var(--text); }
.lb-demo-steps li.done .lb-demo-dot { border-color: transparent; background: rgba(52, 211, 153, 0.16); }
.lb-demo-steps li.done .lb-demo-dot::after {
  content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 0.62rem; color: var(--green);
  animation: lbPop 0.35s var(--ease);
}
@keyframes lbPop { 0% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* каталог шаблонов */
.lb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; padding: 5px; width: fit-content; max-width: 100%; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.lb-tabs button { padding: 8px 14px; border-radius: 10px; font-size: 0.86rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s, background 0.2s; }
.lb-tabs button:hover { color: var(--text-head); }
.lb-tabs button.active { color: #fff; background: linear-gradient(135deg, rgba(92, 200, 245, 0.18), rgba(139, 124, 246, 0.18)); box-shadow: 0 0 0 1px rgba(92, 200, 245, 0.22) inset; }
.lb-tabs button span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 0.72rem; background: rgba(255, 255, 255, 0.07); }
.lb-app { padding: 0; gap: 0; }
.lb-app[hidden] { display: none; }
.lb-app-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(80% 90% at 50% 0%, rgba(92, 200, 245, 0.12), transparent 70%), var(--bg-inset); border-bottom: 1px solid var(--border); }
.lb-app-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.lb-app-media img.fit { object-fit: contain; object-position: center; padding: 20px; }
.lb-app:hover .lb-app-media img { transform: scale(1.04); }
.lb-app-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: var(--cyan); opacity: 0.6; }
.lb-app-price {
  position: absolute; top: 12px; right: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--amber); background: rgba(8, 9, 13, 0.82); border: 1px solid rgba(251, 191, 36, 0.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb-app-price.free { color: var(--green); border-color: rgba(52, 211, 153, 0.3); }
.lb-app-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.lb-app-body h3 { font-size: 1.08rem; }
.lb-app-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.88rem; }

@media (max-width: 699.98px) {
  .lb-shots { height: 96px; }
  .lb-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .lb-tabs button { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-demo-spin, .lb-demo-steps li.active .lb-demo-dot { animation: none; }
}

.lb-page-hero .lb-tag { align-self: flex-start; }
