.docs-main {
    padding: 100px 0 60px;
    background: #f8fafc;
}

.docs-breadcrumb {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

.docs-breadcrumb a {
    color: #005AAC;
    text-decoration: none;
}

.docs-breadcrumb a:hover {
    text-decoration: underline;
}

.docs-header {
    margin-bottom: 3rem;
}

.docs-header h1 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.docs-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    max-width: 800px;
}

.docs-main section {
    margin-bottom: 3rem;
}

.docs-main h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #005AAC;
}

.docs-main h3 {
    font-size: 1.15rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.docs-steps {
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.docs-code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.docs-code code {
    font-family: 'Consolas', 'Monaco', monospace;
    white-space: pre-wrap;
}

.docs-api-table {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.docs-api-table article {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #005AAC;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.docs-api-table p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.docs-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.docs-cta .btn {
    margin: 0.25rem;
}

.docs-cta h2 {
    border: none;
    padding: 0;
}

.docs-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.docs-topic-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-topic-card:hover {
    border-color: #005AAC;
    box-shadow: 0 4px 16px rgba(0, 90, 172, 0.1);
}

.docs-topic-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.docs-topic-card p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.docs-topic-card a {
    color: #005AAC;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.docs-topic-card a:hover {
    text-decoration: underline;
}

.docs-related {
    color: #718096;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.docs-related a {
    color: #005AAC;
}

.deploy-cases-section {
    margin-bottom: 3rem;
}

.deploy-cases-note {
    color: #718096;
    font-size: 0.95rem;
    margin: -0.5rem 0 1.5rem;
    max-width: 720px;
}

.deploy-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.deploy-case-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.deploy-case-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #005AAC;
    background: #eff6ff;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.deploy-case-card h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.deploy-case-summary {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.deploy-case-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #718096;
    font-size: 0.88rem;
    line-height: 1.65;
}

.deploy-case-card li {
    margin-bottom: 0.35rem;
}

.deploy-case-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #005AAC;
    text-decoration: none;
}

.deploy-case-link:hover {
    text-decoration: underline;
}

.deploy-case-link:hover {
    text-decoration: underline;
}

.docs-callout {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1rem 0 1.5rem;
    color: #1e40af;
    font-size: 0.92rem;
    line-height: 1.65;
}

.docs-callout code {
    background: rgba(255, 255, 255, 0.7);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.docs-kv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.docs-kv-table th,
.docs-kv-table td {
    border: 1px solid #e2e8f0;
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.docs-kv-table th {
    background: #f8fafc;
    color: #2d3748;
    font-weight: 600;
    width: 28%;
}

.docs-kv-table td code {
    font-size: 0.85em;
}

.docs-flow-steps {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    counter-reset: flow;
}

.docs-flow-steps li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    margin-bottom: 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    line-height: 1.6;
    color: #4a5568;
    font-size: 0.92rem;
}

.docs-flow-steps li::before {
    counter-increment: flow;
    content: counter(flow);
    position: absolute;
    left: 0.85rem;
    top: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background: #005AAC;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.docs-subsection {
    margin-top: 1.5rem;
}

.docs-subsection h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .docs-main {
        padding: 90px 0 40px;
    }

    .docs-header h1 {
        font-size: 1.5rem;
    }

    .docs-intro {
        font-size: 1rem;
    }

    .docs-code {
        font-size: 0.8rem;
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .docs-api-table article {
        padding: 1.25rem;
    }

    .docs-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }

    .docs-breadcrumb {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .docs-topics-grid,
    .deploy-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .docs-main h2 {
        font-size: 1.25rem;
    }

    .docs-header h1 {
        font-size: 1.35rem;
    }
}
