/* ═════════════════════════════════════════════════════════
   DasGuard AKADEMİ — Help Center CSS v1.0
   Professional help center / onboarding hub
   ═════════════════════════════════════════════════════════ */

/* ── Layout ── */
.aca-wrap {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 0;
    min-height: calc(100vh - 120px);
}

/* ── Sidebar TOC ── */
.aca-sidebar {
    position: sticky;
    top: 60px;
    width: 240px;
    flex-shrink: 0;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 20px 0 40px 0;
    border-right: 1px solid rgba(255,255,255,0.06);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.aca-sidebar::-webkit-scrollbar { width: 4px; }
.aca-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.aca-toc-title {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.30);
    text-transform: uppercase;
    padding: 0 16px;
    margin-bottom: 12px;
}
.aca-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s;
    line-height: 1.4;
}
.aca-toc-link:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.03);
    border-left-color: rgba(94,200,255,0.30);
}
.aca-toc-link.active {
    color: #5ec8ff;
    border-left-color: #5ec8ff;
    background: rgba(94,200,255,0.06);
    font-weight: 700;
}
.aca-toc-icon {
    font-size: 13px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* ── Lang switch ── */
.aca-lang-switch {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    margin-bottom: 8px;
}
.aca-lang-btn {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.40);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-transform: uppercase;
}
.aca-lang-btn:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
}
.aca-lang-btn.active {
    background: rgba(94,200,255,0.12);
    border-color: rgba(94,200,255,0.35);
    color: #5ec8ff;
}

/* ── Main content ── */
.aca-content {
    flex: 1;
    min-width: 0;
    padding: 24px 0 60px 32px;
    max-width: 840px;
}

.aca-page-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: #fff;
}
.aca-page-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.40);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ── Section ── */
.aca-section {
    margin-bottom: 40px;
    scroll-margin-top: 72px;
}
.aca-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aca-section-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.aca-section-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}
.aca-section p, .aca-section li {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
}
.aca-section strong {
    color: rgba(255,255,255,0.90);
    font-weight: 700;
}
.aca-section ul {
    list-style: none;
    padding: 0;
}
.aca-section ul li {
    padding-left: 20px;
    position: relative;
}
.aca-section ul li::before {
    content: '›';
    position: absolute;
    left: 4px;
    color: #5ec8ff;
    font-weight: 700;
}

/* ── Subsection ── */
.aca-sub {
    margin-top: 20px;
    margin-bottom: 16px;
}
.aca-sub-title {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,0.80);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

/* ── Info boxes ── */
.aca-box {
    padding: 14px 18px;
    border-radius: 12px;
    margin: 12px 0;
    font-size: 12px;
    line-height: 1.65;
}
.aca-box-info {
    background: rgba(94,200,255,0.06);
    border: 1px solid rgba(94,200,255,0.15);
    color: rgba(255,255,255,0.70);
}
.aca-box-warn {
    background: rgba(255,159,26,0.06);
    border: 1px solid rgba(255,159,26,0.18);
    color: rgba(255,255,255,0.70);
}
.aca-box-danger {
    background: rgba(255,42,60,0.06);
    border: 1px solid rgba(255,42,60,0.18);
    color: rgba(255,255,255,0.70);
}
.aca-box-success {
    background: rgba(0,255,157,0.05);
    border: 1px solid rgba(0,255,157,0.15);
    color: rgba(255,255,255,0.70);
}
.aca-box-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
.aca-box-info .aca-box-label { color: #5ec8ff; }
.aca-box-warn .aca-box-label { color: #ff9f1a; }
.aca-box-danger .aca-box-label { color: #ff2a3c; }
.aca-box-success .aca-box-label { color: #00ff9d; }

/* ── Term definition grid ── */
.aca-term-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.aca-term-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.2s;
}
.aca-term-card:hover {
    border-color: rgba(94,200,255,0.20);
}
.aca-term-name {
    font-size: 12px;
    font-weight: 900;
    color: #5ec8ff;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.aca-term-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ── FAQ accordion ── */
.aca-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.aca-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
    user-select: none;
}
.aca-faq-q:hover { color: #5ec8ff; }
.aca-faq-arrow {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.aca-faq-item.open .aca-faq-arrow {
    transform: rotate(90deg);
    color: #5ec8ff;
}
.aca-faq-a {
    display: none;
    padding: 0 0 14px 0;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}
.aca-faq-item.open .aca-faq-a { display: block; }

/* ── Step list ── */
.aca-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}
.aca-steps li {
    counter-increment: step;
    padding: 10px 0 10px 40px;
    position: relative;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.aca-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(94,200,255,0.10);
    border: 1px solid rgba(94,200,255,0.25);
    color: #5ec8ff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Table ── */
.aca-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 12px;
}
.aca-table th, .aca-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.aca-table th {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.aca-table td {
    color: rgba(255,255,255,0.60);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .aca-wrap { flex-direction: column; }
    .aca-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 12px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        overflow-x: auto;
    }
    .aca-toc-title { display: none; }
    .aca-toc-link {
        padding: 5px 10px;
        border-left: none;
        border-radius: 8px;
        font-size: 10px;
        white-space: nowrap;
    }
    .aca-toc-link.active { border-left: none; }
    .aca-toc-icon { display: none; }
    .aca-content {
        padding: 16px 0 40px 0;
    }
    .aca-page-title { font-size: 22px; }
    .aca-section-title { font-size: 16px; }
    .aca-term-grid { grid-template-columns: 1fr; }
    .aca-lang-switch { padding: 8px 12px; }
}
