/* Responsive Fixes for Text Sizes, Spacing, and Layout on Mobile */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem; /* slightly smaller */
  }
  .hero p {
    font-size: 1.1rem;
    max-width: 480px;
  }
  .dashboard-preview h2 {
    font-size: 2.2rem;
  }
  .dashboard-preview p {
    font-size: 1rem;
    max-width: 480px;
  }
  .video-intro h2 {
    font-size: 2.2rem;
  }
  .why-us .card h3 {
    font-size: 1.5rem;
  }
  .features .feature-card h4 {
    font-size: 1.3rem;
  }
  .how-it-works h2 {
    font-size: 2.2rem;
  }
  .plans h2 {
    font-size: 2rem;
  }
  .plans p {
    font-size: 1rem;
    max-width: 500px;
  }
  .cta h2 {
    font-size: 2rem;
  }
  .stats h2.counter {
    font-size: 3rem;
  }
  .testimonials h2 {
    font-size: 2.2rem;
  }
  .faq h2 {
    font-size: 2.2rem;
  }
  .newsletter h2 {
    font-size: 2rem;
  }
}

/* Tablets and large mobiles */
@media (max-width: 768px) {
  .hero {
    padding: 80px 20px 100px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
    max-width: 350px;
  }
  .dashboard-preview h2 {
    font-size: 1.8rem;
  }
  .dashboard-preview p {
    font-size: 0.9rem;
    max-width: 350px;
  }
  .video-intro h2 {
    font-size: 1.8rem;
  }
  .why-us .card h3 {
    font-size: 1.3rem;
  }
  .features .feature-card h4 {
    font-size: 1.2rem;
  }
  .how-it-works h2 {
    font-size: 1.8rem;
  }
  .plans h2 {
    font-size: 1.8rem;
  }
  .plans p {
    font-size: 0.9rem;
    max-width: 350px;
  }
  .cta h2 {
    font-size: 1.8rem;
  }
  .stats h2.counter {
    font-size: 2.4rem;
  }
  .testimonials h2 {
    font-size: 1.8rem;
  }
  .faq h2 {
    font-size: 1.8rem;
  }
  .newsletter h2 {
    font-size: 1.8rem;
  }
  /* Adjust testimonial cards */
  .testimonial-card {
    padding: 25px 20px;
    min-width: 280px;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  .hero {
    padding: 60px 15px 80px;
  }
  .hero h1 {
    font-size: 1.8rem !important;
    letter-spacing: 0.05em !important;
  }
  .hero p {
    font-size: 0.9rem !important;
    max-width: 280px !important;
  }
  .dashboard-preview h2 {
    font-size: 1.4rem !important;
  }
  .dashboard-preview p {
    font-size: 0.8rem !important;
    max-width: 280px !important;
  }
  .video-intro h2 {
    font-size: 1.4rem !important;
  }
  .why-us .card h3 {
    font-size: 1.1rem !important;
  }
  .features .feature-card h4 {
    font-size: 1rem !important;
  }
  .how-it-works h2 {
    font-size: 1.4rem !important;
  }
  .plans h2 {
    font-size: 1.4rem !important;
  }
  .plans p {
    font-size: 0.8rem !important;
    max-width: 260px !important;
  }
  .cta h2 {
    font-size: 1.4rem !important;
  }
  .stats h2.counter {
    font-size: 2rem !important;
  }
  .testimonials h2 {
    font-size: 1.4rem !important;
  }
  .faq h2 {
    font-size: 1.4rem !important;
  }
  .newsletter h2 {
    font-size: 1.4rem !important;
  }

  /* Reduce padding/margin for small screens */
  .hero, .dashboard-preview, .video-intro, .why-us, .features, .how-it-works, .plans, .cta, .stats, .testimonials, .faq, .newsletter {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .plans p, .dashboard-preview p {
    line-height: 1.3 !important;
  }

  /* Testimonial slider vertical & smaller cards */
  .testimonial-slider {
    flex-direction: column !important;
  }
  .testimonial-card {
    min-width: auto !important;
    padding: 20px 15px !important;
  }

  /* Newsletter form stacked */
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .newsletter-form button {
    width: 100% !important;
  }
}
/* ===== Footer Responsive Styles ===== */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }
}

/* Responsive: for mobile/small screens */
@media (max-width: 768px) {
  /* Hide desktop user-menu */
  .user-menu {
    display: none;
  }

  /* Show mobile user welcome on top of menu list */
  .mobile-user-welcome {
    display: block;
    padding: 12px 20px;
    font-weight: 700;
    color: #00ffcc;
    border-bottom: 1px solid #00ffcc33;
  }

  /* Show mobile user links at bottom */
  .mobile-user-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px 0 20px 0;
    border-top: 1px solid #00ffcc33;
  }

  .mobile-user-links a {
    color: #00ffcc;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-user-links a:hover {
    color: #0ee6b7;
    text-decoration: underline;
  }
}