@font-face {
    font-family: 'YekanBakhMedium';
    src: url('../fonts/YekanBakhMedium.ttf') format('woff2'),

}


@font-face {
    font-family: 'YekanBakhFat';
    src: url('../fonts/YekanBakhFat.ttf') format('woff2'),

}

:root {
    --primary: #6945ff;
    --bg-primary: #6945ff;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark-bg: #181717;
    --darker-bg: #0b1120;
    --light-bg: #f0f0f0;
    --card-bg: #151b25;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --sidebar-width: 350px;
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

body {
    font-family: 'YekanBakhMedium' !important;
    background-color: var(--light-bg);
}

pre {
    font-family: 'YekanBakhMedium' !important;
    font-weight: bolder;
}

.alert-copy-link {
    padding: 20px;
    border-radius: 1rem;
    color: white;
    background-color: var(--primary-dark);
    animation: fadeInOut 3s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    color: white !important;
    background-color: var(--primary-dark);
}

.text-purple {
    color: var(--primary);
}

.btn-purple {
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
}

.btn-purple:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-purple-dark {
    background-color: var(--primary-dark);
    color: white;
    border-radius: 20px;
}

.btn-purple-dark:hover {
    background-color: var(--primary-dark);
    color: white;

}

.video-container {
    position: relative;
    display: inline-block;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2);
    width: 100%;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.3), rgba(111, 66, 193, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.play-overlay:hover {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.4), rgba(111, 66, 193, 0.2));
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6945ff, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(111, 66, 193, 0.6);
    opacity: 1;
}

.play-button i {
    color: white;
    font-size: 28px;
    margin-left: 3px;
}

.video-player::-webkit-media-controls {
    display: none !important;
}

.video-player::-webkit-media-controls-panel {
    display: none !important;
}



@media (max-width: 768px) {


    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 22px;
    }
}


.business-section {
    padding: 40px 0;
}

.business-card {

    background-color: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 15px 15px 15px 15px rgba(83, 83, 83, 0.1);
    text-decoration: none;
}

.business-card a {
    color: black;
    text-decoration: none;
}


.business-card:hover {
    transform: translateY(-5px);
}



.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
    border: 3px solid var(--primary);
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary);
}

.accordion-body {
    background-color: #f0f0f0;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c63ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(108, 99, 255, 0.1);
}

.accordion-item {
    font-size: 14px;
    border: 0px;
}

.typing-cursor {
    display: inline-block;
    margin-right: 2px;
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* استایل دکمه پلی هنگام هاور */
#playButton:hover {
    background-color: var(--primary) !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* استایل پیش‌نمایش ویدیو */
.object-fit-cover {
    object-fit: cover;
}

.login-card {
    width: 500px;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* استایل فیلدهای کد تایید */
.otp-input-group {
    gap: 10px;
}

.otp-input {
    width: 45px !important;
    height: 40px !important;
    font-size: 20px !important;
    padding: 0 !important;
}

.otp-input:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
}

@media (max-width: 576px) {
    .otp-input {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
}

.text-justify {
    text-align: justify;

}

.steps-section {
    position: relative;
}

.steps-section::before {
    content: '';
    position: absolute;
    background-color: var(--primary);
    /* رنگ بنفش - می‌توانید تغییر دهید */
    z-index: 0;
}

/* حالت دسکتاپ - خط افقی */
@media (min-width: 768px) {
    .steps-section::before {
        height: 4px;
        width: 70%;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .feature-icon {
        position: relative;
        z-index: 1;
        background-color: white;
        /* برای پوشاندن خط در پشت آیکون */
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }
}

/* حالت موبایل - خط عمودی */
@media (max-width: 767px) {
    .steps-section::before {
        width: 4px;
        height: 80%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .row {
        position: relative;
        z-index: 1;
    }

    .col-12 {
        position: relative;
    }

    .feature-icon {
        position: relative;
        z-index: 1;
        background-color: white;
        /* برای پوشاندن خط در پشت آیکون */
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }
}

.footer-logo {
    height: 100px;
}

.footer-links a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}


.pricing-card {
    height: 100% !important;
}

.price-card-header {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.alert-purple {
    background-color: var(--primary) !important;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.price-box {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.option-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-disabled .form-check-input {
    cursor: not-allowed;
}

.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.plan-card:hover {
    border-color: var(--primary-dark);
    background-color: #f8f9ff;
}

.plan-card.selected {
    border-color: var(--primary-dark);
    background-color: #eef4ff;
}

.plan-card.selected::after {
    content: "✔";
    position: absolute;
    top: -15px;
    left: -10px;
    width: 28px;
    height: 28px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.addon-card {
    border: 1px dashed #adb5bd;
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.2s;
}

.addon-card:hover {
    border-color: #143770;
    background-color: #f8f9ff;
}

.addon-card.selected {
    border-color: #143770;
    background-color: #eef4ff;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
}

.disabled-card {
    opacity: 0.6;
    cursor: not-allowed;
}



.order-summary {
    background-color: var(--primary);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
}

.question-card {
    border-right: 4px solid #4b6cb7;
    transition: all 0.3s;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#loading-indicator {
    display: none;


}