/* LiveIP — маркетинговые блоки публичного сайта. Базовые компоненты — в common.css (UI-кит). */
body { background:
  radial-gradient(900px 500px at 85% -5%, rgba(56, 189, 248, .10), transparent 60%),
  radial-gradient(800px 500px at 10% 10%, rgba(34, 211, 166, .10), transparent 60%), var(--bg); }

/* первый экран: текст + иллюстрация */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; margin-bottom: 20px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero .ticks { max-width: 540px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); }
.price-chip { position: absolute; left: 6%; bottom: 10%; padding: 14px 18px; border-radius: 16px; background: rgba(14, 21, 29, .85);
  border: 1px solid var(--border-strong); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.price-chip b { font: 700 26px var(--font-display); display: block; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 24px; } .hero-art { order: -1; max-width: 560px; } }

/* сравнение с рынком */
.compare { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.bars { display: grid; gap: 22px; }
.bar-row .label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; margin-bottom: 6px; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.bar .market { background: rgba(255, 255, 255, .22); }
.bar .ours { background: var(--grad); box-shadow: 0 0 18px rgba(34, 211, 166, .45); }
.bar-legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.save { font: 700 clamp(40px, 6vw, 64px) var(--font-display); line-height: 1; }
.fnote { font-size: 13px; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

/* карточки тарифов (VPS и хостинг) */
#periods { margin-bottom: 28px; }
.plan { position: relative; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.plan.featured { border-color: rgba(34, 211, 166, .5); box-shadow: var(--glow); }
.plan .tag { position: absolute; top: -12px; right: 18px; }
.plan h3 { font: 700 20px var(--font-display); margin-bottom: 2px; }
.plan .for { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan .price { font: 700 40px var(--font-display); margin: 18px 0 2px; letter-spacing: -.02em; }
.plan .price span { font: 600 15px var(--font); color: var(--muted); }
.plan .total { color: var(--muted); font-size: 14px; min-height: 22px; }
.specs { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.specs li span { color: var(--muted); }
.plan .btn { margin-top: auto; width: 100%; }
.stock { margin-bottom: 20px; }

/* блок «картинка + текст» */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.feature + .feature { margin-top: 32px; }
.feature.flip .art { order: 2; }
.feature .art img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; object-fit: cover; display: block; margin: 0 auto;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 72%); }
.feature h3 { font: 700 clamp(24px, 3vw, 34px) var(--font-display); line-height: 1.15; }
.feature p { color: var(--muted); font-size: 17px; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.mini div { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.mini b { display: block; font: 700 22px var(--font-display); }
.mini span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 12px; } .feature.flip .art { order: 0; } .feature .art img { max-width: 300px; } }

/* продукты на главной */
.products { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
.product { position: relative; overflow: hidden; padding: 28px; min-height: 280px; }
.product h3 { font: 700 clamp(22px, 2.6vw, 28px) var(--font-display); margin: 12px 0 8px; }
.product p { color: var(--muted); max-width: 440px; margin: 0 0 18px; }
.product .badge { align-self: flex-start; }
.product .price-line { font: 700 26px var(--font-display); margin-top: auto; }
.product .price-line span { font: 600 15px var(--font); color: var(--muted); }
.product .art-bg { position: absolute; right: -40px; bottom: -40px; width: 300px; height: auto; opacity: .55; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.product > *:not(.art-bg) { position: relative; }

/* карточка услуги */
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc p { color: var(--muted); margin: 0 0 18px; font-size: 15px; flex: 1; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--border); }
.svc .arrow { color: var(--accent); transition: transform .2s; }
.svc:hover .arrow { transform: translateX(4px); }
.svc-ask { text-align: left; font: inherit; cursor: pointer; border-style: dashed; border-color: rgba(34, 211, 166, .35); }
.svc-main { background: radial-gradient(500px 200px at 0% 0%, rgba(34, 211, 166, .12), transparent 70%), var(--surface); }
.svc-detail { align-items: start; }

/* форма заявки: после отправки остаётся только сообщение */
.lf-status:empty { display: none; }
.lf-status { margin-top: 12px; }
.lead-form.sent .field-grid, .lead-form.sent label, .lead-form.sent textarea, .lead-form.sent .form-foot { display: none; }

/* новости */
.news-card time { color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.news-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.news-card .more { color: var(--accent); font-weight: 700; font-size: 14px; }
.article { padding-top: 48px; padding-bottom: 56px; }
.article h1 { font-size: clamp(28px, 4vw, 44px); }
.article .lead { font-size: 19px; color: var(--muted); }
.prose { font-size: 17px; margin: 24px 0 32px; }
.prose h2 { font-size: 24px; margin-top: 32px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* документы */
.doc h2 { font-size: 20px; margin-top: 28px; font-family: var(--font); }
.doc p { margin: 8px 0; }

/* подвал */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 100px; color: var(--muted); font-size: 15px; margin-top: 40px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 28px; }
@media (max-width: 900px) { .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } }
.fcols h4 { color: var(--text); font-size: 15px; margin: 0 0 12px; }
.fcols a { display: block; color: var(--muted); margin-bottom: 8px; }
.fcols a:hover { color: var(--text); }
.fbrand p { margin: 10px 0 16px; max-width: 300px; }
.flegal { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* главная: первый экран со скриншотом кабинета */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.lp-hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; margin-bottom: 18px; }
.lp-hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.lp-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.lp-facts b { display: block; font: 800 22px var(--font-display); }
.lp-facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; } }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--bg-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(34, 211, 166, .08), 0 0 120px rgba(34, 211, 166, .10); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.shot-bar span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: var(--bg-2); color: var(--muted); font-size: 12px; transform: translateX(-24px); }
.shot img { display: block; width: 100%; height: auto; }
.lp-product { padding: 28px; }
.lp-product h2 { font-size: 28px; margin: 16px 0 6px; }
.lp-product p { color: var(--muted); margin: 0 0 18px; }
.lp-product .ico { margin: 0; }
.lp-product .ticks { margin-bottom: 22px; }
.lp-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 6px; font: 800 24px var(--font-display); }
.lp-price span { font: 600 15px var(--font); color: var(--muted); }
.lp-price .arrow { margin-left: auto; color: var(--accent); font-size: 20px; }
.lp-showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lp-showcase h2 { font-size: clamp(26px, 3.2vw, 38px); }
.lp-text { font-size: 17px; margin: 0 0 22px; }
@media (max-width: 1000px) { .lp-showcase { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
