/* ═══════════════════════════════════════════
   LANDING PAGE STYLES - MOBILE FIRST
   ═══════════════════════════════════════════ */

/* ── Hero Section ─────────────────────────── */
.qt-hero {
  position: relative;
  min-height: 400px;
  background: var(--qt-bg-dark);
  overflow: hidden;
}

.qt-hero__media {
  position: relative;
  width: 100%;
}

.qt-hero__video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}

.qt-hero__video,
.qt-hero__video-native {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.qt-hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.qt-hero__content {
  position: relative;
  padding: var(--qt-space-xl) 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  color: var(--qt-text-inverse);
}

.qt-hero__title {
  font-size: var(--qt-fs-xl);
  font-weight: var(--qt-fw-extrabold);
  color: var(--qt-text-inverse);
  margin: var(--qt-space-sm) 0;
  line-height: var(--qt-lh-tight);
}

.qt-hero__desc {
  font-size: var(--qt-fs-sm);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--qt-space-md);
  line-height: var(--qt-lh-relaxed);
}

.qt-hero__price {
  margin-bottom: var(--qt-space-lg);
}

.qt-hero__price .qt-price__current {
  color: var(--qt-accent);
  font-size: var(--qt-fs-3xl);
  text-shadow: 0 2px 10px rgba(255, 214, 0, 0.3);
}

.qt-hero__price .qt-price__old {
  color: rgba(255,255,255,0.5);
}

/* ── Buttons ──────────────────────────────── */
.qt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--qt-radius-md);
  font-weight: var(--qt-fw-bold);
  font-size: var(--qt-fs-base);
  cursor: pointer;
  transition: all var(--qt-transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.qt-btn--primary {
  background: linear-gradient(135deg, var(--qt-primary), var(--qt-primary-dark));
  color: var(--qt-text-inverse);
  box-shadow: 0 4px 15px var(--qt-primary-glow);
}

.qt-btn--primary:hover {
  background: linear-gradient(135deg, var(--qt-primary-light), var(--qt-primary));
  color: var(--qt-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--qt-primary-glow);
}

.qt-btn--lg {
  padding: 16px 32px;
  font-size: var(--qt-fs-md);
  border-radius: var(--qt-radius-lg);
}

.qt-btn--full {
  width: 100%;
}

/* ── Features Section ─────────────────────── */
.qt-features {
  background: var(--qt-bg-soft);
}

.qt-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--qt-space-md);
}

.qt-features__item {
  display: flex;
  align-items: flex-start;
  gap: var(--qt-space-md);
  padding: var(--qt-space-lg);
  background: var(--qt-bg-card);
  border-radius: var(--qt-radius-md);
  box-shadow: var(--qt-shadow-sm);
  transition: all var(--qt-transition-base);
}

.qt-features__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--qt-shadow-md);
}

.qt-features__icon {
  flex-shrink: 0;
  font-size: 1.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(229,57,53,0.1), rgba(255,111,0,0.1));
  border-radius: var(--qt-radius-md);
}

.qt-features__text {
  font-size: var(--qt-fs-sm);
  color: var(--qt-text);
  line-height: var(--qt-lh-normal);
  font-weight: var(--qt-fw-medium);
}

/* ── Gallery Section ──────────────────────── */
.qt-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--qt-space-sm);
}

.qt-gallery__item {
  position: relative;
  border-radius: var(--qt-radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}

.qt-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--qt-transition-slow);
}

.qt-gallery__item:hover .qt-gallery__img {
  transform: scale(1.05);
}

.qt-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--qt-transition-base);
}

.qt-gallery__item:hover .qt-gallery__overlay {
  opacity: 1;
}

.qt-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── FOMO Section ─────────────────────────── */
.qt-fomo {
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  color: var(--qt-text-inverse);
  text-align: center;
}

.qt-fomo__urgency {
  font-size: var(--qt-fs-sm);
  font-weight: var(--qt-fw-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--qt-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--qt-space-sm);
}

.qt-fomo__fire {
  font-size: 1.5rem;
}

.qt-fomo__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--qt-space-sm);
  margin-bottom: var(--qt-space-xl);
}

.qt-fomo__time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qt-fomo__number {
  font-size: var(--qt-fs-3xl);
  font-weight: var(--qt-fw-extrabold);
  color: var(--qt-accent);
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: var(--qt-radius-md);
  min-width: 60px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.qt-fomo__separator {
  font-size: var(--qt-fs-2xl);
  font-weight: var(--qt-fw-bold);
  color: var(--qt-accent);
}

.qt-fomo__label {
  font-size: var(--qt-fs-xs);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}

.qt-fomo__social-proof {
  display: flex;
  flex-direction: column;
  gap: var(--qt-space-sm);
  margin-bottom: var(--qt-space-lg);
}

.qt-fomo__viewers {
  display: inline-flex;
  align-items: center;
  gap: var(--qt-space-sm);
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: var(--qt-radius-full);
  font-size: var(--qt-fs-sm);
}

.qt-fomo__pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4CAF50;
  animation: qt-pulse-dot 1.5s ease-in-out infinite;
}

@keyframes qt-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.qt-fomo__sold {
  font-size: var(--qt-fs-sm);
  opacity: 0.8;
}

.qt-fomo__cta {
  max-width: 400px;
  margin: 0 auto;
}

/* ── Reviews Section ──────────────────────── */
.qt-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--qt-space-md);
}

.qt-reviews__card {
  background: var(--qt-bg-card);
  border: 1px solid var(--qt-border-light);
  border-radius: var(--qt-radius-lg);
  padding: var(--qt-space-lg);
  transition: all var(--qt-transition-base);
}

.qt-reviews__card:hover {
  box-shadow: var(--qt-shadow-md);
  transform: translateY(-2px);
}

.qt-reviews__header {
  display: flex;
  align-items: center;
  gap: var(--qt-space-sm);
  margin-bottom: var(--qt-space-sm);
}

.qt-reviews__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qt-primary), var(--qt-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--qt-fw-bold);
  font-size: var(--qt-fs-md);
  flex-shrink: 0;
  overflow: hidden;
}

.qt-reviews__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qt-reviews__info {
  flex: 1;
}

.qt-reviews__name {
  font-size: var(--qt-fs-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.qt-reviews__stars {
  font-size: var(--qt-fs-xs);
  margin-top: 2px;
}

.qt-reviews__verified {
  font-size: 11px;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: normal;
  line-height: 1;
}

.qt-reviews__content {
  font-size: var(--qt-fs-sm);
  color: var(--qt-text-secondary);
  line-height: var(--qt-lh-relaxed);
  font-style: italic;
}

.qt-reviews__proof {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 140px;
  border: 1px solid var(--qt-border-light);
}

.qt-reviews__proof img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Floating Actions ─────────────────────── */
.qt-floating-actions {
  position: fixed;
  right: 16px;
  bottom: 100px;
  z-index: var(--qt-z-fixed);
  display: flex;
  flex-direction: column;
  gap: var(--qt-space-sm);
}

.qt-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--qt-shadow-lg);
  transition: all var(--qt-transition-base);
}

.qt-fab:hover {
  transform: scale(1.1);
  color: white;
}

.qt-fab--phone {
  background: linear-gradient(135deg, #4CAF50, #388E3C);
  animation: qt-fab-ring 3s ease-in-out infinite;
}

.qt-fab--zalo {
  background: linear-gradient(135deg, #0068FF, #0050CC);
}

@keyframes qt-fab-ring {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1) rotate(-5deg); }
  20%, 40% { transform: scale(1.1) rotate(5deg); }
  50% { transform: scale(1); }
}

/* ── Pricing Block ────────────────────────── */
.qb-pricing {
  text-align: center;
  margin-bottom: var(--qt-space-lg);
}

/* ── Sticky CTA Bar ──────────────────────── */
.qt-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--qt-z-sticky);
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform var(--qt-transition-base);
}

.qt-sticky-cta--visible {
  transform: translateY(0);
}

.qt-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--qt-max-width);
  margin: 0 auto;
  gap: var(--qt-space-md);
}

.qt-sticky-cta__label {
  font-size: var(--qt-fs-xs);
  color: rgba(255,255,255,0.6);
  display: block;
}

.qt-sticky-cta__amount {
  font-size: var(--qt-fs-lg);
  font-weight: var(--qt-fw-extrabold);
  color: var(--qt-accent);
}

.qt-sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--qt-primary), var(--qt-primary-dark));
  color: white;
  border-radius: var(--qt-radius-md);
  font-weight: var(--qt-fw-bold);
  font-size: var(--qt-fs-sm);
  white-space: nowrap;
  box-shadow: 0 4px 15px var(--qt-primary-glow);
  animation: qt-pulse-subtle 2s ease-in-out infinite;
}

.qt-sticky-cta__btn:hover {
  color: white;
}

@keyframes qt-pulse-subtle {
  0%, 100% { box-shadow: 0 4px 15px var(--qt-primary-glow); }
  50% { box-shadow: 0 4px 25px rgba(229, 57, 53, 0.5); }
}

/* ── Footer ───────────────────────────────── */
.qt-footer {
  background: var(--qt-bg-dark);
  color: rgba(255,255,255,0.5);
  padding: var(--qt-space-lg) 0;
  padding-bottom: 80px; /* Space for sticky CTA */
  text-align: center;
}

.qt-footer__text {
  font-size: var(--qt-fs-xs);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */
@media (min-width: 576px) {
  .qt-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qt-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .qt-hero__title {
    font-size: var(--qt-fs-2xl);
  }

  .qt-hero__image {
    max-height: 600px;
  }

  .qt-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qt-fomo__social-proof {
    flex-direction: row;
    justify-content: center;
    gap: var(--qt-space-lg);
  }

  .qt-floating-actions {
    bottom: 120px;
    right: 24px;
  }

  .qt-sticky-cta {
    display: none; /* Hide sticky CTA on desktop */
  }

  .qt-footer {
    padding-bottom: var(--qt-space-lg);
  }
}

@media (min-width: 1024px) {
  .qt-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }

  .qt-hero__media {
    order: 2;
  }

  .qt-hero__content {
    display: flex;
    align-items: center;
    order: 1;
  }

  .qt-hero__title {
    font-size: var(--qt-fs-3xl);
  }

  .qt-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qt-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .qt-reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
