/* ==========================================================================
   WebsiteUp.com - Enterprise Website Monitoring & Performance SaaS
   Responsive Stylesheet (Desktop, Tablet, Mobile)
   ========================================================================== */

/* --- LARGE SCREENS (Max Width: 1199px) --- */
@media (max-width: 1199.98px) {
  html {
    font-size: 15px;
  }

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

  .floating-card-1 {
    top: -10px;
    left: -10px;
    padding: 0.75rem 1rem;
  }

  .floating-card-2 {
    bottom: 10px;
    right: -10px;
    padding: 0.75rem 1rem;
  }
}

/* --- TABLETS & MEDIUM SCREENS (Max Width: 991px) --- */
@media (max-width: 991.98px) {
  html {
    font-size: 14.5px;
  }

  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-section {
    padding: 6.5rem 0 4.5rem 0;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-dashboard-wrapper {
    margin-top: 3.5rem;
  }

  .floating-card-1 {
    top: 10px;
    left: 10px;
  }

  .floating-card-2 {
    bottom: 10px;
    right: 10px;
  }

  /* Responsive Off-Canvas / Dropdown Menu for Tablet & Mobile */
  .navbar-collapse {
    background-color: var(--color-light-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-light-border);
  }

  .navbar-nav {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: var(--color-primary-light);
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-saas-outline,
  .btn-saas-primary {
    /* width: 100%; */
    justify-content: center;
  }

  .url-test-card {
    padding: 1.75rem;
  }

  .url-test-input-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .url-test-input-group .btn-saas-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

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

  .cta-banner {
    padding: 3.5rem 2rem;
  }

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

/* --- MOBILE DEVICES (Max Width: 767px) --- */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .floating-card {
    display: none;
    /* Hide floating cards on small mobile screens to prevent overflow */
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .feature-card {
    padding: 1.75rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .client-logos-grid {
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- SMALL MOBILE DEVICES (Max Width: 575px) --- */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .btn-saas-primary,
  .btn-saas-secondary,
  .btn-saas-outline {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }

  .cta-form {
    padding: 1.25rem;
  }

  .cta-form .row .col-6 {
    width: 100%;
  }

  .checkout-card {
    padding: 1.25rem;
  }

  .thank-you-card {
    padding: 1.5rem;
  }
}

/* --- RESPONSIVE FEATURES REDESIGN --- */
@media (max-width: 991.98px) {
  .feature-interactive-wrapper {
      flex-direction: column;
      padding: 0;
  }
  .feature-center-image {
      margin: 2rem 0;
      width: 280px;
      height: 320px;
  }
  .hexagon-bg, .hexagon-bg2 {
      width: 320px;
      height: 380px;
  }
  .features-section {
      overflow: hidden;
  }
  .floating-feature-card {
      position: relative;
      width: 100%;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      margin-bottom: 1rem;
      justify-content: flex-start;
  }
}

/* --- RESPONSIVE WHY CHOOSE US --- */
@media (max-width: 991.98px) {
  .wcu-left {
      padding: 3rem 2rem !important;
  }
  .wcu-right {
      padding: 3rem 2rem !important;
  }
  .wcu-left-title {
      font-size: 2.25rem;
  }
  .wcu-card {
      padding: 2rem;
      gap: 1.5rem;
  }
  .wcu-card-large-text {
      font-size: 3.5rem;
  }
}

@media (max-width: 575.98px) {
  .wcu-card {
      padding: 1.5rem;
      gap: 1rem;
      clip-path: none;
      border-radius: 12px;
  }
  .wcu-card-large-text {
      font-size: 2.5rem;
  }
}