/* ==========================================================================
   Responsive Overrides
   ========================================================================== */

/* Extra Large devices (large desktops, 1200px and down) */
@media (max-width: 1200px) {
    :root {
        --spacing-3xl: 5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .pricing-grid {
        gap: var(--spacing-md);
    }
}

/* Large devices (desktops, 992px and down) */
@media (max-width: 992px) {
    :root {
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-content p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-checks {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        order: 2;
    }

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

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

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        display: block;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-actions {
        display: none;
        /* Hide buttons in header, maybe move to nav menu */
    }

    .mobile-toggle {
        display: block;
    }

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

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

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

/* Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .steps-grid,
    .features-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .final-cta .btn {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .store-badge {
        width: auto;
        height: 44px;
        /* Slightly smaller for mobile */
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card {
        padding: var(--spacing-lg);
    }
}