* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f0faff;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 100px;
    animation: fadeInDown 0.8s ease;
}

.header h1 {
    font-size: 2.8rem;
    color: #ff0084;
    margin-bottom: 15px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    color: #555;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(139, 47, 201, 0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    flex: 1;
}

.faq-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff0084 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-answer-content {
    padding: 0 30px 25px 30px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    body {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}