/* Responsive CSS - Media queries and responsive utilities */

/* Mobile devices (portrait) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .feature-section {
    padding: 2rem 0;
  }

  .video-container {
    width: 100%;
    height: auto;
  }

  .text-lg {
    font-size: 1.125rem;
  }

  .text-xl {
    font-size: 1.25rem;
  }

  .text-2xl {
    font-size: 1.5rem;
  }

  .text-3xl {
    font-size: 1.75rem;
  }

  .text-4xl {
    font-size: 2rem;
  }
}

/* Tablets and small laptops */
@media (min-width: 481px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .feature-section {
    padding: 3rem 0;
  }

  .video-container {
    width: 80%;
    height: auto;
  }

  .text-lg {
    font-size: 1.25rem;
  }

  .text-xl {
    font-size: 1.5rem;
  }

  .text-2xl {
    font-size: 1.75rem;
  }

  .text-3xl {
    font-size: 2rem;
  }

  .text-4xl {
    font-size: 2.25rem;
  }
}

/* Desktop and large screens */
@media (min-width: 1025px) {
  .container {
    padding: 0 4rem;
    max-width: 1440px;
    margin: 0 auto;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .feature-section {
    padding: 4rem 0;
  }

  .video-container {
    width: 60%;
    height: auto;
  }

  .text-lg {
    font-size: 1.5rem;
  }

  .text-xl {
    font-size: 1.75rem;
  }

  .text-2xl {
    font-size: 2rem;
  }

  .text-3xl {
    font-size: 2.25rem;
  }

  .text-4xl {
    font-size: 2.5rem;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo {
    background-size: contain;
  }

  .icon {
    background-size: contain;
  }
}

/* Dark mode preference */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --tertiary-color: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
  }
}

/* Light mode preference */
@media (prefers-color-scheme: light) {
  :root {
    --primary-color: #ffffff;
    --secondary-color: #f5f5f5;
    --tertiary-color: #e5e5e5;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-tertiary: rgba(0, 0, 0, 0.5);
    --border-color: rgba(0, 0, 0, 0.1);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .hover-effect {
    opacity: 1;
  }

  .hover-scale {
    transform: none;
  }
}

/* Landscape orientation */
@media (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }

  .video-container {
    max-height: 80vh;
  }
}
