* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: #f8f9fa;
}

/* ========== MAIN ========== */
.docs-main {
    padding: 60px 20px 80px;
}

.docs-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ========== GROUP ========== */
.docs-group {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.docs-group-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 40px 28px;
    border-bottom: 1px solid #f0f0f0;
}

.docs-group-num {
    font-size: 48px;
    font-weight: 800;
    color: #85abba;
    line-height: 1;
    opacity: 0.35;
    flex-shrink: 0;
    margin-top: -4px;
}

.docs-group-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #262625;
    margin: 0 0 8px;
}

.docs-group-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
    line-height: 1.55;
}

/* ========== DOCS LIST ========== */
.docs-list {
    display: flex;
    flex-direction: column;
}

/* ========== DOC ITEM ========== */
.doc-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 40px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #262625;
    transition: background 0.2s ease;
    cursor: pointer;
}

.doc-item:last-child {
    border-bottom: none;
}

a.doc-item:hover {
    background: #f8f9fa;
}

a.doc-item:hover .doc-item-title {
    color: #85abba;
}

a.doc-item:hover .doc-item-arrow {
    transform: translate(2px, -2px);
    color: #85abba;
}

/* ========== ICON ========== */
.doc-item-icon {
    width: 42px;
    height: 42px;
    background: #f0f5f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #85abba;
}

.doc-item-icon svg {
    width: 20px;
    height: 20px;
}

/* ========== TITLE ========== */
.doc-item-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #262625;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* ========== BADGE ========== */
.doc-item-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #e8f2f6;
    color: #85abba;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.doc-item-badge--soon {
    background: #f5f5f5;
    color: #aaa;
}

/* ========== ARROW ========== */
.doc-item-arrow {
    width: 18px;
    height: 18px;
    color: #ccc;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* ========== SOON (disabled) ========== */
.doc-item--soon {
    opacity: 0.55;
    cursor: default;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .docs-main {
        padding: 40px 16px 60px;
    }

    .docs-container {
        gap: 32px;
    }

    .docs-group-header {
        padding: 28px 24px 20px;
        gap: 16px;
    }

    .docs-group-num {
        font-size: 36px;
    }

    .docs-group-header h2 {
        font-size: 19px;
    }

    .doc-item {
        padding: 16px 24px;
        gap: 14px;
    }

    .doc-item-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .docs-group-header {
        flex-direction: column;
        gap: 8px;
    }

    .docs-group-num {
        font-size: 28px;
    }

    .doc-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .doc-item-icon {
        width: 36px;
        height: 36px;
    }

    .doc-item-icon svg {
        width: 17px;
        height: 17px;
    }

    .doc-item-title {
        font-size: 13px;
    }

    .doc-item-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}
