/* ========================================================================
 ! WARRANTEED COMPONENT: INFRASTRUCTURE VS CHATBOTS COMPARISON
 ! Developed/Tested: June 2026 // Target Viewport: Unified Cross-Device
 ======================================================================== */

/* --- 1. GENERAL CORE LAYOUT SPACE --- */
.telemetry-section {
    width: 100vw;
    padding: 100px 20px;
    background: #0f172a;
    text-align: center;
    box-sizing: border-box;
}

.telemetry-container {
    max-width: 1100px;
    margin: 0 auto;
}

.telemetry-header-group {
    margin-bottom: 60px;
}

.telemetry-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border: 1px solid #312e81;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.telemetry-main-title {
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    font-size: 2.8rem;
    margin: 20px 0;
    letter-spacing: -1.5px;
}

.telemetry-main-title .accent-indigo { color: #6366f1; }

.telemetry-subtitle {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
}

/* --- 2. COMPARISON CARD SECTION RUNWAY (DESKTOP) --- */
.comparison-grid {
    display: flex;
    gap: 40px;
    text-align: left;
    align-items: stretch; /* Forces both cards to match equal structural height scales */
}

.comp-card {
    flex: 1;
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.legacy-card {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.active-registry-card {
    background: rgba(99, 102, 241, 0.1) !important; /* Semi-transparent blue tint matching your audit panel */
    border: 1px solid #6366f1 !important;           /* Solid indigo border line */
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3) !important; /* Glowing indigo drop shadow depth */
}

.card-meta-tag {
    font-size: 0.65rem;
    font-family: 'Space Mono', monospace;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.legacy-card .card-meta-tag { color: #94a3b8; }
.active-registry-card .card-meta-tag { color: #6366f1; }

.card-title {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    font-family: 'JetBrains Mono', monospace;
}
.legacy-card .card-title { color: #475569; }
.active-registry-card .card-title { color: #fff; }

/* Internal Code/Quote Enclosures */
.card-inner-box {
    padding: 20px;
    border-radius: 12px;
    flex-grow: 1; /* Pushes bottom alert triggers down uniformly */
    box-sizing: border-box;
}

.content-quote-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.content-quote-box p { margin: 0; }

.console-box {
    background: #1e293b;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #10b981;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.console-text .text-white { color: #fff; }

/* Blinking Console Cursor Terminal Keyframe hook */
.console-cursor {
    animation: terminalBlink 1s infinite steps(2, start);
}

/* Base Bottom Alert Banners */
.status-banner {
    margin-top: 25px;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
}

.banner-danger {
    border: 1px dashed #fca5a5;
    background: #fef2f2;
    color: #b91c1c;
}

.banner-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

/* --- 3. ANIMATION LIBRARIES --- */
@keyframes terminalBlink {
    to { visibility: hidden; }
}


/* ========================================================================
 ! --- 4. MOBILE BREAKPOINT RESPONSIVENESS (Screens under 768px wide) ---
 ======================================================================== */
@media (max-width: 768px) {
    .telemetry-section {
        padding: 60px 15px !important;
    }

    .telemetry-main-title {
        font-size: 2.8rem !important;
        letter-spacing: -0.5px !important;
    }

    .telemetry-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    /* Collapse side-by-side blocks into a single vertical stack */
    .comparison-grid {
        flex-direction: column !important;
        gap: 25px !important;
    }

    .comp-card {
        width: 100% !important;
        padding: 24px 20px !important;
    }

    .card-title {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .card-inner-box {
        padding: 15px !important;
        font-size: 0.78rem !important;
    }

    .console-box {
        font-size: 0.72rem !important;
        line-height: 1.5 !important;
    }

    .status-banner {
        margin-top: 20px !important;
        font-size: 0.65rem !important;
        padding: 10px !important;
    }
}