/* ===================================
   INDEX PAGE OVERRIDES
   FAQ Accordion, Feature Cards
   Loaded only on index.html
   =================================== */

/* ===================================
   FAQ ITEMS
   =================================== */

.faq-item {
    background: var(--bg-medium);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--gold-light);
}

.faq-item h3 {
    color: var(--gold-light);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--text-light);
}

/* FAQ Accordion */
.faq-accordion .faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    text-align: left;
    color: inherit;
}

.faq-accordion .faq-question h3 {
    margin-bottom: 0;
}

.faq-accordion .faq-icon {
    color: var(--gold-light);
    font-size: 0;
    /* Hide HTML text content */
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Show + when collapsed (default) */
.faq-accordion .faq-icon::before {
    content: '+';
    font-size: 1.25rem;
    /* Restore font size for ::before */
}

/* Show - when expanded */
.faq-accordion .faq-question[aria-expanded="true"] .faq-icon::before {
    content: '−';
}

.faq-accordion .faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

.faq-accordion .faq-answer:not([hidden]) {
    max-height: 500px;
    padding-top: var(--spacing-sm);
}

/* ===================================
   GLASSMORPHISM FEATURE CARDS
   =================================== */

.feature-card-glass {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.feature-card-glass:hover {
    background: rgba(26, 26, 26, 0.85);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow:
        0 12px 48px rgba(255, 215, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
