/* assets/css/faq.css */

:root {
    --bg-core: #050505;
    --bg-card: #0A0A0A;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #888888;
    
    /* Stracti Orange */
    --accent: #FF3300; 
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body.faq-body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.faq-container {
    max-width: 900px; /* Narrower container for readability */
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation --- */
.faq-nav {
    padding: 30px 0;
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.faq-nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; }
.faq-brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.faq-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.faq-nav-right { display: flex; align-items: center; gap: 40px; }
.faq-link { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.faq-link:hover { color: #fff; }
.faq-btn-outlined { padding: 10px 24px; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.3s; }
.faq-btn-outlined:hover { border-color: #fff; background: #fff; color: #000; }

/* --- Hero --- */
.faq-hero { padding: 180px 0 100px; }
.faq-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.faq-badge { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.faq-title { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin: 0 0 30px 0; letter-spacing: -0.02em; }
.faq-serif { font-family: 'Inter', serif; font-weight: 300; color: var(--text-muted); font-style: italic; }
.faq-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 400px; line-height: 1.6; }

/* --- FAKE VISUAL: Support Console --- */
.faq-console {
    background: #0F0F11;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.faq-con-header {
    background: #18181b; padding: 10px 15px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}
.faq-con-controls { display: flex; gap: 6px; }
.faq-con-controls span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.faq-con-controls span:nth-child(1) { background: #ff5f56; }
.faq-con-title { font-size: 10px; color: #666; }

.faq-con-body { padding: 20px; font-size: 11px; line-height: 1.8; }
.faq-msg-row { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 8px; }
.faq-msg-row:last-child { border-bottom: none; }

.faq-user { color: #888; font-weight: 700; margin-right: 8px; }
.faq-sys { color: var(--accent); font-weight: 700; margin-right: 8px; }
.faq-bot { color: #fff; font-weight: 700; margin-right: 8px; }
.faq-accent { color: var(--accent); }
.faq-success { color: #10b981; font-weight: 700; }

/* --- FAQ Accordion --- */
.faq-section { padding: 60px 0 120px; }
.faq-category { margin-bottom: 80px; }

.faq-cat-title {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex; align-items: center; gap: 10px;
}
.faq-cat-title i { color: var(--accent); font-size: 16px; }

/* The Details Element */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.faq-item summary {
    list-style: none; /* Remove default triangle */
    cursor: pointer;
    padding: 15px 0;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-right: 40px;
    transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

/* Custom Plus/Minus Icon using CSS */
.faq-item summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-weight: 300; font-size: 24px; color: var(--text-muted);
}

.faq-item[open] summary::after {
    content: '-';
    color: #fff;
}

/* Content Styling */
.faq-content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 10px;
    max-width: 90%;
}

.faq-content ul { padding-left: 20px; margin-top: 10px; }
.faq-content li { margin-bottom: 5px; }
.faq-content strong { color: #fff; }

/* Animation for Details (Simple Fade) */
.faq-item[open] .faq-content {
    animation: fadeIn 0.4s ease forwards;
}

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

/* --- Footer --- */
.faq-footer { padding: 100px 0; border-top: 1px solid var(--border-color); text-align: center; }
.faq-cta-box h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 15px; }
.faq-cta-box p { color: var(--text-muted); margin-bottom: 40px; }
.faq-big-link { font-family: var(--font-display); font-size: 24px; color: #fff; text-decoration: none; border: 1px solid var(--border-color); padding: 15px 30px; border-radius: 100px; transition: all 0.3s; }
.faq-big-link:hover { background: #fff; color: #000; border-color: #fff; }
.faq-big-link i { margin-left: 10px; color: #5865F2; /* Discord Color */ }
.faq-bottom { margin-top: 80px; font-size: 12px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .faq-hero-grid { grid-template-columns: 1fr; }
    .faq-title { font-size: 3rem; }
    .faq-container { padding: 0 24px; }
}