/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --color-dark: #050505;
    --color-background: #0b0b0b;
    --color-card: #151515;
    --color-gold-primary: #d4af37;
    --color-text-light: #e6e6e6;
    --color-text-faded: #bbb;
    --color-border: #222;
    
    /* Layout */
    --padding-main: 70px;
    --padding-mobile: 30px;
    --border-radius: 8px;
    --transition-fast: 0.3s ease;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Outfit', sans-serif;
    background: var(--color-background);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.header {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--padding-mobile);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 35px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold-primary);
}

/* NAV */
.nav a {
    color: var(--color-text-faded);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 15px;
    transition: var(--transition-fast);
}

.nav a:hover {
    color: var(--color-gold-primary);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.faq-hero {
    background: radial-gradient(circle at top, #1a1a1a, #000);
    padding: 100px var(--padding-main);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--color-gold-primary);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-text-faded);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   4. MAIN FAQ CONTENT & CATEGORIES
   ========================================= */

.faq-main {
    padding: 70px var(--padding-main);
    max-width: 1000px;
    margin: auto;
}

.faq-category {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #222;
}

.faq-category h2 {
    color: var(--color-text-light);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-left: 5px solid var(--color-gold-primary);
    padding-left: 15px;
}

/* =========================================
   5. ACCORDION STYLES
   ========================================= */

.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    background: var(--color-card);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: #1a1a1a;
}

.accordion-header.active {
    color: var(--color-gold-primary);
    border-bottom: 1px solid var(--color-border);
}

/* Icon for Accordion */
.icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg); /* Turns '+' into 'x' or a closer symbol */
    color: var(--color-gold-primary);
}

/* Content Panel */
.accordion-content {
    max-height: 0;
    opacity: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content.active {
    max-height: 500px; /* Large enough to accommodate any answer */
    opacity: 1;
    padding: 20px 25px;
}

.accordion-content p {
    color: var(--color-text-faded);
    font-size: 1rem;
}

.accordion-content a {
    color: var(--color-gold-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

/* =========================================
   6. CTA SECTION
   ========================================= */

.faq-cta {
    text-align: center;
    padding: 50px 0;
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

/* CTA Button */
.cta {
    padding: 14px 30px;
    background: var(--color-gold-primary);
    color: var(--color-dark);
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.cta:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-border);
    padding: 30px var(--padding-main);
    text-align: center;
}

.footer p, .footer a {
    color: #777;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: var(--color-text-faded);
}

/* =========================================
   8. MEDIA QUERIES
   ========================================= */

@media (max-width: 768px) {
    .faq-hero {
        padding: 80px var(--padding-mobile);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .faq-main {
        padding: 40px var(--padding-mobile);
    }

    .accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-category h2 {
        font-size: 1.7rem;
    }
}