/* assets/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    direction: rtl;
    padding: 20px;
}

/* .faq-item {
    background: linear-gradient(45deg, #2E2E4733 0%, #1A1A26 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    background-color: transparent;
    backdrop-filter: blur(60px);
} */

.faq-item {
    background: 
        linear-gradient(45deg, #2E2E4733 0%, #1A1A26 100%) padding-box,
        linear-gradient(to left, rgba(212, 177, 108, 0.5) 0%, rgba(50, 50, 69, 0) 49%, rgba(50, 50, 69, 1) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(60px);
}
.faq-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #34345033 0%, #1A1A26 100%);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.question-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
    margin: 0 16px;
}

.question-number {
    background: linear-gradient(135deg, #d4a574 0%, #c89960 100%);
    color: #1a202c;
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.question-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.question-icon::before,
.question-icon::after {
    content: '';
    position: absolute;
    background: #d4a574;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-icon::before {
    width: 16px;
    height: 2px;
}

.question-icon::after {
    width: 2px;
    height: 16px;
}

.faq-item.active .question-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s ease;
    opacity: 0;
}

.faq-answer-content {
    padding: 24px;
    color: #cbd5e0;
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-container {
        gap: 16px;
    }

    .faq-question {
        padding: 20px;
    }

    .question-text {
        font-size: 14px;
        margin: 0 12px;
    }

    .question-number {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }
}
