﻿/* ============================================
       SCENT QUIZ LANDING — صفحه ورود به تست
       ============================================ */

.quiz-landing {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}

/* ============================================
       HEADER
       ============================================ */
.quiz-landing-header {
    text-align: center;
    padding: 40px 30px 35px;
    background: linear-gradient(135deg, #003366, #0a4d8c);
    border-radius: 20px;
    margin-bottom: 32px;
    box-shadow: 0 8px 40px rgba(0, 51, 102, 0.15);
    position: relative;
    overflow: hidden;
}

    .quiz-landing-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.06), transparent 60%);
        pointer-events: none;
        animation: floatBg 20s ease-in-out infinite;
    }

@keyframes floatBg {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 30px) scale(1.05);
    }
}

.quiz-landing-header .header-icon {
    width: 80px;
    height: 80px;
    background: rgba(244, 180, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F4B400;
    font-size: 2.5rem;
    margin: 0 auto 16px;
    border: 2px solid rgba(244, 180, 0, 0.2);
    position: relative;
    z-index: 2;
}

.quiz-landing-header h1 {
    font-weight: 900;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

    .quiz-landing-header h1 span {
        color: #F4B400;
    }

.quiz-landing-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

/* ============================================
       FEATURES
       ============================================ */
.quiz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.quiz-feature {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

    .quiz-feature:hover {
        transform: translateY(-6px);
        border-color: #F4B400;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .quiz-feature .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin: 0 auto 12px;
        color: #fff;
    }

        .quiz-feature .feature-icon.gold {
            background: linear-gradient(135deg, #F4B400, #d49d00);
        }

        .quiz-feature .feature-icon.blue {
            background: linear-gradient(135deg, #003366, #0a4d8c);
        }

        .quiz-feature .feature-icon.green {
            background: linear-gradient(135deg, #24c06d, #1a9e58);
        }

    .quiz-feature h4 {
        font-weight: 700;
        color: #003366;
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .quiz-feature p {
        font-size: 0.85rem;
        color: #6b7280;
        margin: 0;
        line-height: 1.7;
    }

/* ============================================
       HOW IT WORKS
       ============================================ */
.quiz-how-it-works {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 34px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
}

    .quiz-how-it-works h3 {
        font-weight: 800;
        color: #003366;
        font-size: 1.2rem;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .quiz-how-it-works h3 i {
            color: #F4B400;
        }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

    .step-item:hover {
        border-color: #F4B400;
        background: rgba(244, 180, 0, 0.02);
    }

    .step-item .step-number {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #F4B400, #d49d00);
        color: #003366;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .step-item .step-title {
        font-weight: 700;
        color: #003366;
        font-size: 0.9rem;
    }

    .step-item .step-desc {
        font-size: 0.75rem;
        color: #6b7280;
        margin-top: 2px;
        line-height: 1.5;
    }

/* ============================================
       CTA / START BUTTON
       ============================================ */
.quiz-cta {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

    .quiz-cta .cta-text {
        font-size: 1rem;
        color: #6b7280;
        margin-bottom: 16px;
    }

        .quiz-cta .cta-text i {
            color: #F4B400;
        }

.btn-start-quiz {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #F4B400, #d49d00);
    color: #003366;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 25px rgba(244, 180, 0, 0.3);
    text-decoration: none;
}

    .btn-start-quiz:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 45px rgba(244, 180, 0, 0.4);
        color: #003366;
        text-decoration: none;
    }

    .btn-start-quiz:active {
        transform: translateY(0) scale(0.97);
    }

    .btn-start-quiz i {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .btn-start-quiz:hover i {
        transform: translateX(-4px);
    }

/* ============================================
       RESPONSIVE
       ============================================ */
@media (max-width: 992px) {
    .quiz-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .quiz-landing {
        padding: 20px 12px 30px;
    }

    .quiz-landing-header {
        padding: 30px 20px 25px;
        border-radius: 14px;
    }

        .quiz-landing-header h1 {
            font-size: 1.6rem;
        }

        .quiz-landing-header p {
            font-size: 0.95rem;
        }

        .quiz-landing-header .header-icon {
            width: 60px;
            height: 60px;
            font-size: 1.8rem;
        }

    .quiz-features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .quiz-feature {
        padding: 18px 14px;
    }

        .quiz-feature .feature-icon {
            width: 44px;
            height: 44px;
            font-size: 1.2rem;
        }

        .quiz-feature h4 {
            font-size: 0.9rem;
        }

        .quiz-feature p {
            font-size: 0.8rem;
        }

    .quiz-how-it-works {
        padding: 22px 20px;
    }

        .quiz-how-it-works h3 {
            font-size: 1rem;
        }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .step-item {
        padding: 12px 10px;
    }

    .btn-start-quiz {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .quiz-cta .cta-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .quiz-landing-header h1 {
        font-size: 1.2rem;
    }

    .quiz-landing-header .header-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .quiz-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quiz-feature {
        padding: 14px 12px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: right;
    }

        .quiz-feature .feature-icon {
            width: 40px;
            height: 40px;
            font-size: 1rem;
            margin: 0;
            flex-shrink: 0;
        }

        .quiz-feature .feature-content {
            flex: 1;
        }

        .quiz-feature h4 {
            font-size: 0.85rem;
            margin-bottom: 0;
        }

        .quiz-feature p {
            font-size: 0.75rem;
        }

    .steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step-item {
        flex-direction: row;
        gap: 12px;
        text-align: right;
        padding: 10px 14px;
    }

        .step-item .step-number {
            width: 30px;
            height: 30px;
            font-size: 0.75rem;
            flex-shrink: 0;
            margin-bottom: 0;
        }

        .step-item .step-title {
            font-size: 0.8rem;
        }

        .step-item .step-desc {
            font-size: 0.7rem;
        }

    .btn-start-quiz {
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    .quiz-cta {
        padding: 20px 16px;
    }
}

/* ============================================
       SCROLLBAR
       ============================================ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #F4B400;
    border-radius: 10px;
}
