/* OmniTeq Cloud Dashboard Styling */
:root {
    /* Universal Rich Deep Midnight Theme (Universal Dark Fallback) */
    --bg-light: #060913;
    --surface-light: #0d1222;
    --text-light: #f8fafc;
    --text-muted-light: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(13, 18, 33, 0.65);
    --glass-border-light: rgba(255, 255, 255, 0.05);

    /* Dedicated Dark Theme Base Variables */
    --bg-dark: #060913;
    --surface-dark: #0d1222;
    --text-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    --border-dark: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(13, 18, 33, 0.65);
    --glass-border-dark: rgba(255, 255, 255, 0.05);

    /* Dynamic Custom Accent & Glow Parameters */
    --primary: #0ea5e9; /* Sky Cyan by default */
    --primary-hover: #0284c7;
    --primary-glow: rgba(14, 165, 233, 0.15);
    --glow-opacity: 0.45; /* Interactive variable */

    /* Brand & Accent Colors */
    --primary-hover-legacy: #2563eb;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.08);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.08);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --info: #8b5cf6;
    --info-bg: rgba(139, 92, 246, 0.08);

    /* Spacing & Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed: 80px;
    --header-height: 70px;
    --transition-speed: 0.3s;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-main: 'Inter', sans-serif;
}

/* Interactive Accent Themes */
body.accent-cyan {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-glow: rgba(14, 165, 233, 0.15);
}
body.accent-indigo {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.15);
}
body.accent-purple {
    --primary: #a855f7;
    --primary-hover: #9333ea;
    --primary-glow: rgba(168, 85, 247, 0.15);
}
body.accent-emerald {
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.4);
}

body.dark-theme ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}
body.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-speed);
}

body.dark-theme .glass-panel {
    background: var(--glass-bg-dark);
    border-color: var(--glass-border-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.glass-panel-sidebar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--glass-border-light);
    transition: width var(--transition-speed), background var(--transition-speed);
}

body.dark-theme .glass-panel-sidebar {
    background: rgba(15, 23, 42, 0.6);
    border-right-color: var(--glass-border-dark);
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    z-index: 100;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-light);
}

body.dark-theme .sidebar-header {
    border-color: var(--border-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    overflow: hidden;
    white-space: nowrap;
}

.logo i {
    font-size: 28px;
    min-width: 28px;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted-light);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

body.dark-theme .toggle-btn {
    color: var(--text-muted-dark);
}

.toggle-btn:hover {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    padding: 20px 10px;
    flex: 1;
    overflow-y: auto;
}

.nav-links li {
    margin-bottom: 8px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    color: var(--text-muted-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.4px;
    font-size: 14.5px;
    border-left: 3px solid transparent;
}

body.dark-theme .nav-links a {
    color: var(--text-muted-dark);
}

.nav-links a i {
    font-size: 22px;
    min-width: 22px;
    transition: transform 0.25s ease;
}

.nav-links li.active a,
.nav-links a:hover {
    background: linear-gradient(90deg, var(--primary-glow) 0%, rgba(255, 255, 255, 0.01) 100%);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 18px;
    letter-spacing: 0.6px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.nav-links li.active a i,
.nav-links a:hover i {
    transform: scale(1.1);
}

.sidebar.collapsed .logo span,
.sidebar.collapsed .nav-links .link-name {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.sidebar.collapsed .logo {
    display: none;
}

.divider {
    height: 1px;
    background: var(--border-light);
    margin: 16px 10px;
}

body.dark-theme .divider {
    background: var(--border-dark);
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* Topbar */
.topbar {
    height: var(--header-height);
    background: var(--glass-bg-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 90;
}

body.dark-theme .topbar {
    background: var(--glass-bg-dark);
    border-color: var(--glass-border-dark);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 8px 16px;
    width: 300px;
}

body.dark-theme .search-box {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--border-dark);
}

.search-box i {
    color: var(--text-muted-light);
    font-size: 20px;
    margin-right: 8px;
}

body.dark-theme .search-box i {
    color: var(--text-muted-dark);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    color: var(--text-light);
    width: 100%;
    font-family: var(--font-main);
}

body.dark-theme .search-box input {
    color: var(--text-dark);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted-light);
    font-size: 24px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

body.dark-theme .icon-btn {
    color: var(--text-muted-dark);
}

.icon-btn:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: var(--text-muted-light);
}

body.dark-theme .user-role {
    color: var(--text-muted-dark);
}

/* Dashboard Content */
.content-wrapper {
    padding: 30px 40px;
    flex: 1;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body.dark-theme .stat-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.b-blue { background: var(--info-bg); color: var(--primary); }
.b-green { background: var(--success-bg); color: var(--success); }
.b-red { background: var(--danger-bg); color: var(--danger); }
.b-purple { background: var(--info-bg); color: var(--info); }

.stat-details h3 {
    font-size: 14px;
    color: var(--text-muted-light);
    font-weight: 500;
    margin-bottom: 4px;
}

body.dark-theme .stat-details h3 {
    color: var(--text-muted-dark);
}

.stat-details h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trend, .status-text {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.trend.up { color: var(--success); }
.text-green { color: var(--success); }
.text-red { color: var(--danger); }

/* Main Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

body.dark-theme .panel-header {
    border-color: var(--border-dark);
}

.panel-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.view-all {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Chart Container */
.chart-container {
    display: flex;
    flex-direction: column;
}

.canvas-wrapper {
    padding: 24px;
    flex: 1;
    position: relative;
    height: 350px;
}

.styled-select {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

body.dark-theme .styled-select {
    background: var(--surface-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

/* Device List */
.device-list {
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: background 0.2s, transform 0.2s;
    border: 1px solid transparent;
}

.device-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
    border-color: var(--border-light);
}

body.dark-theme .device-item {
    border-color: transparent;
}

body.dark-theme .device-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-dark);
}

.device-item:last-child {
    border-bottom: none;
}

.device-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.device-status.online { background: var(--success); box-shadow: 0 0 8px var(--success); }
.device-status.offline { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

.device-info {
    flex: 1;
}

.device-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.device-info p {
    font-size: 12px;
    color: var(--text-muted-light);
}

body.dark-theme .device-info p {
    color: var(--text-muted-dark);
}

.device-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.badge.b-gray {
    position: static;
    background: var(--border-light);
    color: var(--text-muted-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    width: auto;
    height: auto;
}

body.dark-theme .badge.b-gray {
    background: var(--border-dark);
    color: var(--text-muted-dark);
}

.time {
    font-size: 11px;
    color: var(--text-muted-light);
}

body.dark-theme .time {
    color: var(--text-muted-dark);
}

.btn-icon {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

body.dark-theme .btn-icon {
    background: var(--surface-dark);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Tables */
.mt-4 { margin-top: 24px; }

.table-responsive {
    overflow-x: auto;
    padding: 0 24px 24px 24px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.styled-table th, .styled-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}

.styled-table tbody tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

body.dark-theme .styled-table th, body.dark-theme .styled-table td {
    border-color: var(--border-dark);
}

body.dark-theme .styled-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.styled-table th {
    font-weight: 600;
    color: var(--text-muted-light);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

body.dark-theme .styled-table th {
    color: var(--text-muted-dark);
}

.id-col {
    font-family: monospace;
    color: var(--text-muted-light);
}

body.dark-theme .id-col {
    color: var(--text-muted-dark);
}

code {
    background: var(--border-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}

body.dark-theme code {
    background: var(--border-dark);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success { background: var(--success-bg); color: var(--success); }
.status-badge.failed { background: var(--danger-bg); color: var(--danger); }
.status-badge.queued { background: var(--warning-bg); color: var(--warning); }
.status-badge.sent { background: var(--info-bg); color: var(--info); }

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.collapsed ~ .main-content {
        margin-left: 0;
    }
    
    .topbar {
        padding: 0 20px;
    }
    
    .search-box {
        width: 200px;
    }
}

/* ==========================================================================
   Landing Page Specific Styles
   ========================================================================== */
   
.landing-page {
    background-color: #0b0f19; /* Darker background for landing */
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* Abstract glowing backgrounds */
.dashboard-page {
    background-color: #0b0f19;
    position: relative;
    overflow-x: hidden;
}

.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: var(--glow-opacity, 0.45);
    pointer-events: none;
    transition: opacity 0.15s ease-out;
}

.glow-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--primary-glow); /* Dynamic Primary blue glow */
}

.glow-2 {
    top: 40%;
    right: -200px;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.12); /* Purple */
}

.glow-3 {
    bottom: -150px;
    left: 20%;
    width: 700px;
    height: 400px;
    background: rgba(16, 185, 129, 0.08); /* Green */
}

/* Typography Enhancements */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}
.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted-dark);
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    padding: 14px 28px;
    z-index: 1000;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav.scrolled {
    top: 10px;
    padding: 8px 24px;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links-desktop {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-links-desktop a:hover,
.nav-links-desktop a.active {
    color: #60a5fa;
}

/* Sliding active & hover indicators */
.nav-links-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links-desktop a:hover::after,
.nav-links-desktop a.active::after {
    width: 100%;
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Shimmer buttons & sleek hover cues */
.landing-nav .cta-button {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.landing-nav .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), 0 0 15px rgba(139, 92, 246, 0.3);
}

/* Moving shimmer Glow effect */
.landing-nav .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.landing-nav .cta-button:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 150%;
    }
}

.landing-nav .nav-auth-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 50px;
    background: transparent;
}

.landing-nav .nav-auth-link:hover {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.05);
}

.landing-nav .nav-auth-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
}

.landing-nav .nav-auth-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Asymmetric Terminal-style Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    padding: 10px 9px;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hamburger-btn .bar {
    display: block;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sleek terminal asymmetry */
.hamburger-btn .bar:nth-child(1) { width: 14px; margin-left: auto; }
.hamburger-btn .bar:nth-child(2) { width: 18px; }
.hamburger-btn .bar:nth-child(3) { width: 10px; margin-left: auto; }

/* Hamburger Open / Active Morph */
.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    width: 18px;
}
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}
.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 18px;
}

/* Mobile Dropdown Menu */
.mobile-nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.05);
}

.mobile-nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.3s;
    background: transparent;
    opacity: 0;
    transform: translateY(15px);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.04);
    padding-left: 20px;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
}

.mobile-nav-actions .mobile-auth-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}

.mobile-nav-actions .mobile-auth-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-actions .mobile-auth-btn {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.mobile-nav-actions .mobile-auth-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Stagger Animation for mobile nav elements */
.mobile-nav-menu.active .mobile-nav-links a {
    animation: slideInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-nav-menu.active .mobile-nav-actions {
    animation: slideInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    padding: 180px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}
.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Visual Mockup */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}
.dashboard-mockup {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    background: var(--surface-dark);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateX(5deg);
    transform-origin: top center;
    transition: transform 0.5s;
}
.dashboard-mockup:hover { transform: rotateX(0deg); }
.mockup-header {
    height: 40px;
    background: #0f172a;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.mockup-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-dark);
    margin-right: 6px;
}
.mockup-body { display: flex; flex: 1; }
.mockup-sidebar {
    width: 20%;
    border-right: 1px solid var(--border-dark);
    background: #0f172a;
}
.mockup-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mockup-cards { display: flex; gap: 16px; }
.m-card {
    flex: 1;
    height: 80px;
    background: var(--glass-bg-dark);
    border-radius: var(--radius-md);
}
.m-chart {
    flex: 1;
    background: var(--glass-bg-dark);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}
.m-line {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 60%;
    border-bottom: 2px solid var(--primary);
    border-radius: 50% 50% 0 0;
    box-shadow: 0 20px 20px -10px rgba(59,130,246,0.3);
}

.floating-element {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-lg);
    animation: float 6s ease-in-out infinite;
}
.f-1 { top: 10%; right: -5%; }
.f-2 { bottom: 20%; left: -5%; animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Sections */
.features-section, .api-section, .cta-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header { margin-bottom: 60px; }
.section-title { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-muted-dark); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 30px;
    text-align: left;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.f-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted-dark); line-height: 1.6; font-size: 14px; }

/* API Section */
.api-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.api-content { flex: 1; text-align: left; }
.api-content .section-subtitle { margin: 0 0 30px 0; max-width: 100%; }
.api-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.api-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-muted-dark); }
.api-list i { color: var(--success); font-size: 20px; }
.api-list strong { color: var(--text-dark); }
.api-code-block {
    flex: 1;
    background: #0f172a;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.code-header {
    background: var(--surface-dark);
    padding: 12px 20px;
    font-family: monospace;
    font-size: 13px;
    color: var(--text-muted-dark);
    border-bottom: 1px solid var(--border-dark);
}
.api-code-block pre {
    padding: 24px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}
.api-code-block .keyword { color: #c678dd; }
.api-code-block .string { color: #98c379; }
.api-code-block .property { color: #e06c75; }
.api-code-block .number { color: #d19a66; }

/* CTA Box */
.cta-box {
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.cta-box h2 { font-size: 36px; margin-bottom: 16px; }
.cta-box p { font-size: 18px; color: var(--text-muted-dark); margin-bottom: 32px; }

/* Footer */
.landing-footer { border-top: 1px solid var(--border-dark); padding: 60px 20px 20px; margin-top: 60px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-brand p { color: var(--text-muted-dark); margin-top: 12px; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-size: 16px; margin-bottom: 20px; }
.footer-links a { display: block; color: var(--text-muted-dark); text-decoration: none; margin-bottom: 12px; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 20px; color: var(--text-muted-dark); font-size: 14px; }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .api-container { flex-direction: column; }
    .hero-title { font-size: 48px; }
    .f-1, .f-2 { display: none; }
    .nav-links-desktop { display: none; }
    
    /* Navigation specific adjustments */
    .landing-nav .nav-auth-link,
    .landing-nav .nav-auth-btn,
    .landing-nav .cta-button {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex;
    }
}
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .hero-section { padding-top: 120px; }
    .features-grid { grid-template-columns: 1fr; }
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 36px; /* Adjust height as needed */
    width: auto;
    object-fit: contain;
}

.landing-page .btn-secondary {
    color: #60a5fa; /* Light blue for readability on dark background */
    border-color: #60a5fa;
}

.landing-page .btn-secondary:hover {
    background-color: rgba(96, 165, 250, 0.1);
    color: #93c5fd;
    border-color: #93c5fd;
}

/* ==========================================================================
   PREMIUM DASHBOARD UI ADDITIONS & METRIC OVERRIDES
   ========================================================================== */

/* Ambient Cosmic Glow Background drifting */
@keyframes driftGlow {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(40px, -60px) scale(1.15) rotate(120deg); }
    66% { transform: translate(-30px, 30px) scale(0.9) rotate(240deg); }
    100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}
.glow-bg {
    animation: driftGlow 25s infinite ease-in-out alternate;
}
.glow-2 {
    animation-duration: 35s;
    animation-delay: -5s;
}
.glow-3 {
    animation-duration: 40s;
    animation-delay: -10s;
}

/* Premium Stat Cards with dynamic status gradients & glow-shadows */
.stat-card.glass-panel {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: visible; /* Allow drop glow shadows */
}

body.dark-theme .stat-card.glass-panel:hover {
    transform: translateY(-6px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Custom shadow glow drops based on stats types */
.stat-card:nth-child(1):hover {
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.25), 0 0 20px rgba(59, 130, 246, 0.15);
}
.stat-card:nth-child(2):hover {
    box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.15);
}
.stat-card:nth-child(3):hover {
    box-shadow: 0 15px 35px -5px rgba(239, 68, 68, 0.25), 0 0 20px rgba(239, 68, 68, 0.15);
}
.stat-card:nth-child(4):hover {
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.25), 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Stat card top borders gradient line indicator */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.stat-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card:nth-child(4)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

/* Translucent gradient stat card icons */
.stat-icon {
    border-radius: var(--radius-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover .stat-icon {
    transform: scale(1.12) rotate(5deg);
}

.stat-icon.b-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; box-shadow: 0 0 15px rgba(59, 130, 246, 0.1); }
.stat-icon.b-green { background: rgba(16, 185, 129, 0.15); color: #34d399; box-shadow: 0 0 15px rgba(16, 185, 129, 0.1); }
.stat-icon.b-red { background: rgba(239, 68, 68, 0.15); color: #f87171; box-shadow: 0 0 15px rgba(239, 68, 68, 0.1); }
.stat-icon.b-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; box-shadow: 0 0 15px rgba(139, 92, 246, 0.1); }

/* Live Heartbeat Status Indicator breathing rings */
@keyframes heartbeatGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes heartbeatRed {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.device-status {
    position: relative;
    transition: transform 0.2s;
}
.device-status::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
}
.device-status.online {
    background: #10b981 !important;
    box-shadow: 0 0 10px #10b981 !important;
}
.device-status.online::after {
    animation: heartbeatGreen 2s infinite;
}
.device-status.offline {
    background: #ef4444 !important;
    box-shadow: 0 0 10px #ef4444 !important;
}
.device-status.offline::after {
    animation: heartbeatRed 2s infinite;
}

/* Glassmorphic search focus highlight */
.search-box {
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.search-box:focus-within {
    border-color: rgba(59, 130, 246, 0.45) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15) !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Sleek glassmorphic select dropdown lists */
.styled-select {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
    backdrop-filter: blur(12px);
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-weight: 500;
    transition: all 0.3s;
}
.styled-select:hover, .styled-select:focus {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15) !important;
    background: rgba(30, 41, 59, 0.8) !important;
}

/* Breathing Notification Alerts badge */
@keyframes notificationPulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px rgba(239, 68, 68, 0.8); }
    100% { transform: scale(1); opacity: 0.9; }
}
.topbar-actions .notification-btn .badge {
    animation: notificationPulse 1.8s infinite ease-in-out;
    background: #ef4444 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

/* Sleek User Avatar border matching online state */
.user-profile img {
    border: 2px solid rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    transition: all 0.3s;
}
.user-profile:hover img {
    border-color: rgba(16, 185, 129, 1);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

/* Futuristic Monospaced and Glowing commands table rows */
.table-container.glass-panel {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.styled-table tbody tr {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
}
.styled-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015) !important;
    transform: translateX(4px);
}
.styled-table tbody tr:hover td {
    background: transparent !important;
}
.styled-table tbody tr:nth-child(1):hover { border-left-color: #10b981; }
.styled-table tbody tr:nth-child(2):hover { border-left-color: #ef4444; }
.styled-table tbody tr:nth-child(3):hover { border-left-color: #f59e0b; }
.styled-table tbody tr:nth-child(4):hover { border-left-color: #8b5cf6; }

/* Status Badges refinements with translucent glass background and core indicators */
.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.status-badge.success { 
    background: rgba(16, 185, 129, 0.12) !important; 
    color: #34d399 !important; 
    border: 1px solid rgba(16, 185, 129, 0.2); 
}
.status-badge.success::before { background: #10b981; box-shadow: 0 0 8px #10b981; }

.status-badge.failed { 
    background: rgba(239, 68, 68, 0.12) !important; 
    color: #f87171 !important; 
    border: 1px solid rgba(239, 68, 68, 0.2); 
}
.status-badge.failed::before { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

.status-badge.queued { 
    background: rgba(245, 158, 11, 0.12) !important; 
    color: #fbbf24 !important; 
    border: 1px solid rgba(245, 158, 11, 0.2); 
}
.status-badge.queued::before { 
    background: #f59e0b; 
    box-shadow: 0 0 8px #f59e0b; 
}

.status-badge.sent { 
    background: rgba(139, 92, 246, 0.12) !important; 
    color: #c084fc !important; 
    border: 1px solid rgba(139, 92, 246, 0.2); 
}
.status-badge.sent::before { background: #8b5cf6; box-shadow: 0 0 8px #8b5cf6; }

/* Interactive Recent Devices List elements */
.devices-container.glass-panel {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-lg);
}
.device-item {
    background: rgba(30, 41, 59, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.device-item:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    transform: translateX(6px) scale(1.008);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
}

/* Custom Accent Card Hover Animations */
.accent-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.accent-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.03) !important;
}
.accent-card.active {
    border-color: var(--primary) !important;
    background: var(--primary-glow) !important;
    box-shadow: 0 0 15px var(--primary-glow) !important;
}

/* Settings Page Sub-navigation menu */
.settings-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-muted-dark) !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}
.settings-menu a i {
    margin-right: 12px;
    font-size: 18px;
    color: inherit;
    transition: color 0.3s ease;
}
.settings-menu li.active a {
    background: var(--primary-glow) !important;
    border-left-color: var(--primary) !important;
    color: var(--text-dark) !important;
}
.settings-menu li.active a i {
    color: var(--primary) !important;
}
.settings-menu a:hover {
    color: var(--text-dark) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}


/* Platform Switcher Dropdown */
.nav-switcher {
    position: relative;
    display: inline-block;
    z-index: 1005;
}

.switcher-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.dark-theme .switcher-toggle,
body.dark-theme .switcher-toggle {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-dark);
}

.switcher-toggle:hover,
.nav-switcher.active .switcher-toggle {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary-glow);
}

.switcher-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow: hidden;
}

.dark-theme .switcher-dropdown,
body.dark-theme .switcher-dropdown {
    background: var(--surface-dark);
    border-color: var(--border-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-switcher.active .switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.switcher-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dark-theme .switcher-item,
body.dark-theme .switcher-item {
    color: var(--text-dark);
}

.switcher-item i {
    font-size: 1rem;
    color: var(--text-muted-light);
}

.dark-theme .switcher-item i,
body.dark-theme .switcher-item i {
    color: var(--text-muted-dark);
}

.switcher-item:hover {
    background: var(--primary-glow);
    color: var(--primary) !important;
}

.switcher-item:hover i {
    color: var(--primary) !important;
}

.switcher-item.active {
    background: var(--primary-glow);
    color: var(--primary) !important;
    font-weight: 600;
}

.switcher-item.active i {
    color: var(--primary) !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.15rem;
    transition: all 0.25s ease;
}

.dark-theme .theme-toggle,
body.dark-theme .theme-toggle {
    color: var(--text-dark);
}

.theme-toggle:hover {
    background: rgba(100, 116, 139, 0.1);
}

.dark-theme .theme-toggle:hover,
body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hide inactive theme icons */
.theme-toggle .bx-sun,
.theme-toggle .bx-moon {
    display: none;
}

/* Show moon in dark theme, sun in light theme */
.dark-theme .theme-toggle .bx-moon,
body.dark-theme .theme-toggle .bx-moon {
    display: block;
}

body:not(.dark-theme) .theme-toggle .bx-sun {
    display: block;
}
