* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.faq-container {
    background: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

.faq-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c5364;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 18px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .3s;
}

.faq-question:hover {
    background: #f5f7fa;
}

.faq-question span {
    font-size: 22px;
    transition: transform .3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    color: #555;
    line-height: 1.6;
    transition: max-height .4s ease;
}

.faq-answer p {
    margin: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: .9rem;
    color: #777;
}

@media (max-width: 600px) {
    .faq-container {
    padding: 20px;
    }
}