/* 
  BitQT Landing Page Styles
  Responsive Stylesheet
*/

/* Mobile First Approach */

/* Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  h3 {
    font-size: var(--font-size-xl);
  }
  
  /* Spacing */
  .section-header {
    margin-bottom: var(--space-8);
  }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    transition: height var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  
  .nav-menu.active {
    height: auto;
    padding: var(--space-4) 0;
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: var(--space-3) 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hero Section */
  .hero {
    padding: var(--space-20) 0 var(--space-10);
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: var(--space-8);
    max-width: 100%;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  /* Features Section */
  .features {
    padding: var(--space-12) 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* How It Works */
  .how-it-works {
    padding: var(--space-12) 0;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step:not(:last-child)::after {
    left: 50%;
    top: 60px;
    height: 40px;
    width: 2px;
  }
  
  /* Testimonials */
  .testimonials {
    padding: var(--space-12) 0;
  }
  
  .testimonial-card {
    min-width: 100%;
  }
  
  /* CTA Section */
  .cta {
    padding: var(--space-12) 0;
  }
  
  /* Contact Section */
  .contact {
    padding: var(--space-12) 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  /* Footer */
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-8);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-8);
  }
}

/* Medium devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    transition: height var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  
  .nav-menu.active {
    height: auto;
    padding: var(--space-4) 0;
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: var(--space-3) 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hero Section */
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: var(--space-8);
  }
  
  /* Features Section */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Testimonials */
  .testimonial-card {
    min-width: 80%;
  }
  
  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: var(--space-8);
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-10);
  }
}

/* Large devices (desktops, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  .hero .container {
    align-items: center;
  }
  
  /* Features Section */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Testimonials */
  .testimonial-card {
    min-width: calc(50% - var(--space-4));
  }
  
  /* Footer */
  .footer-links {
    gap: var(--space-10);
  }
}

/* Extra large devices (large desktops, 992px and up) */
@media (min-width: 992px) {
  /* Hero Section */
  .hero .container {
    align-items: center;
  }
  
  /* Testimonials */
  .testimonial-card {
    min-width: calc(33.333% - var(--space-4));
  }
}