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

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

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

  .section {
    padding: var(--space-16) 0;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.15;
  }
}

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

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

  .section-header h2 {
    font-size: 26px;
  }

  .section-header p {
    font-size: 16px;
  }

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

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

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

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: 16px;
  }

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

  .pricing-table {
    flex-direction: column;
  }

  .pricing-card {
    max-width: 100%;
  }

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

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

  .nav-desktop {
    display: none !important;
  }

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

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works-connector {
    display: none;
  }

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

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

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .feature-detail {
    grid-template-columns: 1fr;
  }

  .feature-detail-visual {
    order: -1;
  }

  .comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table table {
    min-width: 640px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    display: none;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: var(--space-10) 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hero-title {
    font-size: 28px;
  }

  .text-4xl { font-size: 28px; line-height: 34px; }
  .text-3xl { font-size: 24px; line-height: 30px; }
  .text-2xl { font-size: 20px; line-height: 28px; }

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

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .stats-item .tc-counter {
    font-size: 36px;
  }

  .pricing-card {
    padding: var(--space-6);
  }
}
