/* ═══════════════════════════════
   demos.css — Apex Systematic
═══════════════════════════════ */

.demos-hero {
  padding: var(--section-y) 0 80px;
  border-bottom: 1px solid var(--border);
}

.demos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  gap: 1px;
  background: var(--border);
}

.demo-card {
  background: var(--bg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background var(--ease);
  position: relative;
}

.demo-card:hover {
  background: var(--surface);
}

.demo-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
  transition: width var(--ease-slow);
}

.demo-card:hover::before {
  width: 56px;
}

.demo-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 10px;
  width: fit-content;
  margin-bottom: 20px;
}

.demo-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.demo-card .demo-brief {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.demo-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.demo-card .demo-nontech {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 36px;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--ease);
  margin-top: auto;
}

.demo-link:hover {
  gap: 16px;
}

.demo-link::after {
  content: '→';
}

/* Note banner */
.demos-note {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.demos-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: notePulse 2.5s ease infinite;
}

@keyframes notePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.demos-note p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .demos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .demo-card {
    padding: 36px 28px;
  }
}