/* docs.php - Documentation page specific styles */
:root {
    --ac: #ff1a1a;
    --ac-soft: rgba(255, 26, 26, 0.1);
    --bg: #030406;
    --card: rgba(255, 255, 255, 0.02);
    --brd: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: #fff;
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.docs-container { max-width: 1100px; margin: 0 auto; padding: 140px 20px 80px; }

.section-title {
    font-size: 32px; font-weight: 800; margin-bottom: 30px;
    letter-spacing: -1px; display: flex; align-items: center; gap: 15px;
}
.section-title i { color: var(--ac); }

/* Sidebar & Content Layout */
.docs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.docs-sidebar { position: sticky; top: 120px; height: fit-content; }
.side-nav { display: flex; flex-direction: column; gap: 8px; }

.side-link {
    padding: 12px 20px; border-radius: 12px;
    color: rgba(255, 255, 255, 0.5); text-decoration: none;
    font-weight: 500; transition: 0.3s; border: 1px solid transparent;
}
.side-link:hover { background: rgba(255, 255, 255, 0.03); color: #fff; }
.side-link.active { background: var(--ac-soft); color: var(--ac); border-color: rgba(255, 26, 26, 0.2); }

.docs-card {
    background: var(--card); border: 1px solid var(--brd);
    border-radius: 24px; padding: 40px; margin-bottom: 30px;
    backdrop-filter: blur(10px);
}
.docs-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.docs-card p { color: rgba(255, 255, 255, 0.6); margin-bottom: 15px; }

.step-box {
    background: rgba(0, 0, 0, 0.2); border: 1px solid var(--brd);
    border-radius: 16px; padding: 25px; margin-top: 20px;
    position: relative; overflow: hidden;
}
.step-num {
    position: absolute; top: -10px; right: -10px;
    font-size: 80px; font-weight: 900;
    color: rgba(255, 255, 255, 0.03); line-height: 1;
}
.step-box h4 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px;
    color: var(--ac); display: flex; align-items: center; gap: 10px;
}

.code-block {
    background: #000; padding: 15px; border-radius: 8px;
    font-family: monospace; color: var(--ac); margin: 10px 0;
    border: 1px solid var(--brd);
}

.alert-info {
    background: rgba(255, 26, 26, 0.05); border: 1px solid rgba(255, 26, 26, 0.1);
    border-radius: 12px; padding: 15px; margin: 20px 0;
    color: var(--ac); font-size: 14px; display: flex; gap: 12px;
}

@media (max-width: 850px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { display: none; }
}

/* Tab Content Logic */
.tab-content { display: none; animation: tabFadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Content Styles */
.faq-container { display: flex; flex-direction: column; gap: 15px; }
.faq-item {
    background: rgba(255,255,255,0.02); border: 1px solid var(--brd);
    border-radius: 16px; padding: 20px; transition: 0.3s;
}
.faq-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.faq-q {
    font-weight: 700; font-size: 16px; color: #fff;
    margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.faq-q::before { content: 'Q:'; color: var(--ac); font-weight: 900; }
.faq-a { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
