/* @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600&display=swap");

:root {
    --bg: #020617;
    --bg-alt: #020617;
    --surface: #020617;
    --surface-alt: #020617;
    --card-bg: #020617;
    --accent: #3b82f6;
    --accent-strong: #f218e9;
    --accent-soft: #f218e977;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2937;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.95);
    --max-width: 1400px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    --bs-heading-color: var(--text-main) !important;
}

* {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: poppins;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%) fixed;
    scroll-behavior: smooth;
}

body {
    position: relative;
    line-height: 1.6;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    padding: 80px 0;
    position: relative;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 640px;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.96);
    /* backdrop-filter: blur(14px); */
    border-bottom: 1px solid rgba(30, 64, 175, 0.35) !important;
}

.offcanvas-header .btn-close {
    padding: 12px !important;
}

.offcanvas,
.offcanvas .dropdown-menu {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
}

.offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(30, 64, 175, 0.35) !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 100px 0px rgba(37, 99, 235, 0.8);
}

.logo-icon img {
    width: 100%;
    height: 100%;
}

.logo-text-wrap {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: -3px;
}

.logo-title {
    position: relative;
    width: 100%;
    display: block;
    font-weight: 700;
    line-height: 1.4;
    font-size: 25px;
    text-align: left;
}

.logo-subtitle {
    font-size: 0.78rem;
    line-height: 1;
    color: var(--text-muted);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-link,
.nav-item.dropdown {
    color: var(--text-muted);
    text-decoration: none;
    padding: 13px 15px !important;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 10px;
}

.nav-link::after {
    margin-left: 10px;
    margin-top: 3px;
    font-size: 18px;
    line-height: 0;
}

.offcanvas .dropdown-menu .nav-link {
    padding: 13px 20px !important;
    border-radius: 0 !important;
}

.dropdown-menu[data-bs-popper],
.nav-item.dropdown {
    padding: 0 !important;
}
.dropdown-menu[data-bs-popper] {
    width: 300px;
    border-radius: 20px !important;
    overflow: hidden;
}
.offcanvas.show .dropdown-menu[data-bs-popper] {
    width: 100%;
}

.nav-link:hover,
.nav-link.show {
    background: rgba(225, 225, 225, 0.1);
    color: var(--text-main);
}

.nav-link.active {
    color: var(--accent-strong) !important;
    /* background: rgba(225, 225, 225, 0.1); */
    font-weight: bold;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px !important;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 100px 0px rgba(37, 99, 235, 0.8);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent);
}

.btn-ghost {
    background: rgba(9, 16, 34, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: none;
}

.btn-ghost:hover {
    background: white;
    color: #020617;
    border-color: rgba(148, 163, 184, 0.9);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 12px 22px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    padding: 80px 0 70px;
    overflow: hidden;
}

.hero-bg-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.45),
        transparent 60%
    );
    top: -120px;
    right: -80px;
    opacity: 0.7;
}

.hero-bg-orbit.orbit-2 {
    width: 420px;
    height: 420px;
    left: -160px;
    bottom: -160px;
    background: radial-gradient(
        circle,
        rgba(236, 72, 153, 0.35),
        transparent 60%
    );
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.hero h1 {
    font-size: 2.65rem;
    line-height: 1.1;
    margin: 10px 0 12px;
}

.hero-subtitle {
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 22px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 18px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    margin-left: -7px;
}
.avatar-circle:first-child {
    margin-left: 0;
}

/* Hero visual monitor */
.hero-visual {
    position: relative;
}

.hero-monitor {
    background: radial-gradient(circle at top, #111827, #020617);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 64, 175, 0.6);
    overflow: hidden;
}

.monitor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.monitor-title {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}
.dot.red {
    background: #f97373;
}
.dot.yellow {
    background: #facc15;
}
.dot.green {
    background: #4ade80;
}

.monitor-main {
    display: flex;
    flex-flow: column;
    gap: 14px;
    padding: 12px 14px 16px;
}

.monitor-left {
    font-size: 0.86rem;
}

.toolbar-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.toolbar-chips span {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(15, 23, 42, 0.9);
}

.timeline {
    position: relative;
    margin: 16px 0 8px;
}

.timeline-bar {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #eab308);
    width: 90%;
}

.timeline-dot {
    position: absolute;
    top: -4px;
    left: 60%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #eab308;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
}

.recording-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.9);
    border: 1px solid rgba(234, 179, 8, 0.7);
    font-size: 0.78rem;
    margin-top: 8px;
}

.record-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
}

.monitor-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-illustration {
    width: 100%;
    max-width: 220px;
}

/* Floating card */
.hero-floating-card {
    position: absolute;
    right: 10px;
    bottom: -22px;
    transform: translateY(50%);
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    padding: 10px 13px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
    max-width: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}
.hero-floating-card .mini-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #22c55e;
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 22px;
}

.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */
.card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid rgba(31, 41, 55, 0.95);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* Steps */
.steps-grid .card {
    position: relative;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Feature cards */
.feature-card {
    position: relative;
    color: var(--text-main);
    text-decoration: NONE;
}
.feature-card > p {
    position: relative;
    color: var(--text-muted);
    text-decoration: NONE;
}
.feature-card > span {
    position: relative;
    color: var(--accent);
    text-decoration: NONE;
}

.feature-link {
    cursor: pointer;
    transition: 0.3s;
}

.feature-link:hover {
    transform: scale(1.04);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: radial-gradient(
        circle at top,
        rgba(59, 130, 246, 0.4),
        #020617
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

/* Personas */
.personas .persona-card ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid .gallery-card {
    padding: 0;
    overflow: hidden;
}

.gallery-tag {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    color: var(--text-muted);
}

.gallery-screen {
    background: radial-gradient(circle at top left, #111827, #020617);
    padding: 12px;
}

.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.gallery-toolbar span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(31, 41, 55, 0.95);
}

.gallery-body {
    border-radius: 14px;
    background: #020617;
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 12px;
}

/* screenshot body */
.screenshot-body {
    position: relative;
    min-height: 120px;
    background: radial-gradient(
        circle at top,
        rgba(59, 130, 246, 0.2),
        #020617
    );
}

.screenshot-box {
    position: absolute;
    top: 22px;
    left: 24px;
    width: 120px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(249, 115, 22, 0.85);
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-label {
    font-size: 0.8rem;
    color: #fed7aa;
}

.screenshot-arrow {
    position: absolute;
    bottom: -18px;
    right: -22px;
    width: 30px;
    height: 30px;
    border-left: 3px solid #f97316;
    border-bottom: 3px solid #f97316;
    transform: rotate(-30deg);
}

.screenshot-code {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 120px;
    height: 40px;
    border-radius: 10px;
    background: #020617;
    box-shadow: inset 0 0 0 1px rgba(31, 41, 55, 0.9);
}

/* video body */
.video-body {
    display: block;
    /* grid-template-columns: 1.3fr 1fr;
  gap: 10px; */
}

.gallery-status {
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.video-window {
    border-radius: 10px;
    height: 110px;
    background: linear-gradient(135deg, #0f172a, #1f2937);
}

.video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.76rem;
}

.video-step {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
}
.video-step.active {
    background: var(--accent-soft);
    color: var(--text-main);
}

/* share body */
.share-body {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-link-box {
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(59, 130, 246, 0.5);
    padding: 10px 12px;
    font-size: 0.8rem;
}

.share-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.share-link-row {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
}

.share-link-row span {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.share-copy-btn {
    border-radius: 999px;
    padding: 4px 10px;
    border: none;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
}

.share-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
}

.share-destinations span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.9);
}

/* Comparisons */
.comparison {
    margin-bottom: 42px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    margin: 12px 0 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

th {
    text-align: left;
    background: rgba(15, 23, 42, 0.96);
}

tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.72);
}

/* Pricing */
.pricing-grid {
    align-items: stretch;
}

.pricing-card {
    position: relative;
}

.price {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 6px 0 10px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 16px;
    font-size: 0.95rem;
}

.pricing-card ul li {
    margin-bottom: 6px;
}

.pricing-card-highlight {
    border-color: var(--accent);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.6);
}

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    margin-bottom: 6px;
}

/* Download */
.download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.download-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* Blog */
.blog-grid {
    margin-bottom: 32px;
}

.blog-card h3 {
    margin-top: 0;
}

.blog-card a {
    color: var(--text-main);
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

.blog-readmore {
    font-size: 0.9rem;
    color: var(--accent);
}

.blog-article {
    margin-top: 40px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid var(--border-subtle);
    font-size: 0.96rem;
}

/* Contact */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.contact-form input {
    flex: 1 1 200px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-main);
}

.contact-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-floating-card {
        position: static;
        transform: none;
        margin-top: 14px;
    }

    .hero {
        padding-top: 70px;
    }

    .four-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .three-cols,
    .two-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        right: 16px;
        background: rgba(15, 23, 42, 0.98);
        padding: 12px 16px;
        border-radius: 14px;
        flex-direction: column;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .section,
    .section-alt {
        padding: 64px 0;
    }

    .four-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Blog layout with sidebar Table of Contents */
.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
    gap: 24px;
}

.blog-sidebar {
    align-self: flex-start;
    position: sticky;
    top: 90px;
    font-size: 0.9rem;
}

.blog-toc-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.blog-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-toc li {
    margin-bottom: 6px;
}

.blog-toc a {
    color: var(--text-muted);
    text-decoration: none;
}

.blog-toc a:hover {
    color: var(--text-main);
}

/* Narrow screens: sidebar below content */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .blog-sidebar {
        position: static;
        margin-top: 24px;
        order: 2;
    }
}
/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

/* Blog meta (author + date) */
.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 16px;
}

.blog-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--border-subtle);
}
.video-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    object-fit: cover;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 18px 24px;
    background: #020617;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    font-size: 15px;
    color: #6b7280;
    text-align: left;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-left p,
.footer-right p {
    margin: 0;
    padding: 0;
}

.footer-subline {
    margin-top: 0.2rem;
    color: #9ca3af;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-label {
    color: #9ca3af;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.45);
}

.social-icon {
    width: 100%;
    height: 100%;
    padding: 6px;
    filter: brightness(1) invert(1);
}

/* Footer responsive */
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* === Documentation layout (Terms, Privacy, etc.) === */

.page-doc {
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%) fixed;
    min-height: 100vh;
}

.doc-shell {
    margin: 0 auto;
    padding: 96px 20px 72px;
}

.doc-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.doc-title-group {
    background-color: var(--border-subtle);
}

.doc-title-group h1 {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.doc-title-group p {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.doc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.96);
    color: #9ca3af;
    font-size: 0.75rem;
}

.doc-pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #22c55e, #16a34a);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
    gap: 32px;
}

.doc-toc {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.95);
    background: radial-gradient(
        circle at top left,
        rgba(15, 23, 42, 0.98),
        #020617
    );
    position: sticky;
    top: 100px;
    height: fit-content;
    overflow: hidden;
}

.doc-toc h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 15px 20px;
    color: #9ca3af;
    text-align: center;
    background-color: var(--border-subtle);
}

.doc-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-position: outside;
}

.doc-toc li a {
    text-decoration: none;
    color: #cbd5f5;
    transition: 0.3s;
}

.doc-toc li {
    padding: 15px 20px;
    transition: 0.3s;
    font-size: 15px;
    text-decoration: none;
    opacity: 0.8;
}

.doc-toc li:hover {
    opacity: 1;
}

.doc-toc li.active {
    font-weight: 600;
    background-color: var(--border-subtle);
}
.doc-toc li.active a {
    font-weight: 600;
    color: var(--accent-strong) !important;
}

.doc-content {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.95);
    background: radial-gradient(
        circle at top left,
        rgba(15, 23, 42, 0.97),
        #020617
    );
    padding: 22px 22px 26px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.95);
}

.doc-section + .doc-section {
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    margin-top: 18px;
}

.doc-section {
    padding: 30px;
    min-height: 300px;
}

.doc-section h2 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 8px;
    color: #e2e8f0;
}

.doc-section p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
    color: #9ca3af;
}

.doc-section ul {
    margin: 4px 0 10px 18px;
    padding: 0;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.7;
}

.doc-section li + li {
    margin-top: 4px;
}

.doc-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .doc-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .doc-toc {
        position: static;
        order: 2;
    }
}

/* === Scroll reveal animation (slow + smooth) === */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(6px);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.9s ease-out;
    will-change: opacity, transform, filter;
}

/* When visible */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Optional: small stagger via data-delay */
.reveal-on-scroll[data-reveal-delay="1"] {
    transition-delay: 0.15s;
}
.reveal-on-scroll[data-reveal-delay="2"] {
    transition-delay: 0.3s;
}
.reveal-on-scroll[data-reveal-delay="3"] {
    transition-delay: 0.45s;
}

/* === Smooth scroll reveal (slow, premium) === */

[data-reveal] {
    opacity: 0;
    transform: translateY(80px) scale(0.98);
    filter: blur(10px);
    transition:
        opacity 1.05s ease-out,
        transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 1.05s ease-out;
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform, filter;
}

/* When it should be visible */
[data-reveal].reveal-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.disabled-hint {
    color: #9ca3af !important;
}

.color-hint {
    color: #e5e7eb !important;
}

.component-loader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2025;
}
.component-loader.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.link,
a {
    text-decoration: underline;
    color: var(--accent);
    cursor: pointer;
}

.text-justify {
    text-align: justify;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
}

.navbar-toggler {
    padding: 5px 10px;
}

.error {
    color: red;
    font-size: 13px !important;
}
