/* ==========================================================================
   AITELLIGENZ ENCORE Modules Page - Dedicated Styling System
   Tailored for Local Government Intelligence & Operations Matrix
   ========================================================================== */

:root {
    --encore-cyan: #00f0ff;
    --encore-blue: #3b82f6;
    --encore-navy: #070b15;
    --encore-dark-card: rgba(11, 18, 36, 0.78);
    --encore-border-glow: rgba(0, 240, 255, 0.22);
    --encore-border-light: rgba(255, 255, 255, 0.08);
    --encore-emerald: #10b981;
    --encore-amber: #f59e0b;
    --encore-rose: #ef4444;
    --encore-purple: #8b5cf6;
    --encore-text: #f8fafc;
    --encore-muted: #94a3b8;
}

body.encore-page {
    background-color: var(--encore-navy);
    color: var(--encore-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Cyber Grid & Glow Mesh */
.encore-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(0, 240, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
    z-index: 0;
    pointer-events: none;
}

.encore-glow-orb-1 {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(59, 130, 246, 0.03) 60%, transparent 100%);
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.encore-glow-orb-2 {
    position: absolute;
    top: 35%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(16, 185, 129, 0.03) 60%, transparent 100%);
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
}

/* Hero Section */
.encore-hero {
    position: relative;
    padding: 130px 0 60px;
    z-index: 1;
}

.encore-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 100px;
    color: var(--encore-cyan);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.encore-hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 55%, var(--encore-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.encore-hero p.lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--encore-muted);
    margin-bottom: 28px;
    max-width: 660px;
}

/* Audience Tags Bar */
.encore-audience-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding: 12px 18px;
    background: rgba(11, 18, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.encore-audience-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--encore-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
}

.encore-audience-chip {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #e2e8f0;
}

/* Hero Action Buttons */
.encore-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-encore-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--encore-blue) 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.btn-encore-primary:hover {
    background: linear-gradient(135deg, var(--encore-cyan) 0%, var(--encore-blue) 100%);
    color: #070b15;
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.btn-encore-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(11, 18, 36, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--encore-cyan);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.btn-encore-outline:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--encore-cyan);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

/* Uncropped, Full-Width Hero UI Carousel */
.hero-ui-carousel {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: #04070e;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 240, 255, 0.2);
    transition: border-color 0.4s ease;
}

.hero-ui-carousel:hover {
    border-color: var(--encore-cyan);
}

.carousel-top-bar {
    height: 42px;
    background: #0b1120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 10;
    position: relative;
}

.carousel-dots {
    display: flex;
    gap: 7px;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.carousel-dot.red { background: #ef4444; }
.carousel-dot.yellow { background: #f59e0b; }
.carousel-dot.green { background: #10b981; }

.carousel-title-badge {
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.08em;
    color: var(--encore-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-slides-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 380px;
    max-height: 580px;
    overflow: hidden;
    background: #040710;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #040710;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* CRITICAL FIX: object-fit contain ensures 100% of the UI screenshot is displayed uncropped */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #040710;
}

.carousel-caption-overlay {
    position: relative;
    width: 100%;
    padding: 12px 20px;
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    flex-wrap: wrap;
    gap: 12px;
}

.carousel-caption-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--encore-cyan);
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-indicator {
    width: 24px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--encore-cyan);
    box-shadow: 0 0 10px var(--encore-cyan);
    width: 36px;
}

/* General System Overview Video Showcase Section */
.general-video-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background: rgba(7, 11, 21, 0.9);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.general-video-frame {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 30px auto 0;
    border-radius: 16px;
    background: #04070e;
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 45px rgba(0, 240, 255, 0.25);
    overflow: hidden;
}

.general-video-frame video {
    width: 100%;
    height: auto;
    max-height: 620px;
    display: block;
}

/* Live Operational Pipeline Visualizer */
.encore-pipeline-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background: rgba(11, 18, 36, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.pipeline-card {
    background: var(--encore-dark-card);
    border: 1px solid var(--encore-border-light);
    border-radius: 14px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.pipeline-card:hover {
    border-color: var(--encore-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.pipeline-step-num {
    font-size: 0.75rem;
    font-weight: 800;
    font-family: monospace;
    color: var(--encore-cyan);
    background: rgba(0, 240, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: inline-block;
    margin-bottom: 16px;
}

.pipeline-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.pipeline-card p {
    font-size: 0.9rem;
    color: var(--encore-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.pipeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pipeline-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: #cbd5e1;
}

/* Module Filter Bar & Navigation Tabs */
.module-explorer-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.module-filter-bar {
    position: sticky;
    top: 80px;
    z-index: 50;
    background: rgba(7, 11, 21, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    padding: 18px 24px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.filter-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.search-box-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.search-box-wrapper input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    background: rgba(11, 18, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.925rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-box-wrapper input:focus {
    border-color: var(--encore-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    background: rgba(11, 18, 36, 0.95);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--encore-muted);
    pointer-events: none;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--encore-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.filter-tab-btn:hover {
    border-color: rgba(0, 240, 255, 0.3);
    color: #ffffff;
    background: rgba(0, 240, 255, 0.05);
}

.filter-tab-btn.active {
    background: var(--encore-cyan);
    color: #070b15;
    border-color: var(--encore-cyan);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Category Block Formatting */
.category-block {
    margin-bottom: 75px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--encore-cyan);
}

.category-title-group h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.category-title-group p {
    font-size: 0.95rem;
    color: var(--encore-muted);
    margin: 4px 0 0 0;
}

/* Landscape Card Format (Wide, Large Image Display) */
.landscape-modules-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.module-card-landscape {
    background: var(--encore-dark-card);
    border: 1px solid var(--encore-border-light);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s ease;
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.module-card-landscape:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.1);
}

.module-landscape-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: center;
}

.module-landscape-inner.no-image {
    grid-template-columns: 1fr;
}

.module-landscape-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.module-card-landscape h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.module-one-liner {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--encore-cyan);
    line-height: 1.45;
    margin-bottom: 16px;
}

.module-copy-box {
    background: rgba(7, 11, 21, 0.65);
    border-left: 3px solid var(--encore-cyan);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.capabilities-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--encore-muted);
}

.capabilities-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--encore-cyan);
}

.capabilities-list li strong {
    color: #f1f5f9;
}

/* Large Screenshot Container in Landscape Layout (Fully Uncropped) */
.ui-landscape-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: #040710;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.ui-landscape-image-wrapper:hover {
    transform: scale(1.015);
    border-color: var(--encore-cyan);
}

.ui-landscape-image-bar {
    background: #0d1424;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--encore-muted);
}

.ui-landscape-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: #040710;
}

/* Submodule Spotlight Box (PDRA) */
.submodule-spotlight-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(11, 18, 36, 0.85) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    position: relative;
}

.submodule-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--encore-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    margin-bottom: 12px;
}

/* Grid for System Management Items */
.system-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.system-management-card {
    background: var(--encore-dark-card);
    border: 1px solid var(--encore-border-light);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
}

.system-management-card:hover {
    border-color: var(--encore-cyan);
    transform: translateY(-4px);
}

/* Mobile Responsive Media Queries */
@media (max-width: 992px) {
    .encore-hero .container {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    .module-landscape-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff !important;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #070b15 !important;
        flex-direction: column;
        padding: 20px 24px !important;
        gap: 16px !important;
        border-bottom: 1px solid rgba(0, 240, 255, 0.3) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
        z-index: 1000;
    }
    .nav-links.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .nav-links .dropdown-content {
        position: static !important;
        display: none;
        background: rgba(11, 18, 36, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        padding: 10px 14px !important;
        margin-top: 8px !important;
        box-shadow: none !important;
    }
    .nav-links .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}

@media (max-width: 768px) {
    .encore-hero {
        padding: 90px 0 30px !important;
    }
    .encore-hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
    }
    .encore-hero p.lead {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    .encore-audience-bar {
        padding: 10px 14px !important;
        gap: 6px !important;
    }
    .encore-audience-chip {
        font-size: 0.72rem !important;
        padding: 3px 8px !important;
    }
    .encore-hero-actions {
        flex-direction: column !important;
        width: 100%;
        gap: 12px !important;
    }
    .encore-hero-actions a,
    .encore-hero-actions button {
        width: 100% !important;
        justify-content: center !important;
        text-align: center;
        padding: 14px 20px !important;
    }
    .hero-ui-carousel {
        border-radius: 12px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }
    .carousel-top-bar {
        padding: 0 10px !important;
        height: 32px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    .carousel-dots {
        gap: 5px !important;
        flex-shrink: 0;
    }
    .carousel-dot {
        width: 8px !important;
        height: 8px !important;
    }
    .carousel-title-badge {
        font-size: 0.62rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 55%;
    }
    .carousel-top-bar > span:last-child {
        font-size: 0.6rem !important;
        white-space: nowrap !important;
        flex-shrink: 0;
    }
    .carousel-slides-container {
        aspect-ratio: 16 / 10 !important;
        min-height: 200px !important;
        max-height: 360px !important;
        height: auto !important;
        background: #040710 !important;
    }
    .carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        background: #040710 !important;
    }
    .carousel-caption-overlay {
        padding: 8px 12px !important;
    }
    .carousel-caption-text {
        font-size: 0.78rem !important;
    }
    .module-card-landscape {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    .module-card-landscape h3 {
        font-size: 1.35rem !important;
    }
    .module-one-liner {
        font-size: 0.925rem !important;
    }
    .module-copy-box {
        font-size: 0.85rem !important;
        padding: 10px 14px !important;
    }
    .category-title-group h2 {
        font-size: 1.6rem !important;
    }
    .general-video-section {
        padding: 36px 0 !important;
    }
    .general-video-section h2 {
        font-size: 1.55rem !important;
    }
    .pipeline-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .system-management-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   FUTURISTIC COMMAND MATRIX UPGRADES
   ========================================================================== */

/* 3D Holographic Perspective */
.landscape-modules-list {
    perspective: 1200px;
}

.module-card-landscape {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* Cyber-Glitch Border Glow on Hover */
.module-card-landscape:hover {
    border-color: var(--encore-cyan);
    box-shadow: 
        0 0 20px rgba(0, 240, 255, 0.4),
        inset 0 0 15px rgba(0, 240, 255, 0.1),
        0 0 40px rgba(59, 130, 246, 0.3);
    animation: borderGlitch 3s infinite linear alternate;
}

@keyframes borderGlitch {
    0% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), -2px 0 10px rgba(239, 68, 68, 0.4), 2px 0 10px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), 2px 0 12px rgba(239, 68, 68, 0.3), -2px 0 12px rgba(16, 185, 129, 0.5); }
    100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), -1px 0 8px rgba(239, 68, 68, 0.5), 1px 0 8px rgba(16, 185, 129, 0.3); }
}

/* Telemetry Scanner Line */
.ui-landscape-image-wrapper {
    position: relative;
    overflow: hidden;
}

.ui-landscape-image-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.8), transparent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    opacity: 0.6;
    animation: scanline 4s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scanline {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 110%; opacity: 0; }
}

/* Data Decryption Reveal Classes */
.decrypt-text {
    visibility: hidden;
}

.decrypt-text.is-decrypted {
    visibility: visible;
    animation: decryptAnim 0.6s steps(20, end);
}

@keyframes decryptAnim {
    0% { clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 5px var(--encore-cyan)) brightness(2); }
    100% { clip-path: inset(0 0 0 0); filter: drop-shadow(0 0 0 transparent) brightness(1); }
}
