/* ==========================================================================
   RC PANEL — RESPONSIVE STYLESHEET
   Mobile, Tablet, and Desktop Breakpoints
   ========================================================================== */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-content {
    max-width: 780px;
  }
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .onboarding-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-menu {
    left: 0;
    transform: translateY(12px);
  }
  .nav-item:hover .mega-menu {
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--navy);
  }
  .role-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-col-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero-section {
    padding: 2.5rem 0 3rem;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
  }
  .badge-pill {
    max-width: 100%;
    white-space: normal;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }
  .nav-actions .btn,
  .nav-actions .btn-whatsapp-nav {
    display: none !important;
  }
  .brand-logo {
    max-height: 32px;
    width: auto;
  }
  .nav-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hero-preview-wrapper {
    max-width: 100%;
    overflow: hidden;
  }
  .product-preview-card {
    max-width: 100%;
    overflow: hidden;
  }
  .preview-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .preview-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
  }
  .preview-window-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .stat-card-top, .stat-card-bottom {
    position: static;
    margin-top: 0.85rem;
    max-width: 100%;
  }
  .onboarding-stepper {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .role-tab-btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pricing-card-price .amount {
    font-size: 2.25rem;
  }
}
