/* ── Demo Stands Page Styles ───────────────────────────────────── */

.demo-stands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */
.demo-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease;
}

.demo-card:hover {
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.12);
}

/* Ambient light glow per theme */
.demo-card--wms:hover  { box-shadow: 0 32px 64px -16px rgba(37, 99, 235, 0.18); }
.demo-card--lk:hover   { box-shadow: 0 32px 64px -16px rgba(79, 70, 229, 0.18); }
.demo-card--messenger:hover { box-shadow: 0 32px 64px -16px rgba(11, 61, 145, 0.20); }
.demo-card--mes:hover  { box-shadow: 0 32px 64px -16px rgba(15, 118, 110, 0.20); }
.demo-card--kurica:hover { box-shadow: 0 32px 64px -16px rgba(22, 163, 74, 0.18); }
.demo-card--ludyinovo:hover { box-shadow: 0 32px 64px -16px rgba(37, 99, 235, 0.18); }
.demo-card--dobrie:hover { box-shadow: 0 32px 64px -16px rgba(124, 58, 237, 0.18); }

/* Header */
.demo-card__header {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.demo-card__header--wms {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}
.demo-card__header--lk {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
}
.demo-card__header--messenger {
  background: linear-gradient(135deg, #06255C 0%, #0B3D91 100%);
}
.demo-card__header--mes {
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
}
.demo-card__header--kurica {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
}
.demo-card__header--ludyinovo {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}
.demo-card__header--dobrie {
  background: linear-gradient(135deg, #581c87 0%, #7c3aed 100%);
}

/* Decorative circles */
.demo-card__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.demo-card__decor--1 {
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
}

.demo-card__decor--2 {
  bottom: -30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.04);
}

/* Icon */
.demo-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.demo-card__icon svg {
  width: 24px;
  height: 24px;
}

/* Title & description */
.demo-card__title {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.demo-card__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* Body */
.demo-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Features list */
.demo-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.demo-card__feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #374151;
}

.demo-card__feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Tags */
.demo-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.demo-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}

.demo-card__tag--blue {
  background: #eff6ff;
  color: #1d4ed8;
}
.demo-card__tag--green {
  background: #f0fdf4;
  color: #166534;
}
.demo-card__tag--yellow {
  background: #fefce8;
  color: #854d0e;
}
.demo-card__tag--navy {
  background: #EEF1F6;
  color: #0B3D91;
}
.demo-card__tag--amber {
  background: #FBEBCC;
  color: #B26A00;
}
.demo-card__tag--purple {
  background: #f5f3ff;
  color: #6d28d9;
}
.demo-card__tag--teal {
  background: #f0fdfa;
  color: #0f766e;
}

/* Actions */
.demo-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.demo-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.demo-card__btn:hover {
  filter: brightness(1.12);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.demo-card__btn svg {
  width: 15px;
  height: 15px;
}

.demo-card__btn--wms {
  background: #2563eb;
}

.demo-card__btn--lk {
  background: #4f46e5;
}

.demo-card__btn--messenger {
  background: #0B3D91;
}

.demo-card__btn--mes {
  background: #0f766e;
}

.demo-card__btn--kurica {
  background: #16a34a;
}

.demo-card__btn--ludyinovo {
  background: #2563eb;
}

.demo-card__btn--dobrie {
  background: #7c3aed;
}

/* Link */
.demo-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.demo-card__link:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-card__link--wms {
  color: #2563eb;
}
.demo-card__link--lk {
  color: #4f46e5;
}
.demo-card__link--messenger {
  color: #0B3D91;
}
.demo-card__link--mes {
  color: #0f766e;
}
.demo-card__link--kurica {
  color: #16a34a;
}
.demo-card__link--ludyinovo {
  color: #2563eb;
}
.demo-card__link--dobrie {
  color: #7c3aed;
}

/* Note */
.demo-note {
  max-width: 640px;
  margin: 3rem auto 0;
  text-align: center;
}

.demo-note__text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.demo-note__cta {
  margin-top: 1.5rem;
}
