/* ==========================================================================
   Bishal Dutta Tech Reviews — Responsive Styles & Mobile Navigation Bar
   (Faithfully matches the mobile mockups in reference design)
   ========================================================================== */

/* Bottom Navigation Bar for Mobile (Matches mockups) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
  z-index: 1000;
  padding: 0 16px;
}

.mobile-nav-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  list-style: none;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-link svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-link.active svg {
  transform: scale(1.1);
  stroke: var(--primary);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    max-width: 600px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
    gap: 28px;
  }

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

  .featured-reviews-grid {
    grid-template-columns: 1fr;
  }

  .community-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 32px;
  }

  .community-btn-group {
    justify-content: center;
  }

  .community-card::before {
    display: none;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for bottom nav */
  }

  .mobile-bottom-nav {
    display: block;
  }

  /* Simplify desktop header on mobile */
  .nav-links {
    display: none;
  }

  .btn-follow {
    display: none;
  }

  .hero-section {
    padding: 30px 0 50px 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    gap: 20px;
    width: 100%;
    justify-content: space-around;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* 3D Visual scale down for mobile */
  .hero-visual-stage {
    height: 420px;
  }

  .scene-3d-wrapper {
    width: 320px;
    height: 380px;
    transform: scale(0.85);
  }

  .doodle-annotation-wrap {
    top: 10px;
    right: 0;
    transform: scale(0.85);
  }

  .floating-tech-chip {
    display: none; /* Keep clean on small mobile viewports */
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .quickview-layout {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-right {
    align-items: center;
  }
}

/* Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .scene-3d-wrapper {
    transform: scale(0.75);
  }
}
