@font-face {
    font-family: 'YekanBakh';
    src: url('YekanBakhFaNum-VF.woff2') format('woff2-variations'),
         url('YekanBakhFaNum-VF.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg-color: #050505;
    --primary-red: #e60000;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --neon-glow: 0 0 10px rgba(230, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'YekanBakh', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}
body {
    background-color: var(--bg-color);
    color: var(--text-light);
    background-image: radial-gradient(circle at 80% 20%, #2a0000 0%, #050505 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit;}
.full-width{
    width:100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-red);
}
.logo img{
    width:200px;
}
.nav-links { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-light); }

.btn-header {
    background-color: var(--primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: 0.3s;
}
.btn-header:hover { box-shadow: var(--neon-glow); }
.time-title{
    text-align: center;
    font-size: 50px;
    font-weight: 800;
}
.time-desc{
    text-align: center;
    font-size: 30px;
    font-weight: 400;
}
.new-hero {
    background-image: url(dots2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    padding: 80px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle,
        rgba(255, 20, 20, 0.55) 0%,
        rgba(230, 0, 0, 0.18) 40%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    animation: glowPath1 18s ease-in-out infinite;
}

@keyframes glowPath1 {
    0% {
        transform: translate3d(-200px, 0, 0) scale(1);
        opacity: 0.6;
    }
    20% {
        transform: translate3d(20vw, 15vh, 0) scale(1.2);
        opacity: 1;
    }
    40% {
        transform: translate3d(50vw, -10vh, 0) scale(0.9);
        opacity: 0.7;
    }
    60% {
        transform: translate3d(75vw, 20vh, 0) scale(1.25);
        opacity: 1;
    }
    80% {
        transform: translate3d(30vw, 5vh, 0) scale(1);
        opacity: 0.55;
    }
    100% {
        transform: translate3d(-200px, 0, 0) scale(1);
        opacity: 0.6;
    }
}.hero-glow-2 {
    bottom: 0; left: 10%; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(230,0,0,0.1) 0%, transparent 70%);
}
.glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    overflow: hidden; 
    pointer-events: none; 
    z-index: 0;
}
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-text-content {
    flex: 0 0 60%;
    max-width: 60%;
    text-align: right;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: white;
    margin-bottom: 20px;
}

.hero-title span { color: var(--primary-red); display: inline-block; }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.site-footer {
    direction: rtl; 
    padding: 40px 50px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 20px 20px 0 0; 
}

.footer-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-links {
    display: block;
}

.footer-links a {
    color: var(--text-light, #e0e0e0);
    text-decoration: none;
    font-size: 1rem;
    margin-left:10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff0033;
    transform: translateX(-5px); 
}

.footer-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0033 0%, #a00020 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 0, 50, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 50, 0.6);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light, #e0e0e0);
    border: 1px solid rgba(255, 0, 50, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 0, 50, 0.1);
    border-color: rgba(255, 0, 50, 0.8);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column-reverse; 
        align-items: flex-start;
    }
    .footer-buttons {
        width: 100%;
        flex-direction: column; 
    }
    .btn {
        width: 100%; 
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--primary-red);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
    animation: heroBtn 5s ease-in-out infinite;

}

@keyframes heroBtn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-btn i { transition: transform 0.3s ease; }
.hero-btn:hover { background: #ff1a1a; box-shadow: 0 8px 25px rgba(230, 0, 0, 0.8); transform: translateY(-3px); }
.hero-btn:hover i { transform: translateX(-5px); }

.hero-image-content {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(230, 0, 0, 0.3));
    will-change: transform;
    animation: heroImageFloat 4s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
.marquee-overflow-wrapper {
    width: 100%; overflow: hidden; padding: 30px 0;
    margin: -10px 0 10px; position: relative; z-index: 10;
}
.marquee-rotated {
    width: 150vw; margin-right: -25vw; margin-left: -25vw;
    transform: rotate(-2deg); display: flex; flex-direction: column; gap: 2px;
}

.marquee-rotated-inverse {
    width: 150vw; margin-right: -25vw; margin-left: -25vw;
    transform: rotate(-2deg); display: flex; flex-direction: column; gap: 2px;
}
.marquee {
    width: 100%; overflow: hidden; white-space: nowrap;
    font-family: "Inter", sans-serif;
    display: flex; padding: 3px 0; font-weight: 800;
    font-size: 18px; letter-spacing: 2px; direction: ltr; 
}
.marquee-left {
    background-color: #000; color: var(--primary-red);
    border-top: 1px solid var(--primary-red); border-bottom: 1px solid var(--primary-red);
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.3);
}
.marquee-right { background-color: var(--primary-red); color: #000; }
.marquee-content { display: flex; width: max-content; animation: scroll-left 25s linear infinite;flex-shrink: 0; }
.marquee-right .marquee-content { animation: scroll-right 25s linear infinite; }
.marquee:hover .marquee-content { animation-play-state: paused; cursor: default; }
.marquee-content span { padding: 0 10px; flex-shrink: 0; }
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }   
}

@keyframes scroll-right {
  0%   { transform: translateX(-25%); }   
  100% { transform: translateX(0); }
}


.countdown-wrapper {
    display: flex; justify-content: center; gap: 15px;
    margin: 30px 0 50px; position: relative;
}
.countdown-wrapper::before, .countdown-wrapper::after {
    content: ''; position: absolute; top: 50%; width: 15%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    box-shadow: var(--neon-glow);
}
.countdown-wrapper::before { right: 0; }
.countdown-wrapper::after { left: 0; }

.time-box {
    background: rgba(20, 20, 20, 0.8); border: 2px solid var(--primary-red);
    border-radius: 15px; padding: 25px 5px; text-align: center;
    box-shadow: inset 0 0 15px rgba(230, 0, 0, 0.2), var(--neon-glow);
    width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.time-box span {
    display: block; font-size: 2.5rem; font-weight: bold; color: white;
    font-variant-numeric: tabular-nums; line-height: 1.1;
}
.time-box label { font-size: 0.9rem; color: var(--text-muted); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
        background-image: url(dots2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.product-card {
    position: relative;
    background: linear-gradient(135deg, #140305 0%, #080505 100%);
    border: 1px solid rgba(255, 0, 50, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card.gorgan {
    position: relative;
    background: linear-gradient(135deg, #e60000 0%, #080505 100%);
    border: 1px solid rgba(255, 0, 50, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle at top right, rgba(255, 0, 50, 0.15), transparent 70%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 50, 0.8);
    box-shadow: 0 15px 40px rgba(255, 0, 50, 0.2), inset 0 0 20px rgba(255, 0, 50, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 5px;
    flex-wrap: wrap; 
}

.card-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0; 
}

.card-title .highlight {
    color: #ff002b;
}

.fa {
    font-family: 'YekanBakh', sans-serif;
}

.en {
    font-family: "Inter", sans-serif;
}
@keyframes floatAndSpin {
    0% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-10px) rotate(4deg); 
    }
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
}

.card-badge {
    background: linear-gradient(90deg, #ff002b, #cc0022);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;             
    font-size: 40px;
    font-family: helvetica;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 0, 50, 0.4);
    white-space: nowrap;
    display: flex;
    align-items: center;            
    justify-content: center;         
    text-align: center;         
    line-height: 1;                 
    box-sizing: border-box;
        position: absolute;
    top: 10px; 
    left: 12%;
    transform: translateX(-50%);
    z-index: 5; 
        animation: floatAndSpin 3s ease-in-out infinite;


}
.card-badge.black{
    background:#000000 !important;
}
.card-divider {
    width: 100%;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 0, 43, 1) 0%, rgba(0, 0, 0, 0) 100%, rgba(255, 0, 43, 1) 0%);
    margin-bottom: 15px;
}

.card-image-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-bottom: 25px;
}

.card-server-img {
    max-height: 100%;
    width: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.product-card:hover .card-server-img {
    transform: scale(1.1) translateY(-5px);
}

.card-server-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 50, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
}

.coupon-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.coupon-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 0, 50, 0.5);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.3s ease;
}

.coupon-btn:hover {
    background: rgba(255, 0, 50, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 50, 0.2);
}

.coupon-btn i {
    font-size: 1.2rem;
    color: #ff002b;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.card-btn-buy {
    background: linear-gradient(180deg, #ff0033, #cc0022);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(255, 0, 50, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.card-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 50, 0.6);
}

.promo-banner {
    background-color: rgb(0, 0, 0);
    background-image: linear-gradient(135deg, rgba(223, 32, 32, 0) 28%, #e60000 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 50px rgba(230, 0, 0, 0.05);
}
.promo-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(230, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(230, 0, 0, 0.05) 1px, transparent 1px);
    z-index: 0; mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
}
.promo-content-right { position: relative; z-index: 1; max-width: 60%; }
.promo-content-right h2 { font-size: 2rem; font-weight: 900; color: white; margin-bottom: 15px; line-height: 1.4; }
.promo-content-right p { font-size: 1rem; line-height: 1.8; }
.promo-content-left { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.discount-animator {   font-family: "Inter", sans-serif;font-size: 6rem; font-weight: 900; color: var(--primary-red); transition: opacity 0.4s ease, transform 0.4s ease; line-height: 1; }

.main-cta { text-align: center; margin: 40px 0; }
.btn-main {
    display: inline-block; background: linear-gradient(90deg, #cc0000, #ff3333);
    color: white; padding: 15px 50px; border-radius: 30px; font-size: 1.2rem; font-weight: bold;
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4); transition: 0.3s;
}
.btn-main:hover { transform: scale(1.05); box-shadow: 0 5px 25px rgba(230, 0, 0, 0.6); }

.features { 
    display: flex; 
    justify-content: space-between; 
    gap: 30px; 
    padding: 30px 40px;
    width: 100%; 
    box-sizing: border-box; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    margin-top: 40px; 
}

.feature-item {
    flex: 1; 
    max-width: 350px; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    gap: 20px; 
    padding: 30px 20px; 
    box-sizing: border-box; 
    
    color: var(--text-light);
    font-size: 0.9rem;
    background: linear-gradient(135deg, #140305 0%, #080505 100%);
    border: 1px solid rgba(255, 0, 50, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.feature-item i { font-size: 2.5rem; color: white; }

#toast {
    visibility: hidden; min-width: 250px; background-color: #222; color: #fff; text-align: center;
    border-radius: 8px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: 30px;
    transform: translateX(-50%); font-size: 1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid var(--primary-red); opacity: 0; transition: opacity 0.3s, bottom 0.3s;
}
#toast.show { visibility: visible; opacity: 1; bottom: 50px; }

.code{
    font-family: "Inter", sans-serif;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text-content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-image-content {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }
    .nav-links { display: none; }
    
        .countdown-wrapper {
        flex-wrap: nowrap;       
        gap: 8px;
        padding: 0 10px;
        margin: 20px 0 35px;
    }

    .countdown-wrapper::before, .countdown-wrapper::after { display: none; }
       .time-box {
        width: auto;              
        flex: 1 1 0;             
        min-width: 0;             
        padding: 12px 2px;
        border-radius: 10px;
    }

    .time-box span {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    .time-box label {
        font-size: 0.7rem;
    }
    .time-title
 {
     font-size:60px;
 }
    
    .features { flex-direction: column; gap: 20px; }
    .marquee { font-size: 0.85rem; padding: 6px 0; }
    .marquee-rotated { transform: rotate(-1.5deg); } 

    .promo-banner { flex-direction: column-reverse; text-align: center; padding: 30px 20px; gap: 30px; }
    .promo-content-right { max-width: 100%; }
    .promo-content-right h2 { font-size: 1.5rem; }
    .discount-animator { font-size: 5rem; }
    
    .products-grid {
        grid-template-columns: 1fr; 
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-title {
        font-size: 26px;
    }

    .hero-image-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}