/* ============================================
   MOBILE.CSS — Full Mobile Responsiveness
   AI Consultant Pros Landing Page
   ============================================ */

/* ——————— GLOBAL MOBILE FIXES ——————— */
@media (max-width: 1024px) {
    .parallax-section {
        background-attachment: scroll !important;
    }
}

/* ——————— TABLET BREAKPOINT (≤ 768px) ——————— */
@media (max-width: 768px) {

    /* — Section Spacing — */
    .section-padding {
        padding: var(--space-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    /* — Navigation — */
    .nav-logo-img {
        height: 100px !important;
    }

    .main-nav.shrink .nav-logo-img {
        height: 70px !important;
    }

    .main-nav {
        padding: var(--space-md) 0;
    }

    .main-nav.shrink {
        padding: var(--space-xs) 0;
    }

    /* — Hero Section — */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* dynamic viewport height for mobile browsers */
    }

    /* — Hero video: show full frame on portrait mobile — */
    .hero-bg-video {
        object-fit: contain !important;
    }

    .hero-content {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 340px;
        text-align: center;
        justify-content: center;
    }

    .hero-ctas .btn-lg {
        padding: 16px 32px;
        font-size: 0.875rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* — Tier / Pricing Cards — */
    .container-narrow {
        padding: 0 var(--space-sm);
    }

    .tier-card {
        padding: var(--space-xl) var(--space-md);
    }

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

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

    .tier-price {
        font-size: 2.5rem;
    }

    .tier-badge {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        display: inline-block;
        margin-bottom: var(--space-md);
        padding: 8px 24px;
        border-radius: var(--radius-pill);
        font-size: 0.75rem;
    }

    .tier-features li {
        font-size: 0.875rem;
        padding: var(--space-xs) 0;
    }

    .gpt-item {
        padding: var(--space-sm) var(--space-md);
    }

    .gpt-name {
        font-size: 0.875rem;
    }

    .gpt-desc {
        font-size: 0.75rem;
    }

    /* — Testimonials Carousel — */
    .testimonial-card {
        padding: var(--space-xl) var(--space-md);
    }

    .testimonial-quote {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    /* — Google Reviews — */
    .reviews-card {
        padding: var(--space-xl) var(--space-md);
    }

    .review-rating-number {
        font-size: 2.5rem;
    }

    .google-logo {
        font-size: 1.5rem;
    }

    /* — Counters — */
    .counter-item {
        padding: var(--space-md);
    }

    /* — Final CTA — */
    .final-cta-section .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    /* — Footer — */
    .footer-logo-img {
        height: 70px;
    }

    .footer-brand p {
        font-size: 0.875rem;
    }
}

/* ——————— SMALL PHONE BREAKPOINT (≤ 480px) ——————— */
@media (max-width: 480px) {

    /* — Section Spacing — */
    .section-padding {
        padding: var(--space-2xl) 0;
    }

    /* — Navigation — */
    .nav-logo-img {
        height: 70px !important;
    }

    .main-nav.shrink .nav-logo-img {
        height: 50px !important;
    }

    .nav-links {
        width: 100%;
        max-width: none;
        padding: var(--space-2xl) var(--space-lg);
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* — Hero — */
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero-ctas .btn-lg {
        padding: 14px 24px;
        font-size: 0.8125rem;
    }

    /* — Tier Cards — */
    .tier-card {
        padding: var(--space-lg) var(--space-md);
    }

    .tier-price {
        font-size: 2rem;
    }

    .tier-name {
        font-size: 0.75rem;
    }

    /* — Authority/Proof — */
    .authority-hero-image img {
        max-height: 220px;
    }

    .credential-item {
        padding: var(--space-md);
    }

    .credential-item h4 {
        font-size: 0.9375rem;
    }

    .credential-item p {
        font-size: 0.8125rem;
    }

    /* — Testimonials — */
    .testimonial-quote {
        font-size: 0.9375rem;
    }

    /* — Reviews embed adjustments — */
    .elfsight-reviews-wrapper {
        padding: 0 var(--space-sm);
    }

    /* — Parallax content — */
    .parallax-section {
        padding: var(--space-3xl) 0;
    }

    /* — Buttons — */
    .btn {
        padding: 14px 28px;
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 0.875rem;
    }
}

/* ——————— TOUCH-FRIENDLY IMPROVEMENTS ——————— */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover-only effects on touch devices */
    .tier-card:hover {
        transform: none;
        box-shadow: none;
    }

    .tier-card.featured:hover {
        transform: none;
    }

    .glass-card:hover {
        transform: none;
        box-shadow: none;
    }

    .credential-item:hover {
        transform: none;
        box-shadow: none;
    }

    /* Make tap targets at least 44px */
    .nav-toggle {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .btn {
        min-height: 44px;
    }

    /* Active states for tap feedback */
    .btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    .tier-card:active {
        border-color: rgba(86, 130, 177, 0.3);
    }

    .glass-card:active {
        border-color: rgba(86, 130, 177, 0.25);
    }
}
