﻿:root {
  --bg: #0b1020;
  --surface: #141b2d;
  --surface-2: #1c2640;
  --text: #e8edf7;
  --muted: #9aa8c7;
  --accent: #3d8bfd;
  --accent-2: #20c997;
  --border: #2a3555;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, #0b1020 0%, #10182b 100%);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-nav {
  padding: 1rem 1.5rem;
  background: rgba(20, 27, 45, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}
.site-nav a { font-weight: 700; color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.hero { margin-bottom: 2.5rem; }
.hero h1 { font-size: 2.5rem; margin: 0 0 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.meta { color: var(--muted); font-size: 0.9rem; }
h2 { margin-top: 0; font-size: 1.35rem; }
section { margin-bottom: 2.5rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  text-decoration: none;
}
.card img { width: 100%; height: 160px; object-fit: cover; background: var(--surface-2); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  margin-right: 0.35rem;
}
.score-badge { background: rgba(61, 139, 253, 0.15); border-color: rgba(61, 139, 253, 0.4); }
.score { font-size: 1.5rem; font-weight: 700; color: var(--accent-2); margin-top: 0.5rem; }
.score span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.profile-header { margin: 1.5rem 0 1rem; }
.profile h1 { margin: 0 0 0.75rem; font-size: 2.2rem; }
.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.description { font-size: 1.05rem; max-width: 70ch; color: #d5dced; }
.manufacturer-link { color: var(--muted); }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.gallery figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.stat-bars { display: grid; gap: 0.85rem; }
.stat-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.stat-bar-track {
  height: 10px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}
.entity-profile h1 { margin-bottom: 0.75rem; }
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}