/* ============================================
   RESPONSIVE.CSS — Mobile-First Breakpoints
   ============================================ */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .section {
        padding: var(--space-2xl) 0;
    }

    .navbar__links {
        display: none;
    }

    .navbar__cta.desktop-only {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__mobile-menu {
        display: flex;
    }

    /* Hero adjustments */
    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    /* Methodology flow */
    .methodology__flow {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .process-arrow {
        display: none;
    }
}

/* --- Mobile Large (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

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

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

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

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

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

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 100px;
        text-align: center;
    }

    .hero__content {
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* FBA Section */
    .fba__grid {
        grid-template-columns: 1fr !important;
    }

    .fba__process-flow {
        grid-template-columns: 1fr !important;
        gap: var(--space-sm) !important;
    }

    .fba__process-arrow {
        transform: rotate(90deg);
    }

    /* Methodology */
    .methodology__flow {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
    }

    /* Glass cards in grid */
    .glass-card {
        padding: var(--space-md);
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* --- Mobile Small (max-width: 480px) --- */
@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

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

    .methodology__flow {
        grid-template-columns: 1fr !important;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section__header {
        margin-bottom: var(--space-lg);
    }

    .bg-glow {
        width: 250px;
        height: 250px;
        filter: blur(80px);
    }

    /* Hide decorative particles on small screens */
    .particle {
        display: none;
    }

    .hero__orbit {
        display: none;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal--left,
    .reveal--right,
    .reveal--scale {
        opacity: 1;
        transform: none;
    }

    .stagger-children>* {
        opacity: 1;
        transform: none;
    }
}