body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
}
body.page-tut, body.page-encyclopedia{
    background-color: #ffffff;
}
body {
    opacity: 0;
}

body.fonts-loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

code{
    background: #eaeef378;
    padding: 1px 5px;
    border-radius: 4px;
    color: #000000;
}

.navbar{
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    width: 100%;
    z-index: 99999999;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(209, 213, 219, 0.3);
    top:0;
}


.hero {
    background-color: white;
    padding: 160px 0 60px;
}

.cta {
    background-color: #1d49e7;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 20px;
}

.cta:hover {
    color: white;
    text-decoration: none;
}

.cta.cta-secondary {
    background: linear-gradient(135deg, #56ab2f 0%, #5dac8f 100%);
    color: white;
    border: none;
    margin-right: 0;
}

.cta.cta-secondary:hover {
    background: linear-gradient(135deg, #4a9628 0%, #4f9a7d 100%);
    color: white;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333 !important;
}

.demo, .demo:hover {
    color: #333;
    text-decoration: none !important;
}

.demo.border {
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 20px;
    border: 1px solid #333 !important;
}

.logos {
    margin-top: 100px;
}

.logos a {
    display: inline-block;
    height: 30px;
    width: 30px;
    margin: 20px;

}

.logos img {
    height: 30px;
    width: 30px;
    transition: all 0.2s;
}

.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.features {
    background-color: #f9f9f9;
}

.feature-item {
    height: 100%;
}

.testimonials {
    background-color: white;
}

.testimonial-item {
    height: 100%;
}

.card {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: white;
    padding: 20px;
}

.github {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.1s;
    background-color: #f5f5f594;
    font-size: 14px;
    min-width: 85px;
}

.github svg {
    width: 20px;
}

.github:hover {
    text-decoration: none;
    background-color: #eeeeee;
}

footer {
    background-color: #333;
    font-size: 14px;
    padding: 50px 0 50px !important;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    flex: 0 0 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

#footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-decoration: none;
}

.footer-credit:hover {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        flex: none;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .footer-column {
        align-items: center;
        text-align: center;
        min-width: 120px;
    }
}

#text-container {
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#changing-text {
    display: inline-block;
    min-width: 200px;
    text-align: left;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.fade-out {
    animation: fadeOut 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }

    .handshake {
        display: block;
        margin: 10px auto;
    }
}

.bento-boxes {
    background-color: #f8f9fa;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.bento-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.bento-box h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.bento-box h3 svg {
    width: 30px;
    margin-right: 10px;
    fill: #444444;
}

.bento-box p {
    color: #515151;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 15px;
}

.cloud-storage {
    grid-column: span 1;
    grid-row: span 2;
}

.cloud-storage ul {
    color: #515151;
    padding-left: 15px;
}

.cloud-storage ul li::marker {
    color: #c3c3c3;
}

@media (max-width: 768px) {
    .demo, .cta {
        margin-bottom: 20px;
        display: block;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .cloud-storage {
        grid-column: span 1;
        grid-row: span 1;
    }

    .github {
        padding: 0;
        background-color: transparent;
    }
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.faq-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-item ul li, .faq-item ol li {
    margin-bottom: 10px;
}

.faq-question {
    background-color: #f9f9f9;
    padding: 15px;
    cursor: pointer;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
}

.faq-answer.active {
    padding: 15px;
    max-height: 1000px;
    background: white;
}

.cta-section {
    background-color: #f8f9fa;
}

.cta-section h2 {
    color: #333;
    font-size: 2.5rem;
}

.cta-section .btn-primary {
    background-color: #1d49e7;
    border-color: #1d49e7;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background-color: #1a41d1;
    border-color: #1a41d1;
}

.nav-link {
    opacity: 0.7;
    transition-behavior: normal;
    transition-delay: 0s;
    transition-duration: 0.15s;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
}

.nav-link:hover {
    opacity: 1;
}

.how-it-works {
    background-color: #ffffff;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.timeline {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding: 20px 0 100px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #1d49e7;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #1d49e7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #EEE;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 50%;
    margin-left: 30px;
}

.timeline-content h3 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 400;
}

.timeline-content p {
    font-size: 15px;
    color: #555d65;
}

.timeline-step {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

h2 .timeline-step{
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 6px;
    margin-bottom: 0;
    line-height: 1;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 3px 0 0 3px;
}

.timeline-step:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.hljs-tag, .hljs-tag .hljs-name {
    color: #4582cf;
    color: #b21f00 !important;
}

.hljs-meta, .hljs-meta .hljs-keyword, .hljs-tag {
    color: #0063de;
}

.hljs, .hljs * {
    font-family: 'Inter Mono', monospace;
}

.hljs-tag .hljs-string {
    color: #0072ff;
}

@media (max-width: 767px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
        margin-left: 60px;
    }
}

.metrics {
    background-color: #f8f9fa;
}

.metrics h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    margin-top: 40px;
}

.metrics p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.metric-number {
    font-size: 3rem;
    font-weight: bold;
    color: #1d49e7;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.2rem;
    color: #495057;
}

.tut-description{
    font-size: 14px;
    margin-bottom: 0;
}
.tut-container {
    margin-bottom: 40px;
}

.tut {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.tut-link {
    text-decoration: none;
    color: inherit;
}

.tut .tut-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.tut-link:hover {
    text-decoration: none;
    color: inherit;
}

.tut:hover {
    border-color: #1d49e7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tut:hover h2,
.tut:hover h3 {
    color: #1d49e7;
}

.tut h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #555454;
}

.category{
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    padding: 2px 10px;
    font-size: 12px;
    background-position-x: 7px;
    background-repeat: no-repeat;
    background-position-y: center;
    padding-left: 25px;
    padding-right: 15px;
    display: inline-block;
    background-color: #eaeaea;
    color: #474747;
    transition: all 0.2s ease;
}

.category.ai{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-sparkles-icon%20lucide-sparkles%22%3E%3Cpath%20d%3D%22M11.017%202.814a1%201%200%200%201%201.966%200l1.051%205.558a2%202%200%200%200%201.594%201.594l5.558%201.051a1%201%200%200%201%200%201.966l-5.558%201.051a2%202%200%200%200-1.594%201.594l-1.051%205.558a1%201%200%200%201-1.966%200l-1.051-5.558a2%202%200%200%200-1.594-1.594l-5.558-1.051a1%201%200%200%201%200-1.966l5.558-1.051a2%202%200%200%200%201.594-1.594z%22%2F%3E%3Cpath%20d%3D%22M20%202v4%22%2F%3E%3Cpath%20d%3D%22M22%204h-4%22%2F%3E%3Ccircle%20cx%3D%224%22%20cy%3D%2220%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.category.apps{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-box-icon%20lucide-box%22%3E%3Cpath%20d%3D%22M21%208a2%202%200%200%200-1-1.73l-7-4a2%202%200%200%200-2%200l-7%204A2%202%200%200%200%203%208v8a2%202%200%200%200%201%201.73l7%204a2%202%200%200%200%202%200l7-4A2%202%200%200%200%2021%2016Z%22%2F%3E%3Cpath%20d%3D%22m3.3%207%208.7%205%208.7-5%22%2F%3E%3Cpath%20d%3D%22M12%2022V12%22%2F%3E%3C%2Fsvg%3E");
}

.category.storage{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-cloud-icon%20lucide-cloud%22%3E%3Cpath%20d%3D%22M17.5%2019H9a7%207%200%201%201%206.71-9h1.79a4.5%204.5%200%201%201%200%209Z%22%2F%3E%3C%2Fsvg%3E");
}

.category.kv{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-database-icon%20lucide-database%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%225%22%20rx%3D%229%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%205V19A9%203%200%200%200%2021%2019V5%22%2F%3E%3Cpath%20d%3D%22M3%2012A9%203%200%200%200%2021%2012%22%2F%3E%3C%2Fsvg%3E")
}
.category.auth{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-user-lock-icon%20lucide-user-lock%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M10.3%2015H7a4%204%200%200%200-4%204v2%22%2F%3E%3Cpath%20d%3D%22M15%2015.5V14a2%202%200%200%201%204%200v1.5%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%225%22%20x%3D%2213%22%20y%3D%2216%22%20rx%3D%22.899%22%2F%3E%3C%2Fsvg%3E");
}

.category.networking{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-network-icon%20lucide-network%22%3E%3Crect%20x%3D%2216%22%20y%3D%2216%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2216%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M5%2016v-3a1%201%200%200%201%201-1h12a1%201%200%200%201%201%201v3%22%2F%3E%3Cpath%20d%3D%22M12%2012V8%22%2F%3E%3C%2Fsvg%3E");
}

.category.workers{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-zap-icon%20lucide-zap%22%3E%3Cpath%20d%3D%22M4%2014a1%201%200%200%201-.78-1.63l9.9-10.2a.5.5%200%200%201%20.86.46l-1.92%206.02A1%201%200%200%200%2013%2010h7a1%201%200%200%201%20.78%201.63l-9.9%2010.2a.5.5%200%200%201-.86-.46l1.92-6.02A1%201%200%200%200%2011%2014z%22%2F%3E%3C%2Fsvg%3E");
}

.category.hosting{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-globe-icon%20lucide-globe%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22M12%202a14.5%2014.5%200%200%200%200%2020%2014.5%2014.5%200%200%200%200-20%22%2F%3E%3Cpath%20d%3D%22M2%2012h20%22%2F%3E%3C%2Fsvg%3E");
}

.category.ui{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-square-mouse-pointer-icon%20lucide-square-mouse-pointer%22%3E%3Cpath%20d%3D%22M12.034%2012.681a.498.498%200%200%201%20.647-.647l9%203.5a.5.5%200%200%201-.033.943l-3.444%201.068a1%201%200%200%200-.66.66l-1.067%203.443a.5.5%200%200%201-.943.033z%22%2F%3E%3Cpath%20d%3D%22M21%2011V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h6%22%2F%3E%3C%2Fsvg%3E");
}

.category.announcement{
    background-image: url("/assets/img/loudspeaker.svg");
}

.category.video{
    background-image: url("/assets/img/youtube.svg");
    background-size: 10px;
    background-position-x: 6px;
    padding-left: 22px;
    font-weight: 600;
    float:right;
}

.tut-container:hover .category.ai{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-sparkles-icon%20lucide-sparkles%22%3E%3Cpath%20d%3D%22M11.017%202.814a1%201%200%200%201%201.966%200l1.051%205.558a2%202%200%200%200%201.594%201.594l5.558%201.051a1%201%200%200%201%200%201.966l-5.558%201.051a2%202%200%200%200-1.594%201.594l-1.051%205.558a1%201%200%200%201-1.966%200l-1.051-5.558a2%202%200%200%200-1.594-1.594l-5.558-1.051a1%201%200%200%201%200-1.966l5.558-1.051a2%202%200%200%200%201.594-1.594z%22%2F%3E%3Cpath%20d%3D%22M20%202v4%22%2F%3E%3Cpath%20d%3D%22M22%204h-4%22%2F%3E%3Ccircle%20cx%3D%224%22%20cy%3D%2220%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.apps{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-box-icon%20lucide-box%22%3E%3Cpath%20d%3D%22M21%208a2%202%200%200%200-1-1.73l-7-4a2%202%200%200%200-2%200l-7%204A2%202%200%200%200%203%208v8a2%202%200%200%200%201%201.73l7%204a2%202%200%200%200%202%200l7-4A2%202%200%200%200%2021%2016Z%22%2F%3E%3Cpath%20d%3D%22m3.3%207%208.7%205%208.7-5%22%2F%3E%3Cpath%20d%3D%22M12%2022V12%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.storage{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-cloud-icon%20lucide-cloud%22%3E%3Cpath%20d%3D%22M17.5%2019H9a7%207%200%201%201%206.71-9h1.79a4.5%204.5%200%201%201%200%209Z%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.kv{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-database-icon%20lucide-database%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%225%22%20rx%3D%229%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%205V19A9%203%200%200%200%2021%2019V5%22%2F%3E%3Cpath%20d%3D%22M3%2012A9%203%200%200%200%2021%2012%22%2F%3E%3C%2Fsvg%3E")
}
.tut-container:hover .category.auth{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-user-lock-icon%20lucide-user-lock%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M10.3%2015H7a4%204%200%200%200-4%204v2%22%2F%3E%3Cpath%20d%3D%22M15%2015.5V14a2%202%200%200%201%204%200v1.5%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%225%22%20x%3D%2213%22%20y%3D%2216%22%20rx%3D%22.899%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.networking{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-network-icon%20lucide-network%22%3E%3Crect%20x%3D%2216%22%20y%3D%2216%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%2216%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M5%2016v-3a1%201%200%200%201%201-1h12a1%201%200%200%201%201%201v3%22%2F%3E%3Cpath%20d%3D%22M12%2012V8%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.workers{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-zap-icon%20lucide-zap%22%3E%3Cpath%20d%3D%22M4%2014a1%201%200%200%201-.78-1.63l9.9-10.2a.5.5%200%200%201%20.86.46l-1.92%206.02A1%201%200%200%200%2013%2010h7a1%201%200%200%201%20.78%201.63l-9.9%2010.2a.5.5%200%200%201-.86-.46l1.92-6.02A1%201%200%200%200%2011%2014z%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.hosting{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-globe-icon%20lucide-globe%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22M12%202a14.5%2014.5%200%200%200%200%2020%2014.5%2014.5%200%200%200%200-20%22%2F%3E%3Cpath%20d%3D%22M2%2012h20%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.ui{
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-square-mouse-pointer-icon%20lucide-square-mouse-pointer%22%3E%3Cpath%20d%3D%22M12.034%2012.681a.498.498%200%200%201%20.647-.647l9%203.5a.5.5%200%200%201-.033.943l-3.444%201.068a1%201%200%200%200-.66.66l-1.067%203.443a.5.5%200%200%201-.943.033z%22%2F%3E%3Cpath%20d%3D%22M21%2011V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h6%22%2F%3E%3C%2Fsvg%3E");
}

.tut-container:hover .category.announcement{
    background-image: url("/assets/img/loudspeaker-white.svg");
}

.tut-container:hover .category.video{
    background-color: #cc0000;
    background-image: url("/assets/img/youtube-white.svg");
}

/* Video tutorial special styling */
.video-tutorial {
    position: relative;
}

.video-tutorial::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ff0000'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.tut-container:hover .category{
    color: white;
    background-color: #1d49e7;
}

.difficulty {
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    padding: 2px 10px;
    font-size: 12px;
}

.difficulty.beginner {
    background-color: #e7f5e7;
    color: #2e7d32;
}

.difficulty.intermediate {
    background-color: #fff3e0;
    color: #f57c00;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 40px;
    }

    .tut-container {
        margin-bottom: 30px;
    }

    .tut {
        padding: 15px;
    }

    .tut h2 {
        font-size: 16px;
    }
}

.page-tut h1, .page-encyclopedia h1{
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 700;
    border-bottom: 1px solid #EEE;
}

.page-tut h1, .page-encyclopedia h1{
    border-bottom: none;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.2;
}
.page-encyclopedia h1, .page-encyclopedia h2{
    font-family: "Linux Libertine", Georgia, Times, "Source Serif Pro", serif;
}

.page-tut .tutorial-text h2, .page-encyclopedia .tutorial-text h2{
    margin-top: 60px;
    margin-bottom: 15px;
    font-size: 23px;
    font-weight: 700;
}

.page-tut #article-type, .page-encyclopedia #article-type{
    /* margin-top: 60px; */
    margin-bottom: 15px;
    font-size: 23px;
    font-weight: 700;
}

.page-encyclopedia .tutorial-text h2{
    font-size: 33px;
    border-bottom: 1px solid #EEE;
}

.page-encyclopedia .tutorial-text h3{
    margin-top:40px;
    font-size: 25px;
}

.page-encyclopedia h4{
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
}
.page-encyclopedia table{
    margin-bottom: 40px;
    margin-top: 20px;
}



.encyc-image-caption{
    margin-top: 10px; 
    text-align: center; 
    margin-bottom: 40px; 
    font-size: 14px; 
    color: #636363;
}

.page-tut p {
    color: #383838;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    margin-top: 20px;
    line-height: 23px;
}

.page-tut ul {
    padding-left: 15px;
}

.page-tut ul li::marker {
    color: #d3d3d3;
}
/*
* HLJS Syntax Highlighting
*/

.hljs, .hljs * {
	font-family: 'Inter Mono', monospace;
}

pre {
	border-radius: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	border: none;
	border-radius: 7px;
	padding: 0;
	background-color: #ffffff;
}

pre>code.hljs {
	border-radius: 7px;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 13px;
	font-weight: normal;
	padding: 12px 15px;
	font-weight: 400;
	/* background-color: rgb(41, 45, 62); */
}

.hljs {
	/* color: #ccd2dc; */
	background: #f4f4f4a6;
	overflow-x: scroll;
	text-wrap: unset;
}

.hljs-string {
	color: #a528d1;
}

.hljs-tag .hljs-string {
	color: #225492;
}

.hljs-comment {
	color: #818181;
}

.hljs-subst {
	color: #12530d;
}

.hljs-meta, .hljs-meta .hljs-keyword, .hljs-tag {
	color: #0063de;
}

.hljs-tag, .hljs-tag .hljs-name {
	color: #4582cf;
	color: #4582cf !important;
}

.code-wrapper {
	position: relative;
	margin-bottom: 24px;
}

/* Collapsible code blocks */
.code-collapsible .code-details {
	border: 1px solid #eaebee;
	border-radius: 7px;
	overflow: hidden;
	margin-top: 32px;
}

.code-collapsible .code-details summary {
	cursor: pointer;
	list-style: none;
}

.code-collapsible .code-details summary::-webkit-details-marker {
	display: none;
}

.code-collapsible .code-details summary::marker {
	display: none;
}

.code-collapsible .code-preview {
	margin: 0;
	border: none;
	border-radius: 0;
    overflow: hidden;
}

.code-collapsible .code-preview code {
	border-radius: 0;
	padding-bottom: 0;
	overflow: hidden;
}

.code-collapsible .code-preview code.hljs {
	overflow: hidden;
}

.code-expand-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 15px;
	background: linear-gradient(to bottom, rgba(244, 244, 244, 0.7), #f4f4f4);
	border-top: 1px dashed #ddd;
	color: #666;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.code-expand-hint svg {
	transition: transform 0.2s ease;
}

.code-collapsible .code-details:hover .code-expand-hint {
	color: #333;
}

.code-collapsible .code-details[open] .code-expand-hint {
	display: none;
}

.code-collapsible .code-details[open] .code-preview {
	display: none;
}

.code-collapsible .code-full {
	margin: 0;
	border: none;
	border-radius: 0;
	display: none;
}

.code-collapsible .code-details[open] .code-full {
	display: block;
}

.code-collapsible .code-full code {
	border-radius: 0;
}

.code-collapse-hint {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 15px;
	background: #f4f4f4;
	border-top: 1px dashed #ddd;
	color: #666;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.code-collapse-hint svg {
	transition: transform 0.2s ease;
}

.code-collapse-hint:hover {
	color: #333;
}

.code-collapsible .code-details[open] .code-collapse-hint {
	display: flex;
}

.code-wrapper pre {
	padding-top: 32px;
	border: 1px solid #eaebee;
}

.code-wrapper pre code {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	display: block;
}

.code-buttons {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	background: #e7e9ec;
	padding: 4px 6px;
	box-sizing: border-box;
}

.code-button {
	display: inline-block;
	padding: 5px;
	margin: 0 3px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	float: right;
	opacity: 0.8;
	background: transparent;
}

.code-button:hover,
.code-button:focus,
.code-button:active {
	opacity: 1;
	text-decoration: none;
}

.code-button span {
	width: 20px;
	height: 20px;
	display: block;
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
}

.code-button span.copy {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16'%3E%3Cg transform='translate(0, 0)'%3E%3Crect x='2.5' y='3.5' fill='none' stroke='%233b3d40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' width='10' height='12'%3E%3C/rect%3E%3Cpolyline fill='none' stroke='%233b3d40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' points='4.5,0.5 15.5,0.5 15.5,13.5 ' data-color='color-2'%3E%3C/polyline%3E%3Cline fill='none' stroke='%233b3d40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' x1='5.5' y1='6.5' x2='9.5' y2='6.5'%3E%3C/line%3E%3Cline fill='none' stroke='%233b3d40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' x1='5.5' y1='9.5' x2='9.5' y2='9.5'%3E%3C/line%3E%3Cline fill='none' stroke='%233b3d40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' x1='5.5' y1='12.5' x2='9.5' y2='12.5'%3E%3C/line%3E%3C/g%3E%3C/svg%3E");
}

.code-copied-message {
	position: absolute;
	display: none;
	font-size: 1.5em;
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 0.6em;
	background-color: white;
	border-radius: 5px;
	top: 0;
	left: 0;
}

.hljs-attr {
	color: #4582cf;
}

.hljs-title.function_ {
	color: #002fff;
}

.hljs-variable.language_ {
	color: #000000;
}

.hljs-keyword {
	color: #6228ff;
}

.hljs-literal {
	color: #ff00bf;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 15px;
    margin-right: 10px;
}

/* Glossary Styles */
.encyclopedia-nav {
    margin: 40px 0;
    text-align: center;
}

.encyclopedia-nav h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.letter-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.letter-index a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.letter-index a:hover {
    background-color: #1d49e7;
    border-color: #1d49e7;
    color: white;
    text-decoration: none;
}

.encyclopedia-section {
    margin-bottom: 60px;
}

.encyclopedia-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d49e7;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.encyclopedia-entries {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.encyclopedia-entry a {
    color: #1d49e7;
}

.encyclopedia-entry:hover {
    text-decoration: underline;
}

.encyclopedia-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.encyclopedia-link:hover {
    color: #1d49e7;

}

.encyclopedia-entry h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.encyclopedia-entry p {
    font-size: 14px;
    margin: 0;
}
.page-encyclopedia{
    line-height: 27px;

}

@media (max-width: 768px) {
    .letter-index {
        gap: 5px;
    }

    .letter-index a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .encyclopedia-entry {
        padding: 15px;
    }
}

.tutorial-text li{
    margin-bottom: 10px;
    font-size: 16px;
}

.tutorial-text ul {
    padding-left: 20px;
}

/* table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f4f4f4;
    font-weight: 600;
}

table td {
    background-color: #fff;
    color: #333;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

sup a {
    margin-right: 4px;
}

.tutorial-text h3{
    margin-top: 40px;
    font-size: 20px;
}



.browser-window {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	margin-top: 55px;
	margin-bottom: 55px;
}

.browser-window .titlebar {
	background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
	height: 30px;
	display: flex;
	align-items: center;
	padding: 0 10px;
}

.browser-window .buttons {
	display: flex;
	gap: 6px;
}

.browser-window .button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.browser-window .close {
	background-color: #ff5f56 !important;
	opacity: 1;
	cursor: initial;
}

.browser-window .minimize {
	background-color: #ffbd2e;
}

.browser-window .maximize {
	background-color: #27c93f;
}

.browser-window .address-bar {
	background-color: #f1f1f1;
	padding: 8px 10px;
	font-size: 14px;
	color: #333;
}

.browser-window .content {
	height: 450px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	flex-direction: column;
}

.browser-window .content img {
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.feature-name-top {
	width: 100%;
	text-align: center;
	padding-bottom: 10px;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.feature-line-top {
	width: 50%;
	float: left;
	border-right: 1px dotted;
	height: 100%;
}

.script-tag {
	background: #003aee;
	font-family: 'Inter Mono', monospace;
	color: white !important;
	font-size: 16px !important;
	margin: 20px 0 10px;
	border: 2px solid #003aee;
	border-radius: 5px;
	padding: 10px 20px;
	font-weight: 500;
	width: 570px;
	text-align: center;
}

.script-tag .url{
	font-family: 'Inter Mono', monospace; color: white;
}


.caption{
    font-size: 14px !important;
    font-weight: 400;
    color: #767676 !important;
    margin-top: 10px !important;
    display: block;
    text-align: center;
}

/* Filter Pills */
.filter-pills-container{
    position: sticky;
    top:70px;
    z-index: 1000;
}
.filter-pills {
    display: inline-flex;
    border-radius: 25px;
    padding: 4px;
    gap: 2px;
    background: #f1f1f196;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0px 0px 10px #8484845e
}

.filter-pill {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    outline: none;
}

.filter-pill:hover {
    background: rgba(29, 73, 231, 0.1);
    color: #1d49e7;
}

.filter-pill.active {
    background: #1d49e7;
    color: white;
    box-shadow: 0 2px 8px rgba(29, 73, 231, 0.3);
}

.filter-pill.active:hover {
    background: #1d49e7;
    color: white;
}

/* Article author and updated styling */
.article-meta {
    line-height: 1.4;
    margin-bottom: 60px !important;
}

.article-author a {
    font-size: 17px;
    color: #616161;
    margin-bottom: 4px;
}

.article-updated {
    font-size: 13px;
    color: #767676;
}

/* Table of Contents Styles */
.table-of-contents {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 5px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.toc-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #8d8d8d;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    margin-left: 12px;
    margin-top: 10px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.toc-nav {
    display: flex;
    flex-direction: column;
}

.toc-link {
    display: block;
    padding: 6px 6px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    color: #1d49e7;
    text-decoration: none;
    border-left-color: #1d49e7;
    background: rgba(29, 73, 231, 0.05);
}

.toc-link.active {
    color: #1d49e7;
    font-weight: 500;
    border-left-color: #1d49e7;
    background: rgba(29, 73, 231, 0.08);
}

.toc-link[data-level="1"] {
    padding-left: 12px;
    font-weight: 500;
}

.toc-link[data-level="2"] {
    padding-left: 28px;
    font-size: 13px;
}

.toc-link[data-level="3"] {
    padding-left: 44px;
    font-size: 13px;
    color: #666;
}

/* Custom scrollbar for TOC */
.table-of-contents::-webkit-scrollbar {
    width: 4px;
}

.table-of-contents::-webkit-scrollbar-track {
    background: transparent;
}

.table-of-contents::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.table-of-contents::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive: Hide TOC on smaller screens */
@media (max-width: 991px) {
    .table-of-contents {
        display: none;
    }
}

/* Mobile Table of Contents Styles */
.mobile-table-of-contents {
    display: none;
    margin-bottom: 30px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-toc-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    background: #f9f9f9;
    border: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toc-title::marker {
    display: none;
}

.mobile-toc-title::-webkit-details-marker {
    display: none;
}

.toc-chevron {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tutorial-text h2,
.tutorial-text h3 {
    scroll-margin-top: 100px;
}

.mobile-table-of-contents[open] .toc-chevron {
    transform: rotate(0deg);
}

.mobile-table-of-contents[open] .mobile-toc-title {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-toc-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-toc-link {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-toc-link:hover {
    color: #1d49e7;
    text-decoration: none;
    border-left-color: #1d49e7;
    background: rgba(29, 73, 231, 0.05);
}

.mobile-toc-link.active {
    color: #1d49e7;
    font-weight: 500;
    border-left-color: #1d49e7;
    background: rgba(29, 73, 231, 0.08);
}

.mobile-toc-link[data-level="1"] {
    padding-left: 20px;
    font-weight: 500;
}

.mobile-toc-link[data-level="2"] {
    padding-left: 36px;
    font-size: 13px;
}

.mobile-toc-link[data-level="3"] {
    padding-left: 52px;
    font-size: 13px;
    color: #666;
}

/* Show mobile TOC only on mobile screens */
@media (max-width: 991px) {
    .mobile-table-of-contents {
        display: block;
    }
}

/* Category Filter Sidebar */
.category-filter-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.category-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.category-filter-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-icon {
    color: #666;
}

.filter-chevron {
    display: none;
    color: #666;
    transition: transform 0.3s ease;
}

.select-all-btn {
    background: none;
    border: none;
    color: #1d49e7;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-all-btn:hover {
    background: rgba(29, 73, 231, 0.1);
}

.category-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-filter-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.category-filter-item:hover {
    background: #f5f5f5;
}

.category-filter-item input[type="checkbox"] {
    display: none;
}

.category-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-filter-item input[type="checkbox"]:checked + .category-checkbox {
    background: #1d49e7;
    border-color: #1d49e7;
}

.category-filter-item input[type="checkbox"]:checked + .category-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.category-label {
    font-size: 14px;
    color: #444;
}

.category-filter-item:hover .category-label {
    color: #1d49e7;
}

/* Tutorials list layout adjustments */
.tutorials-list .tutorial-item {
    margin-bottom: 0;
}

/* Responsive: Make sidebar collapsible on mobile */
@media (max-width: 767px) {
    .category-filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .category-filter-header {
        cursor: pointer;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .category-filter-sidebar.expanded .category-filter-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .filter-chevron {
        display: block;
    }

    .category-filter-sidebar.expanded .filter-chevron {
        transform: rotate(180deg);
    }

    .category-filter-list {
        display: none;
    }

    .category-filter-sidebar.expanded .category-filter-list {
        display: flex;
    }
}

/* ==========================================
   Models Page Styles
   ========================================== */

/* Search Bar */
.models-search-container {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.models-search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    outline: none;
    transition: all 0.2s ease;
}

.models-search-input:focus {
    border-color: #1d49e7;
    box-shadow: 0 0 0 3px rgba(29, 73, 231, 0.1);
}

.models-search-input::placeholder {
    color: #999;
}

/* Provider Filter Sidebar - reuse category filter styles */
.provider-filter-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.provider-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.provider-filter-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.provider-filter-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    user-select: none;
}

.provider-filter-item:hover {
    background: #f5f5f5;
}

.provider-filter-item input[type="checkbox"] {
    display: none;
}

.provider-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.provider-filter-item input[type="checkbox"]:checked + .provider-checkbox {
    background: #1d49e7;
    border-color: #1d49e7;
}

.provider-filter-item input[type="checkbox"]:checked + .provider-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.provider-filter-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.provider-label {
    font-size: 14px;
    color: #444;
}

.provider-filter-item:hover .provider-label {
    color: #1d49e7;
}

/* Models List */
.models-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.model-list-item {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.model-list-item:hover {
    border-color: #1d49e7;
    box-shadow: 0 2px 8px rgba(29, 73, 231, 0.1);
}

.model-list-link {
    text-decoration: none;
    color: inherit;
}

.model-list-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.model-list-link:hover {
    text-decoration: none;
    color: inherit;
}

.model-list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.model-list-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.model-list-item:hover .model-list-name {
    color: #1d49e7;
}

.model-id-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: 300px;
    justify-content: flex-end;
}

.model-id {
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', 'Source Code Pro', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
}

.copy-model-id-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.15s ease;
}

.copy-model-id-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.copy-model-id-btn.copied {
    background: #d4edda;
    color: #28a745;
}

.model-list-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.model-list-provider {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.model-list-provider-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Responsive: Make sidebar collapsible on mobile */
@media (max-width: 767px) {
    .provider-filter-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .provider-filter-header {
        cursor: pointer;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .provider-filter-sidebar .filter-chevron {
        display: block;
    }

    .provider-filter-sidebar.expanded .provider-filter-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .provider-filter-sidebar.expanded .filter-chevron {
        transform: rotate(180deg);
    }

    .provider-filter-list {
        display: none;
    }

    .provider-filter-sidebar.expanded .provider-filter-list {
        display: flex;
    }
}

@media (max-width: 991px) {
    .model-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .model-id-copy {
        width: auto;
        justify-content: flex-start;
    }

    .model-id {
        width: full;
    }
}
