/* Стартовая страница leads.incram.com. Без внешних шрифтов и скриптов: CSP сайта разрешает только свои файлы. */
:root {
  --bg: #0a1020; --bg2: #0d1630; --panel: rgba(255,255,255,.04); --line: rgba(255,255,255,.10);
  --ink: #eef2fa; --muted: #9aa7bf; --teal: #2dd4bf; --amber: #f5b14c; --brand-ink: #04121a;
  --radius: 16px; --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10,16,32,.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.logo { font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .01em; }
.logo span { color: var(--teal); }
.logo:hover { text-decoration: none; }
.links { display: flex; gap: 22px; flex: 1; }
.links a { color: var(--muted); font-size: 14.5px; }
.links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.ghost { color: var(--ink); font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.ghost:hover { background: var(--panel); text-decoration: none; }

/* кнопки */
.btn { display: inline-block; padding: 13px 24px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), #5eead4); color: var(--brand-ink);
  font: 600 16px/1 var(--font); border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 30px -8px rgba(45,212,191,.55); }
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 12px 34px -8px rgba(45,212,191,.7); }
.btn.small { padding: 10px 16px; font-size: 14.5px; }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.outline:hover { border-color: var(--teal); }
.btn.wide { width: 100%; margin-top: 8px; }

/* первый экран */
.hero { position: relative; overflow: hidden; background: var(--bg) url("/static/landing/hero.webp") right center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(10,16,32,.78) 48%, rgba(10,16,32,.15) 100%); }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; padding: 84px 20px 92px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13.5px; }
.badge:hover { color: var(--ink); text-decoration: none; border-color: var(--teal); }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 22px 0 18px; }
h1 em { font-style: normal; background: linear-gradient(120deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: #cfd8ea; max-width: 56ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; }
.more { display: inline-block; font-size: 14.5px; color: var(--muted); }
.more:hover { color: var(--teal); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font-size: 22px; font-weight: 700; color: var(--ink); }
.facts dd { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* карточка кабинета */
.hero-card { display: flex; justify-content: center; }
.dash { width: min(100%, 360px); background: rgba(13,22,48,.78); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 20px;
  backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(45,212,191,.35), 0 0 0 1px rgba(255,255,255,.03) inset; animation: float 7s ease-in-out infinite; }
.dash-top { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.dash-top i { width: 9px; height: 9px; border-radius: 50%; background: #3b4663; }
.dash-top span { margin-left: 8px; }
.dash-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; color: var(--muted); font-size: 14.5px; }
.dash-row span { display: block; max-width: 70%; line-height: 1.25; }
.dash-row small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); opacity: .8; }
.dash-row b { font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash-row.hot b { color: var(--amber); }
.dash-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); margin: 8px 0 12px; overflow: hidden; }
.dash-bar u { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 6px; }
.dash-note { font-size: 12px; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* секции */
.sec { padding: 84px 0; }
.sec.alt { background: var(--bg2); }
.sec-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sec-in.narrow { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--teal); margin-bottom: 12px; font-weight: 600; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin-bottom: 18px; }
h3 { font-size: 18px; line-height: 1.3; }
.text { color: #c4cee3; font-size: 17px; max-width: 70ch; }

.how { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-top: 32px; }
.steps { display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--teal); font-size: 18px; }
.steps h3 span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 8px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.art img { border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(45,212,191,.5); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.grid article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, transform .2s; }
.grid article:hover { border-color: rgba(45,212,191,.5); transform: translateY(-2px); }
.grid p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.nums div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.nums dt { font-size: 42px; font-weight: 700; line-height: 1; background: linear-gradient(120deg, var(--teal), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums dd { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

.geo { position: relative; overflow: hidden; }
.geo-map { position: absolute; inset: 0; opacity: .55; }
.geo-map img { width: 100%; height: 100%; object-fit: cover; }
.geo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,16,32,.55) 40%, var(--bg) 100%); }
.geo .sec-in { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.plan.hot { border-color: rgba(45,212,191,.6); background: linear-gradient(180deg, rgba(45,212,191,.08), var(--panel)); }
.tag { position: absolute; top: -12px; left: 24px; background: var(--amber); color: #2a1a02; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 34px; font-weight: 700; margin-top: 14px; }
.per { color: var(--muted); font-size: 14px; }
.plan > p { color: #c4cee3; margin: 12px 0; font-size: 15px; }
.plan ul { margin: 6px 0 22px; display: grid; gap: 8px; flex: 1; }
.plan li { position: relative; padding-left: 22px; font-size: 15px; color: #d6deee; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan .btn { text-align: center; }
.note { color: var(--muted); font-size: 14.5px; margin-top: 22px; max-width: 80ch; }

details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; max-width: 70ch; }

/* заявка */
.request { background: radial-gradient(1000px 420px at 80% 0%, rgba(45,212,191,.10), transparent 70%), var(--bg2); }
.req-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contacts { margin-top: 22px; color: var(--muted); font-size: 15px; }
.req-form { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
label b { color: var(--amber); font-weight: 600; }
label i { font-style: normal; color: #6f7c96; margin-left: 4px; }
input[type=text], input[type=email], input[type=password], select, textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(10,16,32,.7); color: var(--ink); font: 16px var(--font); }
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 4px 0 6px; }
.consent input { margin-top: 4px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok { padding: 8px 4px; }
.ok h3 { font-size: 22px; color: var(--teal); margin-bottom: 8px; }
.err { background: rgba(240,138,132,.12); border: 1px solid rgba(240,138,132,.5); color: #ffb4ae; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 14.5px; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 36px 0; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.copy { grid-column: 1 / -1; color: #6f7c96; font-size: 13px; }

/* адаптив */
@media (max-width: 980px) {
  .hero-in, .how, .req-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .grid, .nums { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero::before { background: linear-gradient(180deg, rgba(10,16,32,.72), var(--bg) 96%); }
}
@media (max-width: 560px) {
  .sec { padding: 60px 0; }
  .hero-in { padding: 56px 20px 64px; }
  .facts { grid-template-columns: 1fr; }
  .grid, .nums, .row { grid-template-columns: 1fr; }
  .nav-cta .ghost { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dash { animation: none; }
  .btn, .grid article { transition: none; }
}

.nums dt small { font-size: 18px; font-weight: 500; -webkit-text-fill-color: var(--muted); color: var(--muted); }

.nav-cta .lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.nav-cta .lang:hover { color: var(--ink); }

/* страница входа */
.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg) url("/static/landing/hero.webp") right center / cover no-repeat; position: relative; }
.auth::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, rgba(10,16,32,.82) 55%, rgba(10,16,32,.45) 100%); }
.auth > * { position: relative; }
.auth .nav { position: relative; background: transparent; border-bottom: 0; backdrop-filter: none; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 24px 16px 64px; }
.auth-card { width: 100%; max-width: 400px; background: rgba(13,22,48,.78); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px 28px;
  backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(45,212,191,.35), 0 0 0 1px rgba(255,255,255,.03) inset; }
.auth-card h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.01em; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.auth-card .btn { margin-top: 6px; }
.auth-foot { margin-top: 18px; font-size: 13.5px; color: var(--muted); text-align: center; }
