:root{
  --bg: #0b0f16;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --stroke: rgba(255,255,255,.12);
  --header-h: 64px;
  --footer-h: 48px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html, body { height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% 15%, rgba(98,164,255,.18), transparent 60%),
              radial-gradient(900px 600px at 85% 30%, rgba(255,107,166,.12), transparent 55%),
              radial-gradient(700px 500px at 60% 85%, rgba(93,255,184,.10), transparent 55%),
              var(--bg);
  overflow: hidden;
}

a{ color:inherit; text-decoration:none; }
a:focus{ outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; border-radius: 10px; }

/* фиксированная шапка */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  backdrop-filter: blur(12px);
  background: rgba(10,14,22,.55);
  border-bottom: 1px solid var(--stroke);
  z-index: 50;
}
.bar{
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 14px;
}
.dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(98,164,255,1), rgba(255,107,166,1));
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link{
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  transition: .15s ease;
  user-select:none;
  white-space: nowrap;
}
.nav-link:hover{ color: var(--text); border-color: var(--stroke); background: rgba(255,255,255,.04); }
.nav-link.active{
  color: var(--text);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}

/* фиксированный футер */
footer{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--footer-h);
  backdrop-filter: blur(12px);
  background: rgba(10,14,22,.50);
  border-top: 1px solid var(--stroke);
  z-index: 50;
}
.footer-inner{
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  gap: 12px;
}
.progress{
  display:flex;
  align-items:center;
  gap:8px;
  min-width: 140px;
  justify-content: flex-end;
}
.where{ color: rgba(255,255,255,.75); }
.pips{
  display:flex;
  gap:6px;
  align-items:center;
}
.pip{
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  opacity: .6;
  transition: .15s ease;
}
.pip.on{
  opacity: 1;
  background: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.35);
}

/* кнопки */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  user-select:none;
  transition: .15s ease;
}
.btn:hover{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.26); }
.btn.primary{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

/* секции */
main{
  height: 100vh;
  width: 100%;
  position: relative;
}
.section{
  height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  overflow:hidden;
}

/* фон секции (картинка цепляется через --bgimg) */
.section::before{
  content:"";
  position:absolute; inset: 0;
  background:
    radial-gradient(900px 550px at 30% 30%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.70)),
    var(--bgimg, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.02);
  transform: scale(1.02);
  z-index: 0;
}
.section::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(900px 600px at 70% 40%, rgba(98,164,255,.10), transparent 55%),
              radial-gradient(900px 600px at 20% 70%, rgba(255,107,166,.08), transparent 55%);
  z-index: 0;
  pointer-events:none;
}

.card{
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 26px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.title{
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 10px 0;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.subtitle{
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 60ch;
}
.meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 10px;
  border-radius: 999px;
}
.panel{
  border-radius: calc(var(--radius) - 6px);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.panel h3{
  margin:0;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.list{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
  line-height: 1.6;
}
.cta-row{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* адаптив */
@media (max-width: 860px){
  nav{ display:none; }
  .card{ grid-template-columns: 1fr; }
  .progress{ min-width: unset; }
}
@media (max-width: 420px){
  :root{ --header-h: 60px; --footer-h: 46px; }
  .card{ padding: 18px; }
}
