/* ═══════════════════════════════════════════════════════════════════════════
   SpeedyBOT Public Site — Responsive Breakpoints
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (max 1024px) ──────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .features-grid,
    .feature-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .feature-hero {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-stats {
        gap: var(--space-8);
    }

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

/* ── Mobile (max 768px) ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }

    .hero {
        min-height: 70vh;
        padding: var(--space-12) 0;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

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

    /* Mobile nav */
    .header-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-6);
        z-index: 999;
        overflow-y: auto;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav a {
        padding: var(--space-4);
        font-size: var(--text-base);
        border-bottom: 1px solid var(--border-primary);
    }

    .mobile-toggle {
        display: flex;
    }

    /* Grids */
    .features-grid,
    .feature-grid,
    .feature-grid--3,
    .feature-grid--4,
    .testimonials-grid,
    .pricing-grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .feature-detail {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    /* Sections */
    .section {
        padding: var(--space-12) 0;
    }

    .cta-section {
        padding: var(--space-10) var(--space-6);
        border-radius: var(--radius-xl);
    }

    /* Container */
    .container {
        padding: 0 var(--space-4);
    }
}

/* ── Small Mobile (max 480px) ─────────────────────────────────────────────── */

@media (max-width: 480px) {
    .hero h1,
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .card {
        padding: var(--space-6);
    }

    .pricing-card {
        padding: var(--space-6);
    }
}

/* ── Print ────────────────────────────────────────────────────────────────── */

@media print {
    .site-header,
    .site-footer,
    .theme-toggle,
    .mobile-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        background: none;
    }
}
