/* ========== متغیرها ========== */
:root {
    --primary: #fd5631;
    --primary-dark: #e44a28;
    --accent: #5d3cf2;
    --accent-dark: #4a30c2;
    --gold: #fdbc31;
    --dark: #0a0a1a;
    --darker: #05050f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

/* ========== انیمیشن‌های پایه ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes border-pulse {
    0%, 100% {
        border-color: rgba(253, 86, 49, 0.3);
        box-shadow: 0 0 0 0 rgba(253, 86, 49, 0.2);
    }
    50% {
        border-color: rgba(253, 86, 49, 0.8);
        box-shadow: 0 0 0 10px rgba(253, 86, 49, 0);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ========== اسکرول انیمیشن ========== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== تایپوگرافی ========== */
body {
    background-color: var(--dark);
}

/* ========== دکمه‌ها ========== */
.btn-gradient {
    background: linear-gradient(135deg, #fd5631, #ff8c42);
    border: none;
    color: #fff !important;
    transition: all 0.3s;
}

.btn-gradient-2 {
    background: linear-gradient(135deg, #ff8c42, #fd5631);
    border: none;
    color: #fff !important;
    transition: all 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 86, 49, 0.3);
    color: #fff;
}

.btn-outline-gradient {
    background: transparent;
    border: 1px solid rgba(253, 86, 49, 0.5);
    color: var(--primary);
    transition: all 0.3s;
}

.btn-outline-gradient:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.btn-link.text-primary {
    color: var(--primary) !important;
    text-decoration: none;
}

.btn-link.text-primary:hover {
    color: var(--gold) !important;
}

/* ========== یوتیلیتی ========== */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.progress-bar.bg-gradient {
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.bg-faded-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.page-wrapper {
    padding: 0 !important;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(253, 86, 49, 0.15);
    border: 1px solid rgba(253, 86, 49, 0.3);
    border-radius: 50px;
    color: #FD5631FF;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ========== بج سکشن — خط جداکننده با عنوان وسط ========== */
.component-badge {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    direction: rtl;
    text-align: center;
}

/* خط سمت راست (قبل از متن در RTL) */
.component-badge::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(253, 86, 49, 0.15) 30%,
        rgba(253, 86, 49, 0.5) 100%
    );
    margin-left: 1.5rem;
    order: 1;  /* ← الان میاد راست */
}

/* خط سمت چپ (بعد از متن در RTL) */
.component-badge::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(
        270deg,
        transparent 0%,
        rgba(253, 86, 49, 0.15) 30%,
        rgba(253, 86, 49, 0.5) 100%
    );
    margin-right: 1.5rem;
    order: 3;  /* ← الان میاد چپ */
}

/* خود متن بج — وسط */
.component-badge > * {
    order: 2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========== استار ریتینگ ========== */
.rating-star {
    color: var(--gold);
    font-size: 0.7rem;
}

.rating-star-empty {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}