:root {
  color-scheme: dark;
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-layout,
  .form-card {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .floating-actions {
    right: 0.7rem;
    bottom: 0.8rem;
    gap: 0.45rem;
  }

  .float-btn {
    width: 40px;
    height: 40px;
  }

  .nav-actions {
    gap: 0.55rem;
  }

  .mobile-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.12);
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1rem 1.1rem;
    margin-top: 0.65rem;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(12px);
  }

  .mobile-menu a {
    font-weight: 600;
    color: var(--text);
    padding: 0.35rem 0;
  }

  .mobile-menu.open {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-actions,
  .trust-row,
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-grid,
  .form-row,
  .stats-grid,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy .highlight{
    display: block;
    font-size: 1.2rem;
  }

  .floating-card {
    display: none;
  }

  .video-shell {
    min-height: 320px;
    padding: 1.2rem;
  }

  .mobile-cta {
    display: block;
  }

  .mobile-cta .btn {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .floating-actions {
    bottom: 5.2rem;
    right: 0.6rem;
    gap: 0.4rem;
  }

  .float-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1rem, 1180px);
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .hero-copy p {
    font-size: 0.96rem;
  }

  .dashboard-card {
    padding: 1rem;
  }

  .site-header .nav {
    min-height: 74px;
  }
}

@media (min-width: 1600px) {
  .container {
    width: min(1320px, calc(100% - 3rem));
  }
}
