/* ==========================================================
   ThinkAIQ — QRakshak (Smart QR Safety)
   LIGHT theme. Mobile-first. Accent gradient: cyan -> purple.
   Includes auto-playing News + Reels carousels.
   ========================================================== */

.qr-section {
  --qr-bg: #f8fafc;
  --qr-card: #ffffff;
  --qr-border: rgba(0, 0, 0, 0.06);
  --qr-text: #0f172a;
  --qr-muted: #64748b;
  --qr-cyan: #06b6d4;
  --qr-purple: #8b5cf6;
  position: relative;
  background: var(--qr-bg);
  color: var(--qr-text);
  overflow: hidden;
}

.qr-bg-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 130vw);
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    closest-side,
    rgba(6, 182, 212, 0.1),
    rgba(139, 92, 246, 0.07) 55%,
    transparent 78%
  );
  filter: blur(20px);
}

.qr-section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */
.qr-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.qr-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.qr-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--qr-text);
  line-height: 1.25;
  margin: 0 0 12px;
}

.qr-subtitle {
  font-size: 15px;
  color: var(--qr-muted);
  line-height: 1.55;
  margin: 0;
}

.qr-title--left,
.qr-subtitle--left {
  text-align: left;
}

/* ---------- Stage (QR card + details) ---------- */
.qr-stage {
  display: block;
}

.qr-stage--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.qr-details {
  min-width: 0;
}

.qr-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: var(--qr-card);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.qr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.7),
    rgba(139, 92, 246, 0.45) 45%,
    rgba(15, 23, 42, 0.06)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.qr-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--qr-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.qr-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.qr-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--qr-cyan);
  opacity: 0.85;
  animation: qrCornerPulse 2.4s ease-in-out infinite;
}

.qr-corner--tl {
  top: 6px;
  left: 6px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 8px;
}

.qr-corner--tr {
  top: 6px;
  right: 6px;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 8px;
}

.qr-corner--bl {
  bottom: 6px;
  left: 6px;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 8px;
}

.qr-corner--br {
  bottom: 6px;
  right: 6px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 8px;
}

@keyframes qrCornerPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.qr-scanline {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.9), transparent);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.55);
  animation: qrScan 3s ease-in-out infinite;
}

@keyframes qrScan {
  0% { top: 8px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

.qr-scan-hint {
  font-size: 13px;
  color: var(--qr-muted);
  margin: 16px 0 14px;
}

.qr-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.qr-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--qr-border);
  background: #f8fafc;
  color: var(--qr-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.qr-handle {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--qr-cyan);
  letter-spacing: 0.02em;
}

/* ---------- App download ---------- */
.qr-app {
  width: 100%;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.qr-play-icon {
  color: #ffffff;
  flex: 0 0 auto;
}

.qr-app-note {
  font-size: 11px;
  color: var(--qr-muted);
  margin: 8px 0 0;
}

/* ---------- Block titles ---------- */
.qr-block-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--qr-text);
  text-align: center;
  margin: 0 0 24px;
}

.qr-block-title--left {
  text-align: left;
}

/* ---------- Working features ---------- */
.qr-features {
  margin-top: 64px;
}

.qr-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.qr-feature,
.qr-conditional-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--qr-border);
  background: var(--qr-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-feature:hover,
.qr-conditional-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.qr-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.qr-feature-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(139, 92, 246, 0.12));
}

.qr-conditional-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--qr-text);
  margin: 0;
  line-height: 1.3;
}

.qr-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--qr-text);
  margin: 0;
  line-height: 1.3;
  min-height: calc(15px * 1.3 * 1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qr-feature p {
  margin: 0;
  font-size: 13px;
  color: var(--qr-muted);
  line-height: 1.5;
  min-height: calc(13px * 1.5 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qr-conditional-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--qr-muted);
  line-height: 1.55;
}

/* ---------- Conditional features ---------- */
.qr-conditional {
  margin-top: 56px;
}

.qr-disclaimer-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.qr-disclaimer-chip--left {
  margin-left: 0;
  margin-right: auto;
}

.qr-conditional-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.qr-emergency-note {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--qr-muted);
}

.qr-emergency-note--left {
  margin-left: 0;
  text-align: left;
}

.qr-conditional--full .qr-conditional-grid {
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- Two apps ---------- */
.qr-apps {
  margin-top: 56px;
}

.qr-apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.qr-app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--qr-border);
  background: var(--qr-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-app-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.qr-app-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(139, 92, 246, 0.16));
}

.qr-app-status {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.qr-app-status--soon {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.28);
}

.qr-app-status--live {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.qr-live-dot {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55);
  animation: qrLivePulse 1.8s infinite;
}

@keyframes qrLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.qr-app-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--qr-text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.qr-app-card p {
  font-size: 14px;
  color: var(--qr-muted);
  line-height: 1.5;
  margin: 0;
}

.qr-app-footnote {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  color: #94a3b8;
}

.qr-app-btn {
  margin-top: auto;
  width: 100%;
  height: 44px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

.qr-app-btn:hover {
  background: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.26);
}

/* ---------- Carousels (news + reels) ---------- */
.qr-news,
.qr-reels {
  margin-top: 56px;
}

.qr-carousel {
  position: relative;
}

.qr-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.qr-track::-webkit-scrollbar {
  display: none;
}

/* News cards */
.qr-news-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--qr-border);
  background: var(--qr-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-news-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.qr-news-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  border-bottom: 1px solid var(--qr-border);
  overflow: hidden;
}

.qr-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-news-thumb::after {
  content: attr(data-source);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.72);
}

.qr-news-thumb.is-fallback img {
  display: none;
}

.qr-news-thumb.is-fallback::after {
  display: flex;
}

/* Custom gradient placeholder for cards with no og:image */
.qr-news-thumb--placeholder {
  position: relative;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
}

.qr-news-thumb--placeholder::after {
  display: none;
}

/* Optional local override image; JS removes it if it fails, revealing the gradient */
.qr-news-ph-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-news-ph-brand {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
}

.qr-news-ph-source {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

.qr-news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.qr-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.qr-news-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qr-cyan);
  margin: 0;
}

.qr-news-date {
  font-size: 11px;
  color: var(--qr-muted);
  white-space: nowrap;
}

.qr-news-headline {
  font-size: 15px;
  font-weight: 700;
  color: var(--qr-text);
  line-height: 1.35;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qr-news-excerpt {
  font-size: 12.5px;
  color: var(--qr-muted);
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.qr-news-more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--qr-cyan);
  white-space: nowrap;
}

/* News — swipeable carousel on small screens (reels-style), grid on larger */
.qr-news-track .qr-news-card {
  flex: 0 0 86%;
  scroll-snap-align: center;
}

@media (min-width: 600px) {
  .qr-news-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .qr-news-track .qr-news-card {
    flex: none;
    height: 100%;
  }
}

@media (min-width: 992px) {
  .qr-news-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Reels cards */
.qr-reel-card {
  position: relative;
  flex: 0 0 80%;
  max-width: 240px;
  scroll-snap-align: start;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  background:
    linear-gradient(160deg, #1e293b, #0f172a) padding-box,
    linear-gradient(135deg, #06b6d4, #8b5cf6) border-box;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-reel-card--soon {
  cursor: default;
}

.qr-reel-card:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.qr-reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  overflow: hidden;
}

/* Local HTML5 reel video (plays muted, one at a time — see qr-section.js) */
.qr-reel-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
  background: #000000;
  cursor: pointer;
}

.qr-reel-play {
  transition: opacity 0.25s ease;
}

.qr-reel-card.is-playing .qr-reel-play {
  opacity: 0;
  pointer-events: none;
}

.qr-reel-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(140px circle at 72% 18%, rgba(6, 182, 212, 0.28), transparent 70%);
}

.qr-reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.qr-reel-play svg {
  width: 26px;
  height: 26px;
}

/* Play/pause control — appears on hover (desktop), on tap (mobile), and
   whenever the reel is paused (e.g. prefers-reduced-motion). */
.qr-reel-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.qr-reel-toggle .i-pause {
  display: none;
}

.qr-reel-card.is-playing .qr-reel-toggle .i-play {
  display: none;
}

.qr-reel-card.is-playing .qr-reel-toggle .i-pause {
  display: block;
}

.qr-reel-card:hover .qr-reel-toggle,
.qr-reel-toggle:focus-visible,
.qr-reel-card:not(.is-playing) .qr-reel-toggle {
  opacity: 1;
}

.qr-reel-card.is-missing-video .qr-reel-toggle {
  display: none;
}

.qr-reel-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 12px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
}

.qr-reel-card--soon .qr-reel-title {
  color: #e2e8f0;
}

.qr-reel-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 62px);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.qr-reel-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

/* Reels backed by a local video file */
.qr-reel-card--video {
  cursor: pointer;
}

.qr-reel-mute {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  display: none;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.qr-reel-card.is-playing .qr-reel-mute {
  display: inline-flex;
}

a.qr-reel-play {
  text-decoration: none;
}

/* Dots */
.qr-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.qr-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.qr-dot.is-active {
  width: 20px;
  background: linear-gradient(135deg, var(--qr-cyan), var(--qr-purple));
}

/* ---------- Coming soon ---------- */
.qr-coming {
  margin-top: 56px;
}

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

.qr-coming-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.qr-coming-item:hover {
  transform: scale(1.02);
  border-color: rgba(6, 182, 212, 0.45);
}

.qr-coming-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1;
}

.qr-coming-label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--qr-text);
  line-height: 1.3;
}

.qr-coming-soon {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.14);
}

/* ---------- Stats ---------- */
.qr-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.qr-stat {
  text-align: center;
  padding: 22px 16px;
  border-radius: 16px;
  border: 1px solid var(--qr-border);
  background: var(--qr-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.qr-stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--qr-cyan), var(--qr-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qr-stat-label {
  font-size: 12px;
  color: var(--qr-muted);
  margin-top: 6px;
}

/* ---------- CTA banner ---------- */
.qr-cta-banner {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding: 30px 22px;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.18);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(139, 92, 246, 0.06));
}

.qr-cta-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--qr-text);
  margin: 0 0 8px;
}

.qr-cta-text p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--qr-muted);
  margin: 0;
  max-width: 520px;
}

.qr-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.qr-btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--qr-cyan), var(--qr-purple));
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.28);
}

.qr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.36);
}

.qr-btn-ghost {
  background: #ffffff;
  color: var(--qr-text);
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.qr-btn-ghost:hover {
  border-color: var(--qr-cyan);
  color: var(--qr-cyan);
}

/* ---------- Legal ---------- */
.qr-legal {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0 16px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  color: #94a3b8;
}

/* ═══════════════════════════════════════════
   TABLET (≥ 768px)
═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .qr-title {
    font-size: 32px;
  }

  .qr-subtitle {
    font-size: 16px;
  }

  .qr-conditional-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qr-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-coming-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qr-news-card {
    flex: 0 0 calc((100% - 14px) / 2);
  }

  .qr-reel-card {
    flex: 0 0 30%;
  }

  .qr-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .qr-cta-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 34px 36px;
  }

  .qr-cta-text h3 {
    font-size: 24px;
  }

  .qr-cta-actions {
    flex-direction: row;
    width: auto;
    flex-shrink: 0;
  }
}

/* ═══════════════════════════════════════════
   DESKTOP (≥ 1024px)
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .qr-title {
    font-size: 36px;
  }

  .qr-stage--split {
    grid-template-columns: minmax(300px, 38%) 1fr;
    gap: 44px;
  }

  .qr-card {
    padding: 28px 24px;
  }

  .qr-coming-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .qr-news-card {
    flex: 0 0 calc((100% - 28px) / 3);
  }

  .qr-reel-card {
    flex: 0 0 calc((100% - 42px) / 4);
    max-width: none;
  }
}

/* ═══════════════════════════════════════════
   LARGE DESKTOP (≥ 1280px)
═══════════════════════════════════════════ */
@media (min-width: 1280px) {
  .qr-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════
   EXTRA SMALL (< 360px)
═══════════════════════════════════════════ */
@media (max-width: 359px) {
  .qr-features-grid,
  .qr-coming-grid {
    grid-template-columns: 1fr;
  }

  .qr-badge {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .qr-corner,
  .qr-scanline,
  .qr-live-dot {
    animation: none;
  }

  .qr-scanline {
    display: none;
  }

  .qr-track {
    scroll-behavior: auto;
  }

  .qr-play-btn:hover,
  .qr-news-card:hover,
  .qr-reel-card:hover,
  .qr-feature:hover,
  .qr-conditional-card:hover,
  .qr-app-card:hover,
  .qr-coming-item:hover,
  .qr-btn-primary:hover {
    transform: none;
  }
}
