:root {
  --bg: #0b0c10;
  --panel: #11131a;
  --panel2: #0b0d14;
  --border: #1f2330;
  --border2: #23273a;
  --muted: rgba(245,245,245,0.70);
  --muted2: rgba(245,245,245,0.55);
  --text: #f5f5f5;
  --blue: #2f8cff;
  --blue2: rgba(47, 140, 255, 0.12);
  --green: #34d399;
  --yellow: #facc15;
  --red: #f87171;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 25% 0%, rgba(47,140,255,0.12), transparent 55%),
              radial-gradient(900px 600px at 85% 30%, rgba(52,211,153,0.08), transparent 55%),
              var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

/* Layout */
.app {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,19,26,0.70), rgba(11,12,16,0.40));
  backdrop-filter: blur(10px);
}

.brand {
  padding: 6px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.brand .kicker {
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand .name {
  margin-top: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.brand .sub {
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.65;
}

.nav-title {
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 14px 8px 8px;
}

.nav a {
  display: block;
  padding: 10px 10px;
  margin: 4px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  color: rgba(245,245,245,0.86);
}

.nav a:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(47,140,255,0.25);
}

.nav a.active {
  background: rgba(47,140,255,0.10);
  border-color: rgba(47,140,255,0.55);
}

.sidebar-footer {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  opacity: 0.65;
  display: grid;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,140,255,0.35);
  background: rgba(47,140,255,0.10);
  font-size: 12px;
  width: fit-content;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #555;
  flex: 0 0 auto;
}
.dot.ok { background: var(--green); }
.dot.run { background: var(--yellow); }

.content {
  padding: 28px 26px 60px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.topbar .right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47,140,255,0.45);
  background: rgba(47,140,255,0.15);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: rgba(47,140,255,0.22);
  border-color: rgba(47,140,255,0.70);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.btn.primary:hover {
  background: #2a7de6;
  border-color: #2a7de6;
}

.btn.ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: rgba(245,245,245,0.90);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(47,140,255,0.35);
}

.panel {
  background: linear-gradient(180deg, rgba(17,19,26,0.92), rgba(11,13,20,0.88));
  border-radius: 14px;
  padding: 18px 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.grid { display: grid; gap: 16px; }
.grid.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hero {
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(245,245,245,0.80);
  max-width: 72ch;
}

.hero .cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero .mini {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.65;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(600px 240px at 30% 10%, rgba(47,140,255,0.20), transparent 60%),
              radial-gradient(420px 240px at 70% 0%, rgba(250,204,21,0.10), transparent 65%);
  pointer-events: none;
}

.hero > * { position: relative; }

.kpis {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  color: rgba(245,245,245,0.85);
}

.kpi strong { font-weight: 700; color: #fff; }

.section { margin-top: 18px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 2px 10px;
}

.section-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}

.section-header .hint {
  font-size: 12px;
  color: rgba(245,245,245,0.60);
}

.card-title { margin: 0 0 6px; font-size: 16px; }

.card-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245,245,245,0.78);
}

.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(245,245,245,0.78);
  font-size: 13px;
  line-height: 1.6;
}

.badges {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(47,140,255,0.40);
  color: #9cc4ff;
  background: rgba(47,140,255,0.10);
}

.badge.ok {
  border-color: rgba(52,211,153,0.40);
  color: #6ee7b7;
  background: rgba(52,211,153,0.10);
}

.badge.warn {
  border-color: rgba(250,204,21,0.35);
  color: #fde68a;
  background: rgba(250,204,21,0.10);
}

.quote {
  margin: 12px 0 0;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245,245,245,0.82);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shot {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot .cap {
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(245,245,245,0.72);
  border-top: 1px solid var(--border);
}

/* FAQ */
details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17,19,26,0.90), rgba(11,13,20,0.86));
  padding: 12px 14px;
}

details summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: rgba(245,245,245,0.90);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

details summary::-webkit-details-marker { display: none; }

details p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245,245,245,0.78);
}

.caret { opacity: 0.65; font-size: 12px; }

/* Mobile */
.mobilebar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(11,12,16,0.78);
  backdrop-filter: blur(10px);
}

.mobilebar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hamb {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(245,245,245,0.92);
  cursor: pointer;
  font-size: 14px;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 60;
}

@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; width: 86vw; max-width: 360px; }
  .mobilebar { display: block; }
  .content { padding: 18px 14px 60px; }
  .grid.cols2, .grid.cols3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .sidebar-footer { position: static; margin-top: 14px; }
}