:root {
  --bg: #06060a;
  --surface: #0f0f16;
  --surface2: #171720;
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(80, 180, 255, 0.3);
  --text: #e8e8f0;
  --muted: rgba(232, 232, 240, 0.55);
  --accent: #38b6ff;
  --accent2: #0077cc;
  --accent-glow: rgba(56, 182, 255, 0.12);
  --radius: 16px;
  --ok: #26d07c;
  --ok-bg: rgba(38, 208, 124, 0.12);
  --warn: #ffb74d;
  --warn-bg: rgba(255, 183, 77, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 182, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 182, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 26px;
}

.hero {
  background: linear-gradient(145deg, var(--surface), #121222);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px;
  margin-bottom: 22px;
}

.kicker {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: "Orbitron", sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 16px;
  font-size: 16px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip {
  border: 1px solid var(--border-h);
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.5px;
}

.status {
  font-weight: 700;
}

.status-finished {
  color: var(--ok);
  border-color: rgba(38, 208, 124, 0.45);
  background: var(--ok-bg);
}

.status-progress {
  color: var(--warn);
  border-color: rgba(255, 183, 77, 0.45);
  background: var(--warn-bg);
}

.cover {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

ul.features {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.details {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.details strong {
  color: var(--text);
  font-weight: 600;
}

.section {
  margin-top: 20px;
}

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

.gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.video-wrapper {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

.screen {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
}

.screen img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.screen p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.usecases {
  display: grid;
  gap: 14px;
}

.usecase {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.usecase h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.usecase p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.usecase p:last-child {
  margin-bottom: 0;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-h);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
}

.btn-ghost {
  color: var(--text);
  background: var(--surface2);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { padding: 22px; }
  .gallery, .screens { grid-template-columns: 1fr; }
}
