@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header & Mobile Menu */
  header {
    padding: 0 16px;
  }
  
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }
  
  .hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  
  .nav-item-core {
    font-size: 16px;
    width: 100%;
    padding: 12px 16px;
    margin: 4px 0;
  }
  
  .user-welcome {
    width: 100%;
    padding: 12px 16px;
    margin: 4px 0;
    font-size: 16px;
  }
  
  .btn-auth {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    margin: 6px 0;
  }
  
  .language-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    margin: 6px 0;
  }

  .logo-text {
    font-size: 14px;
    display: none;
  }

  .logo {
    height: 32px;
    max-width: 120px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 15px;
    padding: 0 10px;
  }

  .select-group {
    flex-direction: column;
    gap: 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .styles-row {
    flex-direction: column;
    gap: 12px;
  }

  .row-3 .style-card,
  .row-2 .style-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .row-2 {
    max-width: 100%;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    padding: 80px 0 48px;
  }

  .features {
    padding: 48px 0;
  }

  .cases {
    padding: 32px 0;
  }

  .generate-card, .case-card, .content-card {
    padding: 16px;
  }

  .feature-card, .style-card {
    padding: 16px;
  }

  .pricing-card {
    padding: 16px;
  }

  .bottom-slogan {
    height: 50px;
    margin: 24px 0;
  }

  .slogan-text {
    font-size: 18px;
  }

  footer {
    margin-top: 0;
  }

  .footer-link {
    margin: 0 8px 8px;
    font-size: 13px;
  }

  .styles-section {
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .trust-indicators {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .content-checkboxes {
    grid-template-columns: 1fr;
  }

  .content-card {
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-team {
    grid-template-columns: 1fr;
  }
  
  /* Touch-friendly improvements */
  .btn-generate,
  .btn-primary,
  .btn-cta,
  .btn-form {
    min-height: 48px;
    min-width: 48px;
  }
  
  .form-input,
  .select-control,
  .input-area {
    min-height: 48px;
    font-size: 16px;
  }
  
  a, button {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Improve text readability on mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Prevent zoom on form elements */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .page {
    padding: 84px 12px 24px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-desc {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  header {
    height: 64px;
  }
  
  .logo {
    height: 28px;
  }
  
  .nav-menu {
    width: 85%;
  }
  
  .btn-generate {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .generate-card {
    padding: 16px 12px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}