/* ========================================
   RESPONSIVE STYLES — Dark Luxury Theme
   ======================================== */

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .showcase-row {
    gap: var(--spacing-lg);
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  /* Header */
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--obs2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 1.5rem 2rem;
    transition: right var(--transition);
    z-index: 999;
  }

  body.nav-open .main-nav {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .main-nav ul li a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border2);
    border-radius: 0;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding-top: 80px;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    gap: var(--spacing-md);
  }

  .browser-frame {
    transform: none;
  }

  .browser-frame:hover {
    transform: none;
  }

  /* Grids → single column */
  .features-grid,
  .benefits-grid,
  .pricing-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-card:last-child,
  .testimonials-grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Showcase */
  .showcase-row {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse {
    direction: ltr;
  }

  .showcase-image {
    aspect-ratio: 16 / 10;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  /* Trusted by */
  .trusted-logos {
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Section spacing */
  .section {
    padding: var(--spacing-xl) 0;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat-divider {
    display: none;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

  .pricing-price {
    font-size: 2.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ---- Print ---- */
@media print {
  .site-header,
  .site-footer,
  .hamburger,
  .mobile-overlay,
  .back-to-top,
  .hero-aurora,
  .hero-noise,
  .hero-grid-pattern {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
