:root {
  --bg: #0f1419;
  --surface: #182028;
  --surface2: #212c37;
  --text: #e8eef2;
  --muted: #98a8b8;
  --accent: #e07a38;
  --accent-hover: #f28c4a;
  --border: #2a3744;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 25, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 10px;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.hero {
  position: relative; border-radius: 20px; overflow: hidden;
  margin: 32px 0 44px; min-height: 440px;
  display: flex; align-items: flex-end;
  background: #111;
  border: 1px solid var(--border);
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.62;
}
.hero-content {
  position: relative; z-index: 2; padding: 48px; max-width: 740px;
  background: linear-gradient(to top, rgba(15,20,25,0.95), rgba(15,20,25,0.2) 85%, transparent);
  width: 100%;
}
.badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 4px 11px; border-radius: 99px; margin-bottom: 14px;
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 14px; }
.hero p { color: #d0dce5; font-size: 1.08rem; margin-bottom: 22px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 44px 0 22px; border-bottom: 1px solid var(--border); padding-bottom: 12px;
}
.section-head h2 { font-size: 1.55rem; }
.section-head span { color: var(--muted); font-size: 0.9rem; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: transform 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-img { width: 100%; height: 220px; object-fit: cover; background: var(--surface2); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.35; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.card-footer { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 48px;
}
.gallery-item {
  border-radius: 12px; overflow: hidden; height: 185px; position: relative;
  border: 1px solid var(--border); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }
.article-wrap { max-width: 820px; margin: 36px auto; }
.article-wrap h1 { font-size: 2.3rem; line-height: 1.25; margin: 12px 0 18px; }
.article-meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; margin-bottom: 28px; border: 1px solid var(--border); }
.article-content p { margin-bottom: 18px; font-size: 1.06rem; color: #d8e2ea; }
.article-content h2 { margin: 32px 0 14px; font-size: 1.5rem; color: #fff; }
.article-content ul { margin: 0 0 20px 22px; color: #d8e2ea; }
.article-content li { margin-bottom: 8px; }
.specs {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px; margin: 28px 0;
}
.specs h3 { margin-bottom: 14px; color: var(--accent); }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.spec-box { background: var(--surface2); padding: 14px; border-radius: 10px; }
.spec-box strong { display: block; font-size: 1.1rem; color: #fff; }
.spec-box span { font-size: 0.85rem; color: var(--muted); }
footer {
  border-top: 1px solid var(--border); margin-top: 64px; padding: 40px 0;
  color: var(--muted); font-size: 0.9rem;
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
#lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }
@media (max-width: 720px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-content { padding: 26px; }
  .nav-links { gap: 14px; font-size: 0.85rem; }
}