/* ============================================
   SHOPIFY LANDING PAGE — RESPONSIVE STYLES
   ============================================ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  /* Grid adjustments */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

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

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

  /* Editorial layout */
  .editorial-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Product Spotlight */
  .product-spotlight-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    background: var(--bg-primary);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-smooth);
    z-index: var(--z-overlay);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links .btn {
    margin-top: var(--space-lg);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: var(--space-3xl);
  }

  .hero-split .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-text .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-text .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-product-stage {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-product-tag {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Product Spotlight */
  .product-spotlight-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .product-spotlight-visual {
    order: -1;
  }

  .product-spotlight-image {
    max-width: 300px;
    margin-inline: auto;
  }

  .product-spotlight-info {
    text-align: center;
  }

  .product-spotlight-features {
    justify-content: center;
  }

  .editorial-split {
    grid-template-columns: 1fr;
  }

  /* Grids to single column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  /* Carousel */
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Subscribe form */
  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section padding */
  .section {
    padding-block: var(--space-3xl);
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  /* Audio control */
  .audio-control {
    bottom: var(--space-md);
    right: var(--space-md);
    width: 42px;
    height: 42px;
  }

  .back-to-top {
    right: calc(var(--space-md) + 54px);
    bottom: var(--space-md);
    width: 42px;
    height: 42px;
  }

  /* Cards */
  .card {
    padding: var(--space-lg);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .testimonial-card {
    padding: var(--space-lg);
  }

  /* Marquee */
  .marquee-item {
    font-size: var(--text-xl);
  }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  /* Typography gets smaller */
  .hero-title {
    font-size: var(--text-3xl);
  }

  /* Stats condensed */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: var(--text-2xl);
  }

  /* Product card */
  .product-card-body {
    padding: var(--space-md);
  }

  /* Button full width on very small screens */
  .btn-lg {
    padding: 0.9em 2em;
    font-size: var(--text-sm);
  }
}

/* ── Large Desktop (≥ 1400px) ── */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-2xl);
  }
}

/* ── Print Styles ── */
@media print {
  .nav,
  .audio-control,
  .back-to-top,
  .hero-scroll-indicator,
  .noise-overlay {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a { color: inherit; }
}
