/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --White: hsl(0, 100%, 100%);
    --Purple-100: hsl(275, 100%, 97%);
    --Purple-600: hsl(292, 16%, 49%);
    --Purple-950: hsl(292, 42%, 14%);
}

/* BODY */
body {
    background-color: var(--Purple-100);
    font-family: 'Work Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

    background-image: url('./assets/images/background-pattern-desktop.svg');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
}

/* CARD */
.card {
    background-color: var(--White);
    padding: 35px;
    border-radius: 12px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* TITLE */
.title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.title h1 {
    font-size: 3rem;
    color: var(--Purple-950);
}

/* FAQ ITEM */
.faq-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
    border-bottom: none;
}

/* HEADER (QUESTION + ICON) */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; 
    cursor: pointer;
}

/* QUESTION */
.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--Purple-950);
    flex: 1;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #AD28EB;
}

/* ICON */
.faq-header img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ANSWER */
.faq-answer {
    display: none;
    font-size: 14px;
    color: var(--Purple-600);
    line-height: 1.6;
}

/* ACTIVE STATE */
.faq-answer.active {
    display: block;
}