/* ==========================================================================
   ToolIxa Responsive CSS — Breakpoints & Touch Optimizations
   Breakpoints: 1280px, 1024px, 768px, 480px, 360px
   ========================================================================== */

/* Large Desktop Adjustments (1440px+) */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* Standard Desktop to Laptop (1025px - 1280px) */
@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Tablet Landscape & Small Desktop (769px - 1024px) */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .mega-menu {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablet Portrait & Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

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

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-search-box {
    flex-direction: column;
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    gap: 0.75rem;
  }

  .hero-search-input {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

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

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .static-article {
    padding: 1.5rem;
  }

  .tool-page-title {
    font-size: 1.85rem;
  }

  .workspace-body {
    padding: 1.25rem;
  }

  .dropzone-visual {
    padding: 2rem 1rem;
  }

  .search-modal {
    margin: 0 1rem;
  }
}

/* Small Mobile Devices (360px - 430px) */
@media (max-width: 430px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo-text {
    font-size: 1.25rem;
  }

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

  .keyboard-shortcut {
    display: none;
  }

  .header-search-btn span:not(.sr-only) {
    display: none;
  }

  .header-search-btn {
    padding: 0.5rem;
    border-radius: var(--radius-full);
  }
}
