:root {
  --bg: #08111f;
  --bg-soft: #0f1d32;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.11);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --line: rgba(255,255,255,.12);
  --primary: #ef4444;
  --primary-dark: #b91c1c;
  --blue: #38bdf8;
  --green: #22c55e;
  --yellow: #f59e0b;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(56,189,248,.18), transparent 28rem), radial-gradient(circle at 80% 10%, rgba(239,68,68,.18), transparent 24rem), linear-gradient(180deg, #08111f 0%, #0b1424 45%, #070b13 100%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--text); color: #000; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(8,17,31,.78); border-bottom: 1px solid var(--line); }
.nav-shell { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(239,68,68,.95), rgba(59,130,246,.92)), #111827; box-shadow: 0 12px 35px rgba(239,68,68,.22); border: 1px solid rgba(255,255,255,.22); }
.brand-mark span { font-weight: 900; letter-spacing: -.06em; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 1.06rem; }
.brand-copy small { color: var(--muted); font-size: .78rem; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: var(--muted); font-weight: 700; font-size: .93rem; padding: 10px 13px; border-radius: 999px; transition: .2s ease; }
.main-nav a:hover { color: var(--text); background: var(--panel); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--panel); color: var(--text); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 999px; }
.section { padding: 96px 0; }
.hero { padding-top: 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) 440px; gap: 52px; align-items: center; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: #c7d2fe; font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.pulse { width: 10px; height: 10px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 8px rgba(34,197,94,.15); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.45rem); line-height: .94; letter-spacing: -.07em; margin: 22px 0 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.05em; margin: 12px 0 18px; }
h3 { margin-bottom: 8px; }
.hero-text, .two-col p, .cta-card p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 850; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 16px 45px rgba(239,68,68,.28); }
.btn-secondary, .btn-small { background: rgba(255,255,255,.08); border-color: var(--line); color: var(--text); }
.btn-small { min-height: 42px; font-size: .9rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.trust-row span { color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.045); padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: .8rem; }
.command-card, .table-card, .cta-card, .area-card { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.command-card { padding: 28px; position: relative; overflow: hidden; }
.command-card::before { content: ""; position: absolute; inset: -1px; background: linear-gradient(90deg, transparent, rgba(56,189,248,.14), transparent), radial-gradient(circle at 80% 5%, rgba(239,68,68,.18), transparent 14rem); pointer-events: none; }
.command-card > * { position: relative; }
.card-top, .section-head, .sync-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-label { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .77rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; font-size: .78rem; font-weight: 850; background: rgba(34,197,94,.13); color: #bbf7d0; border: 1px solid rgba(34,197,94,.25); }
.status-pill.offline { background: rgba(239,68,68,.13); color: #fecaca; border-color: rgba(239,68,68,.28); }
.command-card h2 { font-size: 2rem; margin-top: 24px; }
.command-card p { color: var(--muted); line-height: 1.7; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.stat { padding: 18px; border-radius: 18px; background: rgba(0,0,0,.18); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 7px; }
.stat span { color: var(--muted); font-weight: 700; font-size: .84rem; }
.sync-line { color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; font-size: .9rem; }
.two-col { display: grid; grid-template-columns: .86fr 1.14fr; gap: 52px; align-items: start; }
.feature-list { display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
.feature span { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: rgba(56,189,248,.12); color: #bae6fd; font-weight: 900; }
.feature p, .area-card p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.monitor-section, .areas-section { background: rgba(255,255,255,.025); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.section-head { margin-bottom: 28px; }
.notice { padding: 16px 18px; border-radius: 18px; background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.25); color: #fde68a; margin-bottom: 22px; line-height: 1.65; }
.notice.ok { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.25); color: #bbf7d0; }
.notice.error { background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.25); color: #fecaca; }
code { color: #f8fafc; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); padding: .1rem .35rem; border-radius: .45rem; }
.incident-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.incident-card { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.065); min-height: 240px; }
.incident-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.incident-keyword { font-size: 1.2rem; font-weight: 900; line-height: 1.15; }
.priority { white-space: nowrap; border-radius: 999px; padding: 6px 10px; border: 1px solid var(--line); background: rgba(239,68,68,.12); color: #fecaca; font-weight: 850; font-size: .75rem; }
.incident-meta { display: grid; gap: 12px; color: var(--muted); line-height: 1.45; }
.incident-meta strong { color: var(--text); }
.units { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.units span { padding: 6px 9px; border-radius: 999px; background: rgba(56,189,248,.12); color: #bae6fd; font-weight: 750; font-size: .78rem; }
.skeleton { min-height: 220px; border-radius: 22px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 240% 100%; animation: shimmer 1.2s infinite; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; font-weight: 750; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.s1,.s2 { background: var(--green); }
.s3 { background: var(--yellow); }
.s4,.s7,.s8 { background: var(--blue); }
.s5,.s6 { background: var(--primary); }
.table-card { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th,td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); }
th { color: #dbeafe; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.055); }
td { color: var(--muted); }
td strong { color: var(--text); }
.status-badge { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-weight: 850; font-size: .82rem; color: var(--text); background: rgba(255,255,255,.06); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area-card { padding: 24px; box-shadow: none; }
.area-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; background: rgba(255,255,255,.08); margin-bottom: 18px; font-size: 1.4rem; }
.cta-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; padding: clamp(26px, 5vw, 52px); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--muted); }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #86efac; font-weight: 900; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: #dbeafe; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; color: var(--text); background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 16px; padding: 14px 15px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(56,189,248,.55); box-shadow: 0 0 0 4px rgba(56,189,248,.12); }
.contact-form select option { color: #111827; }
.form-hint { font-size: .88rem; color: var(--muted); margin: 0; }
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; color: var(--muted); }
.footer-grid strong { color: var(--text); display: block; margin-bottom: 8px; }
.footer-grid span { color: var(--text); font-weight: 850; display: block; margin-bottom: 10px; }
.footer-grid a { display: block; margin: 8px 0; color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.legal { padding-top: 48px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid var(--line); line-height: 1.8; color: var(--muted); }
.legal-card h1, .legal-card h2 { color: var(--text); }
@media (max-width: 980px) {
  .hero-grid, .two-col, .cta-card { grid-template-columns: 1fr; }
  .incident-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .command-card { max-width: 620px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 92px; display: none; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 20px; background: rgba(8,17,31,.98); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .brand-copy small { display: none; }
  .section { padding: 68px 0; }
  .incident-grid, .area-grid { grid-template-columns: 1fr; }
  .section-head, .card-top, .sync-line { align-items: flex-start; flex-direction: column; }
  .legend { display: grid; }
  th:nth-child(3), td:nth-child(3) { display: none; }
  th,td { padding: 14px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}
