@charset "UTF-8";

/* === mobile-app.css === */
.mobile-business-app {
        font-family: 'Cairo', sans-serif;
        direction: rtl;
        text-align: right;
    }

    .mobile-business-app :root {
        --mb-primary-color: #2563eb;
        --mb-secondary-color: #1d4ed8;
        --mb-accent-color: #f59e0b;
        --mb-success-color: #10b981;
        --mb-text-dark: #1f2937;
        --mb-text-gray: #6b7280;
        --mb-bg-light: #f8fafc;
        --mb-border-color: #e5e7eb;
        --mb-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
        --mb-shadow-lg: 0 6px 10px -2px rgba(0, 0, 0, 0.1);
    }

    .mobile-business-app .mb-hero {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: white;
        padding: 50px 0;
        text-align: right;
        position: relative;
        overflow: hidden;
    }

    .mobile-business-app .mb-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(/assets/css/%23grain)"/></svg>') repeat;
        opacity: 0.3;
    }

    .mobile-business-app .mb-hero-content {
        position: relative;
        z-index: 2;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .mobile-business-app .mb-hero h1 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        text-align: center;
    }

    .mobile-business-app .mb-hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
        opacity: 0.95;
        text-align: right;
    }

    .mobile-business-app .mb-download-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 30px;
    }

    .mobile-business-app .mb-download-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        color: white;
        padding: 12px 20px;
        text-decoration: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.9rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .mobile-business-app .mb-download-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .mobile-business-app .mb-download-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-business-app .mb-download-btn:hover::before {
        left: 100%;
    }

    .mobile-business-app .mb-download-btn i {
        font-size: 1.2rem;
    }

    .mobile-business-app .mb-features {
        padding: 50px 0;
        background: var(--mb-bg-light);
    }

    .mobile-business-app .mb-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .mobile-business-app .mb-feature {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-bottom: 50px;
        padding: 30px;
        background: white;
        border-radius: 15px;
        box-shadow: var(--mb-shadow-lg);
        border: 1px solid var(--mb-border-color);
        transition: all 0.3s ease;
    }

    .mobile-business-app .mb-feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 20px -3px rgba(0, 0, 0, 0.1);
    }

    .mobile-business-app .mb-feature:nth-child(even) {
        direction: ltr;
    }

    .mobile-business-app .mb-feature:nth-child(even) .mb-feature-content {
        direction: rtl;
        text-align: right;
    }

    .mobile-business-app .mb-feature-content {
        text-align: right;
    }

    .mobile-business-app .mb-feature-content h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--mb-text-dark);
        margin-bottom: 15px;
        position: relative;
        text-align: right;
    }

    .mobile-business-app .mb-feature-content h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, var(--mb-primary-color), var(--mb-accent-color));
        border-radius: 2px;
    }

    .mobile-business-app .mb-feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--mb-text-gray);
        margin-bottom: 20px;
        text-align: right;
    }

    .mobile-business-app .mb-feature-image {
        text-align: center;
        position: relative;
    }

    .mobile-business-app .mb-feature-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: var(--mb-shadow-lg);
        transition: all 0.3s ease;
    }

    .mobile-business-app .mb-feature-image:hover img {
        transform: scale(1.03);
    }

    .mobile-business-app .mb-feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--mb-primary-color), var(--mb-secondary-color));
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        margin-bottom: 15px;
        box-shadow: var(--mb-shadow);
    }

    .mobile-business-app .mb-feature:nth-child(2) .mb-feature-icon {
        background: linear-gradient(135deg, var(--mb-success-color), #059669);
    }

    .mobile-business-app .mb-feature:nth-child(3) .mb-feature-icon {
        background: linear-gradient(135deg, var(--mb-accent-color), #d97706);
    }

    .mobile-business-app .mb-feature:nth-child(4) .mb-feature-icon {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    .mobile-business-app .mb-feature:nth-child(5) .mb-feature-icon {
        background: linear-gradient(135deg, #ef4444, #dc2626);
    }

    .mobile-business-app .mb-feature:nth-child(6) .mb-feature-icon {
        background: linear-gradient(135deg, #06b6d4, #0891b2);
    }

    .mobile-business-app .mb-feature:nth-child(7) .mb-feature-icon {
        background: linear-gradient(135deg, #84cc16, #65a30d);
    }

    .mobile-business-app .mb-feature-downloads {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .mobile-business-app .mb-feature-download-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #2563eb;
        color: white;
        padding: 10px 16px;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        box-shadow: var(--mb-shadow);
    }

    .mobile-business-app .mb-feature-download-btn:hover {
        background: var(--mb-secondary-color);
        transform: translateY(-2px);
        box-shadow: var(--mb-shadow-lg);
    }

    .mobile-business-app .mb-feature-download-btn.apple {
        background: #000000;
    }

    .mobile-business-app .mb-feature-download-btn.apple:hover {
        background: #333333;
    }

    .mobile-business-app .mb-feature-download-btn i {
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .mobile-business-app .mb-hero h1 {
            font-size: 1.8rem;
        }

        .mobile-business-app .mb-hero-description {
            font-size: 0.9rem;
        }

        .mobile-business-app .mb-download-buttons {
            flex-direction: column;
            align-items: center;
        }

        .mobile-business-app .mb-feature {
            grid-template-columns: 1fr;
            gap: 25px;
            padding: 25px 15px;
            margin-bottom: 30px;
        }

        .mobile-business-app .mb-feature:nth-child(even) {
            direction: rtl;
        }

        .mobile-business-app .mb-feature-content h2 {
            font-size: 1.3rem;
        }

        .mobile-business-app .mb-feature-content p {
            font-size: 0.85rem;
        }

        .mobile-business-app .mb-feature-downloads {
            justify-content: center;
        }

        .mobile-business-app .mb-container {
            padding: 0 15px;
        }
    }

    @media (max-width: 480px) {
        .mobile-business-app .mb-hero {
            padding: 40px 0;
        }

        .mobile-business-app .mb-hero h1 {
            font-size: 1.5rem;
        }

        .mobile-business-app .mb-features {
            padding: 40px 0;
        }

        .mobile-business-app .mb-feature {
            padding: 20px 12px;
        }

        .mobile-business-app .mb-feature-icon {
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }

        .mobile-business-app .mb-download-btn {
            padding: 10px 16px;
            font-size: 0.8rem;
        }
    }

    @keyframes mbFadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-business-app .mb-feature {
        animation: mbFadeInUp 0.6s ease-out;
    }

    .mobile-business-app .mb-feature:nth-child(even) {
        animation-delay: 0.2s;
    }

    :root {
        --primary-blue: #2563eb;
        --secondary-blue: #1d4ed8;
        --accent-orange: #f97316;
        --success-green: #059669;
        --warning-yellow: #d97706;
        --danger-red: #dc2626;
        --light-gray: #f8fafc;
        --border-gray: #e2e8f0;
        --text-dark: #1e293b;
        --text-gray: #64748b;
    }

    .mobile-apps-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .mobile-apps-hero {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
        color: white;
        padding: 40px 0;
        text-align: center;
    }

    .mobile-apps-hero h1 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .mobile-apps-hero .hero-lead {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9;
    }

    .mobile-apps-badges {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
        margin: 25px 0;
    }

    .mobile-apps-badge {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-apps-badge:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

    .mobile-apps-download {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 25px;
    }

    .mobile-apps-download-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--accent-orange);
        color: white;
        padding: 12px 20px;
        text-decoration: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .mobile-apps-download-btn:hover {
        background: #ea580c;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    }

    .mobile-apps-download-btn i {
        font-size: 1.5rem;
    }

    .mobile-apps-showcase {
        padding: 60px 0;
        background: var(--light-gray);
    }

    .mobile-apps-showcase-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .mobile-apps-showcase-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 15px;
    }

    .mobile-apps-showcase-subtitle {
        font-size: 1.1rem;
        color: var(--text-gray);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .mobile-apps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 40px;
    }

    .mobile-app-card {
        background: white;
        border-radius: 16px;
        padding: 30px 25px;
        text-align: center;
        border: 1px solid var(--border-gray);
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-app-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-blue);
    }

    .mobile-app-card.business {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
        color: white;
    }

    .mobile-app-card.business:hover {
        border-color: white;
    }

    .mobile-app-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.8rem;
        margin: 0 auto 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .mobile-app-card.business .mobile-app-icon {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-app-card.pos .mobile-app-icon {
        background: var(--success-green);
    }

    .mobile-app-card.attendance .mobile-app-icon {
        background: var(--danger-red);
    }

    .mobile-app-card.expense .mobile-app-icon {
        background: var(--warning-yellow);
    }

    .mobile-app-card.reader .mobile-app-icon {
        background: var(--text-gray);
    }

    .mobile-app-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .mobile-app-card.business .mobile-app-title {
        color: white;
    }

    .mobile-app-desc {
        color: var(--text-gray);
        font-size: 1rem;
        line-height: 1.5;
    }

    .mobile-app-card.business .mobile-app-desc {
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-app-detail {
        padding: 60px 0;
        border-bottom: 1px solid var(--border-gray);
    }

    .mobile-app-detail:nth-child(even) {
        background: var(--light-gray);
    }

    .mobile-app-detail-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .mobile-app-detail-text {
        text-align: center;
        max-width: 800px;
    }

    .mobile-app-tag {
        background: var(--primary-blue);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 20px;
        display: inline-block;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-app-detail-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .mobile-app-summary {
        font-size: 1.1rem;
        color: var(--text-gray);
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .mobile-app-features {
        margin: 30px 0;
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--border-gray);
    }

    .mobile-app-features h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        text-align: center;
    }

    .mobile-app-features-list {
        list-style: none;
        padding: 0;
        display: grid;
        gap: 10px;
    }

    .mobile-app-features-list li {
        display: flex;
        align-items: flex-start;
        padding: 12px 15px;
        text-align: right;
        direction: rtl;
        line-height: 1.5;
        font-size: 0.95rem;
        color: #444;
        background: var(--light-gray);
        border-radius: 8px;
        border-right: 3px solid var(--primary-blue);
        transition: all 0.3s ease;
    }

    .mobile-app-features-list li:hover {
        transform: translateX(-3px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-app-features-list li::before {
        content: "✓";
        color: var(--primary-blue);
        font-weight: bold;
        margin-left: 10px;
        margin-top: 1px;
        font-size: 1rem;
    }

    .mobile-app-benefits {
        background: white;
        border: 1px solid var(--border-gray);
        border-radius: 12px;
        padding: 25px;
        margin: 25px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-app-benefits h5 {
        color: var(--text-dark);
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-align: center;
    }

    .mobile-app-benefits p {
        color: var(--text-gray);
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }

    .mobile-app-compliance {
        background: white;
        border: 1px solid var(--border-gray);
        border-radius: 12px;
        padding: 30px;
        margin: 30px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .mobile-app-compliance h4 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 20px;
        text-align: center;
    }

    .mobile-app-compliance-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }

    .mobile-app-compliance-item {
        background: var(--light-gray);
        padding: 15px;
        border-radius: 8px;
        text-align: right;
        font-size: 0.95rem;
        color: var(--text-gray);
        border-right: 3px solid var(--success-green);
        transition: all 0.3s ease;
    }

    .mobile-app-compliance-item:hover {
        transform: translateX(-3px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-apps-cta {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
        color: white;
        text-align: center;
        padding: 60px 0;
    }

    .mobile-apps-cta h2 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .mobile-apps-cta p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    @media (max-width: 768px) {
        .mobile-apps-hero {
            padding: 40px 0;
        }

        .mobile-apps-hero h1 {
            font-size: 1.8rem;
        }

        .mobile-apps-hero .hero-lead {
            font-size: 1rem;
        }

        .mobile-apps-badges {
            gap: 8px;
        }

        .mobile-apps-badge {
            padding: 6px 12px;
            font-size: 0.8rem;
        }

        .mobile-apps-download {
            flex-direction: column;
            align-items: center;
        }

        .mobile-apps-showcase {
            padding: 40px 0;
        }

        .mobile-apps-showcase-title {
            font-size: 1.8rem;
        }

        .mobile-apps-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .mobile-app-detail {
            padding: 40px 0;
        }

        .mobile-app-detail-title {
            font-size: 1.8rem;
        }

        .mobile-app-features {
            padding: 20px;
        }

        .mobile-app-compliance {
            padding: 20px;
        }

        .mobile-app-compliance-grid {
            grid-template-columns: 1fr;
        }

        .mobile-apps-cta {
            padding: 40px 0;
        }

        .mobile-apps-cta h2 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 480px) {
        .mobile-apps-container {
            padding: 0 15px;
        }

        .mobile-apps-hero h1 {
            font-size: 1.6rem;
        }

        .mobile-app-card {
            padding: 25px 20px;
        }

        .mobile-app-icon {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }

        .mobile-app-detail-title {
            font-size: 1.6rem;
        }
    }
