
:root{
  --bg:#0b1220;
  --card:#121b2e;
  --card2:#0f172a;
  --text:#e6eefc;
  --muted:#a8b3cf;
  --accent:#5eead4;
  --accent2:#60a5fa;
  --danger:#fb7185;
  --warn:#fbbf24;
  --ok:#34d399;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
  --border: 1px solid rgba(255,255,255,.08);
}

*{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;
  background: radial-gradient(1000px 600px at 20% 0%, rgba(96,165,250,.18), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(94,234,212,.14), transparent 55%),
              linear-gradient(180deg, #050916, #0b1220);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:24px;}
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 18px; border:var(--border); border-radius:var(--radius);
  background: rgba(18,27,46,.75); box-shadow: var(--shadow); backdrop-filter: blur(10px);
  position: sticky; top: 14px; z-index: 20;
}
.brand{display:flex; gap:12px; align-items:center;}
.logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, rgba(94,234,212,.9), rgba(96,165,250,.9));
  box-shadow: 0 10px 25px rgba(96,165,250,.15);
}
.brand h1{font-size:16px; margin:0; letter-spacing:.2px}
.brand small{display:block; color:var(--muted); font-size:12px; margin-top:1px}
.navlinks{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.chip{
  padding:8px 12px; border-radius:999px; border:var(--border);
  background: rgba(15,23,42,.55);
  color:var(--muted);
}
.chip.active{color:var(--text); border-color: rgba(94,234,212,.35); background: rgba(94,234,212,.08)}
.chip:hover{color:var(--text); border-color: rgba(96,165,250,.35)}

.hero{padding:34px 0 14px}
.hero h2{font-size:34px; margin:0 0 10px}
.hero p{margin:0; color:var(--muted); max-width: 80ch}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px; border:var(--border);
  background: rgba(15,23,42,.55);
  color:var(--muted);
  font-size:13px;
}

.badge.insecure{
  border: 1px solid rgba(251,113,133,.35);
  background: rgba(251,113,133,.10);
  color: #ffd1da;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin-top:18px;
}
.card{
  grid-column: span 4;
  border:var(--border);
  background: rgba(18,27,46,.75);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(96,165,250,.35)}
.card .head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:16px 16px 10px;
}
.card .title{margin:0; font-size:18px}
.card .subtitle{margin:6px 0 0; color:var(--muted); font-size:13px}
.icon{
  width:46px; height:46px; border-radius:14px;
  background: rgba(96,165,250,.14);
  border: 1px solid rgba(96,165,250,.18);
  display:grid; place-items:center;
  font-size:22px;
}
.icon.saas{background: rgba(94,234,212,.12); border-color: rgba(94,234,212,.2)}
.icon.paas{background: rgba(96,165,250,.12); border-color: rgba(96,165,250,.2)}
.icon.iaas{background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.2)}
.card .body{padding:0 16px 16px; color:var(--muted); font-size:14px}
.card .cta{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:12px 16px; border-top: var(--border);
  background: rgba(15,23,42,.35);
  color: var(--text);
}
.card .cta span{color:var(--muted); font-size:13px}
.arrow{opacity:.9}

@media (max-width: 960px){
  .card{grid-column: span 6}
}
@media (max-width: 640px){
  .card{grid-column: span 12}
  .hero h2{font-size:28px}
}

.section-title{
  margin-top:28px;
  display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.section-title h3{margin:0; font-size:20px}
.section-title p{margin:0; color:var(--muted); font-size:13px; max-width: 75ch}

.footer{
  margin:34px 0 10px;
  color: var(--muted);
  font-size: 12px;
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
  border-top: var(--border);
  padding-top: 14px;
}

/* Wizard */
.wizard{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
}
@media (max-width: 900px){
  .wizard{grid-template-columns: 1fr}
}
.panel{
  border:var(--border);
  background: rgba(18,27,46,.75);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel .ph{
  padding:14px 16px;
  border-bottom: var(--border);
  background: rgba(15,23,42,.35);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.panel .ph h3{margin:0; font-size:16px}
.panel .ph small{color:var(--muted)}
.panel .pb{padding:16px}
.form{
  display:grid;
  gap:12px;
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 700px){
  .row{grid-template-columns: 1fr}
}
label{display:block; color:var(--muted); font-size:12px; margin-bottom:6px}
input[type="text"], input[type="number"], select, textarea{
  width:100%;
  padding:10px 12px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(5,9,22,.55);
  color: var(--text);
  outline:none;
}
textarea{min-height: 84px; resize: vertical}
.helper{color:var(--muted); font-size:12px; margin-top:6px}
.checks{display:flex; flex-wrap:wrap; gap:10px}
.chk{
  display:flex; gap:8px; align-items:center;
  padding:10px 12px;
  border-radius: 14px;
  border: var(--border);
  background: rgba(5,9,22,.35);
  color: var(--muted);
}
.chk input{width:16px; height:16px}
.btnbar{display:flex; gap:10px; flex-wrap:wrap; margin-top:6px}
button{
  border: 0;
  padding:10px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:600;
  background: linear-gradient(135deg, rgba(96,165,250,.95), rgba(94,234,212,.9));
  color:#07101e;
}
button.secondary{
  background: rgba(5,9,22,.35);
  color: var(--text);
  border: var(--border);
}
.output{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(5,9,22,.55);
  border: var(--border);
  border-radius: 14px;
  padding:12px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
.note{
  padding:10px 12px;
  border-radius: 14px;
  border: var(--border);
  background: rgba(251,191,36,.08);
  color: #ffe7b3;
}
.warn{
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(251,113,133,.25);
  background: rgba(251,113,133,.08);
  color: #ffd1da;
}
.ok{
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(52,211,153,.25);
  background: rgba(52,211,153,.08);
  color: #c7f9e5;
}
.small{font-size:12px; color:var(--muted)}

/* Modal (Glossary) */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 1000;
}
.modal-content{
  width: min(720px, 90vw);
  max-height: 80vh;
  overflow: auto;
  border-radius: 16px;
  border: var(--border);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  border-bottom: var(--border);
}
.modal-header h3{margin:0; font-size:16px}
.modal-body{padding: 14px}
.close-btn{
  border: var(--border);
  background: rgba(5,9,22,.35);
  color: var(--text);
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
}
.glossary dt{font-weight: 700; margin-top: 12px}
.glossary dd{margin: 6px 0 0 0; color: var(--muted)}
.glossary ul{margin: 6px 0 0 18px; color: var(--muted)}


.warnbox {
  border: 1px solid rgba(251,113,133,.35);
  background: rgba(251,113,133,.08);
  padding: 10px 12px;
  border-radius: 12px;
}

.warnbox div {
  color: #ffd1da; /* червеникав текст */
  margin: 4px 0;
}

