:root{

    --primary:#7C3AED;      /* بنفسجي */

    --primary-light:#EDE9FE;

    --dark:#3B2F2F;         /* أسمر غامق */

    --text:#1F2937;

    --white:#FFFFFF;

    --bg:#F8FAFC;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Tahoma,sans-serif;
}

.header{
    height:80px;
    padding:0 40px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#fff;

    position:sticky;
    top:0;

    z-index:1000;

    position:relative;

    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.logo img{
    height:50px;
}

.navbar{
    display:flex;
    gap:30px;
}

.navbar a{
    text-decoration:none;
    color:#222;
    font-weight:600;
}

.btn-order{
    background:#2563eb;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    text-decoration:none;
}

.hero{
    min-height:calc(100vh - 80px);

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:80px 8%;

    gap:60px;
}

.hero-content{
    flex:1;
}

.hero-badge{
    display:inline-block;

    background:var(--primary-light);

    color:var(--primary);

    padding:10px 20px;

    border-radius:30px;

    margin-bottom:20px;

    font-weight:600;
}

.hero-content h1{
    font-size:3rem;

    line-height:1.4;

    margin-bottom:20px;

    color:#0f172a;
}

.hero-content p{
    font-size:1.1rem;

    line-height:2;

    color:#555;

    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.btn-primary{
    position: relative;
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    transition: color .35s;
}

.btn-primary::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,.15);
    transition: width .35s ease;
    z-index: -1;
}

.btn-primary:hover::before{
    width: 100%;
}

.btn-primary:hover{
    color: #000;
}

.btn-secondary{
    border:2px solid var(--primary);

    color:var(--primary);

    text-decoration:none;

    padding:14px 28px;

    border-radius:12px;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:600px;

    border-radius:20px;

    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

@media(max-width:900px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-content h1{
        font-size:2rem;
    }

}


.services{
    padding:100px 8%;
    background:#f8fafc;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.3rem;
    color:#0f172a;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.service-card{
    background:#fff;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;

    transition:.3s;

    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-icon{
    font-size:50px;
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
    color:#0f172a;
}

.service-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:20px;
}

.service-card a{
    text-decoration:none;
    color:var(--primary);
    font-weight:bold;
}


.featured-products{
    padding:100px 8%;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.product-card:hover{

    transform:translateY(-10px);
}

.product-card img{

    width:100%;

    height:220px;

    object-fit:cover;
}

.product-content{

    padding:25px;
}

.product-content h3{

    margin-bottom:15px;

    color:var(--dark);
}

.product-content p{

    color:#666;

    line-height:1.8;

    margin-bottom:20px;
}

.product-btn{

    display:inline-block;

    background:var(--primary);

    color:#fff;

    text-decoration:none;

    padding:12px 22px;

    border-radius:10px;
}

.product-btn.soon{
    background:#e2e8f0;
    color:#475569;
    cursor:default;
    pointer-events:none;
}



.testimonials{

    padding:100px 8%;

    background:#f8fafc;
}

.testimonials-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:25px;
}

.testimonial-card{

    background:#fff;

    padding:30px;

    border-radius:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.stars{

    font-size:24px;

    margin-bottom:20px;
}

.testimonial-card p{

    line-height:2;

    color:#555;

    margin-bottom:20px;
}

.testimonial-card h4{

    color:var(--primary);
}





.header{ display:flex; align-items:center; justify-content:space-between; position:relative; }

.navbar{
    display:flex; align-items:center; gap:6px;
    flex-wrap:nowrap;
}
.navbar a{
    padding:10px 22px; border-radius:30px;
    border:1.5px solid transparent;
    background: color-mix(in srgb, var(--primary) 14%, white);
    color:var(--dark);
    font-weight:700; font-size:.92rem;
    white-space:nowrap;
    transition:.25s; text-decoration:none;
    box-sizing:border-box;
}
.navbar a:hover{
    border-color:var(--primary); color:var(--primary);
}
.navbar a.active-link{
    background:var(--primary); border-color:var(--primary); color:#fff;
}

@media(min-width:769px){
    .navbar{ position:absolute; left:50%; transform:translateX(-50%); }
}

.nav-toggle{
    display:none; background:none; border:2px solid var(--primary);
    color:var(--primary); font-size:20px; width:42px; height:42px;
    border-radius:12px; cursor:pointer; align-items:center; justify-content:center;
}

@media(max-width:768px){
    .nav-toggle{ display:flex; }
    .navbar{
        position:absolute; top:100%; right:0; left:0;
        flex-direction:column; flex-wrap:nowrap;
        align-items:center; gap:8px;
        background:#fff; padding:0 16px;
        box-shadow:0 10px 25px rgba(0,0,0,.1);
        max-height:0; overflow:hidden;
        transition:.3s ease; border-radius:0 0 16px 16px;
        transform:none;
        box-sizing:border-box;
    }
    .navbar.open{ max-height:70vh; padding:14px 16px; overflow-y:auto; }
    .navbar a{
        width:88%; margin:0 auto;
        padding:12px 16px; font-size:.9rem;
        text-align:center; white-space:normal;
        box-sizing:border-box;
    }
    .header{ flex-wrap:wrap; }
}



.why-us{
    padding:100px 8%;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.why-card{
    background:#fff;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;

    transition:.3s;

    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.why-card:hover{
    transform:translateY(-8px);
}

.why-icon{
    font-size:40px;
    margin-bottom:18px;
}

.why-card h3{
    margin-bottom:12px;
    color:#0f172a;
}

.why-card p{
    color:#666;
    line-height:1.8;
}






.tutorials{
    padding:100px 8%;
    background:#f8fafc;
}

.tutorials-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.tutorial-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.tutorial-card:hover{
    transform:translateY(-10px);
}

.tutorial-thumb{
    position:relative;
}

.tutorial-thumb img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.play-icon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:60px;
    height:60px;

    background:rgba(0,0,0,.55);
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

.tutorial-content{
    padding:20px;
}

.tutorial-content h3{
    margin-bottom:10px;
    color:var(--dark);
}

.tutorial-content p{
    color:#666;
    line-height:1.8;
}

.tutorials-more{
    text-align:center;
    margin-top:40px;
}



.stats{
    padding:80px 8%;
    background:var(--primary);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:30px;

    text-align:center;
}

.stat-card .counter{
    font-size:3rem;
    color:#fff;
    margin-bottom:10px;
}

.stat-card p{
    color:var(--primary-light);
    font-size:1.1rem;
}

.counter::after{
    content:'+';
}


.request-form{
    padding:100px 8%;
    background:#f8fafc;
}

.custom-form{
    max-width:650px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-group label{
    font-weight:600;
    color:#0f172a;
}

.form-group input,
.form-group select,
.form-group textarea{
    padding:12px 15px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    font-family:inherit;
    font-size:1rem;
}

.custom-form button{
    border:none;
    cursor:pointer;
    width:fit-content;
    align-self:center;
}





.footer{
    background:var(--dark);
    color:#e2e8f0;
    padding:70px 8% 0;
}

.footer-top{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;

    padding-bottom:50px;

    border-bottom:1px solid rgba(255,255,255,.1);
}

.footer-logo img{
    height:45px;
    margin-bottom:15px;
}

.footer-logo p{
    line-height:1.9;
    color:#cbd5e1;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.footer-links h4,
.footer-contact h4{
    color:#fff;
    margin-bottom:8px;
}

.footer-links a,
.footer-contact a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:var(--primary);
}

.footer-socials{
    display:flex;
    align-items:center;
    gap:12px;
}
.footer-socials a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    line-height:1;
}
.footer-socials img.footer-social-logo{
    width:28px;
    height:28px;
    object-fit:contain;
    display:block;
    margin:0;
}

.footer-socials a {
    margin: 0 10px;
    text-decoration: none;
    transition: transform .2s;
}
.footer-socials a i {
    font-size: 20px;
}

.footer-socials a:hover {
    transform: scale(1.15);
}

.footer-socials a[aria-label="WhatsApp"] {
    color: #25D366;
}

.footer-socials a[aria-label="YouTube"] {
    color: #FF0000;
}

.footer-socials a[aria-label="Facebook"] {
    color: #1877F2;
}

.footer-bottom{
    text-align:center;
    padding:25px 0;
    color:#94a3b8;
    font-size:.9rem;
}


.tools-page{
    padding:120px 8% 100px;
}

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.tool-card{
    background:#fff;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;

    transition:.3s;

    box-shadow:0 5px 20px rgba(0,0,0,.06);
}

.tool-card:hover{
    transform:translateY(-8px);
}

.tool-card img{
    width:70px;
    height:70px;
    margin-bottom:18px;
}

.tool-card h3{
    margin-bottom:12px;
    color:#0f172a;
}

.tool-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:20px;
}

.tool-btn{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    padding:10px 22px;
    border-radius:10px;
}

.tool-card.disabled{
    opacity:.6;
}

.tool-soon{
    display:inline-block;
    background:#e2e8f0;
    color:#475569;
    padding:8px 18px;
    border-radius:10px;
    font-size:.9rem;
}

.active-link{
    color:var(--primary) !important;
}



.products-page{
    padding:120px 8% 100px;
}


.scroll-nav-btn{
    position:fixed; left:25px; z-index:900;
    width:46px; height:46px; border-radius:50%;
    background:#fff; color:var(--primary);
    display:flex; align-items:center; justify-content:center;
    font-size:18px; box-shadow:0 6px 18px rgba(0,0,0,.15);
    border:2px solid var(--primary); cursor:pointer;
    transition:.25s;
}
.scroll-nav-btn:hover{ background:var(--primary); color:#fff; }
#scrollTopBtn{ bottom:95px; }
#scrollBottomBtn{ bottom:145px; }

