/* Tablet */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-cta {
    flex-direction: row;
  }

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

  .openclaw-grid {
    grid-template-columns: 1fr 1fr;
  }

  .openclaw-visual {
    order: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .newsletter-form .input-group {
    flex-direction: row;
  }

  .newsletter-form .input {
    flex: 1;
  }

  .code-body {
    font-size: 0.875rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .header .container {
    height: 4.5rem;
  }

  .nav-desktop {
    display: flex;
  }

  .lang-switcher {
    display: flex;
  }

  .mobile-menu-btn,
  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
    max-width: 500px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

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

  .feature-card {
    padding: 2.5rem;
  }

  .openclaw-list li {
    font-size: 1rem;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-form {
    gap: 1.5rem;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* Dark mode support via prefers-color-scheme */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #0F172A;
    --color-surface: #1E293B;
    --color-surface-elevated: #1E293B;
    --color-border: #334155;
    --color-text-primary: #F1F5F9;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
  }

  .header {
    background: rgba(15, 23, 42, 0.9);
  }

  .mobile-nav {
    background: rgba(15, 23, 42, 0.98);
  }
}
