/* ===== RESPONSIVE DESIGN STYLES ===== */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
  
  .hero__title {
    font-size: 64px;
  }
  
  .section {
    padding: 120px 0;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__title {
    font-size: 48px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .nav__links {
    display: none;
  }
  
  .nav__mobile-toggle {
    display: flex;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .hero__subtitle {
    font-size: 18px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .btn--lg {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .card {
    padding: var(--spacing-md);
  }
}

/* Extra Small Devices (575px and down) */
@media (max-width: 575px) {
  .container {
    padding: 0 15px;
  }
  
  /* Typography */
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 24px;
    line-height: 1.4;
  }
  
  h4 {
    font-size: 20px;
    line-height: 1.4;
  }
  
  h5 {
    font-size: 18px;
    line-height: 1.5;
  }
  
  h6 {
    font-size: 16px;
    line-height: 1.5;
  }
  
  p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Hero Section */
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Navigation */
  .nav {
    padding: 15px 0;
  }
  
  .nav__logo {
    font-size: 18px;
  }
  
  .nav__logo img {
    width: 32px;
    height: 32px;
  }
  
  .nav__mobile-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }
  
  .nav__mobile {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav__mob-group {
    margin-bottom: 30px;
  }
  
  .nav__mob-title {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .nav__mob-link {
    font-size: 16px;
    padding: 12px 0;
  }
  
  /* Sections */
  .section {
    padding: 50px 0;
  }
  
  .section__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .section__subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  /* Cards */
  .card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .card__title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .card__text {
    font-size: 15px;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .btn--lg {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .btn--sm {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Forms */
  .form-input,
  .form-textarea,
  .form-select {
    padding: 12px 14px;
    font-size: 15px;
  }
  
  .form-label {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  /* Grid Systems */
  .grid {
    gap: 20px;
  }
  
  .service-features__grid,
  .service-process__steps,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Feature Cards */
  .service-feature,
  .process-step,
  .product-card {
    padding: 20px;
  }
  
  .service-feature__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .service-feature__title,
  .process-step__title {
    font-size: 18px;
  }
  
  .service-feature__desc,
  .process-step__desc {
    font-size: 14px;
  }
  
  /* CTA Sections */
  .service-cta,
  .cta-section {
    padding: 60px 30px;
    text-align: center;
  }
  
  .service-cta__title,
  .cta-section__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .service-cta__desc,
  .cta-section__desc {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .service-cta__buttons,
  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .service-cta__buttons .btn,
  .cta-section__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Process Steps */
  .process-step {
    padding-left: 50px;
  }
  
  .process-step::before {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  /* Trust Badges */
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .trust-badge {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer__title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .footer__links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer__bottom {
    margin-top: 30px;
    padding-top: 20px;
    font-size: 14px;
  }
  
  /* Mobile Specific Optimizations */
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
  
  /* Touch Targets */
  .btn,
  .nav__link,
  .card__link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Reduce Motion */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* Landscape Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .hero__title {
    font-size: 24px;
  }
  
  .hero__subtitle {
    font-size: 14px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for retina displays */
  .hero__image img,
  .card__image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .nav,
  .nav__mobile,
  .footer,
  .btn,
  .hero__buttons,
  .cta-section {
    display: none !important;
  }
  
  .hero,
  .section {
    padding: 20px 0;
  }
  
  .hero__title,
  .section__title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  a {
    text-decoration: none;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 12px;
    color: #666;
  }
}
