/* ============================================================
   EventMeNow – Responsive Breakpoints
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   Small Desktop (≤ 1200px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .hero-section { padding: 88px 0 72px; }
    .hero-section h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
    .hero-section .lead { font-size: 1rem; }

    .hero-stats { gap: 28px; }

    .category-bar { padding: 52px 0; }

    .feature-card { padding: 26px; }
    .feature-icon { width: 46px; height: 46px; font-size: 1.15rem; }

    .cta-banner { padding: 48px 40px; }
    .cta-banner::before { width: 300px; height: 300px; top: -120px; }

    .section-header { margin-bottom: 44px; }
}

/* ──────────────────────────────────────────────────────────
   Small Laptop & Tablet (≤ 992px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-section { padding: 72px 0 56px; text-align: center; }
    .hero-section .lead { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .hero-badge { margin-left: auto; margin-right: auto; }

    .word-cloud { max-width: 500px; margin: 0 auto; }

    /* Reduce inline 80px section padding for tablets (exclude special sections) */
    .section-dark:not(.hero-section):not(.scroll-stack-section),
    .section-light:not(.category-bar),
    .section-dark-alt { padding: 64px 0 !important; }

    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
    .section-header p { font-size: 0.95rem; }

    .category-bar { padding: 48px 0; }

    .cat-card { padding: 14px 16px; }
    .cat-card-icon { width: 42px; height: 42px; font-size: 1.2rem; }
    .cat-card-arrow { display: none; }

    .step-card { padding: 28px 20px; }
    .step-number { width: 40px; height: 40px; font-size: 0.9rem; }
    .step-icon-circle { width: 56px; height: 56px; font-size: 1.3rem; border-radius: 16px; }

    /* Journey timeline — collapse to single column on tablets */
    .journey-line { left: 20px; }
    .journey-step {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
        gap: 0 16px;
        margin-bottom: 40px;
    }
    .journey-node {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        padding-top: 28px;
    }
    .journey-node > span { width: 46px; height: 46px; font-size: 1rem; }
    .journey-content {
        grid-column: 2; grid-row: 1;
        padding: 26px;
    }
    .journey-visual {
        grid-column: 2; grid-row: 2;
        padding: 8px 0 0;
        justify-content: flex-start;
    }
    .journey-illustration { max-width: 220px; }
    /* Reset reversed order on tablet/mobile */
    .journey-step-alt .journey-content,
    .journey-step-alt .journey-node,
    .journey-step-alt .journey-visual { order: unset; }

    .feature-card { padding: 24px; }

    .stats-bar { padding: 52px 0; }
    .stat-num { font-size: 2.2rem; }

    .cta-banner,
    .cta-light { padding: 40px 28px; }
    .cta-banner h2 { font-size: clamp(1.4rem, 2.8vw, 1.8rem); }

    .vendor-benefit-card { padding: 16px; }

    /* Pricing section */
    .pricing-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .pricing-card { padding: 26px 22px; }
    .pricing-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    .pricing-amount { font-size: 2.5rem; }

    /* Footer adjustments */
    .emn-footer .footer-col-title { margin-bottom: 12px; }
    .emn-footer ul li { margin-bottom: 8px; }

    /* Page hero (inner pages) */
    .page-hero { padding: 48px 0 40px; }
    .page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

    /* Contact / Support pages */
    .contact-card { padding: 28px 22px; }
    .support-channel { padding: 24px 20px; }
    .support-channel .support-icon { width: 48px; height: 48px; font-size: 1.3rem; }

    /* Policy pages */
    .policy-toc { position: static; margin-bottom: 24px; }
}

/* ──────────────────────────────────────────────────────────
   Tablet & Mobile (≤ 767px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Hero */
    .hero-section { padding: 56px 0 44px; }
    .hero-section h1 { font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 16px; }
    .hero-section .lead { font-size: 0.92rem; line-height: 1.7; }
    .hero-btns { gap: 10px; margin-top: 24px; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .hero-badge { font-size: 0.72rem; padding: 5px 12px; margin-bottom: 18px; }
    .hero-stats { gap: 12px; margin-top: 32px; padding-top: 24px; }
    .hero-stat-num { font-size: 1.35rem; }
    .hero-stat-label { font-size: 0.72rem; }
    .word-cloud { max-width: 100%; }

    /* Section spacing — override inline padding:80px 0 (exclude special sections) */
    .section-dark:not(.hero-section):not(.scroll-stack-section),
    .section-light:not(.category-bar),
    .section-dark-alt { padding: 52px 0 !important; }

    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 1.5rem; margin-bottom: 10px; }
    .section-header p { font-size: 0.9rem; }

    /* Category bar */
    .category-bar { padding: 40px 0; }
    .cat-card { padding: 12px 14px; gap: 10px; border-radius: 12px; }
    .cat-card-icon { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 10px; }
    .cat-card-name { font-size: 0.82rem; }
    .cat-card-desc { font-size: 0.7rem; white-space: normal; }

    /* Steps */
    .step-card { padding: 28px 20px; border-radius: 16px; }
    .step-number { width: 38px; height: 38px; font-size: 0.85rem; }
    .step-icon-circle { width: 52px; height: 52px; font-size: 1.2rem; border-radius: 14px; margin-bottom: 16px; }
    .step-card h5 { font-size: 0.92rem; }
    .step-card p { font-size: 0.84rem; }

    /* Journey timeline — stack to single column */
    .journey-line { left: 20px; }
    .journey-step {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        gap: 0 16px;
        margin-bottom: 36px;
    }
    .journey-node {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        padding-top: 28px;
    }
    .journey-node > span {
        width: 40px; height: 40px; font-size: 0.95rem;
        box-shadow: 0 0 0 4px var(--light-bg), 0 0 0 6px rgba(124,58,237,0.12), 0 3px 12px rgba(124,58,237,0.15);
    }
    .journey-content {
        grid-column: 2; grid-row: 1;
        padding: 22px 18px;
    }
    .journey-content h4 { font-size: 1rem; }
    .journey-content > p { font-size: 0.84rem; }
    .journey-checklist li { font-size: 0.78rem; }
    .journey-badge { font-size: 0.65rem; padding: 3px 10px; }
    .journey-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; margin-bottom: 14px; }
    .journey-visual {
        grid-column: 2; grid-row: 2;
        padding: 8px 0 0;
        justify-content: flex-start;
    }
    .journey-illustration { max-width: 200px; }
    /* Reset order for alt steps on mobile */
    .journey-step-alt .journey-content,
    .journey-step-alt .journey-node,
    .journey-step-alt .journey-visual { order: unset; }

    /* Feature cards */
    .feature-card { padding: 22px; }
    .feature-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; margin-bottom: 14px; }
    .feature-card h5 { font-size: 0.92rem; }
    .feature-card p { font-size: 0.84rem; }

    /* Stats */
    .stats-bar { padding: 40px 0; }
    .stat-item { padding: 16px 12px; }
    .stat-num { font-size: 1.8rem; }
    .stat-label { font-size: 0.78rem; margin-top: 4px; }

    /* CTA */
    .cta-banner,
    .cta-light { padding: 28px 18px; border-radius: 1rem; }
    .cta-banner h2 { font-size: 1.3rem; }
    .cta-banner p { font-size: 0.9rem; }
    .cta-banner::before { width: 200px; height: 200px; top: -80px; right: 20px; }
    .cta-banner::after { width: 150px; height: 150px; bottom: -60px; left: 40px; }

    /* Pricing section — horizontal scroll slider on mobile */
    .pricing-cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 12px;
    }
    .pricing-card {
        flex: 0 0 80%;
        max-width: 80%;
        scroll-snap-align: center;
        padding: 24px 20px;
    }
    .pricing-card:last-child { grid-column: unset; max-width: 80%; margin: 0; }
    .pricing-card:first-child { margin-left: 10%; }
    .pricing-card:last-child { margin-right: 10%; }
    .pricing-amount { font-size: 2.4rem; }
    .pricing-plan-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 12px; }
    .pricing-overlay-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .pricing-overlay-content h3 { font-size: 1.4rem; }
    .pricing-overlay-content p { font-size: 0.88rem; }

    /* Vendor section */
    .vendor-benefit-card { padding: 16px 14px; border-radius: 12px; }
    .vendor-benefit-icon { width: 36px; height: 36px; border-radius: 9px; font-size: 0.9rem; margin-bottom: 10px; }

    /* Footer */
    .emn-footer { padding-top: 2.5rem !important; }
    .emn-footer .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }

    /* Contact / Support */
    .contact-card { padding: 20px 16px; }
    .contact-info-item { padding: 14px 0; gap: 12px; }
    .contact-info-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 10px; }
    .support-channel { padding: 22px 16px; }

    /* Page hero (inner pages) */
    .page-hero { padding: 40px 0 32px; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: 0.9rem; }

    /* Policy TOC */
    .policy-toc { padding: 18px; }

    /* Buttons */
    .btn { padding: 10px 22px !important; font-size: 13px; }
    .web-btn1, .web-btn2, .web-btn-outline, .web-btn-ghost, .web-btn-white {
        font-size: 13px;
    }

    /* Navbar */
    .logo-img { height: 38px; }
    .navbar { padding: 10px 0; }

    /* Glass card */
    .glass-card { border-radius: 0.85rem; }
    .light-card { border-radius: 0.85rem; }

    /* Section labels */
    .section-label { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 10px; }
}

/* ──────────────────────────────────────────────────────────
   Small Mobile (≤ 480px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    /* Further reduce section padding on small mobile (exclude special sections) */
    .section-dark:not(.hero-section):not(.scroll-stack-section),
    .section-light:not(.category-bar),
    .section-dark-alt { padding: 40px 0 !important; }

    .hero-section h1 { font-size: 2.5rem; }
    .hero-section .lead { font-size: 0.88rem; }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
        text-align: center;
    }

    .category-bar { padding: 32px 0; }

    .section-header h2 { font-size: 1.3rem; }

    .stat-num { font-size: 1.5rem; }
    .stat-item { padding: 14px 10px; }

    .feature-card { padding: 18px; }
    .step-card { padding: 20px 14px; }

    /* Journey */
    .journey-step { gap: 0 12px; }
    .journey-content { padding: 18px 14px; }
    .journey-illustration { max-width: 170px; }

    .cta-banner,
    .cta-light { padding: 24px 16px; }
    .cta-banner h2 { font-size: 1.15rem; }

    .vendor-benefit-card { padding: 14px 12px; }

    /* Pricing section */
    .pricing-card { flex: 0 0 85%; max-width: 85%; padding: 20px 16px; }
    .pricing-card:first-child { margin-left: 7.5%; }
    .pricing-card:last-child { margin-right: 7.5%; max-width: 85%; }
    .pricing-amount { font-size: 2rem; }
    .pricing-features li { font-size: 0.8rem; gap: 8px; }
    .pricing-overlay-icon { width: 52px; height: 52px; font-size: 1.3rem; }
    .pricing-overlay-content h3 { font-size: 1.25rem; }

    .contact-card { padding: 18px 14px; }
}
