:root {
    --primary-bg: #0B0F19;
    --secondary-bg: #161C2A;
    --accent-primary: #00F0FF;
    --accent-secondary: #8A2BE2;
    --text-primary-dark-bg: #FFFFFF;
    --text-secondary-dark-bg: #94A3B8;
    --text-muted-dark-bg: #64748B;
    --border-color: #2E3A4F;
    --card-background: #1E293B;
    --headings-font: 'Space Grotesk', sans-serif;
    --body-font: 'Inter', sans-serif;
    --code-font: 'JetBrains Mono', monospace;
}

body.queryintent-dark-theme {
    background-color: var(--primary-bg);
    color: var(--text-primary-dark-bg);
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.text-muted {
    color: var(--text-secondary-dark-bg) !important;
}

.qi-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===== header ===== */
.queryintent-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #2E3A4F;
}

.queryintent-header .navbar {
    background-color: #0B0F19 !important;
    padding: 1rem 0;
}

.queryintent-header .queryintent-logo-img {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.queryintent-header .queryintent-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.queryintent-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #94A3B8 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.15s ease-in-out;
}

.queryintent-header .nav-link:hover,
.queryintent-header .nav-link:focus,
.queryintent-header .nav-link.active {
    color: #00F0FF !important;
}

.queryintent-header .navbar-toggler {
    border: 1px solid #2E3A4F;
    background-color: #161C2A;
    padding: 0.5rem;
    border-radius: 8px;
}

.queryintent-header .queryintent-menu-icon {
    color: #00F0FF;
    font-size: 1.5rem;
    display: block;
}

.queryintent-header .dropdown-menu {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.queryintent-header .dropdown-item {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.queryintent-header .dropdown-item:hover,
.queryintent-header .dropdown-item:focus,
.queryintent-header .dropdown-item.active {
    background-color: #2E3A4F;
    color: #00F0FF;
}

.queryintent-header .queryintent-cta-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    transition: background-color 0.15s;
}

.queryintent-header .queryintent-cta-btn:hover,
.queryintent-header .queryintent-cta-btn:focus {
    background-color: #00D8E6;
    color: #0B0F19;
}

@media (max-width: 991.98px) {
    .queryintent-header .navbar-collapse {
        background-color: #0B0F19;
        padding: 1.5rem 0 1rem 0;
    }

    .queryintent-header .queryintent-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .queryintent-header .dropdown-menu {
        background-color: #0B0F19;
        border: none;
        border-left: 2px solid #2E3A4F;
        border-radius: 0;
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
}

/* ===== hero ===== */
.query-hero-section {
    background-color: #0B0F19;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.query-hero-section .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.query-hero-section .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

@media (max-width: 767.98px) {
    .query-hero-section .hero-title {
        font-size: 2.25rem;
    }
}

.query-hero-section .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94A3B8;
}

.query-hero-section .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s ease;
}

.query-hero-section .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-hero-section .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-hero-section .btn-secondary-pill:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-hero-section .code-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.query-hero-section .code-card-header {
    background-color: #0F131E;
    padding: 16px 24px;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.query-hero-section .dot.red {
    background-color: #FF5F56;
}

.query-hero-section .dot.yellow {
    background-color: #FFBD2E;
}

.query-hero-section .dot.green {
    background-color: #27C93F;
}

.query-hero-section .code-tab-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.query-hero-section .code-tab-btn.active {
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.1);
}

.query-hero-section .code-card-body {
    padding: 24px;
    background-color: #090D16;
}

.query-hero-section pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
}

.query-hero-section .token-keyword {
    color: #8A2BE2;
    font-weight: 600;
}

.query-hero-section .token-function {
    color: #00F0FF;
}

.query-hero-section .token-string {
    color: #27C93F;
}

.query-hero-section .token-comment {
    color: #64748B;
    font-style: italic;
}

.query-hero-section .token-plan-node {
    color: #94A3B8;
}

/* ===== niche-mistakes ===== */
.query-mistakes-section {
    background-color: #0B0F19;
    padding-top: 120px;
    padding-bottom: 120px;
}

.query-mistakes-section .mistake-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.query-mistakes-section .mistake-card:hover {
    border-color: #00F0FF;
    background-color: #243249;
}

.query-mistakes-section .btn-tab {
    background-color: transparent;
    color: #94A3B8;
    border: 1px solid #2E3A4F;
    border-radius: 100px;
    padding: 10px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.query-mistakes-section .btn-tab.active,
.query-mistakes-section .btn-tab:hover {
    background-color: #00F0FF;
    color: #0B0F19;
    border-color: #00F0FF;
}

.query-mistakes-section .btn-primary-custom {
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    transition: background-color 0.15s ease-in-out;
}

.query-mistakes-section .btn-primary-custom:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-mistakes-section .btn-secondary-custom {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #2E3A4F;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.query-mistakes-section .btn-secondary-custom:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-mistakes-section .image-wrapper img {
    transition: transform 0.2s ease-in-out;
}

.query-mistakes-section .mistake-card:hover .image-wrapper img {
    transform: scale(1.02);
}

/* ===== scope-of-work ===== */
.scope-section {
    background-color: #0B0F19;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

.scope-section .scope-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.scope-section .scope-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    line-height: 1.6;
}

.scope-section .scope-tabs-container {
    margin-bottom: 2rem;
}

.scope-section .scope-tab-btn {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
}

.scope-section .scope-tab-btn:hover {
    border-color: #00F0FF;
    background-color: #1E293B;
}

.scope-section .scope-tab-btn.active {
    background-color: #00F0FF;
    color: #0B0F19;
    border-color: #00F0FF;
}

.scope-section .scope-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    padding: 40px;
    transition: border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.scope-section .scope-card:hover {
    border-color: #00F0FF;
}

.scope-section .scope-card-excluded:hover {
    border-color: #8A2BE2;
}

.scope-section .scope-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.scope-section .icon-included {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
}

.scope-section .icon-excluded {
    background-color: rgba(138, 43, 226, 0.1);
    color: #8A2BE2;
}

.scope-section .scope-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
}

.scope-section .badge-included {
    background-color: rgba(0, 240, 255, 0.15);
    color: #00F0FF;
}

.scope-section .badge-excluded {
    background-color: rgba(138, 43, 226, 0.15);
    color: #8A2BE2;
}

.scope-section .scope-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.scope-section .scope-card-desc {
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.5;
}

.scope-section .scope-list {
    list-style: none;
}

.scope-section .scope-list-item strong {
    color: #FFFFFF;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 2px;
}

.scope-section .scope-list-text {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.4;
}

.scope-section .text-cyan {
    color: #00F0FF !important;
    font-size: 1.5rem;
}

.scope-section .text-purple {
    color: #8A2BE2 !important;
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    .scope-section .scope-title {
        font-size: 1.75rem;
    }

    .scope-section .scope-card {
        padding: 24px;
    }
}

/* ===== key-benefits ===== */
.why-review-intent {
    background-color: #0B0F19;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    padding-top: 120px;
    padding-bottom: 120px;
}

.why-review-intent .accent-text {
    color: #00F0FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.why-review-intent h2.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 8px;
    margin-bottom: 16px;
}

.why-review-intent p.section-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    max-width: 700px;
    line-height: 1.6;
}

.why-review-intent .benefit-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    padding: 40px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.why-review-intent .benefit-card:hover {
    border-color: #00F0FF;
    background-color: #161C2A;
}

.why-review-intent .benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00F0FF;
    font-size: 1.75rem;
}

.why-review-intent .benefit-card:hover .benefit-icon-wrapper {
    background-color: #0B0F19;
    border-color: #00F0FF;
}

.why-review-intent h3.benefit-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.why-review-intent .benefit-card-text {
    font-size: 1rem;
    color: #94A3B8;
    line-height: 1.6;
}

.why-review-intent .benefit-code-preview {
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 12px 16px;
}

.why-review-intent .benefit-code-preview code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #8A2BE2;
}

.why-review-intent .benefit-card:hover .benefit-code-preview {
    border-color: #00F0FF;
}

.why-review-intent .benefit-card:hover .benefit-code-preview code {
    color: #00F0FF;
}

@media (max-width: 767.98px) {
    .why-review-intent {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .why-review-intent h2.section-title {
        font-size: 16px !important;
        hyphens: auto;
    }

    .why-review-intent h3.benefit-card-title {
        font-size: 14px !important;
        hyphens: auto;
    }

    .why-review-intent .benefit-card {
        padding: 24px;
    }
}

/* ===== main-materials ===== */
.core-materials-section {
    background-color: #0B0F19;
    padding: 120px 0;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .core-materials-section {
        padding: 60px 0;
    }
}

.core-materials-section .section-header {
    margin-bottom: 60px;
}

.core-materials-section .core-materials-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.core-materials-section .core-materials-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.core-materials-section .controls-wrapper {
    margin-bottom: 48px;
    gap: 24px;
}

.core-materials-section .search-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.core-materials-section .search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 20px;
}

.core-materials-section .js-search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.core-materials-section .js-search-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.core-materials-section .js-search-input:focus {
    border-color: #00F0FF;
}

.core-materials-section .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.core-materials-section .js-filter-btn {
    background-color: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.core-materials-section .js-filter-btn:hover {
    border-color: #00F0FF;
    color: #FFFFFF;
}

.core-materials-section .js-filter-btn.active {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #0B0F19;
}

.core-materials-section .materials-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.core-materials-section .material-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
}

.core-materials-section .material-card:hover {
    border-color: #00F0FF;
    background-color: #24354F;
}

.core-materials-section .card-img-link {
    display: block;
    width: 320px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.core-materials-section .card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.core-materials-section .material-card:hover .card-img-link img {
    transform: scale(1.03);
}

.core-materials-section .card-content {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.core-materials-section .card-category {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #00F0FF;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

.core-materials-section .material-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.3;
}

.core-materials-section .material-card-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.core-materials-section .material-card-title a:hover {
    color: #00F0FF;
}

.core-materials-section .material-card-desc {
    font-size: 1.05rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.core-materials-section .card-action {
    display: flex;
    align-items: center;
}

.core-materials-section .btn-read-chapter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #2E3A4F;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.core-materials-section .btn-read-chapter i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.core-materials-section .btn-read-chapter:hover {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #0B0F19;
}

.core-materials-section .btn-read-chapter:hover i {
    transform: translateX(4px);
}

.core-materials-section .no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background-color: #1E293B;
    border: 1px dashed #2E3A4F;
    border-radius: 24px;
}

.core-materials-section .no-results i {
    font-size: 48px;
    color: #64748B;
    margin-bottom: 16px;
}

.core-materials-section .no-results h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.core-materials-section .no-results p {
    color: #94A3B8;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .core-materials-section .card-img-link {
        width: 240px;
    }

    .core-materials-section .card-content {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .core-materials-section .material-card {
        flex-direction: column;
    }

    .core-materials-section .card-img-link {
        width: 100%;
        height: 200px;
    }

    .core-materials-section .card-content {
        padding: 24px;
    }

    .core-materials-section .core-materials-title {
        font-size: 16px !important;
    }

    .core-materials-section .core-materials-subtitle {
        font-size: 14px;
    }

    .core-materials-section .material-card-title {
        font-size: 14px !important;
    }

    .core-materials-section .material-card-desc {
        font-size: 13px;
    }

    .core-materials-section .js-filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ===== example-material ===== */
.query-intent-dilemma {
    background-color: #0B0F19;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.query-intent-dilemma .dilemma-badge {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
    border: 1px solid #00F0FF;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.query-intent-dilemma .dilemma-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.query-intent-dilemma .dilemma-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #94A3B8;
}

.query-intent-dilemma .dilemma-btn-primary {
    background-color: #00F0FF;
    color: #0B0F19;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.query-intent-dilemma .dilemma-btn-primary:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-intent-dilemma .dilemma-btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-intent-dilemma .dilemma-btn-secondary:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-intent-dilemma .dilemma-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #2E3A4F;
    background: #161C2A;
}

.query-intent-dilemma .dilemma-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.query-intent-dilemma .interactive-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    padding: 32px;
    transition: border-color 0.2s ease;
}

.query-intent-dilemma .interactive-card:hover {
    border-color: #00F0FF;
}

.query-intent-dilemma .card-title-custom {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.query-intent-dilemma .group-label {
    display: block;
    color: #8A2BE2;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.query-intent-dilemma .custom-radio-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.query-intent-dilemma .radio-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 12px 16px;
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-intent-dilemma .radio-container:hover {
    border-color: #00F0FF;
    background-color: rgba(22, 28, 42, 0.8);
}

.query-intent-dilemma .radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.query-intent-dilemma .radio-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #2E3A4F;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
}

.query-intent-dilemma .radio-container input:checked~.radio-checkmark {
    border-color: #00F0FF;
}

.query-intent-dilemma .radio-checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00F0FF;
}

.query-intent-dilemma .radio-container input:checked~.radio-checkmark::after {
    display: block;
}

.query-intent-dilemma .radio-container input:checked~.radio-text strong {
    color: #00F0FF;
}

.query-intent-dilemma .radio-text {
    display: flex;
    flex-direction: column;
}

.query-intent-dilemma .radio-text strong {
    color: #FFFFFF;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.query-intent-dilemma .radio-desc {
    color: #94A3B8;
    font-size: 0.8rem;
    margin-top: 2px;
}

.query-intent-dilemma .sql-badge {
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 4px 12px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.query-intent-dilemma .code-block-wrapper {
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 24px;
    overflow-x: auto;
}

.query-intent-dilemma pre {
    margin: 0;
}

.query-intent-dilemma code {
    font-family: 'JetBrains Mono', monospace;
    color: #00F0FF;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre;
}

.query-intent-dilemma .meaning-box {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 20px;
}

.query-intent-dilemma .meaning-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    color: #FFFFFF;
    font-weight: 600;
}

.query-intent-dilemma .meaning-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.query-intent-dilemma .dilemma-meta-label {
    font-size: 0.8rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-right: 8px;
}

.query-intent-dilemma .dilemma-meta-val {
    font-size: 0.85rem;
    color: #00F0FF;
    font-weight: 600;
}

@media (max-width: 768px) {
    .query-intent-dilemma .dilemma-heading {
        font-size: 2rem;
    }

    .query-intent-dilemma .interactive-card {
        padding: 20px;
    }
}

/* ===== review-questions ===== */
.review-questions-section {
    background-color: #0B0F19;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.review-questions-section .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #FFFFFF;
}

.review-questions-section .section-subtitle {
    color: #94A3B8;
    font-size: 1.125rem;
    line-height: 1.6;
}

.review-questions-section .progress-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 20px;
}

.review-questions-section .progress-label {
    font-size: 0.875rem;
    color: #94A3B8;
    font-weight: 500;
}

.review-questions-section .progress-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    color: #00F0FF;
    font-weight: 600;
}

.review-questions-section .progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #2E3A4F;
    border-radius: 100px;
    overflow: hidden;
}

.review-questions-section .progress-bar-fill {
    height: 100%;
    background-color: #00F0FF;
    border-radius: 100px;
    transition: width 0.3s ease;
}

.review-questions-section .filter-tabs-wrapper {
    border-bottom: 1px solid #2E3A4F;
    padding-bottom: 16px;
}

.review-questions-section .filter-tab-btn {
    background: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.review-questions-section .filter-tab-btn:hover {
    border-color: #00F0FF;
    color: #FFFFFF;
}

.review-questions-section .filter-tab-btn.active {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #0B0F19;
}

.review-questions-section .question-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    transition: border-color 0.2s ease;
}

.review-questions-section .question-card:hover {
    border-color: #00F0FF;
}

.review-questions-section .question-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #00F0FF;
    line-height: 1;
}

.review-questions-section .verify-action-btn {
    background-color: transparent;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.review-questions-section .verify-action-btn:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
}

.review-questions-section .verify-action-btn.verified {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #0B0F19;
}

.review-questions-section .question-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
}

.review-questions-section .question-description {
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.6;
}

.review-questions-section .intent-warning {
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 3px solid #8A2BE2;
    border-radius: 8px;
    color: #E2E8F0;
    font-size: 0.925rem;
}

.review-questions-section .question-code-panel {
    flex-shrink: 0;
    width: 100%;
    max-width: 480px;
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .review-questions-section .question-code-panel {
        max-width: 100%;
    }
}

.review-questions-section .code-header {
    background-color: #111827;
    border-bottom: 1px solid #2E3A4F;
    font-size: 0.8rem;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
}

.review-questions-section .code-lang {
    color: #00F0FF;
    font-weight: 600;
}

.review-questions-section .code-block {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #E2E8F0;
    overflow-x: auto;
    white-space: pre;
}

/* ===== basics-grid ===== */
.query-intent-basics {
    background-color: #0B0F19;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    padding-top: 120px;
    padding-bottom: 120px;
}

.query-intent-basics .qib-badge {
    font-family: 'Space Grotesk', sans-serif;
    color: #00F0FF;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.query-intent-basics .qib-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

.query-intent-basics .qib-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
    line-height: 1.6;
}

.query-intent-basics .qib-search-wrapper {
    position: relative;
}

.query-intent-basics .qib-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.25rem;
}

.query-intent-basics .qib-search-input {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    color: #FFFFFF;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.query-intent-basics .qib-search-input:focus {
    background-color: #161C2A;
    border-color: #00F0FF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
    color: #FFFFFF;
}

.query-intent-basics .qib-search-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.query-intent-basics .qib-search-input:-ms-input-placeholder {
    color: #64748B;
}

.query-intent-basics .qib-search-input::-ms-input-placeholder {
    color: #64748B;
}

.query-intent-basics .qib-filter-btn {
    font-family: 'Space Grotesk', sans-serif;
    background-color: transparent;
    border: 2px solid #2E3A4F;
    color: #FFFFFF;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.query-intent-basics .qib-filter-btn:hover {
    border-color: #00F0FF;
    color: #00F0FF;
}

.query-intent-basics .qib-filter-btn.active {
    background-color: #00F0FF;
    border-color: #00F0FF;
    color: #0B0F19;
}

.query-intent-basics .qib-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-intent-basics .qib-card:hover {
    border-color: #00F0FF;
}

.query-intent-basics .qib-img-link {
    display: block;
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.query-intent-basics .qib-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.query-intent-basics .qib-card:hover .qib-card-img {
    transform: scale(1.02);
}

.query-intent-basics .qib-card-body {
    padding: 48px;
}

.query-intent-basics .qib-card-meta {
    font-size: 0.875rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.query-intent-basics .qib-separator {
    color: #64748B;
}

.query-intent-basics .qib-category-badge {
    background-color: rgba(138, 43, 226, 0.2);
    color: #C084FC;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.query-intent-basics .qib-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
}

.query-intent-basics .qib-card-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.query-intent-basics .qib-card-title a:hover {
    color: #00F0FF;
}

.query-intent-basics .qib-card-text {
    color: #94A3B8;
    font-size: 1.125rem;
    line-height: 1.6;
}

.query-intent-basics .qib-btn-primary {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    background-color: #00F0FF;
    color: #0B0F19;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.query-intent-basics .qib-btn-primary:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

@media (max-width: 991.98px) {
    .query-intent-basics .qib-img-link {
        height: 240px;
    }

    .query-intent-basics .qib-card-body {
        padding: 32px;
    }

    .query-intent-basics .qib-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .query-intent-basics {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .query-intent-basics .qib-title {
        font-size: 1.75rem;
    }

    .query-intent-basics .qib-subtitle {
        font-size: 1rem;
    }

    .query-intent-basics .qib-card-title {
        font-size: 1.35rem;
    }

    .query-intent-basics .qib-card-text {
        font-size: 1rem;
    }
}

/* ===== cases-grid ===== */
.query-cases-section {
    background-color: #0B0F19;
    padding-top: 120px;
    padding-bottom: 120px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .query-cases-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.query-cases-section .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .query-cases-section .section-title {
        font-size: 2rem;
    }
}

.query-cases-section .text-accent-primary {
    color: #00F0FF;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-family: 'Space Grotesk', sans-serif;
}

.query-cases-section .text-secondary {
    color: #94A3B8;
}

.query-cases-section .search-input-group .form-control {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 16px 12px 45px;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.query-cases-section .search-input-group .form-control:focus {
    border-color: #00F0FF;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
    background-color: #161C2A;
    color: #FFFFFF;
}

.query-cases-section .search-input-group .form-control::placeholder {
    color: #64748B;
    opacity: 1;
}

.query-cases-section .search-icon {
    font-size: 1.25rem;
    color: #64748B;
}

.query-cases-section .btn-filter {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    border-radius: 100px;
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #2E3A4F;
    transition: all 0.2s ease;
}

.query-cases-section .btn-filter:hover {
    border-color: #00F0FF;
    color: #00F0FF;
}

.query-cases-section .btn-filter.active {
    background-color: #00F0FF;
    color: #0B0F19;
    border-color: #00F0FF;
}

.query-cases-section .case-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-cases-section .case-card:hover {
    border-color: #00F0FF;
    background-color: #161C2A;
}

.query-cases-section .case-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.query-cases-section .case-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.query-cases-section .case-card:hover .case-card-img {
    transform: scale(1.03);
}

.query-cases-section .badge-tag {
    background-color: rgba(138, 43, 226, 0.85);
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.query-cases-section .case-card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #64748B;
    display: block;
}

.query-cases-section .case-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.query-cases-section .case-card-title a {
    transition: color 0.2s ease;
}

.query-cases-section .case-card-title a:hover {
    color: #00F0FF !important;
}

.query-cases-section .case-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.query-cases-section .btn-case-action {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.query-cases-section .btn-case-action:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

/* ===== trust-copy ===== */
.query-intent-trust-block {
    background-color: #0B0F19;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

.query-intent-trust-block .trust-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    transition: border-color 0.2s ease;
}

.query-intent-trust-block .trust-card:hover {
    border-color: #00F0FF;
}

.query-intent-trust-block .trust-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 50%;
    color: #00F0FF;
    font-size: 2.5rem;
}

.query-intent-trust-block .trust-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

.query-intent-trust-block .trust-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #94A3B8;
}

.query-intent-trust-block .trust-link-item {
    color: #00F0FF;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.query-intent-trust-block .trust-link-item:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ===== footer ===== */
.queryintent-footer {
    background-color: #0B0F19;
    border-top: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
}

.queryintent-footer .footer-brand-name {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.queryintent-footer .footer-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.queryintent-footer .footer-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.queryintent-footer .footer-section-title {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.queryintent-footer .footer-links li,
.queryintent-footer .footer-contact-list li {
    margin-bottom: 0.75rem;
}

.queryintent-footer .footer-links a,
.queryintent-footer .footer-contact-list a,
.queryintent-footer .footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.queryintent-footer .footer-links a:hover,
.queryintent-footer .footer-contact-list a:hover,
.queryintent-footer .footer-legal-links a:hover {
    color: #00F0FF;
}

.queryintent-footer .footer-icon {
    color: #00F0FF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.queryintent-footer .footer-input {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.queryintent-footer .footer-input:focus {
    background-color: #161C2A;
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-footer .footer-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.queryintent-footer .footer-submit-btn {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 100px;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.queryintent-footer .footer-submit-btn:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.queryintent-footer .footer-error-message {
    color: #FF4B4B;
    font-size: 0.85rem;
    font-weight: 500;
}

.queryintent-footer .footer-divider {
    border-color: #2E3A4F;
    opacity: 1;
}

.queryintent-footer .footer-copyright {
    font-size: 0.875rem;
    color: #64748B;
}

.queryintent-footer .footer-legal-links li {
    margin-left: 1rem;
}

@media (max-width: 767.98px) {
    .queryintent-footer .footer-section-title {
        font-size: 14px;
    }

    .queryintent-footer .footer-legal-links li {
        margin: 0.5rem;
    }
}

/* ===== Final QA overrides ===== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
pre,
code,
table {
    max-width: 100%;
}

.container,
.row,
[class*="col-"] {
    min-width: 0;
}

.queryintent-header .queryintent-brand-text,
.queryintent-footer .footer-brand-name,
.queryintent-footer .footer-contact-list a,
.queryintent-footer .footer-contact-list span,
.contact-section .info-item-content,
.contact-section .info-item-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .queryintent-header .queryintent-brand-text {
        font-size: 1rem;
    }

    .queryintent-header .navbar-brand {
        max-width: calc(100% - 64px);
    }
}

.query-mistakes-section .code-comparison pre,
.query-mistakes-section .code-comparison code {
    white-space: pre-wrap !important;
    overflow-x: hidden !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.query-intent-dilemma pre,
.query-intent-dilemma code,
.review-questions-section .code-block,
.review-questions-section .code-block code,
.methodology-section .code-preview,
.methodology-section .code-preview code,
.case-detail-container .db-comment-code,
.dbeaver-guide-section .dbeaver-code-block pre,
.dbeaver-guide-section .dbeaver-code-block code {
    white-space: pre-wrap !important;
    overflow-x: hidden !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.query-intent-trust-block .trust-card .row {
    align-items: flex-start;
}

.query-intent-trust-block .trust-card .col-lg-2 {
    flex: 0 0 auto;
    width: auto;
}

.query-intent-trust-block .trust-card .col-lg-10 {
    flex: 1 1 0;
    width: auto;
}

.query-intent-trust-block .trust-icon-wrapper {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
}

@media (max-width: 991.98px) {
    .query-intent-trust-block .trust-card .col-lg-2,
    .query-intent-trust-block .trust-card .col-lg-10 {
        width: 100%;
    }
}

.methodology-section .img-wrapper {
    background-color: transparent !important;
    border-color: transparent !important;
    padding: 0 !important;
}

.privacy-section > .container,
.terms-section > .container,
.disclaimer-section > .container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.privacy-section .privacy-sidebar,
.terms-section .terms-sidebar,
.terms-section .search-container {
    display: none !important;
}

.privacy-section .col-lg-4,
.terms-section .col-lg-4 {
    display: none !important;
}

.privacy-section .row,
.terms-section .row {
    justify-content: center;
}

.privacy-section .col-lg-8,
.terms-section .col-lg-8 {
    flex: 0 0 100%;
    max-width: 900px;
    width: 100%;
}

.privacy-section .privacy-content,
.terms-section .terms-content-wrapper,
.disclaimer-section .disclaimer-content {
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1.7;
}

.privacy-section h1,
.terms-section h1,
.disclaimer-section .disclaimer-main-title {
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.privacy-section h2,
.terms-section h2,
.disclaimer-section .disclaimer-content h2,
.privacy-section h3,
.terms-section h3,
.disclaimer-section .disclaimer-contact-card h3 {
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif;
}

.privacy-section p,
.privacy-section li,
.terms-section p,
.terms-section li,
.disclaimer-section p,
.disclaimer-section li {
    color: #94A3B8;
}

.privacy-section .list-group-item,
.terms-section .terms-card,
.disclaimer-section .disclaimer-alert-card,
.disclaimer-section .disclaimer-contact-card {
    background-color: #1E293B !important;
    border-color: #2E3A4F !important;
}

.privacy-section ul,
.terms-section ul,
.terms-section ol,
.disclaimer-section ul,
.disclaimer-section ol {
    padding-left: 1.25rem;
}

.privacy-section li,
.terms-section li,
.disclaimer-section li {
    margin-bottom: 0.75rem;
}

.dbeaver-guide-section .js-copy-btn {
    color: #7DDDE6 !important;
    border-radius: 8px;
}

.dbeaver-guide-section .js-copy-btn:hover,
.dbeaver-guide-section .js-copy-btn:focus,
.dbeaver-guide-section .js-copy-btn:active {
    color: #B7C8D8 !important;
    background-color: rgba(148, 163, 184, 0.08) !important;
    box-shadow: none !important;
}

.newsletter-success-message {
    color: #00F0FF !important;
}

.privacy-sandbox-note {
    background-color: transparent !important;
}

.queryintent-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #2E3A4F;
}

.queryintent-header .navbar {
    background-color: #0B0F19 !important;
    padding: 1rem 0;
}

.queryintent-header .queryintent-logo-img {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.queryintent-header .queryintent-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.queryintent-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #94A3B8 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.15s ease-in-out;
}

.queryintent-header .nav-link:hover,
.queryintent-header .nav-link:focus,
.queryintent-header .nav-link.active {
    color: #00F0FF !important;
}

.queryintent-header .navbar-toggler {
    border: 1px solid #2E3A4F;
    background-color: #161C2A;
    padding: 0.5rem;
    border-radius: 8px;
}

.queryintent-header .queryintent-menu-icon {
    color: #00F0FF;
    font-size: 1.5rem;
    display: block;
}

.queryintent-header .dropdown-menu {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.queryintent-header .dropdown-item {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.queryintent-header .dropdown-item:hover,
.queryintent-header .dropdown-item:focus,
.queryintent-header .dropdown-item.active {
    background-color: #2E3A4F;
    color: #00F0FF;
}

.queryintent-header .queryintent-cta-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    transition: background-color 0.15s;
}

.queryintent-header .queryintent-cta-btn:hover,
.queryintent-header .queryintent-cta-btn:focus {
    background-color: #00D8E6;
    color: #0B0F19;
}

@media (max-width: 991.98px) {
    .queryintent-header .navbar-collapse {
        background-color: #0B0F19;
        padding: 1.5rem 0 1rem 0;
    }

    .queryintent-header .queryintent-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .queryintent-header .dropdown-menu {
        background-color: #0B0F19;
        border: none;
        border-left: 2px solid #2E3A4F;
        border-radius: 0;
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
}

.query-hero-section {
    background-color: #0B0F19;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.query-hero-section .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.query-hero-section .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

@media (max-width: 767.98px) {
    .query-hero-section .hero-title {
        font-size: 2.25rem;
    }
}

.query-hero-section .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94A3B8;
}

.query-hero-section .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s ease;
}

.query-hero-section .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-hero-section .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-hero-section .btn-secondary-pill:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-hero-section .code-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.query-hero-section .code-card-header {
    background-color: #0F131E;
    padding: 16px 24px;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.query-hero-section .dot.red {
    background-color: #FF5F56;
}

.query-hero-section .dot.yellow {
    background-color: #FFBD2E;
}

.query-hero-section .dot.green {
    background-color: #27C93F;
}

.query-hero-section .code-tab-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.query-hero-section .code-tab-btn.active {
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.1);
}

.query-hero-section .code-card-body {
    padding: 24px;
    background-color: #090D16;
}

.query-hero-section pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
}

.query-hero-section .token-keyword {
    color: #8A2BE2;
    font-weight: 600;
}

.query-hero-section .token-function {
    color: #00F0FF;
}

.query-hero-section .token-string {
    color: #27C93F;
}

.query-hero-section .token-comment {
    color: #64748B;
    font-style: italic;
}

.query-hero-section .token-plan-node {
    color: #94A3B8;
}

.queryintent-cases-section {
    background-color: #0B0F19;
}

.queryintent-cases-section .bg-dark-slate {
    background-color: #161C2A !important;
}

.queryintent-cases-section .border-secondary {
    border-color: #2E3A4F !important;
}

.queryintent-cases-section .text-secondary {
    color: #94A3B8 !important;
}

.queryintent-cases-section .search-box-wrapper .form-control {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
}

.queryintent-cases-section .search-box-wrapper .form-control::placeholder {
    color: #64748B;
    opacity: 1;
}

.queryintent-cases-section .search-box-wrapper .form-control:focus {
    border-color: #00F0FF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-cases-section .filter-tab-btn {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.queryintent-cases-section .filter-tab-btn:hover {
    background-color: #2E3A4F;
    color: #FFFFFF;
}

.queryintent-cases-section .filter-tab-btn.active {
    background-color: #00F0FF;
    color: #0B0F19;
    border-color: #00F0FF;
}

.queryintent-cases-section .js-sort-select {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
}

.queryintent-cases-section .js-sort-select:focus {
    border-color: #00F0FF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-cases-section .case-card {
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.queryintent-cases-section .case-card:hover {
    border-color: #00F0FF !important;
}

.queryintent-cases-section .card-img-wrapper {
    position: relative;
}

.queryintent-cases-section .category-badge {
    background-color: #8A2BE2;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
}

.queryintent-cases-section .btn-card-action {
    background-color: transparent;
    border: 2px solid #2E3A4F;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
    transition: all 0.2s ease;
    text-align: center;
}

.queryintent-cases-section .btn-card-action:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.queryintent-footer {
    background-color: #0B0F19;
    border-top: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
}

.queryintent-footer .footer-brand-name {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.queryintent-footer .footer-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.queryintent-footer .footer-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.queryintent-footer .footer-section-title {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.queryintent-footer .footer-links li,
.queryintent-footer .footer-contact-list li {
    margin-bottom: 0.75rem;
}

.queryintent-footer .footer-links a,
.queryintent-footer .footer-contact-list a,
.queryintent-footer .footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.queryintent-footer .footer-links a:hover,
.queryintent-footer .footer-contact-list a:hover,
.queryintent-footer .footer-legal-links a:hover {
    color: #00F0FF;
}

.queryintent-footer .footer-icon {
    color: #00F0FF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.queryintent-footer .footer-input {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.queryintent-footer .footer-input:focus {
    background-color: #161C2A;
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-footer .footer-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.queryintent-footer .footer-submit-btn {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 100px;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.queryintent-footer .footer-submit-btn:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.queryintent-footer .footer-error-message {
    color: #FF4B4B;
    font-size: 0.85rem;
    font-weight: 500;
}

.queryintent-footer .footer-divider {
    border-color: #2E3A4F;
    opacity: 1;
}

.queryintent-footer .footer-copyright {
    font-size: 0.875rem;
    color: #64748B;
}

.queryintent-footer .footer-legal-links li {
    margin-left: 1rem;
}

@media (max-width: 767.98px) {
    .queryintent-footer .footer-section-title {
        font-size: 14px;
    }

    .queryintent-footer .footer-legal-links li {
        margin: 0.5rem;
    }
}


/* ===== PAGE: dbeaver-guide ===== */
.dbeaver-guide-section {
  background-color: #0B0F19;
  font-family: 'Inter', sans-serif;
  color: #94A3B8;
}

.dbeaver-guide-section .max-width-md {
  max-width: 700px;
}

.dbeaver-guide-section .dbeaver-heading-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.dbeaver-guide-section .dbeaver-heading-secondary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #FFFFFF;
}

.dbeaver-guide-section .dbeaver-text-lead {
  font-size: 1.125rem;
  line-height: 1.6;
}

.dbeaver-guide-section .bg-accent-glow {
  background-color: rgba(0, 240, 255, 0.15);
  border: 1px solid #00F0FF;
  color: #00F0FF !important;
}


.dbeaver-guide-section .dbeaver-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease;
}

.dbeaver-guide-section .dbeaver-card:hover {
  border-color: #00F0FF;
}


.dbeaver-guide-section .dbeaver-visual-badge {
  background-color: #161C2A;
  border: 1px dashed #2E3A4F;
}

.dbeaver-guide-section .dbeaver-visual-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.dbeaver-guide-section .flow-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(to right, #00F0FF, #8A2BE2);
  max-width: 50px;
}

.dbeaver-guide-section .text-cyan {
  color: #00F0FF !important;
}

.dbeaver-guide-section .text-purple {
  color: #8A2BE2 !important;
}


.dbeaver-guide-section .bg-secondary-dark {
  background-color: #161C2A !important;
}

.dbeaver-guide-section .border-accent {
  border-color: #2E3A4F !important;
}

.dbeaver-guide-section .border-accent:focus {
  border-color: #00F0FF !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.25);
}

.dbeaver-guide-section .form-control::placeholder {
  color: #64748B;
}


.dbeaver-guide-section .btn {
  border-radius: 100px;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dbeaver-guide-section .btn-dbeaver-primary {
  background-color: #00F0FF;
  color: #0B0F19;
  border: none;
}

.dbeaver-guide-section .btn-dbeaver-primary:hover {
  background-color: #00D8E6;
  color: #0B0F19;
}

.dbeaver-guide-section .btn-dbeaver-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #2E3A4F;
}

.dbeaver-guide-section .btn-dbeaver-secondary:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
}

.dbeaver-guide-section .btn-dbeaver-outline-cyan {
  background-color: transparent;
  color: #00F0FF;
  border: 2px solid #2E3A4F;
}

.dbeaver-guide-section .btn-dbeaver-outline-cyan:hover {
  border-color: #00F0FF;
  background-color: rgba(0, 240, 255, 0.05);
}


.dbeaver-guide-section .dbeaver-list-group .list-group-item {
  background-color: #1E293B;
  color: #94A3B8;
  border: 1px solid #2E3A4F;
  margin-bottom: 8px;
  border-radius: 8px !important;
  padding: 14px 20px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
}

.dbeaver-guide-section .dbeaver-list-group .list-group-item.active {
  background-color: #161C2A;
  color: #00F0FF;
  border-color: #00F0FF;
}

.dbeaver-guide-section .dbeaver-list-group .list-group-item:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  border-color: #94A3B8;
}


.dbeaver-guide-section .dbeaver-checklist-box {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
  border-radius: 12px;
}

.dbeaver-guide-section .check-item {
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease;
}

.dbeaver-guide-section .check-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.dbeaver-guide-section .form-check-input {
  background-color: #0B0F19;
  border-color: #2E3A4F;
  width: 1.25rem;
  height: 1.25rem;
}

.dbeaver-guide-section .form-check-input:checked {
  background-color: #00F0FF;
  border-color: #00F0FF;
}


.dbeaver-guide-section .dbeaver-code-block {
  background-color: #090D16;
  border-radius: 16px;
  border: 1px solid #2E3A4F;
  padding: 20px;
}

.dbeaver-guide-section .dbeaver-code-block pre {
  margin: 0;
}

.dbeaver-guide-section .dbeaver-code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 768px) {
  .dbeaver-guide-section .dbeaver-heading-primary {
    font-size: 1.75rem;
  }
  .dbeaver-guide-section .dbeaver-heading-secondary {
    font-size: 1.45rem;
  }
  .dbeaver-guide-section .dbeaver-text-lead {
    font-size: 1rem;
  }
  .dbeaver-guide-section .dbeaver-card {
    padding: 30px 20px !important;
    border-radius: 16px;
  }
}

/* ===== PAGE: about ===== */
.about-section-container {
  background-color: #0B0F19;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.about-section-container h2,
.about-section-container h3,
.about-section-container h4,
.about-section-container h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
}

.about-section-container .text-secondary {
  color: #94A3B8 !important;
}

.about-section-container .text-cyan {
  color: #00F0FF !important;
}

.about-section-container .bg-dark-cyan {
  background-color: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
}

.about-section-container .concept-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
}

.about-section-container .concept-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.about-section-container .btn-primary-custom {
  background-color: #00F0FF;
  color: #0B0F19;
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 30px;
  border: none;
  transition: background-color 0.2s ease;
}

.about-section-container .btn-primary-custom:hover {
  background-color: #00D8E6;
  color: #0B0F19;
}

.about-section-container .btn-secondary-custom {
  background-color: transparent;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 30px;
  border: 2px solid #2E3A4F;
  transition: border-color 0.2s ease;
}

.about-section-container .btn-secondary-custom:hover {
  border-color: #00F0FF;
}

.about-section-container .philosophy-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
  transition: border-color 0.2s ease;
}

.about-section-container .philosophy-card:hover {
  border-color: #00F0FF;
}

.about-section-container .demo-section {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
}

.about-section-container .btn-demo-selector {
  background-color: #1E293B;
  color: #94A3B8;
  border: 1px solid #2E3A4F;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  font-weight: 500;
  transition: all 0.2s ease;
}

.about-section-container .btn-demo-selector:hover {
  color: #00F0FF;
  border-color: #00F0FF;
}

.about-section-container .btn-demo-selector.active {
  background-color: rgba(0, 240, 255, 0.05);
  color: #00F0FF;
  border-color: #00F0FF;
}

.about-section-container .code-output-card {
  background-color: #090D16;
  border: 1px solid #2E3A4F;
  border-radius: 16px;
}

.about-section-container .code-block {
  background-color: #06090F;
  border: 1px solid #2E3A4F;
  overflow-x: auto;
}

.about-section-container .code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
}

.about-section-container .team-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
  transition: border-color 0.2s ease;
}

.about-section-container .team-card:hover {
  border-color: #00F0FF;
}

.about-section-container .avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2E3A4F;
}

.about-section-container .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-section-container h2 {
    font-size: 1.5rem !important;
  }
  .about-section-container h3 {
    font-size: 1.25rem !important;
  }
}

/* ===== PAGE: glossary ===== */
.glossary-section {
  background-color: #0B0F19;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  padding: 80px 0;
}
.glossary-section .glossary-title {
  font-family: 'Space Grotesk', sans-serif;
  color: #FFFFFF;
}
.glossary-section .glossary-subtitle {
  font-family: 'Inter', sans-serif;
  color: #94A3B8;
}
.glossary-section .search-box {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
  border-radius: 12px;
  color: #FFFFFF;
  padding: 14px 20px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.glossary-section .search-box:focus {
  border-color: #00F0FF;
  box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
  outline: none;
}
.glossary-section .search-icon {
  color: #64748B;
  font-size: 1.25rem;
}
.glossary-section .filter-btn {
  background: transparent;
  color: #94A3B8;
  border: 1px solid #2E3A4F;
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.glossary-section .filter-btn:hover,
.glossary-section .filter-btn.active {
  background-color: #00F0FF;
  color: #0B0F19;
  border-color: #00F0FF;
}
.glossary-section .alpha-btn {
  background: transparent;
  color: #94A3B8;
  border: 1px solid transparent;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}
.glossary-section .alpha-btn:hover,
.glossary-section .alpha-btn.active {
  color: #00F0FF;
  border-color: rgba(0, 240, 255, 0.3);
  background-color: rgba(0, 240, 255, 0.05);
}
.glossary-section .glossary-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.glossary-section .glossary-card:hover {
  border-color: #00F0FF;
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.05);
}
.glossary-section .glossary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00F0FF 0%, #8A2BE2 100%);
}
.glossary-section .term-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.glossary-section .term-badge {
  background-color: rgba(138, 43, 226, 0.15);
  color: #D8B4FE;
  border: 1px solid rgba(138, 43, 226, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 20px;
}
.glossary-section .term-definition {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #E2E8F0;
  margin-bottom: 24px;
}
.glossary-section .code-preview-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.glossary-section .code-block {
  background-color: #090D16;
  border: 1px solid #2E3A4F;
  border-radius: 16px;
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #A7F3D0;
  overflow-x: auto;
  margin: 0;
}
.glossary-section .no-results {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed #2E3A4F;
  border-radius: 24px;
  background-color: #161C2A;
}
@media (max-width: 767.98px) {
  .glossary-section .glossary-title {
    font-size: 18px !important;
  }
  .glossary-section .term-title {
    font-size: 16px !important;
  }
  .glossary-section .no-results h3 {
    font-size: 14px !important;
  }
  .glossary-section .glossary-card {
    padding: 24px;
  }
}

/* ===== PAGE: handoff-guide ===== */
.handoff-section {
  background-color: #0B0F19;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
  min-height: 80vh;
}
.handoff-section .section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}
.handoff-section .handoff-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
}
.handoff-section .card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.handoff-section .form-check-input {
  background-color: #161C2A;
  border-color: #2E3A4F;
}
.handoff-section .form-check-input:checked {
  background-color: #00F0FF;
  border-color: #00F0FF;
}
.handoff-section .pillar-box {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
  border-radius: 16px;
}
.handoff-section .text-accent {
  color: #00F0FF;
}
.handoff-section .form-control,
.handoff-section .form-select {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 10px 14px;
}
.handoff-section .form-control:focus,
.handoff-section .form-select:focus {
  border-color: #00F0FF;
  background-color: #161C2A;
  color: #FFFFFF;
  box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.15);
}
.handoff-section .btn-preset {
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.handoff-section .btn-preset-accent {
  background-color: #00F0FF;
  color: #0B0F19;
  border: none;
}
.handoff-section .btn-preset-accent:hover {
  background-color: #00D8E6;
  color: #0B0F19;
}
.handoff-section .btn-preset-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #2E3A4F;
}
.handoff-section .btn-preset-secondary:hover {
  border-color: #00F0FF;
  color: #00F0FF;
}
.handoff-section .font-monospace {
  font-family: 'JetBrains Mono', monospace;
}
.handoff-section .output-container textarea {
  background-color: #090D16 !important;
  color: #a4b3c6 !important;
  border: 1px solid #2E3A4F;
}

/* ===== PAGE: methodology ===== */
.methodology-section {
  background-color: #0B0F19;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}

.methodology-section h1,
.methodology-section h2,
.methodology-section h3,
.methodology-section h4 {
  font-family: 'Space Grotesk', sans-serif;
}

.methodology-section .badge-accent {
  background-color: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
  border: 1px solid #00F0FF;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 100px;
}

.methodology-section .img-wrapper {
  background-color: #161C2A;
  border-color: #2E3A4F !important;
}

.methodology-section .simulator-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
}

.methodology-section .step-btn {
  background: transparent;
  border: 1px solid #2E3A4F;
  color: #94A3B8;
  transition: all 0.2s ease;
  width: 100%;
}

.methodology-section .step-btn:hover {
  border-color: #00F0FF;
  background-color: rgba(0, 240, 255, 0.05);
}

.methodology-section .step-btn.active {
  border-color: #00F0FF;
  background-color: rgba(0, 240, 255, 0.1);
  color: #FFFFFF;
}

.methodology-section .step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00F0FF;
}

.methodology-section .simulator-display {
  background-color: #090D16;
  border: 1px solid #2E3A4F;
}

.methodology-section .code-preview {
  background-color: #05080F;
  border: 1px solid #2E3A4F;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.methodology-section .methodology-card {
  background-color: #1E293B;
  border-color: #2E3A4F !important;
  transition: border-color 0.2s ease;
}

.methodology-section .methodology-card:hover {
  border-color: #00F0FF !important;
}

.methodology-section .step-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 240, 255, 0.2);
  line-height: 1;
}

.methodology-section .check-item {
  font-size: 0.875rem;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 58, 79, 0.5);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid #2E3A4F;
}

.methodology-section .text-accent {
  color: #00F0FF !important;
}

.methodology-section .uppercase-tracking {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ===== PAGE: contact ===== */
.contact-section {
  background-color: #0B0F19;
  padding: 80px 0;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
}
.contact-section h1,
.contact-section h2,
.contact-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
}
.contact-section .contact-card {
  background-color: #1E293B;
  border: 1px solid #2E3A4F;
  border-radius: 24px;
  padding: 48px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-section .contact-card:hover {
  border-color: #00F0FF;
  background-color: #161C2A;
}
.contact-section .info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-section .info-item i {
  font-size: 24px;
  color: #00F0FF;
  background: rgba(0, 240, 255, 0.1);
  padding: 12px;
  border-radius: 12px;
}
.contact-section .info-item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}
.contact-section .info-item-content p,
.contact-section .info-item-content a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 1rem;
}
.contact-section .info-item-content a:hover {
  color: #00F0FF;
  text-decoration: underline;
}
.contact-section .form-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.contact-section .form-control,
.contact-section .form-select {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
  border-radius: 12px;
  color: #FFFFFF;
  padding: 14px 18px;
  font-size: 1rem;
}
.contact-section .form-control:focus,
.contact-section .form-select:focus {
  background-color: #161C2A;
  border-color: #00F0FF;
  color: #FFFFFF;
  box-shadow: none;
}
.contact-section .form-control::placeholder {
  color: #64748B;
  opacity: 1;
}
.contact-section .btn-primary-custom {
  background-color: #00F0FF;
  color: #0B0F19;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
  width: 100%;
}
.contact-section .btn-primary-custom:hover {
  background-color: #00D8E6;
  color: #0B0F19;
}
.contact-section .tab-btn {
  background-color: #161C2A;
  color: #94A3B8;
  border: 1px solid #2E3A4F;
  border-radius: 100px;
  padding: 10px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
.contact-section .tab-btn.active {
  background-color: #00F0FF;
  color: #0B0F19;
  border-color: #00F0FF;
}
.contact-section .error-message {
  color: #FF4A4A;
  font-size: 0.875rem;
  margin-top: 6px;
  display: none;
}

/* ===== PAGE: privacy ===== */
.privacy-section {
  background-color: #0B0F19;
  font-family: 'Inter', sans-serif;
  color: #94A3B8;
}

.privacy-section .font-headings {
  font-family: 'Space Grotesk', sans-serif;
}

.privacy-section .text-cyan {
  color: #00F0FF !important;
}

.privacy-section .text-purple {
  color: #8A2BE2 !important;
}

.privacy-section .privacy-sidebar {
  z-index: 100;
}

.privacy-section .card {
  background-color: #161C2A !important;
  border-color: #2E3A4F !important;
}

.privacy-section .nav-link {
  color: #94A3B8 !important;
  transition: color 0.2s ease, border-left-color 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 10px !important;
}

.privacy-section .nav-link:hover,
.privacy-section .nav-link.active {
  color: #00F0FF !important;
  border-left-color: #00F0FF;
}

.privacy-section .btn-primary {
  background-color: #00F0FF !important;
  color: #0B0F19 !important;
  border: none !important;
  transition: background-color 0.2s ease;
}

.privacy-section .btn-primary:hover {
  background-color: #00D8E6 !important;
}

.privacy-section .form-check-input:checked {
  background-color: #00F0FF !important;
  border-color: #00F0FF !important;
}

.privacy-section .form-check-input {
  background-color: #1E293B;
  border-color: #2E3A4F;
}

.privacy-section .table {
  background-color: #161C2A !important;
  border-color: #2E3A4F !important;
}

.privacy-section .table th,
.privacy-section .table td {
  background-color: transparent !important;
  border-color: #2E3A4F !important;
  color: #FFFFFF;
}

.privacy-section .table td.text-muted {
  color: #94A3B8 !important;
}

.privacy-section .list-group-item {
  border-color: #2E3A4F !important;
}

.privacy-section a.text-cyan {
  border-bottom: 1px dashed transparent;
  transition: border-bottom-color 0.2s ease;
}

.privacy-section a.text-cyan:hover {
  border-bottom-color: #00F0FF;
}

/* ===== PAGE: terms ===== */
.terms-section {
  background-color: #0B0F19;
  font-family: 'Inter', sans-serif;
  color: #94A3B8;
}

.terms-section h1,
.terms-section h2,
.terms-section h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.terms-section .text-accent {
  color: #00F0FF !important;
}

.terms-section .bg-dark-secondary {
  background-color: #161C2A !important;
}

.terms-section .bg-card-bg {
  background-color: #1E293B !important;
}

.terms-section .border-color {
  border: 1px solid #2E3A4F !important;
}

.terms-section .rounded-24 {
  border-radius: 24px;
}

.terms-section .bg-accent-dim {
  background-color: rgba(0, 240, 255, 0.1);
}

.terms-section .icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.terms-section .js-terms-search-input {
  border-left: none;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 0 12px 12px 0;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.terms-section .js-terms-search-input:focus {
  border-color: #00F0FF;
  background-color: #161C2A;
}

.terms-section .input-group-text {
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.terms-section .js-terms-search-input::placeholder {
  color: #64748B;
  opacity: 1;
}


.terms-section .terms-sidebar {
  border: 1px solid #2E3A4F;
}

.terms-section .terms-sidebar .nav-link {
  color: #94A3B8;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.terms-section .terms-sidebar .nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(46, 58, 79, 0.4);
}

.terms-section .terms-sidebar .nav-link.active {
  color: #0B0F19;
  background-color: #00F0FF;
  font-weight: 600;
}


.terms-section .terms-card {
  transition: border-color 0.3s ease;
}

.terms-section .terms-card:hover {
  border-color: #00F0FF !important;
}

.terms-section .terms-body {
  line-height: 1.7;
  font-size: 1.05rem;
}

.terms-section .terms-body ul,
.terms-section .terms-body ol {
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.terms-section .terms-body li {
  margin-bottom: 10px;
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-section {
  background-color: #0B0F19;
  font-family: 'Inter', sans-serif;
  color: #94A3B8;
  line-height: 1.6;
}

.disclaimer-section .disclaimer-main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.disclaimer-section .disclaimer-subtitle {
  font-size: 1.125rem;
  color: #64748B;
}

.disclaimer-section .disclaimer-alert-card {
  background-color: #1E293B;
  border-color: #2E3A4F !important;
  position: relative;
  overflow: hidden;
}

.disclaimer-section .disclaimer-alert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #00F0FF;
}

.disclaimer-section .disclaimer-alert-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #FFFFFF !important;
}

.disclaimer-section .disclaimer-alert-text {
  color: #94A3B8;
}

.disclaimer-section .disclaimer-icon-wrapper i {
  color: #00F0FF;
}

.disclaimer-section .disclaimer-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: -0.01em;
}

.disclaimer-section .disclaimer-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.disclaimer-section .disclaimer-contact-card {
  background-color: #161C2A;
  border: 1px solid #2E3A4F;
}

.disclaimer-section .disclaimer-contact-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.disclaimer-section .btn-primary {
  background-color: #00F0FF !important;
  color: #0B0F19 !important;
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease-in-out;
}

.disclaimer-section .btn-primary:hover {
  background-color: #00D8E6 !important;
}

.disclaimer-section .btn-outline-light {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border: 2px solid #2E3A4F !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out;
}

.disclaimer-section .btn-outline-light:hover {
  background-color: #1E293B !important;
  border-color: #00F0FF !important;
}

@media (max-width: 767.98px) {
  .disclaimer-section {
    hyphens: auto;
  }
  .disclaimer-section .disclaimer-main-title {
    font-size: 18px !important;
  }
  .disclaimer-section .disclaimer-content h2,
  .disclaimer-section .disclaimer-alert-title {
    font-size: 16px !important;
  }
  .disclaimer-section .disclaimer-contact-card h3 {
    font-size: 14px !important;
  }
  .disclaimer-section .disclaimer-content p,
  .disclaimer-section .disclaimer-alert-text {
    font-size: 0.95rem;
  }
}

.db-comment-card {
    background-color: #1E293B;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.db-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.db-comment-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.db-comment-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00F0FF;
}

.db-comment-info {
    display: flex;
    flex-direction: column;
}

.db-comment-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #FFFFFF;
    margin: 0;
}

.db-comment-meta {
    font-size: 0.875rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.db-comment-badge {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.db-comment-body {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 20px;
}

.db-comment-body p {
    margin-bottom: 12px;
}

.db-comment-body p:last-child {
    margin-bottom: 0;
}

.db-comment-code {
    font-family: 'JetBrains Mono', monospace;
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    color: #00F0FF;
    font-size: 0.95rem;
    overflow-x: auto;
}

.db-comment-actions {
    display: flex;
    gap: 24px;
    border-top: 1px solid #2E3A4F;
    padding-top: 20px;
}

.db-comment-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
    padding: 0;
}

.db-comment-btn:hover {
    color: #00F0FF;
}

.db-comment-btn.active {
    color: #00F0FF;
}

.db-reply-wrapper {
    position: relative;
    padding-left: 48px;
    margin-top: 16px;
}

.db-reply-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: -24px;
    bottom: 32px;
    width: 2px;
    background-color: #2E3A4F;
}

.db-reply-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 20px;
    padding: 24px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.db-reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.db-reply-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8A2BE2;
}

.db-reply-info {
    display: flex;
    flex-direction: column;
}

.db-reply-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #FFFFFF;
    margin: 0;
}

.db-reply-meta {
    font-size: 0.8125rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.db-reply-badge {
    background-color: rgba(138, 43, 226, 0.15);
    color: #8A2BE2;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.db-reply-body {
    font-size: 1rem;
    line-height: 1.5;
    color: #94A3B8;
    margin-bottom: 16px;
}

.db-reply-body p {
    margin-bottom: 0;
}

.db-reply-actions {
    display: flex;
    gap: 16px;
    border-top: 1px solid #2E3A4F;
    padding-top: 16px;
}

.db-reply-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
    padding: 0;
}

.db-reply-btn:hover {
    color: #8A2BE2;
}

@media (max-width: 768px) {
    .db-reply-wrapper {
        padding-left: 24px;
    }

    .db-reply-wrapper::before {
        left: 8px;
    }
}


/* ===== PAGE TEMPLATE: query-intent-basics ===== */
.queryintent-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #2E3A4F;
}

.queryintent-header .navbar {
    background-color: #0B0F19 !important;
    padding: 1rem 0;
}

.queryintent-header .queryintent-logo-img {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.queryintent-header .queryintent-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.queryintent-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #94A3B8 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.15s ease-in-out;
}

.queryintent-header .nav-link:hover,
.queryintent-header .nav-link:focus,
.queryintent-header .nav-link.active {
    color: #00F0FF !important;
}

.queryintent-header .navbar-toggler {
    border: 1px solid #2E3A4F;
    background-color: #161C2A;
    padding: 0.5rem;
    border-radius: 8px;
}

.queryintent-header .queryintent-menu-icon {
    color: #00F0FF;
    font-size: 1.5rem;
    display: block;
}

.queryintent-header .dropdown-menu {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.queryintent-header .dropdown-item {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.queryintent-header .dropdown-item:hover,
.queryintent-header .dropdown-item:focus,
.queryintent-header .dropdown-item.active {
    background-color: #2E3A4F;
    color: #00F0FF;
}

.queryintent-header .queryintent-cta-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    transition: background-color 0.15s;
}

.queryintent-header .queryintent-cta-btn:hover,
.queryintent-header .queryintent-cta-btn:focus {
    background-color: #00D8E6;
    color: #0B0F19;
}

@media (max-width: 991.98px) {
    .queryintent-header .navbar-collapse {
        background-color: #0B0F19;
        padding: 1.5rem 0 1rem 0;
    }

    .queryintent-header .queryintent-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .queryintent-header .dropdown-menu {
        background-color: #0B0F19;
        border: none;
        border-left: 2px solid #2E3A4F;
        border-radius: 0;
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
}

.query-hero-section {
    background-color: #0B0F19;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    pointer-events: none;
}

.query-hero-section .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.query-hero-section .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94A3B8;
}

.query-hero-section .case-badge {
    background-color: rgba(0, 240, 255, 0.1);
    border: 1px solid #00F0FF;
    color: #00F0FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.query-hero-section .case-meta-group .meta-item {
    color: #94A3B8;
    font-size: 0.9rem;
}

.query-hero-section .case-meta-group .meta-item i {
    font-size: 1.25rem;
    color: #00F0FF;
}

.query-hero-section .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s ease;
}

.query-hero-section .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-hero-section .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-hero-section .btn-secondary-pill:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-hero-section .code-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.query-hero-section .code-card-header {
    background-color: #0F131E;
    padding: 16px 24px;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.query-hero-section .dot.red {
    background-color: #FF5F56;
}

.query-hero-section .dot.yellow {
    background-color: #FFBD2E;
}

.query-hero-section .dot.green {
    background-color: #27C93F;
}

.query-hero-section .code-tab-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.query-hero-section .code-tab-btn.active {
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.1);
}

.query-hero-section .code-card-body {
    padding: 24px;
    background-color: #090D16;
}

.query-hero-section pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
}

.query-hero-section .token-keyword {
    color: #8A2BE2;
    font-weight: 600;
}

.query-hero-section .token-function {
    color: #00F0FF;
}

.query-hero-section .token-string {
    color: #27C93F;
}

.query-hero-section .token-plan-node {
    color: #94A3B8;
}

.case-detail-container {
    background-color: #0B0F19;
}

.case-detail-container .detail-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .case-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid #2E3A4F;
}

.case-detail-container .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-detail-container .subsection-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.case-detail-container p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94A3B8;
}

.case-detail-container .attention-box {
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 4px solid #8A2BE2;
    border-radius: 8px;
}

.case-detail-container .attention-box p {
    color: #94A3B8;
}

.case-detail-container .share-bar {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
}

.case-detail-container .share-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
}

.case-detail-container .share-btn {
    background-color: #0B0F19;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    border-radius: 100px;
    padding: 8px 20px;
    transition: border-color 0.2s, color 0.2s;
}

.case-detail-container .share-btn:hover {
    border-color: #00F0FF;
    color: #00F0FF;
}

.case-detail-container .comments-section {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .comments-section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
}

.case-detail-container .bg-dark-card {
    background-color: #0B0F19 !important;
}

.case-detail-container .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s;
}

.case-detail-container .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.case-detail-container .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s;
}

.case-detail-container .btn-secondary-pill:hover {
    border-color: #00F0FF;
    color: #FFFFFF;
}

.case-detail-container .db-comment-card {
    background-color: #0F131E;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.case-detail-container .db-comment-header {
    margin-bottom: 16px;
}

.case-detail-container .db-comment-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-detail-container .db-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.case-detail-container .db-comment-info {
    display: flex;
    flex-direction: column;
}

.case-detail-container .db-comment-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.case-detail-container .db-comment-badge {
    font-size: 0.75rem;
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.case-detail-container .db-comment-meta {
    font-size: 0.8rem;
    color: #64748B;
}

.case-detail-container .db-comment-body {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-detail-container .db-comment-code {
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    color: #00F0FF;
    padding: 12px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin: 16px 0;
    overflow-x: auto;
}

.case-detail-container .db-comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.case-detail-container .db-comment-btn {
    background: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.case-detail-container .db-comment-btn.active,
.case-detail-container .db-comment-btn:hover {
    border-color: #00F0FF;
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
}

.case-detail-container .db-reply-wrapper {
    margin-left: 48px;
    border-left: 2px solid #2E3A4F;
    padding-left: 20px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.case-detail-container .db-reply-card {
    background-color: #0B0F19;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 20px;
}

.case-detail-container .db-reply-header {
    margin-bottom: 12px;
}

.case-detail-container .db-reply-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-detail-container .db-reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.case-detail-container .db-reply-info {
    display: flex;
    flex-direction: column;
}

.case-detail-container .db-reply-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.case-detail-container .db-reply-badge {
    font-size: 0.7rem;
    background-color: rgba(138, 43, 226, 0.1);
    color: #8A2BE2;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.case-detail-container .db-reply-meta {
    font-size: 0.75rem;
    color: #64748B;
}

.case-detail-container .db-reply-body {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.case-detail-container .db-reply-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.case-detail-container .db-reply-btn {
    background: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.case-detail-container .db-reply-btn.active,
.case-detail-container .db-reply-btn:hover {
    border-color: #8A2BE2;
    color: #8A2BE2;
    background-color: rgba(138, 43, 226, 0.05);
}

.case-detail-container .sidebar-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .sidebar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-detail-container .sidebar-link {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.case-detail-container .sidebar-link:hover {
    color: #00F0FF;
}

.case-detail-container .case-navigation .nav-btn {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 16px;
    transition: border-color 0.2s;
    min-width: 220px;
    display: flex;
}

.case-detail-container .case-navigation .nav-btn:hover {
    border-color: #00F0FF;
}

@media (max-width: 767.98px) {
    .query-hero-section .hero-title {
        font-size: 18px !important;
    }

    .case-detail-container .section-title {
        font-size: 16px !important;
    }

    .case-detail-container .subsection-title {
        font-size: 14px !important;
    }

    .case-detail-container .db-comment-avatar {
        width: 36px;
        height: 36px;
    }

    .case-detail-container .db-reply-wrapper {
        margin-left: 20px;
        padding-left: 10px;
    }

    .case-detail-container .case-main-img {
        height: 250px;
    }
}

.queryintent-footer {
    background-color: #0B0F19;
    border-top: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
}

.queryintent-footer .footer-brand-name {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.queryintent-footer .footer-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.queryintent-footer .footer-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.queryintent-footer .footer-section-title {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.queryintent-footer .footer-links li,
.queryintent-footer .footer-contact-list li {
    margin-bottom: 0.75rem;
}

.queryintent-footer .footer-links a,
.queryintent-footer .footer-contact-list a,
.queryintent-footer .footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.queryintent-footer .footer-links a:hover,
.queryintent-footer .footer-contact-list a:hover,
.queryintent-footer .footer-legal-links a:hover {
    color: #00F0FF;
}

.queryintent-footer .footer-icon {
    color: #00F0FF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.queryintent-footer .footer-input {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.queryintent-footer .footer-input:focus {
    background-color: #161C2A;
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-footer .footer-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.queryintent-footer .footer-submit-btn {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 100px;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.queryintent-footer .footer-submit-btn:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.queryintent-footer .footer-error-message {
    color: #FF4B4B;
    font-size: 0.85rem;
    font-weight: 500;
}

.queryintent-footer .footer-divider {
    border-color: #2E3A4F;
    opacity: 1;
}

.queryintent-footer .footer-copyright {
    font-size: 0.875rem;
    color: #64748B;
}

.queryintent-footer .footer-legal-links li {
    margin-left: 1rem;
}

@media (max-width: 767.98px) {
    .queryintent-footer .footer-section-title {
        font-size: 14px;
    }

    .queryintent-footer .footer-legal-links li {
        margin: 0.5rem;
    }
}

/* ===== PAGE TEMPLATE: result-meaning-review ===== */
.queryintent-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #2E3A4F;
}

.queryintent-header .navbar {
    background-color: #0B0F19 !important;
    padding: 1rem 0;
}

.queryintent-header .queryintent-logo-img {
    max-width: 40px;
    height: auto;
    object-fit: contain;
}

.queryintent-header .queryintent-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.queryintent-header .nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #94A3B8 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.15s ease-in-out;
}

.queryintent-header .nav-link:hover,
.queryintent-header .nav-link:focus,
.queryintent-header .nav-link.active {
    color: #00F0FF !important;
}

.queryintent-header .navbar-toggler {
    border: 1px solid #2E3A4F;
    background-color: #161C2A;
    padding: 0.5rem;
    border-radius: 8px;
}

.queryintent-header .queryintent-menu-icon {
    color: #00F0FF;
    font-size: 1.5rem;
    display: block;
}

.queryintent-header .dropdown-menu {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.queryintent-header .dropdown-item {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.queryintent-header .dropdown-item:hover,
.queryintent-header .dropdown-item:focus,
.queryintent-header .dropdown-item.active {
    background-color: #2E3A4F;
    color: #00F0FF;
}

.queryintent-header .queryintent-cta-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background-color: #00F0FF;
    color: #0B0F19;
    border: none;
    padding: 10px 24px;
    border-radius: 100px;
    transition: background-color 0.15s;
}

.queryintent-header .queryintent-cta-btn:hover,
.queryintent-header .queryintent-cta-btn:focus {
    background-color: #00D8E6;
    color: #0B0F19;
}

@media (max-width: 991.98px) {
    .queryintent-header .navbar-collapse {
        background-color: #0B0F19;
        padding: 1.5rem 0 1rem 0;
    }

    .queryintent-header .queryintent-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .queryintent-header .dropdown-menu {
        background-color: #0B0F19;
        border: none;
        border-left: 2px solid #2E3A4F;
        border-radius: 0;
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
}

.query-hero-section {
    background-color: #0B0F19;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    pointer-events: none;
}

.query-hero-section .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.query-hero-section .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    color: #94A3B8;
}

.query-hero-section .case-badge {
    background-color: rgba(0, 240, 255, 0.1);
    border: 1px solid #00F0FF;
    color: #00F0FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.query-hero-section .case-meta-group .meta-item {
    color: #94A3B8;
    font-size: 0.9rem;
}

.query-hero-section .case-meta-group .meta-item i {
    font-size: 1.25rem;
    color: #00F0FF;
}

.query-hero-section .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s ease;
}

.query-hero-section .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.query-hero-section .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.query-hero-section .btn-secondary-pill:hover {
    border-color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
    color: #FFFFFF;
}

.query-hero-section .code-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.query-hero-section .code-card-header {
    background-color: #0F131E;
    padding: 16px 24px;
    border-bottom: 1px solid #2E3A4F;
}

.query-hero-section .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.query-hero-section .dot.red {
    background-color: #FF5F56;
}

.query-hero-section .dot.yellow {
    background-color: #FFBD2E;
}

.query-hero-section .dot.green {
    background-color: #27C93F;
}

.query-hero-section .code-tab-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.query-hero-section .code-tab-btn.active {
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.1);
}

.query-hero-section .code-card-body {
    padding: 24px;
    background-color: #090D16;
}

.query-hero-section pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: auto;
}

.query-hero-section .token-keyword {
    color: #8A2BE2;
    font-weight: 600;
}

.query-hero-section .token-function {
    color: #00F0FF;
}

.query-hero-section .token-string {
    color: #27C93F;
}

.query-hero-section .token-plan-node {
    color: #94A3B8;
}

.case-detail-container {
    background-color: #0B0F19;
}

.case-detail-container .detail-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .case-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid #2E3A4F;
}

.case-detail-container .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-detail-container .subsection-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.case-detail-container p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94A3B8;
}

.case-detail-container .attention-box {
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 4px solid #8A2BE2;
    border-radius: 8px;
}

.case-detail-container .attention-box p {
    color: #94A3B8;
}

.case-detail-container .share-bar {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
}

.case-detail-container .share-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
}

.case-detail-container .share-btn {
    background-color: #0B0F19;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    border-radius: 100px;
    padding: 8px 20px;
    transition: border-color 0.2s, color 0.2s;
}

.case-detail-container .share-btn:hover {
    border-color: #00F0FF;
    color: #00F0FF;
}

.case-detail-container .comments-section {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .comments-section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
}

.case-detail-container .bg-dark-card {
    background-color: #0B0F19 !important;
}

.case-detail-container .btn-primary-pill {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 100px;
    border: none;
    transition: background-color 0.2s;
}

.case-detail-container .btn-primary-pill:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.case-detail-container .btn-secondary-pill {
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 100px;
    border: 2px solid #2E3A4F;
    transition: border-color 0.2s;
}

.case-detail-container .btn-secondary-pill:hover {
    border-color: #00F0FF;
    color: #FFFFFF;
}

.case-detail-container .db-comment-card {
    background-color: #0F131E;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.case-detail-container .db-comment-header {
    margin-bottom: 16px;
}

.case-detail-container .db-comment-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-detail-container .db-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.case-detail-container .db-comment-info {
    display: flex;
    flex-direction: column;
}

.case-detail-container .db-comment-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.case-detail-container .db-comment-badge {
    font-size: 0.75rem;
    background-color: rgba(0, 240, 255, 0.1);
    color: #00F0FF;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.case-detail-container .db-comment-meta {
    font-size: 0.8rem;
    color: #64748B;
}

.case-detail-container .db-comment-body {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-detail-container .db-comment-code {
    background-color: #090D16;
    border: 1px solid #2E3A4F;
    color: #00F0FF;
    padding: 12px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin: 16px 0;
    overflow-x: auto;
}

.case-detail-container .db-comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.case-detail-container .db-comment-btn {
    background: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.case-detail-container .db-comment-btn.active,
.case-detail-container .db-comment-btn:hover {
    border-color: #00F0FF;
    color: #00F0FF;
    background-color: rgba(0, 240, 255, 0.05);
}

.case-detail-container .db-reply-wrapper {
    margin-left: 48px;
    border-left: 2px solid #2E3A4F;
    padding-left: 20px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.case-detail-container .db-reply-card {
    background-color: #0B0F19;
    border: 1px solid #2E3A4F;
    border-radius: 16px;
    padding: 20px;
}

.case-detail-container .db-reply-header {
    margin-bottom: 12px;
}

.case-detail-container .db-reply-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-detail-container .db-reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.case-detail-container .db-reply-info {
    display: flex;
    flex-direction: column;
}

.case-detail-container .db-reply-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.case-detail-container .db-reply-badge {
    font-size: 0.7rem;
    background-color: rgba(138, 43, 226, 0.1);
    color: #8A2BE2;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.case-detail-container .db-reply-meta {
    font-size: 0.75rem;
    color: #64748B;
}

.case-detail-container .db-reply-body {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.case-detail-container .db-reply-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.case-detail-container .db-reply-btn {
    background: transparent;
    border: 1px solid #2E3A4F;
    color: #94A3B8;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.case-detail-container .db-reply-btn.active,
.case-detail-container .db-reply-btn:hover {
    border-color: #8A2BE2;
    color: #8A2BE2;
    background-color: rgba(138, 43, 226, 0.05);
}

.case-detail-container .sidebar-card {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    border-radius: 24px;
}

.case-detail-container .sidebar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-detail-container .sidebar-link {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.case-detail-container .sidebar-link:hover {
    color: #00F0FF;
}

.case-detail-container .case-navigation .nav-btn {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 16px;
    transition: border-color 0.2s;
    min-width: 220px;
    display: flex;
}

.case-detail-container .case-navigation .nav-btn:hover {
    border-color: #00F0FF;
}

@media (max-width: 767.98px) {
    .query-hero-section .hero-title {
        font-size: 18px !important;
    }

    .case-detail-container .section-title {
        font-size: 16px !important;
    }

    .case-detail-container .subsection-title {
        font-size: 14px !important;
    }

    .case-detail-container .db-comment-avatar {
        width: 36px;
        height: 36px;
    }

    .case-detail-container .db-reply-wrapper {
        margin-left: 20px;
        padding-left: 10px;
    }

    .case-detail-container .case-main-img {
        height: 250px;
    }
}

.queryintent-footer {
    background-color: #0B0F19;
    border-top: 1px solid #2E3A4F;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
}

.queryintent-footer .footer-brand-name {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.queryintent-footer .footer-logo {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.queryintent-footer .footer-desc {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.queryintent-footer .footer-section-title {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.queryintent-footer .footer-links li,
.queryintent-footer .footer-contact-list li {
    margin-bottom: 0.75rem;
}

.queryintent-footer .footer-links a,
.queryintent-footer .footer-contact-list a,
.queryintent-footer .footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.queryintent-footer .footer-links a:hover,
.queryintent-footer .footer-contact-list a:hover,
.queryintent-footer .footer-legal-links a:hover {
    color: #00F0FF;
}

.queryintent-footer .footer-icon {
    color: #00F0FF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.queryintent-footer .footer-input {
    background-color: #161C2A;
    border: 1px solid #2E3A4F;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.queryintent-footer .footer-input:focus {
    background-color: #161C2A;
    border-color: #00F0FF;
    color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.25);
}

.queryintent-footer .footer-input::placeholder {
    color: #64748B;
    opacity: 1;
}

.queryintent-footer .footer-submit-btn {
    background-color: #00F0FF;
    color: #0B0F19;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 100px;
    padding: 12px 24px;
    border: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.queryintent-footer .footer-submit-btn:hover {
    background-color: #00D8E6;
    color: #0B0F19;
}

.queryintent-footer .footer-error-message {
    color: #FF4B4B;
    font-size: 0.85rem;
    font-weight: 500;
}

.queryintent-footer .footer-divider {
    border-color: #2E3A4F;
    opacity: 1;
}

.queryintent-footer .footer-copyright {
    font-size: 0.875rem;
    color: #64748B;
}

.queryintent-footer .footer-legal-links li {
    margin-left: 1rem;
}

@media (max-width: 767.98px) {
    .queryintent-footer .footer-section-title {
        font-size: 14px;
    }

    .queryintent-footer .footer-legal-links li {
        margin: 0.5rem;
    }
}
