:root {
  --bg: #070d1a;
  --bg2: #0c1526;
  --card: #111c31;
  --line: #1e2c47;
  --text: #e6ecf7;
  --muted: #8d9bb5;
  --accent: #22d3a6;
  --accent2: #1aa987;
  --crit: #ff4d6d;
  --high: #ff9f43;
  --med: #ffd166;
  --low: #4dabf7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: 34px; margin-bottom: 36px; max-width: 640px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.muted { color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: #04221a; font-weight: 700; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--accent); cursor: pointer; font-size: 15px; transition: background .2s, transform .2s; }
.btn:hover { background: #3ee5bb; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 14px; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(7, 13, 26, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 22px; font-weight: 600; }
.logo span { color: var(--text); }
.logo b { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a:not(.btn) { color: var(--muted); font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--text); }
.hero { padding: 90px 0 70px; background: radial-gradient(900px 400px at 85% 0%, rgba(34, 211, 166, .13), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 166, .2); }
.console { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.console-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.c-dot { width: 11px; height: 11px; border-radius: 50%; }
.c-dot.r { background: #ff5f57; } .c-dot.y { background: #febc2e; } .c-dot.g { background: #28c840; }
.console-title { margin-left: 10px; color: var(--muted); font-size: 13px; }
.alerts { list-style: none; margin: 0; padding: 8px 0; }
.alerts li { display: grid; grid-template-columns: 82px 1fr auto; gap: 12px; align-items: center; padding: 11px 16px; font-size: 13px; border-bottom: 1px solid rgba(30, 44, 71, .6); animation: fadein .6s ease both; }
.alerts li:nth-child(2) { animation-delay: .15s; } .alerts li:nth-child(3) { animation-delay: .3s; } .alerts li:nth-child(4) { animation-delay: .45s; }
.sev { font-size: 11px; font-weight: 700; padding: 3px 0; border-radius: 4px; text-align: center; }
.sev.crit { background: rgba(255, 77, 109, .15); color: var(--crit); }
.sev.high { background: rgba(255, 159, 67, .15); color: var(--high); }
.sev.med { background: rgba(255, 209, 102, .13); color: var(--med); }
.sev.low { background: rgba(77, 171, 247, .15); color: var(--low); }
.a-txt { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-st { font-size: 12px; color: var(--muted); }
.a-st.blocked { color: var(--accent); } .a-st.inv { color: var(--high); }
.console-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 12px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 166, .6); } 100% { box-shadow: 0 0 0 10px rgba(34, 211, 166, 0); } }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 26px; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--accent2); transform: translateY(-3px); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; color: var(--accent); background: rgba(34, 211, 166, .1); }
.how { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.num { font-family: ui-monospace, Consolas, monospace; color: var(--accent); font-size: 14px; font-weight: 700; }
.steps h3 { font-size: 18px; margin: 10px 0 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 14px; }
.portal { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.portal-text p:not(.eyebrow) { color: var(--muted); max-width: 460px; }
.portal-text h2 { margin-bottom: 16px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.login label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
.login input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 15px; }
.login input:focus { outline: none; border-color: var(--accent); }
.msg { min-height: 20px; margin: 12px 0 0; font-size: 14px; color: var(--crit); }
.profile { text-align: center; }
.avatar { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 211, 166, .15); color: var(--accent); font-size: 26px; font-weight: 700; }
.profile h3 { font-size: 20px; }
.profile .muted { margin: 4px 0 10px; }
.role { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; background: rgba(34, 211, 166, .12); color: var(--accent); }
.facts { list-style: none; padding: 0; margin: 22px 0 4px; text-align: left; }
.facts li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts span { color: var(--muted); }
.contact { background: linear-gradient(135deg, rgba(34, 211, 166, .1), transparent 60%); border-top: 1px solid var(--line); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-in h2 { margin-bottom: 14px; }
.contact-in p:not(.eyebrow) { color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; padding: 26px 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .hero-in, .portal, .contact-in { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .nav nav a:not(.btn) { display: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding: 64px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
