*{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    animation: fadeInUp 0.8s ease-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Introduction Section */
.intro-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.5s both;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

/* Hide the checkbox */
.faq-toggle {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
}

/* When checkbox is checked, rotate icon and change background */
.faq-toggle:checked+.faq-question .faq-icon {
    transform: rotate(45deg);
    background: #3498db;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    opacity: 0;
}

/* When checkbox is checked, show the answer */
.faq-toggle:checked~.faq-answer {
    max-height: 500px;
    opacity: 1;
    animation: slideDown 0.4s ease;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.faq-answer ul {
    padding-left: 3rem;
    padding-top: 0.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    position: relative;
}

.faq-answer li::before {
    content: "→";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 0.75rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .intro-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p,
    .faq-answer ul {
        padding: 0 1.25rem 1.25rem;
    }

    .faq-answer ul {
        padding-left: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .main-title::after {
        width: 60px;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .intro-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0;
    }

    .faq-icon {
        align-self: flex-end;
        margin-top: -2rem;
    }

    .faq-answer p,
    .faq-answer ul {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }

    .faq-answer ul {
        padding-left: 2rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        padding: 1rem;
    }

    .intro-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .main-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 0.75rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 3rem 2rem;
    }

    .faq-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .intro-section {
        grid-column: 1 / -1;
    }
}

/* Interactive States */
.faq-question:active {
    transform: scale(0.98);
}

.faq-item:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .faq-answer {
        max-height: none !important;
        opacity: 1 !important;
    }

    .faq-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }

    .faq-icon {
        display: none;
    }

    .faq-toggle {
        display: none;
    }
}