@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');

:root, [data-theme="red"] {
    --brand-primary: #ea2845;
    --brand-hover: #d1223c;
    --brand-glow: rgba(234, 40, 69, 0.25);
    --brand-muted: rgba(234, 40, 69, 0.12);
    --brand-border: rgba(234, 40, 69, 0.35);
    --brand-shadow: rgba(234, 40, 69, 0.4);
    --bg-dark: #0d0f12;
    --bg-card: #15181e;
    --border-color: #232730;
    --text-main: #ffffff;
    --text-muted: #8b949e;
}
:root {
    --h: 349;
    --brand: hsl(var(--h), 82%, 53%);
    --brand-dim: hsla(var(--h), 82%, 53%, 0.12);
    --brand-glow: hsla(var(--h), 82%, 53%, 0.35);
}
[data-theme="indigo"] {
    --h: 239;
}

[data-theme="emerald"] {
    --h: 160;
}

[data-theme="amber"] {
    --h: 38;
}

[data-theme="cyan"] {
    --h: 188;
}
[data-theme="indigo"] {
    --brand-primary: #6366f1;
    --brand-hover: #4f46e5;
    --brand-glow: rgba(99, 102, 241, 0.25);
    --brand-muted: rgba(99, 102, 241, 0.12);
    --brand-border: rgba(99, 102, 241, 0.35);
    --brand-shadow: rgba(99, 102, 241, 0.4);
}

[data-theme="emerald"] {
    --brand-primary: #10b981;
    --brand-hover: #059669;
    --brand-glow: rgba(16, 185, 129, 0.25);
    --brand-muted: rgba(16, 185, 129, 0.12);
    --brand-border: rgba(16, 185, 129, 0.35);
    --brand-shadow: rgba(16, 185, 129, 0.4);
}

[data-theme="amber"] {
    --brand-primary: #f59e0b;
    --brand-hover: #d97706;
    --brand-glow: rgba(245, 158, 11, 0.25);
    --brand-muted: rgba(245, 158, 11, 0.12);
    --brand-border: rgba(245, 158, 11, 0.35);
    --brand-shadow: rgba(245, 158, 11, 0.4);
}

[data-theme="cyan"] {
    --brand-primary: #06b6d4;
    --brand-hover: #0891b2;
    --brand-glow: rgba(6, 182, 212, 0.25);
    --brand-muted: rgba(6, 182, 212, 0.12);
    --brand-border: rgba(6, 182, 212, 0.35);
    --brand-shadow: rgba(6, 182, 212, 0.4);
}



body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

.code-font {
    font-family: 'Fira Code', monospace;
}

/* Glass & Card styles */
.nest-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

    .nest-card:hover {
        border-color: var(--brand-border);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px var(--brand-glow);
    }

.feature-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-muted) 0%, transparent 100%);
    color: var(--brand-primary);
    border: 1px solid var(--brand-border);
    transition: all 0.4s ease;
}

.nest-card:hover .feature-icon-wrapper {
    background: var(--brand-primary);
    color: #fff;
    transform: translateZ(20px);
    box-shadow: 0 10px 25px var(--brand-glow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #2a2e37;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #3f4552;
    }

/* Dynamic Brand Utilities */
.bg-brand-dyn {
    background-color: var(--brand-primary) !important;
}

    .bg-brand-dyn:hover {
        background-color: var(--brand-hover) !important;
    }

.text-brand-dyn {
    color: var(--brand-primary) !important;
}

.border-brand-dyn {
    border-color: var(--brand-primary) !important;
}

.shadow-brand-dyn {
    box-shadow: 0 10px 30px -5px var(--brand-shadow) !important;
}

/* Gradients */
.text-gradient {
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
    background: linear-gradient(135deg, #fff 20%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background mesh */
.bg-mesh {
    background-image: radial-gradient(at 0% 0%, var(--brand-muted) 0px, transparent 50%), radial-gradient(at 100% 0%, var(--brand-muted) 0px, transparent 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Reveal classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 100ms;
}

.reveal-delay-2 {
    transition-delay: 200ms;
}

.reveal-delay-3 {
    transition-delay: 300ms;
}

/* Arch Layer active state */
.arch-layer {
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 2px solid transparent;
}

    .arch-layer:hover {
        background-color: rgba(255,255,255,0.03);
    }

    .arch-layer.active {
        border-color: var(--brand-primary);
        background-color: var(--brand-muted);
    }

        .arch-layer.active h5 {
            color: var(--brand-primary);
        }

/* IDE Mockup styling */
.ide-header {
    background: #111317;
    border-bottom: 1px solid var(--border-color);
}

.ide-body {
    background: #0d0f12;
}

.ide-tab {
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

    .ide-tab.active {
        color: #fff;
        border-color: var(--brand-primary);
    }

    .ide-tab:hover:not(.active) {
        color: #9ca3af;
    }

/* Code highlight colors */
.c-keyword {
    color: #ff7b72;
}

.c-string {
    color: #a5d6ff;
}

.c-type {
    color: #d2a8ff;
}

.c-method {
    color: #79c0ff;
}

.c-comment {
    color: #8b949e;
    font-style: italic;
}

/* Theme Selector Floating Bar */
.theme-picker-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    border: 2px solid rgba(255,255,255,0.25);
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    /* Expanded invisible hit area to completely prevent cursor jitter / flicker */
    .theme-picker-btn::after {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
    }

    .theme-picker-btn:hover {
        transform: scale(1.15);
        border-color: #ffffff;
        box-shadow: 0 0 8px rgba(255,255,255,0.4);
    }

    .theme-picker-btn.active {
        border-color: #ffffff;
        transform: scale(1.15);
        box-shadow: 0 0 10px rgba(255,255,255,0.7);
    }

/* Doc Sidebar scroll */
.doc-sidebar-scroll {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
}

    .doc-sidebar-scroll::-webkit-scrollbar {
        width: 4px;
    }

    .doc-sidebar-scroll::-webkit-scrollbar-thumb {
        background: #232730;
        border-radius: 2px;
    }

.doc-link-active {
    background: var(--brand-muted);
    color: var(--brand-primary);
    border-left: 2px solid var(--brand-primary);
    padding-left: calc(0.75rem - 2px);
}

/* Google reCAPTCHA Styling */
.g-recaptcha-container {
    display: inline-block;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

@media (max-width: 380px) {
    .g-recaptcha-container {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20%, 60% {
        transform: translateX(-6px);
    }

    40%, 80% {
        transform: translateX(6px);
    }
}

.animate-shake {
    animation: shake 0.45s ease-in-out;
}
.conversation-card {
    position: relative;
    overflow: hidden;
}

    .conversation-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(234, 40, 69, .7), transparent );
        opacity: .7;
    }

.demo-panel {
    background: linear-gradient( 135deg, rgba(234, 40, 69, .055), rgba(21, 24, 30, .96) );
    border: 1px solid rgba(234, 40, 69, .15);
}

.demo-select {
    appearance: none;
    background-color: #1c1f26;
    background-image: none;
}

    .demo-select option {
        background: #15181e;
        color: white;
    }

.scenario-button {
    transition: all .2s ease;
}

    .scenario-button.active {
        border-color: rgba(234, 40, 69, .55);
        background: rgba(234, 40, 69, .10);
        color: #fff;
        box-shadow: 0 0 20px rgba(234, 40, 69, .08);
    }

.conversation-timeline {
    position: relative;
}

    .conversation-timeline::before {
        content: "";
        position: absolute;
        top: 25px;
        bottom: 25px;
        left: 23px;
        width: 1px;
        background: #2a2e37;
    }

.message-row {
    position: relative;
    display: flex;
    gap: 18px;
}

.message-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: #15181e;
    border: 1px solid #30343e;
}

    .message-avatar.user {
        color: #9ca3af;
    }

    .message-avatar.team {
        color: #ea2845;
        border-color: rgba(234, 40, 69, .35);
        box-shadow: 0 0 25px rgba(234, 40, 69, .08);
    }

.message-content {
    flex: 1;
    min-width: 0;
}

.message-bubble {
    margin-top: 8px;
    padding: 20px;
    border-radius: 4px 18px 18px 18px;
    background: #1c1f26;
    border: 1px solid #292d36;
}

    .message-bubble.team {
        border-color: rgba(234, 40, 69, .22);
        background: linear-gradient( 135deg, rgba(234, 40, 69, .055), rgba(28, 31, 38, .95) );
    }

.message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.status-new {
    color: #60a5fa;
    background: rgba(59, 130, 246, .09);
    border: 1px solid rgba(59, 130, 246, .2);
}

.status-replied {
    color: #34d399;
    background: rgba(16, 185, 129, .09);
    border: 1px solid rgba(16, 185, 129, .2);
}

.status-pending {
    color: #f59e0b;
    background: rgba(245, 158, 11, .09);
    border: 1px solid rgba(245, 158, 11, .2);
}

.status-progress {
    color: #a78bfa;
    background: rgba(139, 92, 246, .09);
    border: 1px solid rgba(139, 92, 246, .2);
}

.status-closed {
    color: #9ca3af;
    background: rgba(156, 163, 175, .08);
    border: 1px solid rgba(156, 163, 175, .18);
}

.status-rejected {
    color: #fb7185;
    background: rgba(244, 63, 94, .08);
    border: 1px solid rgba(244, 63, 94, .18);
}

.conversation-empty {
    border: 1px dashed #30343e;
    background: rgba(28, 31, 38, .55);
}

.waiting-icon {
    animation: waitingPulse 2s ease-in-out infinite;
}

@keyframes waitingPulse {
    0%, 100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@media (max-width: 640px) {

    .conversation-timeline::before {
        left: 19px;
    }

    .message-row {
        gap: 12px;
    }

    .message-avatar {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 11px;
        font-size: 13px;
    }

    .message-bubble {
        padding: 15px;
        border-radius: 4px 14px 14px 14px;
    }

    .message-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
/* =========================================================
           Contact Page
        ========================================================= */

.contact-page {
    min-height: 100vh;
}

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
           Hero
        ========================================================= */

.contact-hero {
    padding: 100px 0 70px;
    text-align: center;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .10);
    border: 1px solid rgba(239, 68, 68, .18);
    color: #f87171;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px;
}

    .contact-hero-badge i {
        font-size: 8px;
    }

.contact-hero-title {
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    font-weight: 800;
    color: #fff;
}

    .contact-hero-title span {
        color: #ef4444;
    }

.contact-hero-description {
    max-width: 700px;
    margin: 24px auto 0;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
           Main Grid
        ========================================================= */

.contact-main {
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: start;
}

/* =========================================================
           Section Titles
        ========================================================= */

.contact-section-label {
    margin-bottom: 8px;
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-section-title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.contact-section-description {
    margin: 12px 0 26px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.75;
}

/* =========================================================
           Contact Channels
        ========================================================= */

.contact-channels {
    display: grid;
    gap: 12px;
}

.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .contact-channel:hover {
        transform: translateY(-2px);
        border-color: rgba(239,68,68,.30);
        background: rgba(255,255,255,.04);
        box-shadow: 0 15px 35px rgba(0,0,0,.18);
    }

.contact-channel-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(239,68,68,.10);
    color: #ef4444;
}

.contact-channel-title {
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.contact-channel-text {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.65;
}

/* =========================================================
           Direct Channels
        ========================================================= */

.contact-direct {
    margin-top: 30px;
}

.contact-direct-links {
    display: grid;
    gap: 9px;
}

.contact-direct-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    color: #d1d5db;
    text-decoration: none;
    font-size: 12px;
    transition: .2s ease;
}

    .contact-direct-link:hover {
        border-color: rgba(239,68,68,.25);
        background: rgba(255,255,255,.035);
        color: #fff;
    }

.contact-direct-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .contact-direct-left i {
        width: 20px;
        text-align: center;
        color: #ef4444;
    }

.contact-direct-link > i {
    color: #6b7280;
    font-size: 10px;
}

/* =========================================================
           Form Card
        ========================================================= */

.contact-form-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 25px 60px rgba(0,0,0,.20);
    backdrop-filter: blur(12px);
}

.contact-form-header {
    padding: 26px 28px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
}

    .contact-form-header h2 {
        margin: 0;
        color: #fff;
        font-size: 22px;
        font-weight: 800;
    }

    .contact-form-header p {
        margin: 7px 0 0;
        color: #9ca3af;
        font-size: 12px;
        line-height: 1.7;
    }

.contact-form-body {
    padding: 28px;
}

/* =========================================================
           Validation
        ========================================================= */

.contact-validation-summary {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 10px;
    background: rgba(239,68,68,.08);
    color: #fca5a5;
    font-size: 12px;
}

    .contact-validation-summary:empty {
        display: none;
    }

.contact-validation {
    display: block;
    margin-top: 6px;
    color: #f87171;
    font-size: 11px;
}

/* =========================================================
           Inputs
        ========================================================= */

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form-group {
    margin-bottom: 18px;
}

.contact-form-label {
    display: block;
    margin-bottom: 7px;
    color: #d1d5db;
    font-size: 12px;
    font-weight: 700;
}

.contact-required {
    color: #ef4444;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 9px;
    outline: none;
    background: rgba(0,0,0,.16);
    color: #f9fafb;
    font-family: inherit;
    font-size: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-input,
.contact-select {
    height: 44px;
    padding: 0 13px;
}

.contact-textarea {
    min-height: 145px;
    padding: 12px 13px;
    resize: vertical;
    line-height: 1.7;
}

    .contact-input::placeholder,
    .contact-textarea::placeholder {
        color: #6b7280;
    }

    .contact-input:focus,
    .contact-select:focus,
    .contact-textarea:focus {
        border-color: rgba(239,68,68,.65);
        background: rgba(0,0,0,.22);
        box-shadow: 0 0 0 3px rgba(239,68,68,.08);
    }

.contact-select option {
    background: #111827;
    color: #fff;
}

.contact-form-hint {
    margin-top: 6px;
    color: #6b7280;
    font-size: 10px;
}

/* =========================================================
           CAPTCHA
        ========================================================= */

.contact-captcha {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(0,0,0,.12);
    color: #6b7280;
    font-size: 11px;
}

    .contact-captcha i {
        color: #6b7280;
    }

/* =========================================================
           Submit
        ========================================================= */

.contact-submit {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(239,68,68,.18);
    transition: .2s ease;
}

    .contact-submit:hover {
        background: #dc2626;
        transform: translateY(-1px);
    }

    .contact-submit:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

.contact-privacy {
    margin-top: 12px;
    text-align: center;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.65;
}

/* =========================================================
           Conversation
        ========================================================= */

.contact-conversation-section {
    margin-top: 80px;
}

.contact-conversation-header {
    max-width: 680px;
    margin: 0 auto 28px;
    text-align: center;
}

    .contact-conversation-header p {
        margin-top: 12px;
        color: #9ca3af;
        font-size: 13px;
        line-height: 1.75;
    }

.contact-conversation-card {
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 17px;
    background: rgba(255,255,255,.025);
}

.contact-conversation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
}

.contact-conversation-code {
    color: #9ca3af;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.contact-status-new {
    background: rgba(59,130,246,.12);
    color: #60a5fa;
}

.contact-status-progress {
    background: rgba(249,115,22,.12);
    color: #fb923c;
}

.contact-status-waiting {
    background: rgba(234,179,8,.12);
    color: #facc15;
}

.contact-status-replied {
    background: rgba(16,185,129,.12);
    color: #34d399;
}

.contact-status-closed {
    background: rgba(156,163,175,.12);
    color: #9ca3af;
}

.contact-status-rejected {
    background: rgba(239,68,68,.12);
    color: #f87171;
}

.contact-conversation-body {
    padding: 25px;
}

.contact-message {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

    .contact-message:last-child {
        margin-bottom: 0;
    }

.contact-message-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

    .contact-message-avatar.user {
        background: rgba(255,255,255,.08);
        color: #9ca3af;
    }

    .contact-message-avatar.team {
        background: rgba(239,68,68,.11);
        color: #ef4444;
    }

.contact-message-content {
    flex: 1;
    min-width: 0;
}

.contact-message-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 10px;
}

.contact-message-name {
    color: #d1d5db;
    font-weight: 700;
}

.contact-message-bubble {
    display: inline-block;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 11px;
    background: rgba(255,255,255,.045);
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.75;
    white-space: pre-line;
}

    .contact-message-bubble.team {
        background: rgba(239,68,68,.08);
    }

.contact-conversation-empty {
    padding: 45px 25px;
    text-align: center;
}

.contact-conversation-empty-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    color: #6b7280;
    font-size: 18px;
}

.contact-conversation-empty h3 {
    margin: 0;
    color: #d1d5db;
    font-size: 15px;
    font-weight: 800;
}

.contact-conversation-empty p {
    max-width: 470px;
    margin: 8px auto 0;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.75;
}

/* =========================================================
           FAQ
        ========================================================= */

.contact-faq-section {
    margin-top: 85px;
}

.contact-faq-header {
    margin-bottom: 28px;
    text-align: center;
}

.contact-faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    gap: 9px;
}

.contact-faq-item {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
}

    .contact-faq-item summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 17px 18px;
        color: #d1d5db;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

        .contact-faq-item summary::-webkit-details-marker {
            display: none;
        }

        .contact-faq-item summary i {
            color: #6b7280;
            transition: .2s ease;
        }

    .contact-faq-item[open] summary i {
        transform: rotate(180deg);
    }

.contact-faq-answer {
    padding: 0 18px 18px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.75;
}

/* =========================================================
           CTA
        ========================================================= */

.contact-cta {
    margin-top: 90px;
    padding: 55px 25px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    background: radial-gradient( circle at top right, rgba(239,68,68,.16), transparent 38% ), rgba(255,255,255,.025);
    text-align: center;
}

    .contact-cta h2 {
        margin: 0;
        color: #fff;
        font-size: clamp(25px, 4vw, 36px);
        font-weight: 800;
    }

    .contact-cta p {
        max-width: 620px;
        margin: 13px auto 24px;
        color: #9ca3af;
        font-size: 13px;
        line-height: 1.75;
    }

.contact-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: .2s ease;
}

    .contact-cta-button:hover {
        background: #dc2626;
        transform: translateY(-2px);
    }

/* =========================================================
           Responsive
        ========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding-top: 75px;
    }
}

@media (max-width: 640px) {

    .contact-container {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        padding: 60px 0 45px;
    }

    .contact-hero-title {
        letter-spacing: -1.5px;
    }

    .contact-hero-description {
        font-size: 13px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-header,
    .contact-form-body {
        padding: 20px;
    }

    .contact-conversation-body {
        padding: 18px;
    }

    .contact-cta {
        margin-top: 65px;
        padding: 42px 20px;
    }
}
.theme-picker-btn {
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s;
}

    .theme-picker-btn:hover, .theme-picker-btn.active {
        border-color: #fff;
        transform: scale(1.2);
    }
/* ===== Dependency stack ===== */
.stack {
    position: relative;
}

.connector {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .connector .line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: linear-gradient(180deg, var(--brand), transparent);
        opacity: .35;
    }

    .connector .chev {
        position: relative;
        z-index: 1;
        width: 22px;
        height: 22px;
        border-radius: 9999px;
        background: #15181e;
        border: 1px solid #232730;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--brand);
        font-size: 10px;
    }

.layer {
    background: #15181e;
    border: 1px solid #232730;
    border-radius: 12px;
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.4,0,.2,1), border-color .2s, box-shadow .2s;
}

    .layer.in {
        opacity: 1;
        transform: translateY(0);
    }

    .layer:hover {
        border-color: var(--brand-glow);
        box-shadow: 0 0 0 1px var(--brand-glow), 0 20px 40px -24px var(--brand-glow);
    }

    .layer::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--brand);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .3s cubic-bezier(.4,0,.2,1);
    }

    .layer:hover::before {
        transform: scaleY(1);
    }

.lidx {
    font-family: 'Fira Code',monospace;
    font-size: 10px;
    color: #525c6e;
    letter-spacing: .05em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .lidx .tag {
        background: var(--brand-dim);
        color: var(--brand);
        border: 1px solid var(--brand-glow);
        padding: 1px 7px;
        border-radius: 4px;
        font-weight: 600;
    }

.lhead {
    display: flex;
    align-items: center;
    gap: 14px;
}

.licon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    background: #1c1f26;
    border: 1px solid #232730;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #8892a4;
    transition: all .25s;
}

.layer:hover .licon {
    background: var(--brand-dim);
    border-color: var(--brand-glow);
    color: var(--brand);
}

.ltitle {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f0f2f8;
}

.lgo {
    color: #525c6e;
    font-size: 12px;
    transition: all .2s;
}

.layer:hover .lgo {
    color: var(--brand);
    transform: translateX(3px);
}

.ldesc {
    color: #8892a4;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.55;
    max-width: 38ch;
}

.pill-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 9999px;
    background: #1c1f26;
    border: 1px solid #232730;
    font-size: 12px;
    color: #8892a4;
    text-decoration: none;
    transition: all .2s;
}

    .pill:hover {
        border-color: var(--brand-glow);
        color: var(--brand);
        background: var(--brand-dim);
    }

.layer-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.foot {
    font-family: 'Fira Code',monospace;
}