:root {
            --primary-color: #2e545eff;
            --primary-color-navbar: #147086ff;
            --secondary-color: #147086ff;
            --dark-color: #147086ff;
            --light-color: #f8f9fa;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f5f5f5;
            color: #333;
        }

        .navbar {
            background-color: var(--primary-color-navbar) !important;
            border-bottom: 2px solid var(--secondary-color);
        }



        .nav-link {
            color: white !important;
            font-weight: 500;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-secondary {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            color: var(--primary-color);
            font-weight: bold;
        }

        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
            color: white;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('img/logocard.png') repeat;
            opacity: 0.1;
        }

        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .feature-box {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-top: 3px solid var(--secondary-color);
        }

        .feature-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .feature-box-premium {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
            border: 2px solid #e8f2ff;
            position: relative;
            overflow: hidden;
        }

        .feature-box-premium::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #147086ff, #1f3f47ff, #147086ff);
        }

        .feature-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
        }

        .feature-box-premium .feature-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .feature-box-premium:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 35px rgba(31, 52, 101, 0.15);
        }

        .feature-box-premium h3 {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 15px;
        }

        .feature-box-premium p {
            color: #666;
            line-height: 1.6;
        }

        /* Animation for new features */
        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(31, 52, 101, 0.7);
            }

            70% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(31, 52, 101, 0);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(31, 52, 101, 0);
            }
        }


        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0);
            }

            40% {
                transform: translateY(-5px);
            }

            60% {
                transform: translateY(-3px);
            }
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .demo-slider {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            transition: all 0.3s ease;
        }

        .demo-slider:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .app-demo {
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: 3px solid #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;
        }

        .app-screenshot {
            max-height: 400px;
            object-fit: cover;
            transition: transform 0.3s ease;
            display: block;
            margin: 0 auto;
        }

        /* App Carousel Styles */
        #appCarousel .carousel-inner {
            border-radius: 10px;
            overflow: hidden;
        }

        .app-carousel-control {
            width: 30px;
            height: 30px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
        }

        .app-carousel-control:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .app-carousel-control .carousel-control-prev-icon,
        .app-carousel-control .carousel-control-next-icon {
            width: 15px;
            height: 15px;
        }

        .app-carousel-indicators {
            bottom: 10px;
        }

        .app-carousel-indicators button {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            border: none;
            margin: 0 3px;
        }

        .app-carousel-indicators button.active {
            background-color: #fff;
        }

        /* Pause animation on hover */
        .app-demo:hover #appCarousel {
            animation-play-state: paused;
        }

        .app-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(31, 52, 101, 0.8), rgba(102, 126, 234, 0.8));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .app-demo:hover .app-overlay {
            opacity: 1;
        }

        .app-demo:hover .app-screenshot {
            transform: scale(1.1);
        }

        .app-info {
            text-align: center;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .app-demo:hover .app-info {
            transform: translateY(0);
        }

        .download-btn {
            background: #fff;
            color: #147086;
            border: none;
            padding: 8px 20px;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .download-btn:hover {
            background: #ffdc8a;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-success {
            background: linear-gradient(45deg, #28a745, #20c997);
            border: none;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
            transition: all 0.3s ease;
        }

        .btn-success:hover {
            background: linear-gradient(45deg, #218838, #1e7e34);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .app-demo {
            animation: float 3s ease-in-out infinite;
        }

        .price-box {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border: 3px solid var(--secondary-color);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .price-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
        }

        .price-box:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(31, 52, 101, 0.15);
        }

        .price-box h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: 700;
        }

        .popular-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
            }

            70% {
                transform: scale(1.05);
                box-shadow: 0 6px 16px rgba(255, 107, 107, 0.6);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
            }
        }

        .price-amount {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .price-period {
            color: #777;
        }

        .list-check {
            list-style: none;
            padding: 0;
        }

        .list-check li {
            padding: 5px 0;
            position: relative;
            padding-right: 30px;
            transition: all 0.3s ease;
        }

        .list-check li:hover {
            background-color: rgba(31, 52, 101, 0.05);
            border-radius: 5px;
            padding-left: 10px;
            transform: translateX(5px);
        }

        .list-check li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            right: 0;
            color: var(--secondary-color);
        }

        .list-check li i {
            margin-right: 10px;
        }

        .list-check li:nth-last-child(-n+3) {
            font-weight: 600;
            color: var(--primary-color);
            background: linear-gradient(135deg, rgba(31, 52, 101, 0.1) 0%, rgba(255, 220, 138, 0.1) 100%);
            border-radius: 5px;
            padding: 8px 10px;
            margin: 5px 0;
        }

        .list-check li:nth-last-child(-n+3)::before {
            display: none;
        }

        .alert-warning {
            background-color: #fff3cd;
            border-color: #ffeeba;
            color: #856404;
        }

        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 50px 0 20px;
        }

        .social-icons a {
            color: white;
            font-size: 1.2rem;
            margin-left: 15px;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            color: var(--secondary-color);
            transform: translateY(-3px);
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 1.8rem;
            }
        }


            .purchase-card {
        max-width: 600px;
        margin: 30px auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        overflow: hidden;
    }

    .card-header {
        background-color: #147086;
        padding: 15px;
    }

    .card-title {
        margin: 0;
        font-size: 1.5rem;
    }

    .card-body {
        padding: 25px;
    }

    .user-info,
    .script-info {
        background-color: #f1f8ff;
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        border-right: 4px solid #147086;
    }

    .form-group {
        margin-bottom: 20px;
    }

    label {
        margin-bottom: 8px;
        font-weight: bold;
    }

    .form-check {
        margin-bottom: 15px;
    }

    .form-check-input {
        margin-left: 5px;
    }

    /* أنماط عنصر Stripe */
    .StripeElement {
        box-sizing: border-box;
        height: 40px;
        padding: 10px 12px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        background-color: white;
        transition: border-color 0.15s ease;
    }

    .StripeElement--focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .StripeElement--invalid {
        border-color: #fa755a;
    }

    #card-errors {
        color: #dc3545;
        margin-top: 8px;
        font-size: 0.875rem;
    }

    .total-price {
        font-size: 1.5rem;
        font-weight: bold;
        color: #147086;
        margin: 15px 0;
    }

    #submit-button {
        background-color: #147086;
        color: white;
        border: none;
        padding: 12px;
        font-size: 1rem;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #submit-button:hover {
        background-color: #14274e;
    }

    #submit-button:disabled {
        background-color: #6c757d;
        cursor: not-allowed;
    }