@media (min-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

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

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

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

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

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

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .model-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .comparison-table {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1400px;
  }

  h1 {
    font-size: 4rem;
  }

  .section {
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  .section {
    padding: var(--spacing-md) 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .grid {
    gap: var(--spacing-sm);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

  .card {
    padding: var(--spacing-sm);
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .section-header {
    margin-bottom: var(--spacing-md);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .features-list li {
    font-size: 0.875rem;
  }

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

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .hero {
    padding: var(--spacing-md) 0;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-sm) 0;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .card {
    padding: var(--spacing-sm);
  }

  .pricing-card {
    padding: 1rem;
  }

  .price {
    font-size: 2rem;
  }

  .model-card {
    padding: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-cta .btn {
    width: 100%;
  }

  .billing-toggle {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .calculator-section {
    padding: var(--spacing-sm);
  }

  .slider-container {
    padding: var(--spacing-sm);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--spacing-xs);
  }

  .form-group {
    margin-bottom: var(--spacing-sm);
  }

  .contact-form {
    padding: var(--spacing-sm);
  }
}

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

  .fade-in {
    transition: none;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (print) {
  header,
  footer,
  .menu-toggle,
  .billing-toggle,
  .calculator-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .pricing-card,
  .model-card {
    page-break-inside: avoid;
  }
}
