/* Main Content */
main {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.01) 0%, rgba(110, 85, 210, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-section:hover::before {
    opacity: 1;
}

.faq-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 62, 190, 0.1);
}

.faq-section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.section-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(90, 62, 190, 0.2);
}

.faq-section:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(90, 62, 190, 0.3);
}

.section-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2;
}

/* FAQ Items */
.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

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

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: #5A3EBE;
    transform: translateX(5px);
}

.faq-question::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.faq-question:hover::after {
    height: 30px;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(90, 62, 190, 0.2);
}

.faq-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(90, 62, 190, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 0 0 0;
    opacity: 0;
}

.faq-answer.open {
    max-height: 1000px;
    padding: 0 0 25px 0;
    opacity: 1;
}

.faq-answer p {
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 15px;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
}

.faq-answer.open p {
    transform: translateY(0);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 25px;
    color: #6e6e73;
}

.faq-answer li {
    margin-bottom: 8px;
    position: relative;
}

.faq-answer li::marker {
    color: #5A3EBE;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #6E55D2 0%, #5A3EBE 100%);
}

.faq-item.active .faq-question {
    color: #5A3EBE;
}

/* Highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, #f8f7ff 0%, #e8e7ff 100%);
    border-left: 4px solid #5A3EBE;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90, 62, 190, 0.05) 0%, rgba(110, 85, 210, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-box:hover::before {
    opacity: 1;
}

.highlight-box:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(90, 62, 190, 0.1);
}

.highlight-box strong {
    color: #5A3EBE;
    position: relative;
    z-index: 1;
}

.highlight-box p {
    position: relative;
    z-index: 1;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #5A3EBE 0%, #6E55D2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') 0 0;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.contact-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(90, 62, 190, 0.3);
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.contact-cta a {
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-cta a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-cta a:hover::before {
    left: 100%;
}

.contact-cta a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .faq-section {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}