/* Responsive Styles */

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium Screens (992px - 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Screens (768px - 991px) */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  .container {
    max-width: 720px;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .showcase-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: var(--spacing-xs);
  }
  
  .showcase-image {
    min-width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .showcase-info {
    min-width: 100%;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .download-card {
    max-width: 100%;
    width: 100%;
  }
  
  .installation-steps {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .about-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .about-image {
    width: 100%;
  }
  
  .about-image img {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer-grid {
    gap: var(--spacing-lg);
  }
  
  .footer-links {
    gap: var(--spacing-lg);
  }
}

/* Mobile Screens (576px - 767px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .container {
    max-width: 540px;
  }
  
  .menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary);
    padding: var(--spacing-xl) var(--spacing-md);
    z-index: 100;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .menu-container.active {
    left: 0;
  }
  
  .menu {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .menu a {
    font-size: 1.2rem;
    display: block;
    padding: var(--spacing-sm) 0;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 101;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    padding-top: calc(var(--spacing-xxl) * 1.5);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .tab-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
  }
  
  .testimonial-item {
    padding: var(--spacing-md);
  }
  
  .company-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }
  
  .contact-grid {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* Small Mobile Screens (Up to 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero {
    padding-top: calc(var(--spacing-xl) * 2);
    padding-bottom: var(--spacing-lg);
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .installation-steps .step {
    justify-content: flex-start;
    width: 100%;
  }
  
  .back-to-top {
    right: 15px;
    bottom: 15px;
  }
}