/* ==========================================================================
   DUET — A PRIVATE SPACE FOR TWO
   Responsive Media Queries Stylesheet
   ========================================================================== */

/* Laptops & Desktops (max-width: 1199px) */
@media (max-width: 1199px) {
  .hero-grid {
    gap: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .lifestyle-grid {
    gap: 40px;
  }
}

/* Tablets & Landscape View (max-width: 1023px) */
@media (max-width: 1023px) {
  :root {
    --header-height: 70px;
  }

  .brand-tagline-text {
    display: none;
  }

  /* Mobile Navigation Drawer */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(236, 27, 170, 0.12);
    box-shadow: 0 10px 30px rgba(25, 19, 59, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section Single Column */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 620px;
  }

  .benefit-card {
    align-items: center;
    text-align: center;
  }

  .phones-mockup-img {
    max-width: 400px;
  }

  /* Features Grid 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stepper 3 cols to vertical/stacked on tablet */
  .steps-container {
    gap: 20px;
  }

  /* Lifestyle Stack */
  .lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lifestyle-image-wrap {
    max-width: 580px;
    margin: 0 auto;
  }

  .lifestyle-content {
    padding-right: 0;
    text-align: center;
  }

  .lifestyle-checklist {
    align-items: center;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA Banner */
  .cta-banner-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 30px;
  }

  .cta-brand-col {
    justify-content: center;
  }

  .cta-badges-row {
    justify-content: center;
  }

  /* Help Center */
  .help-center-layout {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: static;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Phones & Small Tablets (max-width: 767px) */
@media (max-width: 767px) {
  .section-heading {
    font-size: 2rem;
  }

  .hero-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-developer-col {
    flex-direction: column;
  }

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

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-subhead {
    font-size: 1.02rem;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

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

  .phones-mockup-img {
    max-width: 320px;
  }

  .cta-brand-col {
    flex-direction: column;
    gap: 12px;
  }

  .cta-brand-tagline {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
  }

  .cta-badges-row {
    flex-direction: column;
    width: 100%;
  }

  .store-badge-btn {
    width: 100%;
    justify-content: center;
  }

  .header-cta-btn span {
    display: none;
  }

  .header-cta-btn {
    padding: 8px 12px;
  }
}

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

  .hero-benefits-grid {
    grid-template-columns: 1fr;
  }

  .phones-mockup-img {
    max-width: 270px;
  }
}
