/* =========================================
   PREMIUM MOBILE RESPONSIVENESS
   ========================================= */

/* Base Font Scaling */
html {
    font-size: 15px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* 1. Header & Ultra-Premium Navigation */
@media (max-width: 992px) {
    .container-nav nav {
        padding: 0 16px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--color-border);
        border-radius: 12px;
        z-index: 1100;
        transition: var(--transition-bounce);
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--color-text-main);
        transition: var(--transition-bounce);
    }

    .menu-toggle span:nth-child(2) {
        margin: 6px 0;
        width: 18px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    #nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(3, 3, 4, 0.98);
        backdrop-filter: blur(25px);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.6s cubic-bezier(0.8, 0, 0.2, 1);
        padding: 60px 24px;
        opacity: 0;
        visibility: hidden;
    }

    #nav-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        margin-bottom: 4rem;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    }

    #nav-menu.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    #nav-menu.active .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    #nav-menu.active .nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    #nav-menu.active .nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    #nav-menu.active .nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        font-size: 2.8rem;
        font-family: var(--font-heading);
        font-weight: 800;
        letter-spacing: -0.04em;
        color: #fff;
    }

    .nav-right {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.8, 0, 0.2, 1);
        transition-delay: 0.5s;
    }

    #nav-menu.active .nav-right {
        opacity: 1;
        transform: translateY(0);
    }

    header {
        padding: 12px 0 !important;
    }

    .container-nav nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 2. Hero Section Refinement */
@media (max-width: 768px) {
    .hero-new {
        min-height: 85vh;
        padding-top: 120px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-container-centered {
        padding: 0 20px;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0;
    }

    .hero-title-new {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-desc-new {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .hero-buttons-new {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .hero-buttons-new .btn {
        width: 100%;
        padding: 20px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .stat-box {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    [dir="rtl"] .section-header h2 {
        line-height: 1.4 !important;
    }

    .section-header .text-muted {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .bento-card {
        grid-column: unset !important;
        grid-row: unset !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 30px 20px !important;
    }

    .bento-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
    }

    .bento-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* Process Section */
    .process-grid {
        flex-direction: column;
        gap: 40px;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    /* Comparison Section */
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-vs {
        margin: 20px 0;
    }

    /* Testimonials */
    .testimonials-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonial-card-premium {
        padding: 40px 24px;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav-groups {
        flex-direction: column;
        gap: 32px;
    }

    .footer-newsletter-premium {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .newsletter-form-premium {
        width: 100%;
    }

    /* Results Section */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .result-card {
        padding: 40px 24px;
    }

    .result-value {
        font-size: 3rem;
    }

    /* Collaboration Section */
    .collab-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .collab-card {
        padding: 40px 24px;
    }

    .strategy-banner {
        padding: 40px 24px;
        margin-top: 40px;
    }

    .strategy-banner p {
        font-size: 1rem;
    }

    /* FAQ Mobile Fix */
    .faq-question {
        padding: 24px 20px !important;
        gap: 12px !important;
    }

    .faq-q-content {
        gap: 15px !important;
        flex: 1 !important;
    }

    [dir="rtl"] .faq-q-content {
        flex-direction: row !important;
        text-align: right !important;
    }

    .faq-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
        flex-shrink: 0 !important;
    }

    .faq-question h4 {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }

    [dir="rtl"] .faq-question h4 {
        text-align: right !important;
    }

    .faq-answer {
        padding: 0 20px 24px !important;
        font-size: 0.95rem !important;
    }

    /* Fomo Mobile Fix */
    .fomo-notification {
        left: 50% !important;
        transform: translateX(-50%) translateY(100px) !important;
        bottom: 20px !important;
        width: calc(100% - 40px) !important;
        max-width: none !important;
        padding: 12px !important;
    }

    .fomo-notification.active {
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* 3. Animations & Micro-Interactions */
@media (prefers-reduced-motion: no-preference) {
    .hero-content.reveal.active {
        animation: heroIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes heroIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}