/* ============================================
   iSculptors — Responsive Breakpoints
   ============================================ */

/* Tablet: 768px */
@media (max-width: 768px) {
  :root {
    --navbar-height: 3.5rem;
  }

  .container {
    padding-inline: var(--space-4);
  }

  .section-header h2 {
    font-size: var(--text-3xl);
  }

  .section-header p {
    font-size: var(--text-base);
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--navbar-height) + 3rem);
    min-height: auto;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  /* Cards grids */
  .apps-grid,
  .services-grid,
  .features-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Phone Mockups */
  .mockup-container {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
  }

  .phone-mockup {
    width: 240px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .mobile-nav.active {
    display: flex;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 3rem;
  }

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

  /* App Detail */
  .app-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-info {
    order: 1;
  }

  .app-detail-mockup {
    order: 2;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }

  .section-header h2 {
    font-size: var(--text-2xl);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

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

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

  .phone-mockup {
    width: 200px;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .faq-question {
    font-size: var(--text-base);
    padding: var(--space-4);
  }
}

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

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: var(--space-16);
  }

  .phone-mockup {
    width: 180px;
  }
}

/* High DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .phone-mockup {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Print */
@media print {
  .navbar,
  .mobile-nav,
  .footer,
  .hero-bg-shapes,
  .phone-mockup {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
