
:root{
  --bg:#f6f7fb;
  --panel:#ffffff;
  --panel2:#ffffff;
  --text:#0f172a;
  --muted:#4b5563;
  --line:rgba(15,23,42,.12);
  --accent:#d32f2f;
  --accent2:#ffca28;
  --good:#0f7a3b;
  --bad:#b42318;
}

body{ background: radial-gradient(900px 450px at 20% 0%, rgba(211,47,47,.10), transparent 60%), radial-gradient(900px 450px at 80% 0%, rgba(255,202,40,.14), transparent 60%), var(--bg); color:var(--text); }
a{ color:#0b3a75; text-decoration:none; }
a:hover{ color:#071a33; text-decoration:underline; }

.navbar{ background:rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom:1px solid var(--line); box-shadow: 0 10px 28px rgba(15,23,42,.06); }
.navbar .nav-link{ color: rgba(15,23,42,.76); font-weight: 700; }
.navbar .nav-link:hover{ color: rgba(15,23,42,1); }

.promo-strip{
  background:linear-gradient(90deg, rgba(211,47,47,.92), rgba(255,202,40,.92));
  color:#111;
  font-weight:800;
  letter-spacing:.02em;
  border-bottom:1px solid rgba(0,0,0,.2);
}

.hero{
  position:relative;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(1200px 420px at 18% 10%, rgba(211,47,47,.14), transparent 62%),
    radial-gradient(900px 340px at 78% 18%, rgba(255,202,40,.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
}
.hero-inner{ padding: 52px 0 24px; }
.hero-card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  box-shadow: 0 22px 60px rgba(15,23,42,.10);
  border-radius: 18px;
}

.hero-graphic{
  position:absolute;
  right:-40px;
  top:-40px;
  width: 260px;
  height: 260px;
  opacity: .14;
  pointer-events:none;
  filter: saturate(1.1);
}

.hero-card.has-graphic{ position:relative; overflow:hidden; }

.btn-ghost{
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  font-weight: 800;
}
.btn-ghost:hover{ background: rgba(15,23,42,.06); }

.hero h1{
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.02;
}

.badge-soft{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.3rem .6rem;
  border-radius: 999px;
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  color: rgba(15,23,42,.72);
  font-size: .85rem;
  font-weight: 700;
}

.searchbar{
  background: rgba(15,23,42,.03);
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
}

.searchbar input, .searchbar select{
  background: transparent !important;
  border: 0 !important;
  color: var(--text) !important;
}
.searchbar input::placeholder{ color: rgba(15,23,42,.45); }
.searchbar .input-group-text{
  background: rgba(15,23,42,.04);
  border:0;
  color: rgba(15,23,42,.64);
}

.btn-accent{
  background: var(--accent);
  border-color: rgba(255,255,255,.15);
  font-weight: 800;
}
.btn-accent:hover{ filter: brightness(1.05); }

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1rem;
  margin: 26px 0 14px;
}
.section-title h2{
  font-weight: 900;
  margin:0;
}
.section-title .hint{
  color: var(--muted);
  font-weight: 600;
}

.tile-grid{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1200px){ .tile-grid{ grid-template-columns: repeat(4, 1fr);} }
@media (max-width: 768px){ .tile-grid{ grid-template-columns: repeat(2, 1fr);} }

.tile{
  background: #fff;
  border:1px solid var(--line);
  border-radius: 16px;
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
}
.tile:hover{ transform: translateY(-2px); border-color: rgba(15,23,42,.18); background: #fff; box-shadow: 0 18px 40px rgba(15,23,42,.09); }

.tile .thumb{
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.01));
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 12px;
}
.tile .thumb img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(15,23,42,.14));
}
.tile .meta{ padding: 12px 12px 14px; }
.tile .name{ font-weight: 900; line-height:1.1; }
.tile .sub{ color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: 4px; }

.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 992px){ .kpis{ grid-template-columns: 1fr; } }
.kpi{
  border:1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
}
.kpi .label{ color: var(--muted); font-weight: 700; font-size: .9rem; }
.kpi .value{ font-weight: 950; font-size: 1.3rem; margin-top: 4px; }

.footer{
  border-top:1px solid var(--line);
  padding: 22px 0;
  color: rgba(15,23,42,.70);
}

.code-pill{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: rgba(15,23,42,.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .18rem .55rem;
  font-size: .82rem;
  color: rgba(15,23,42,.82);
}
