:root {
    --navy: #071A40;
    --primary: #18D5D1;
    --primary-dark: #00B8C4;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg-soft: #f8fafc;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background: #fff;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.site-header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    z-index: 10;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    position: relative;
    top: 6px;
}

.brand span {
    color: var(--primary);
}

.site-nav a {
    margin-left: 24px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: #fff;
    border-color: var(--border);
    color: var(--navy);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    text-decoration: none;
}
.site-nav .github-btn,
.site-nav .github-star-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
}

.site-nav .github-btn {
    background: #24292f;
    border: 1px solid #24292f;
    color: #fff;
}

.site-nav .github-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.site-nav .github-star-btn {
    background: #fff;
    border: 1px solid #d0d7de;
    color: #24292f;
}

.site-nav .github-star-btn:hover {
    background: #f6f8fa;
    border-color: #afb8c1;
    color: #24292f;
}

.site-nav .github-btn i {
    font-size: 17px;
}

.site-nav .github-star-btn i {
    color: #e3b341;
    font-size: 14px;
}

@media (max-width: 768px) {
    .site-nav .github-btn,
    .site-nav .github-star-btn {
        padding: 7px 10px;
    }
}

/* Hero */
.hero {
    padding: 96px 0 64px;
    text-align: center;
}

.hero h1 {
    font-size: 44px;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hero p.lead {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 30px;
    margin: 0 0 8px;
}

.section-title p {
    color: var(--muted);
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    background: var(--bg-soft);
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(33, 102, 239, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.steps-list li {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.steps-list li:before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.cta {
    text-align: center;
    background: var(--navy);
    color: #fff;
    border-radius: 16px;
    padding: 56px 24px;
}

.cta h2 {
    margin: 0 0 12px;
}

.cta p {
    color: #cbd5e1;
    margin: 0 0 24px;
}

/* Our Products */
.product__section {
    padding: 64px 0;
}

.product__section.bg-color {
    background: var(--bg-soft);
}

.product__section .row {
    display: flex;
    flex-wrap: wrap;
}

.product__section .col-12 {
    width: 100%;
}

.section__title.text-center {
    text-align: center;
    margin-bottom: 40px;
}

.section__title .title {
    font-size: 30px;
    margin: 0 0 8px;
}

.section__title .desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

.product__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product__item .avatar img {
    max-width: 100%;
    height: 31px;
    width: auto;
}
.product__content .content {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    flex: 1;
}

.solid__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
    width: fit-content;
}

.solid__btn i {
    font-size: 12px;
    transition: transform 0.15s ease;
}

.solid__btn:hover {
    text-decoration: none;
}

.solid__btn:hover i {
    transform: translateX(3px);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

/* Docs layout */
.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    /* padding: 48px 0 96px; */
}

.docs-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.docs-sidebar h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 0 0 8px;
}

.docs-sidebar ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.docs-sidebar li a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.docs-sidebar li a:hover {
    color: var(--navy);
    text-decoration: none;
}

.docs-content h1 {
    font-size: 34px;
    margin-top: 0;
}

.docs-content h2 {
    margin-top: 48px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.docs-content pre {
    background: var(--navy);
    color: #e2e8f0;
    padding: 18px 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
}

.docs-content code {
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.docs-content pre code {
    background: none;
    padding: 0;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.docs-content th,
.docs-content td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
}

.docs-content th {
    background: var(--bg-soft);
}

@media (max-width: 860px) {
    .grid,
    .steps-list,
    .product__wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .grid,
    .steps-list,
    .product__wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .site-nav a {
        margin-left: 12px;
    }
}
