body {
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #ffffff;
  color: #111111;
  padding: 76px 22px 22px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-section {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #777777;
}

.mobile-menu a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid #ececec;
  text-decoration: none;
  color: #111111;
  font-size: 16px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .why-grid,
  .features-grid,
  .scenarios-grid,
  .comparison-grid,
  .report-grid,
  .rubric-grid,
  .roles-grid {
    grid-template-columns: 1fr !important;
  }

  .scenario-card.featured {
    grid-column: span 1 !important;
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none !important;
  }

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

  .hero {
    padding: 120px 20px 60px !important;
  }

  .hero h1 {
    font-size: 36px !important;
    line-height: 1.15 !important;
  }

  .hero p {
    font-size: 16px !important;
  }

  .hero-cta,
  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .hero-cta .btn,
  .cta-buttons .btn,
  .cta-section .btn {
    justify-content: center;
    width: 100%;
  }

  .section,
  .why-section,
  .features-section,
  .comparison-section,
  .faq-section,
  .scenarios-section,
  .cta-section,
  .roles-section,
  .stats-section,
  .rack-section,
  .interface-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .section-header h2,
  .cta-section h2 {
    font-size: 32px !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .footer-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .footer-form {
    flex-direction: column !important;
  }

  .footer-form button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px !important;
  }

  .section-header h2,
  .cta-section h2 {
    font-size: 28px !important;
  }

  .role-card,
  .scenario-card,
  .feature-card,
  .comparison-card,
  .why-card,
  .report-item,
  .rubric-card {
    padding: 20px !important;
  }

  .nav-inner {
    padding: 14px 16px !important;
  }
}
