/* Responsive styles - Mobile and tablet breakpoints */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 120px 40px 60px;
    margin: 0;
    max-width: 100%;
  }

  .hero-image {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .pricing-card:first-child,
  .pricing-card:nth-child(2),
  .pricing-card:nth-child(3),
  .pricing-card:nth-child(4),
  .pricing-card:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Pricing responsive grid breakpoints */
@media (min-width: 992px) {
  .pricing-grid {
    justify-content: center;
  }
  .pricing-card {
    flex: 0 1 calc(33.333% - 16px);
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .pricing-card {
    flex: 0 1 calc(50% - 12px);
  }
}

@media (max-width: 992px) {
  .mentor-grid-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .pricing-card {
    flex: 0 1 100%;
  }
}

/* Mentor and Contact grids */
@media (min-width: 768px) {
  .mentor-grid {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .mentor-photo {
    width: 190px;
    height: 190px;
  }

  .contact-grid {
    grid-template-columns: 380px 1fr;
  }

  .contact-image-wrapper {
    display: block;
    min-height: 100%;
  }
}

/* Tablet and below - Button adjustments */
@media (max-width: 1024px) {
  .neo-button {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .neo-button .btn-icon {
    font-size: 22px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Button adjustments */
  .neo-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .neo-button .btn-icon {
    font-size: 20px;
  }

  /* Hero adjustments */
  .hero {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-text {
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-visual {
    display: none;
  }

  /* Mobile menu */
  .nav {
    flex-wrap: wrap;
    position: relative;
    gap: 8px;
  }

  .brand {
    order: 1;
    flex: 0 1 auto;
  }

  .lang-selector {
    order: 2;
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-actions {
    order: 4;
    width: 100%;
    margin-left: 0 !important;
    margin-top: 8px;
  }

  .nav-actions .nav-cta {
    width: 100%;
    max-width: none;
    flex-direction: row;
    white-space: nowrap;
    line-height: 1;
    gap: 8px;
    padding: 11px 20px;
    font-size: 0.95rem;
  }

  .nav-actions .nav-cta .btn-icon {
    margin-top: 0;
    font-size: 20px;
  }

  .nav-menu {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--neo-surface);
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 99;
    order: 5;
    width: 100%;
    margin-left: 0;
    height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
  }

  /* Sections */
  .section {
    padding: 40px 20px;
  }

  .section h2 {
    margin-bottom: 30px;
  }

  /* Modal */
  .modal {
    padding: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .neo-button {
    width: 100%;
    text-align: center;
  }

  .lang-selector {
    padding: 3px;
  }

  .brand {
    max-width: 50%;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-svg {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    padding: 10px 16px !important;
    font-size: 0.9rem;
  }
}
