@charset "UTF-8";

/* ==========================================================================
   NAZSELL PERFECT MOBILE RESPONSIVE ENGINE (Pixel-Perfect Alignment)
   ========================================================================== */

@media screen and (max-width: 767px) {

    /* --- 1. STRICT VIEWPORT & CONTAINMENT RESET --- */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    *, *::before, *::after {
        box-sizing: border-box !important;
    }

    /* Force all main plugin containers to stay inside screen padding */
    .nz-home-header-wrapper,
    .nazsell-hero-wrapper,
    .nz-hero-container,
    .nz-pricing-section,
    .nz-integration-section,
    .nz-cta-banner-wrapper,
    .nz-feature-block-wrapper,
    .nz-trust-strip-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }

    /* --- 2. HEADER ALIGNMENT --- */
    body .nz-home-header-wrapper {
        position: sticky !important;
        top: 0 !important;
        z-index: 999999 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
    }

    body .nz-header-inner {
        padding: 10px 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    body .nz-header-logo {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body .nz-brand-img-logo {
        width: 28px !important;
        height: 28px !important;
    }

    body .nz-logo-text {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
    }

    body .nz-hdr-btn-cta {
        padding: 6px 14px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        border-radius: 16px !important;
    }

    body .nz-header-nav {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-top: 8px !important;
        margin-top: 8px !important;
        border-top: 1px solid #f1f5f9 !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body .nz-nav-items {
        display: inline-flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin: 0 !important;
        padding: 0 0 4px 0 !important;
        list-style: none !important;
    }

    body .nz-nav-link {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        text-decoration: none !important;
    }

    body .nz-mega-dropdown-box {
        display: none !important;
    }

    /* --- 3. HERO CONTENT & ALIGNMENT --- */
    body .nazsell-hero-wrapper {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    body .nz-hero-container:first-child {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    body .nz-hero-col-left,
    body .nz-hero-col-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Badge Pill - Alignment Fix */
    body .nz-badge-pill {
        display: inline-flex !important;
        align-items: center !important;
        padding: 5px 12px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
        margin-bottom: 12px !important;
        margin-left: 0 !important;
    }

    /* Main Typography */
    body .nz-hero-title {
        font-size: 22px !important;
        line-height: 1.28 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
    }

    body .nz-hero-description {
        font-size: 13px !important;
        line-height: 1.55 !important;
        color: #64748b !important;
        margin-bottom: 16px !important;
    }

    /* Side-by-Side Action Buttons */
    body .nz-action-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    body .nz-action-row .nz-btn-gold {
        flex: 1 1 50% !important;
        max-width: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Trust Star Rating Bar */
    body .nz-trust-bar {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        color: #64748b !important;
    }

    body .nz-stars {
        font-size: 12px !important;
    }

    /* --- 4. DARK PREVIEW CARD HEIGHT & FLEX FIX --- */
    body .nz-preview-card {
        padding: 18px 16px !important;
        border-radius: 16px !important;
        width: 100% !important;
        height: auto !important; /* Fixed height compression */
        min-height: auto !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    body .nz-card-header {
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    body .nz-metric-box {
        padding: 12px !important;
        border-radius: 10px !important;
    }

    body .nz-metric-title {
        font-size: 11px !important;
    }

    body .nz-metric-value {
        font-size: 18px !important;
    }

    body .nz-card-features {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    body .nz-feature-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
    }

    /* --- 5. OTHER SECTIONS CLEANUP --- */
    body .nz-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        padding: 12px 0 !important;
    }

    body .nz-stat-card {
        padding: 10px 4px !important;
        text-align: center !important;
    }

    body .nz-stat-card h2 {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }

    body .nz-stat-card p {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
    }

    body .nz-pricing-section {
        padding: 24px 16px !important;
    }

    body .nz-pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    body .nz-price-card {
        width: 100% !important;
        padding: 16px !important;
    }

    body .nz-diagram-wrapper {
        height: auto !important;
        min-height: 320px !important;
        overflow: hidden !important;
    }

    body .nz-connecting-lines {
        display: none !important;
    }

    body .nz-feature-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    body .nz-trust-strip-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 14px 4px !important;
    }

    body .nz-trust-item {
        font-size: 11px !important;
    }
}