/* app/static/css/landing/faq.css */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-dark, #0b0f19); /* Alternating with Sectores */
    position: relative;
}

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

.faq-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light, #ffffff);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

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

.faq-question h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light, #ffffff);
    margin: 0;
    padding-right: 1rem;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--accent-cyan, #00f2fe);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base style so answers aren't hidden forever if no JS is present,
   but assuming main.js handles accordion. If JS uses inline styles for max-height,
   this will be overridden. Otherwise, this handles static display nicely. */
.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.faq-answer p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}
