/* ===== DEMO PAGE ===== */

/* Info Section */
.demo-info {
  padding-top: 90px;
  padding-bottom: 5px;
  text-align: center;
  background: #fff;
}
.demo-info p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 4px;
}
.demo-info .demo-warning {
  font-weight: 700;
}
.demo-info .demo-warning strong {
  color: #000;
  font-weight: 900;
}
.demo-login {
  margin-top: 16px;
}
.demo-login p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 2px;
}
.demo-login .demo-login-title {
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}
.demo-login span.demo-val {
  color: #000;
  font-weight: 700;
}

/* Section Title */
.demo-section-title {
  text-align: center;
  margin: 24px 0 24px;
}
.demo-section-title h2 {
  display: inline-block;
  position: relative;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  padding: 14px 60px;
  z-index: 1;
}
.demo-section-title h2::before {
  content: '';
  position: absolute;
  left: -20px; right: -20px;
  top: 0; bottom: 0;
  background: url('../images/brush-stroke.png') center center / 100% 100% no-repeat;
  z-index: -1;
}

/* Demo Grid */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  padding-bottom: 40px;
}
.demo-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}
.demo-card:hover {
  transform: translateY(-4px);
}
.demo-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
}
.demo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.demo-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

/* App QR Section */
.demo-app-section {
  background: #fff;
  padding: 10px 0 50px;
  text-align: center;
}
.demo-app-desc {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 24px;
}
.demo-qr-row {
  display: flex;
  justify-content: center;
  gap: 60px;
}
.demo-qr-item {
  text-align: center;
}
.demo-qr-placeholder {
  width: 200px;
  height: 200px;
  background: #ddd;
  border-radius: 12px;
  margin-bottom: 16px;
}
.demo-qr-item p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

/* POS App Section */
.demo-pos-section {
  background: #fff;
  padding: 10px 0 50px;
  text-align: center;
}
.demo-login--center {
  margin-top: 6px;
  margin-bottom: 20px;
}
.demo-note {
  max-width: 600px;
  margin: 24px auto 20px;
  background: #FFF9C4;
  border: 1.5px solid #FFD600;
  border-radius: 30px;
  padding: 16px 30px;
  text-align: center;
}
.demo-note p {
  font-size: 0.9rem;
  color: #333;
  font-style: italic;
  line-height: 1.6;
}
.demo-note-label {
  color: #e53935;
  font-style: normal;
}
/* Floating CTA Bubble */
.demo-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(134.25deg, #073380 24.58%, #FE05DD 75.42%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(7,51,128,0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: demo-pulse 2s infinite;
}
.demo-floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(7,51,128,0.5);
}
@keyframes demo-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(7,51,128,0.4); }
  50% { box-shadow: 0 4px 30px rgba(254,5,221,0.5); }
}

/* Responsive */
@media (max-width: 768px) {
  .demo-info { padding-top: 70px; padding-left: 16px; padding-right: 16px; }
  .demo-info p { font-size: 0.85rem; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .demo-section-title h2 { font-size: 1.2rem; padding: 12px 30px; }
  .demo-section-title h2::before { left: 0; right: 0; top: 0; bottom: 0; background: #1a9e8f; border-radius: 8px; }
  .demo-qr-row { gap: 40px; }
  .demo-qr-placeholder { width: 160px; height: 160px; }
  .demo-floating-btn { font-size: 0.8rem; padding: 10px 20px; bottom: 16px; right: 16px; }
  .demo-note { margin-left: 16px; margin-right: 16px; padding: 12px 20px; }
  .demo-card p { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-qr-row { flex-direction: column; align-items: center; gap: 30px; }
  .demo-floating-btn { font-size: 0.75rem; padding: 10px 16px; }
}
