/* FAQ Specific Styles */
.faq-hero {
    background: #ffffff;
    padding: 8rem 0 4rem;
    margin-top: 9rem;
    text-align: center;
    position: relative;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.faq {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #ff9800 0%, #ffc107 100%);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: #ff9800;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.15);
    transform: translateY(-2px);
}

.faq-item.active::before {
    height: 100%;
}

.faq-question {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    user-select: none;
}

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

.faq-question h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    padding-right: 2rem;
    line-height: 1.5;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
    color: #ffffff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.faq-toggle::before {
    width: 18px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle {
    background: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
}

.faq-toggle span {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding: 0 2.5rem;
    background: #ffffff;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 3000px;
    padding: 0 2.5rem 2rem 2.5rem;
    opacity: 1;
}

.faq-answer p {
    color: #666666;
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
    padding-top: 0.5rem;
}

.faq-item.active .faq-answer p {
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .faq-hero {
        margin-top: 7rem;
        padding: 6rem 0 3rem;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-subtitle {
        font-size: 1.25rem;
    }
    
    .faq-list {
        gap: 1rem;
    }
    
    .faq-item {
        border-radius: 16px;
    }
    
    .faq-question {
        padding: 1.5rem 1.75rem;
    }
    
    .faq-question h3 {
        font-size: 1.15rem;
        padding-right: 1.5rem;
    }
    
    .faq-toggle {
        width: 36px;
        height: 36px;
    }
    
    .faq-toggle::before {
        width: 16px;
    }
    
    .faq-toggle::after {
        height: 16px;
    }
    
    .faq-answer {
        padding: 0 1.75rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.75rem 1.5rem 1.75rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}
