/* Advanced Responsive Styles */

/* Responsive Base Adjustments */
@media (max-width: 1200px) {
  .features {
    margin: 20px 2% 5rem;
  }
  
  .sample-terms,
  .hero {
    padding-left: 2%;
    padding-right: 2%;
  }
}

@media (max-width: 992px) {
  :root {
    --cursor-radius: 20px;
  }
  
  .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }
  
  .term-card h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Disable custom cursor on small devices */
  body, a, button, input, select, textarea, .term-card, .feature-card, .view-btn, .social-icons a {
    cursor: auto !important;
  }
  
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
  
  header {
    padding: 1rem 5%;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding-top: 8rem;
    align-items: flex-start;
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-content p {
    font-size: clamp(1rem, 4vw, 1.1rem);
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }
  
  .features {
    margin-top: 2rem;
    gap: 1.5rem;
  }
  
  .feature-card {
    transform: none !important;
  }
  
  .feature-card:hover {
    transform: translateY(-10px) !important;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
  
  .sample-terms {
    padding: 3rem 5%;
  }
  
  .term-card {
    transform: none !important;
  }
  
  .term-card:hover {
    transform: translateY(-10px) !important;
  }
  
  .footer-content {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 6rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .feature-card,
  .term-card {
    padding: 1.5rem;
  }
  
  .term-preview {
    gap: 1.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    margin: 10% auto;
  }
  
  .term-details h2 {
    font-size: 1.8rem;
  }
  
  .term-description {
    font-size: 1rem;
  }
  
  .usage-scenarios h3,
  .dialogue-examples h3 {
    font-size: 1.4rem;
  }
  
  .footer-logo h2 {
    font-size: 1.6rem;
  }
}

/* Font size adjustments for extreme small screens */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* High resolution screens adjustments */
@media (min-width: 1800px) {
  .container {
    max-width: 1600px;
    margin: 0 auto;
  }
  
  html {
    font-size: 18px;
  }
  
  .hero-content {
    max-width: 700px;
  }
}
