/* FAQ Page Styles */

/* Hero Section */
.faq-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(31, 157, 39, 0.08) 0%, 
        rgba(0, 0, 0, 0.8) 100%);
    padding: 6rem 2rem 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(31, 157, 39, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(31, 157, 39, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.faq-hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(31, 157, 39, 0.15);
}

.hero-description {
    font-size: 1.15rem;
    color: #c0c0c0;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    background: var(--background-color, #1a1a1a);
    padding: 4rem 0 6rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* FAQ Item */
.faq-item {
    background: linear-gradient(135deg, 
        rgba(31, 157, 39, 0.02) 0%, 
        rgba(0, 0, 0, 0.3) 100%);
    border-radius: 16px;
    border: 1px solid rgba(153, 153, 153, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(31, 157, 39, 0.4);
    box-shadow: 0 0 20px rgba(31, 157, 39, 0.1);
}

.faq-item.active {
    border-color: var(--bs-primary);
    box-shadow: 0 0 30px rgba(31, 157, 39, 0.15);
}

/* FAQ Question */
.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(31, 157, 39, 0.05);
}

.faq-item.active .faq-question {
    background: rgba(31, 157, 39, 0.08);
    border-bottom: 1px solid rgba(153, 153, 153, 0.2);
}

.faq-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    line-height: 1.5;
    flex: 1;
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--bs-primary);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem 2rem 2rem;
}

.faq-answer p {
    font-size: 1.05rem;
    color: #c0c0c0;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero {
        min-height: 35vh;
        padding: 4rem 1.5rem 3rem 1.5rem;
    }
    
    .faq-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .faq-section {
        padding: 3rem 0 4rem 0;
    }
    
    .faq-container {
        padding: 0 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
    
    .faq-question-text {
        font-size: 1.05rem;
    }
    
    .faq-icon {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
}
