/* Page-specific styles for demos.html — extracted from inline <style> for CSP compliance */
.demo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }
    .demo-card {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
      border: 1px solid rgba(6, 182, 212, 0.2);
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .demo-card:hover {
      border-color: rgba(6, 182, 212, 0.5);
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    .demo-thumbnail {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .demo-thumbnail-icon {
      font-size: 4rem;
      opacity: 0.8;
    }
    .demo-thumbnail video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .demo-play-btn {
      position: absolute;
      width: 80px;
      height: 80px;
      background: rgba(6, 182, 212, 0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    }
    .demo-play-btn:hover {
      transform: scale(1.1);
      background: rgba(6, 182, 212, 1);
    }
    .demo-play-btn svg {
      width: 32px;
      height: 32px;
      fill: white;
      margin-left: 4px;
    }
    .demo-content {
      padding: 1.5rem;
    }
    .demo-badge {
      display: inline-block;
      padding: 4px 12px;
      background: rgba(6, 182, 212, 0.1);
      border: 1px solid rgba(6, 182, 212, 0.3);
      border-radius: 20px;
      font-size: 0.75rem;
      color: var(--color-cyan);
      margin-bottom: 0.75rem;
    }
    .demo-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: white;
      margin-bottom: 0.5rem;
    }
    .demo-description {
      font-size: 0.9rem;
      color: var(--color-text-dim);
      margin-bottom: 1rem;
      line-height: 1.6;
    }
    .demo-meta {
      display: flex;
      gap: 1rem;
      font-size: 0.8rem;
      color: var(--color-text-muted);
    }
    .demo-meta span {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .featured-demo {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      padding: 2rem;
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
      border: 2px solid rgba(6, 182, 212, 0.3);
    }
    .featured-demo .demo-thumbnail {
      aspect-ratio: 16/9;
      border-radius: 12px;
    }
    .featured-demo .demo-content {
      padding: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .featured-label {
      color: var(--color-gold);
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.5rem;
    }
    .featured-demo .demo-title {
      font-size: 1.75rem;
    }
    .featured-demo .demo-description {
      font-size: 1rem;
    }
    .watch-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: linear-gradient(135deg, var(--color-cyan) 0%, #3b82f6 100%);
      border: none;
      border-radius: 8px;
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 1rem;
    }
    .watch-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
    }
    .section-icon {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; border-radius: 8px;
      background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.25);
      margin-right: 10px; vertical-align: middle;
    }
    .section-icon svg { width: 16px; height: 16px; stroke: #C9A227; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .mi { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: middle; flex-shrink: 0; }
    .mi-gold { background: #C9A227; }
    .mi-green { background: #4ADE80; }
    .mi-cyan { background: #22D3EE; }
    @media (max-width: 768px) {
      .featured-demo {
        grid-template-columns: 1fr;
      }
      .demo-grid {
        grid-template-columns: 1fr;
      }
    }