/* -------------------------------------------------------
   responsive.css — Responsive Breakpoints
   AFFLUENTIAL / ABC Landing Page
   ------------------------------------------------------- */

/* -------------------------------------------------------
   TABLET (max-width: 1024px)
   ------------------------------------------------------- */

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .package-card {
        max-width: 100%;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opportunity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------------------------
   MOBILE NAV (max-width: 768px)
   ------------------------------------------------------- */

@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem var(--space-lg) var(--space-lg);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 999;
    }

    .site-nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: var(--space-sm) 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-cta {
        margin-top: var(--space-sm);
        text-align: center;
        width: 100%;
    }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero adjustments */
    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1.05rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
        text-align: center;
    }

    /* Typography scale down */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    /* Section spacing */
    .section {
        padding: var(--space-xl) 0;
    }

    .section-container {
        padding: 0 var(--space-sm);
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Why grid */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Opportunity grid */
    .opportunity-grid {
        grid-template-columns: 1fr;
    }

    /* CTA form section */
    .cta-form-section {
        padding: var(--space-lg) var(--space-md);
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* -------------------------------------------------------
   SMALL MOBILE (max-width: 480px)
   ------------------------------------------------------- */

@media (max-width: 480px) {
    .hero {
        padding: var(--space-lg) 0;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    h2 { font-size: 1.5rem; }

    .section {
        padding: var(--space-lg) 0;
    }

    .section-container {
        padding: 0 var(--space-sm);
    }

    .package-card {
        padding: var(--space-md);
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: var(--space-md);
    }

    .cta-form-section {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .radio-option {
        padding: var(--space-xs) var(--space-sm);
    }

    .radio-label {
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .problem-callout {
        padding: var(--space-md);
    }

    /* Ensure touch targets are at least 48px */
    .btn,
    .nav-link,
    .radio-option,
    .footer-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .usage-item,
    .end-state-item,
    .opportunity-item {
        min-height: auto;
    }

    .radio-option {
        justify-content: flex-start;
    }
}

/* -------------------------------------------------------
   LARGE DESKTOP (min-width: 1400px)
   ------------------------------------------------------- */

@media (min-width: 1400px) {
    .hero-headline {
        font-size: 3.25rem;
    }

    .hero-subheadline {
        font-size: 1.3rem;
    }

    .section-container {
        max-width: 1300px;
    }
}
