/* ===========================================
   Fuckd AI - Responsive
   =========================================== */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-image { max-width: 480px; margin: 0 auto; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-image { order: 0; }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 50px auto 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }

  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
  }
  .navbar.scrolled { top: 8px; }
  .navbar .container { padding: 10px 16px; }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86%, 360px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 28px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
    overflow-y: auto;
    border-radius: 0;
  }
  .navbar-menu.active { transform: translateX(0); }
  .navbar-menu > a {
    padding: 14px 14px;
    width: 100%;
    border-radius: var(--radius);
    font-size: 1rem;
  }
  .navbar-cta:not(.mobile) { display: none; }
  .navbar-cta.mobile {
    display: block;
    width: 100%;
    margin-top: 18px;
  }
  .navbar-cta.mobile .btn { width: 100%; }
  .mobile-toggle { display: flex; z-index: 1001; }

  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 0.9rem; }

  .hero-stats { flex-direction: column; gap: 0; padding-top: 22px; align-items: stretch; }
  .hero-stat {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .hero-stat:not(:first-child) { padding-left: 0; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-stat .stat-value { font-size: 1.5rem; }

  .hero-floating-card { display: none; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.85rem; }
  .section-header p { font-size: 0.98rem; }

  .toc { padding: 22px 20px; }

  .mini-cards { grid-template-columns: 1fr; gap: 14px; }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px;
    align-items: stretch;
  }
  .cta-banner .btn { width: 100%; }

  .marquee { margin-left: -18px; margin-right: -18px; }

  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .final-cta { padding: 70px 0 50px; }
  .final-cta-card { padding: 44px 24px; border-radius: var(--radius-lg); }
  .final-cta-card h2 { font-size: 1.65rem; }

  .faq-question { padding: 18px 18px 18px 54px; }
  .faq-question::before { left: 18px; font-size: 0.74rem; }
  .faq-question h3 { font-size: 0.96rem; }
  .faq-answer-inner { padding: 0 18px 18px 54px; }

  .split-content h3 { font-size: 1.28rem; }
  .section h3 { font-size: 1.2rem; }

  .pricing-card { padding: 28px 22px; }
  .pricing-price { font-size: 1.85rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.95rem; }
  .hero-eyebrow { font-size: 0.72rem; padding: 6px 12px; }
  .hero-stat .stat-value { font-size: 1.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .toc-title { font-size: 0.72rem; }
  .toc ol li a { font-size: 0.9rem; padding: 9px 12px; }

  .hero-image-wrapper { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
  .hero-image-wrapper::before { width: 40px; height: 40px; }
}

/* Print */
@media print {
  .navbar, .footer, .cursor-halo, .popup-overlay, .marquee, .hero-floating-card { display: none !important; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none !important; }
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; }
}
