:root {
    --bg-main: #0a0e17;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --border-color: rgba(59, 130, 246, 0.2);
    --border-color-glow: rgba(6, 182, 212, 0.5);
    --neon-cyan: #06b6d4;
    --neon-blue: #3b82f6;
    --neon-emerald: #10b981;
    --neon-amber: #f59e0b;
    --neon-purple: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glow-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
}

* {
    box-sizing: border-box;
}

body.omni-body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

code, pre, .font-mono {
    font-family: 'JetBrains Mono', Consolas, monospace !important;
}

/* Glassmorphism Card Utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: var(--border-color-glow);
    box-shadow: var(--glow-shadow);
}

.glass-panel-elevated {
    background: rgba(22, 31, 48, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
}

/* Gradients & Text Glow */
.text-gradient-cyan {
    background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Industrial Conveyor Animation for Simulator */
.conveyor-belt {
    height: 48px;
    background: repeating-linear-gradient(
        90deg,
        #1e293b,
        #1e293b 20px,
        #334155 20px,
        #334155 40px
    );
    border-top: 3px solid #475569;
    border-bottom: 3px solid #0f172a;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    animation: moveConveyor 2s linear infinite;
}

@keyframes moveConveyor {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

/* Scanner Beam */
.scanner-beam {
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0) 0%, rgba(239, 68, 68, 0.9) 50%, rgba(239, 68, 68, 0) 100%);
    box-shadow: 0 0 15px #ef4444;
    animation: sweepBeam 2.5s ease-in-out infinite alternate;
}

@keyframes sweepBeam {
    0% { transform: translateX(10%); }
    100% { transform: translateX(90%); }
}

/* Custom Navigation Bar */
.omni-navbar {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 1.5rem;
}

.omni-nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.omni-nav-link:hover, .omni-nav-link.active {
    color: var(--neon-cyan);
    background: rgba(6, 182, 212, 0.1);
}

/* Button Glows */
.btn-omni-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-omni-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.55);
    color: #fff;
}

.btn-omni-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-omni-outline:hover {
    background: rgba(6, 182, 212, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* Code Preview Block */
.code-block {
    background: #080c14;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    color: #e2e8f0;
    position: relative;
    overflow-x: auto;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Feature Grid Card */
.feature-card {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(26, 36, 56, 0.9);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

/* Stat Box */
.stat-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neon-cyan);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.4rem;
}

/* Radzen Dark Overrides */
.rz-datatable, .rz-grid-table {
    background: transparent !important;
    color: #e2e8f0 !important;
}

.rz-grid-table thead th {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #38bdf8 !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.rz-grid-table tbody td {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.rz-button {
    font-family: 'Inter', sans-serif;
}
