/* FOR TABLETS (768px to 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  h1 {
    font-size: var(--font-size-4xl);
  }
  h2 {
    font-size: var(--font-size-3xl);
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 0;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FOR MOBILE PHONES (768px and below) */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --spacing-3xl: 2rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .hero-title {
    font-size: var(--font-style-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-illustration {
    height: 250px;
  }

  .floating-card {
    width: 90px;
    height: 90px;
    font-size: var(--font-size-2xl);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .feature-card {
    padding: var(--spacing-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: var(--spacing-md);
  }

  .nav-menu {
    max-height: 0;
  }

  .theme-toggle-wrapper {
    display: none;
  }
}

/* SMALL PHONES (480px and below) */
@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    --spacing-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero {
    padding: var(--spacing-lg) 0;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-sm);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .floating-card {
    width: 70px;
    height: 70px;
    font-size: var(--font-size-xl);
  }

  .feature-card {
    padding: var(--spacing-md);
  }

  .feature-card h3 {
    font-size: var(--font-size-base);
  }

  .feature-card p {
    font-size: var(--spacing-sm);
  }

  .chatbot-toggle {
    width: 50px;
    height: 50px;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    font-size: var(--font-size-xl);
  }

  .chatbot {
    width: calc(100% - var(--spacing-md));
    height: 350px;
    bottom: 70px;
    right: var(--spacing-sm);
  }
}

/* PRINT STYLES */
@media print {
  .navbar,
  .chatbot-toggle,
  .chatbot {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
