/* ── RESPONSIVE BREAKPOINTS ── */

/*
 * Viewport reference:
 * Mobile:   320px – 600px  (common: 360, 390, 414, 430)
 * Tablet:   601px – 1024px (common: 768, 820, 834, 1024)
 * Desktop:  1025px+        (common: 1280, 1366, 1440, 1920)
 */

/* ── Tablet landscape & small laptop (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 120px;
  }
  .hero-mockups {
    height: 400px;
    justify-content: center;
  }
  .mockup-laptop-frame { width: 400px; }
  .mockup-phone { right: 10px; bottom: 30px; }
  .journals-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── Tablet portrait & mobile (≤768px) ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .hero-inner { padding-top: 100px; }
  .hero-mockups { height: 320px; }
  .mockup-laptop-frame { width: 320px; }
  .mockup-phone { display: none; }
  .journals-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero-mockups { height: 260px; }
  .mockup-laptop-frame { width: 260px; }
  .mockup-laptop-body { padding: 10px; }
  .mockup-laptop-body h3 { font-size: 9px; }
  .journal-card { padding: 24px; }
  .journal-card-meta { grid-template-columns: 1fr; }
}

/* ── Wide desktop (≥1440px) ── */
@media (min-width: 1440px) {
  .hero-inner,
  .journals-inner,
  .footer-inner {
    max-width: 1400px;
  }
}

/* ── Ultra-wide / 4K (≥1920px) — cap content width ── */
@media (min-width: 1920px) {
  .hero-inner,
  .journals-inner,
  .footer-inner {
    max-width: 1440px;
  }
}
