/* =========================
   ExpressPanel CSS
   Part 1
========================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');


:root{

    --main-red:#ff1010;
    --dark-red:#800000;
    --black:#050505;
    --card:#111111;
    --glass:rgba(255,255,255,0.08);
    --border:rgba(255,0,0,0.35);
    --text:#ffffff;
    --gray:#bdbdbd;

}


*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn',Tahoma,sans-serif;

}


html{

    scroll-behavior:smooth;

}


body{

    background:
    radial-gradient(circle at top,#330000,#050505 45%);

    color:var(--text);

    direction:rtl;

    text-align:center;

    overflow-x:hidden;

    min-height:100vh;

}


/* حذف لینک‌های پیشفرض */

a{

    text-decoration:none;

    color:white;

}


/* تصاویر */

img{

    max-width:100%;

    display:block;

}


/* =========================
        Loader
========================= */


#loader{

    position:fixed;

    inset:0;

    background:#050505;

    z-index:9999;

    display:flex;

    justify-content:center;

    align-items:center;

}


.loader-logo img{

    width:150px;

    animation:pulse 1.5s infinite;

}


@keyframes pulse{

    0%{

        transform:scale(1);

        opacity:.5;

    }


    50%{

        transform:scale(1.1);

        opacity:1;

    }


    100%{

        transform:scale(1);

        opacity:.5;

    }

}



/* =========================
        Header
========================= */


header{

    padding:18px 8%;
min-height:90px;

}


/* Navbar */


nav{

    width:90%;

    max-width:1200px;

    margin:25px auto;

    padding:15px 25px;

    display:flex;

    align-items:center;

    justify-content:space-between;


    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(15px);

    border-radius:25px;

}



.logo img{
    display:block;
}



nav ul{

    display:flex;

    gap:30px;

    list-style:none;

}


nav ul li{

    color:#ddd;

    cursor:pointer;

    transition:.3s;

}


nav ul li:hover{

    color:var(--main-red);

}



/* =========================
        Hero
========================= */


.hero{

    width:90%;

    max-width:1200px;

    min-height:650px;

    margin:40px auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;


    padding:60px;


    background:

    linear-gradient(

    135deg,

    rgba(255,0,0,.15),

    rgba(0,0,0,.7)

    );


    border:

    1px solid var(--border);


    border-radius:45px;


    backdrop-filter:blur(20px);


}



.hero-content{

    flex:1;

}


.hero-content h1{

    font-size:70px;

    font-weight:800;

    color:var(--main-red);

    text-shadow:

    0 0 30px rgba(255,0,0,.5);


    margin-bottom:20px;

}



.hero-content p{

    color:#ddd;

    font-size:26px;

    margin-bottom:40px;

}



/* دکمه‌ها */


.btn,
.hero-content a{

transition:.35s;

    display:inline-flex;

    justify-content:center;

    align-items:center;


    padding:16px 45px;


    background:

    linear-gradient(

    135deg,

    #ff0000,

    #800000

    );


    border-radius:20px;


    font-size:20px;


    font-weight:700;


    transition:.3s;


    box-shadow:

    0 10px 30px rgba(255,0,0,.3);


}



.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px rgba(255,0,0,.45);
}


/* تصویر Hero */


.hero-image{


    flex:1;

    display:flex;

    justify-content:center;


}



.hero-image img{
    width:100%;
    max-width:450px;
    height:auto;
    object-fit:contain;
    animation:float 4s infinite;
}


}



@keyframes float{


    0%,100%{

        transform:translateY(0);

    }


    50%{

        transform:translateY(-20px);

    }


}
/* =========================
        Products
========================= */

#services{

    width:90%;

    max-width:1300px;

    margin:120px auto;

}

#services h2{

    font-size:52px;

    color:var(--main-red);

    margin-bottom:60px;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.card{

    position:relative;

    overflow:hidden;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,0,0,.25);

    backdrop-filter:blur(18px);

    border-radius:30px;

    padding:35px;

    transition:.35s;

}

.card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(255,0,0,.25);
}

.card::before{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:

    radial-gradient(circle,

    rgba(255,0,0,.25),

    transparent);

    top:-120px;

    right:-120px;

}

.card img{
    width:100%;
    height:auto !important;
    aspect-ratio:unset !important;
    object-fit:unset !important;
    object-position:center;
    display:block;
    border-radius:20px;
}

.card h3{

    font-size:32px;

    color:white;

    margin-bottom:15px;

}

.card p{

    color:#cfcfcf;

    line-height:2;

    font-size:18px;

    min-height:75px;

}

.card a{

    margin-top:25px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:100%;

    padding:15px;

    border-radius:16px;

    background:linear-gradient(135deg,#ff0000,#700000);

    font-size:18px;

    font-weight:700;

    transition:.3s;
    
    margin-top:auto;

}

.card a:hover{

    background:linear-gradient(135deg,#ff2222,#aa0000);

    transform:scale(1.03);

}

/* =========================
        Statistics
========================= */

/* ===== Counter Section ===== */

.stats{
    width:90%;
    max-width:900px;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
}

.stats div{
    background:#111;
    border:1px solid rgba(255,0,0,.25);
    border-radius:20px;
    transition:.3s;
}

.stats div:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(255,0,0,.25);
}

.stats h3{
font-size:42px;
    
}

.stats p{
font-size:18px;
}

/* =========================
      Why ExpressPanel
========================= */

.why{

    width:90%;

    max-width:1100px;

    margin:120px auto;

}

.why h2{

    font-size:50px;

    color:#ff2020;

    margin-bottom:40px;

}

.why-box{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,0,0,.25);

    backdrop-filter:blur(18px);

    border-radius:30px;

    padding:45px;

    font-size:26px;

    line-height:2.3;

    color:#ddd;

}
/* =====================================
        About
===================================== */

.about{

    width:90%;

    max-width:1100px;

    margin:120px auto;

}

.about h2{

    font-size:50px;

    color:var(--main-red);

    margin-bottom:40px;

}

.about p{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,0,0,.25);

    backdrop-filter:blur(18px);

    border-radius:30px;

    padding:45px;

    font-size:22px;

    line-height:2.2;

    color:#d8d8d8;

}


/* =====================================
        FAQ
===================================== */

.faq{

    width:90%;

    max-width:1100px;

    margin:120px auto;

}

.faq h2{

    font-size:48px;

    color:var(--main-red);

    margin-bottom:45px;

}

.faq div{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,0,0,.25);

    border-radius:25px;

    padding:30px;

    margin-bottom:20px;

    transition:.35s;

}

.faq div:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(255,0,0,.20);

}

.faq strong{

    display:block;

    font-size:24px;

    margin-bottom:15px;

    color:white;

}

.faq p{

    color:#d3d3d3;

    font-size:18px;

    line-height:2;

}


/* =====================================
      Contact
===================================== */

.contact{

    width:90%;

    max-width:900px;

    margin:120px auto;

}

.contact h2{

    color:var(--main-red);

    font-size:48px;

    margin-bottom:40px;

}

.contact a{

    display:block;

    margin:20px auto;

    width:320px;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,0,0,.25);

    backdrop-filter:blur(18px);

    transition:.35s;

    font-size:20px;

}

.contact a:hover{

    background:#ff1010;

}


/* =====================================
        Footer
===================================== */

footer{

    margin-top:120px;

    padding:45px;

    background:#090909;

    border-top:1px solid rgba(255,0,0,.20);

}

footer p{

    color:#888;

    font-size:18px;

}


/* =====================================
      Telegram Floating Button
===================================== */

.telegram-float{

    position:fixed;

    bottom:30px;

    left:30px;

    width:70px;

    height:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#ff1010;

    color:white;

    font-size:34px;

    box-shadow:0 15px 40px rgba(255,0,0,.45);

    z-index:999;

    transition:.35s;

}

.telegram-float:hover{

    transform:scale(1.1);

}


/* =====================================
      Responsive
===================================== */

@media(max-width:992px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

    padding:40px;

}

.hero-content h1{

    font-size:52px;

}

.hero-content p{

    font-size:22px;

}

.hero-image img{

    width:320px;

}

nav{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

}


@media(max-width:768px){

.cards{

    grid-template-columns:1fr;

}

.stats{

    grid-template-columns:1fr;

}

.hero{

    min-height:auto;

}

.hero-image img{

    width:260px;

}

.card{

    padding:25px;

}

.contact a{

    width:100%;

}

}


@media(max-width:480px){

.hero-content h1{

    font-size:40px;

}

.hero-content p{

    font-size:18px;

}

#services h2,
.about h2,
.contact h2,
.faq h2,
.why h2{

    font-size:34px;

}


.card h3{

    font-size:24px;

}

.card p{

    font-size:16px;

}

}
.error-page{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:30px;
}

.error-page h1{
font-size:120px;
color:#ff2020;
margin-bottom:20px;
}

.error-page p{
font-size:24px;
margin-bottom:30px;
}

/* Production Optimizations */
img{
    max-width:100%;
    height:auto;
}
a:focus-visible{
    outline:3px solid #ff2020;
    outline-offset:4px;
}
@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important;
    }
}
.why-box{
    display:flex;
    flex-direction:column;
    gap:20px;
    background:#151515;
    border:1px solid #8b1010;
    border-radius:25px;
    padding:30px;
}

.why-item{
    background:#1b1b1b;
    color:#fff;
    font-size:24px;
    text-align:center;
    padding:18px;
    border-radius:15px;
    transition:.3s;
}

.why-item:hover{
    background:#c40000;
    transform:translateY(-3px);
}
.top-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#ff1010;
    color:#fff;
    border-radius:50%;
    cursor:pointer;
    font-size:24px;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
    box-shadow:0 10px 25px rgba(255,0,0,.35);
}

.top-btn.visible{
    opacity:1;
    visibility:visible;
}

.top-btn:hover{
    transform:translateY(-4px);
    background:#d40000;
}
.hero-text{
    font-size:20px;
    color:#ddd;
    margin:20px 0 35px;
    line-height:1.9;
}
footer{
margin-top:120px;
padding:45px 20px;
background:#090909;
text-align:center;
border-top:1px solid rgba(255,0,0,.2);
}

footer h3{
color:#ff2020;
font-size:30px;
margin-bottom:15px;
}

footer p{
color:#aaa;
line-height:2;
}
.testimonials{
    width:90%;
    max-width:1200px;
    margin:100px auto;
    text-align:center;
}

.testimonials h2{
    font-size:42px;
    color:#fff;
    margin-bottom:50px;
}

.testimonial-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.testimonial-card{
    background:#111;
    border:1px solid rgba(255,0,0,.25);
    border-radius:20px;
    padding:30px 20px;
    transition:.35s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(255,0,0,.25);
}

.testimonial-card img{
    margin:0 auto 15px;
}

.testimonial-card h3{
    color:#fff;
    margin-bottom:10px;
}

.stars{
    color:#FFD700;
    font-size:22px;
    margin-bottom:15px;
}

.testimonial-card p{
    color:#bbb;
    line-height:1.9;
}
.menu-btn{
display:none;
font-size:34px;
color:#ff2020;
cursor:pointer;
}

@media(max-width:768px){

.menu-btn{
display:block;
}

