/* ==========================================================================
   AXC / BYPASS ENTERPRISE DESIGN SYSTEM
   Premium Dark Charcoal • Graphite Surfaces • Crimson Accent • 3D Volumetric Icons
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - Enterprise Dark */
    --bg-base: #08090b;
    --bg-surface: #101216;
    --bg-surface-elevated: #151820;
    --bg-surface-glass: rgba(16, 18, 22, 0.85);
    --bg-card: #12141a;
    --bg-card-hover: #181b24;

    /* Borders & Outlines */
    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(229, 9, 20, 0.35);
    --border-accent-bright: #e50914;

    /* Brand Accents */
    --accent: #e50914;
    --accent-primary: #e50914;
    --accent-hover: #ff1f2d;
    --accent-glow: rgba(229, 9, 20, 0.28);
    --accent-glow-subtle: rgba(229, 9, 20, 0.12);
    --accent-dark: #80000a;

    /* Status Colors */
    --status-active: #00e599;
    --status-active-glow: rgba(0, 229, 153, 0.2);
    --status-expired: #ffb800;
    --status-disabled: #e50914;
    --status-info: #00b4d8;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #c0c5d0;
    --text-muted: #8b909a;
    --text-dim: #545964;

    /* Sizing & Structure */
    --sidebar-w: 250px;
    --topbar-h: 68px;
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions & Shadows */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.15s var(--ease);
    --transition-normal: 0.22s var(--ease);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6), 0 0 1px 1px var(--border-subtle);
    --shadow-elevated: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 1px 1px var(--border-medium);
    --shadow-glow: 0 0 24px var(--accent-glow);
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* High-tech Subtle Radial Ambient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(ellipse 60% 40% at 20% -10%, rgba(229, 9, 20, 0.09), transparent 70%),
        radial-gradient(ellipse 50% 30% at 85% 110%, rgba(229, 9, 20, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

code, .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   3D ICON SYSTEM STYLING & MICRO-INTERACTIONS
   ========================================================================== */

.icon-3d {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.menu-link:hover .icon-3d {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 4px 8px var(--accent-glow));
}

.stat-card:hover .icon-3d {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 6px 12px var(--accent-glow));
}

.stat-3d-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
}

.stat-card:hover .stat-3d-box {
    border-color: var(--border-accent);
    box-shadow: 0 6px 16px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
}

.empty-state-icon {
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(180deg, #ff1a2b 0%, var(--accent-primary) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ff3342 0%, var(--accent-hover) 100%);
    box-shadow: 0 6px 20px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: #fff;
    border-color: var(--border-accent);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-glow-subtle);
}

.btn-danger {
    background: rgba(229, 9, 20, 0.12);
    color: #ff4d5a;
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.btn-danger:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-success {
    background: rgba(0, 229, 153, 0.12);
    color: var(--status-active);
    border: 1px solid rgba(0, 229, 153, 0.3);
}

.btn-success:hover {
    background: var(--status-active);
    color: #000;
}

.btn-sm {
    padding: 6px 12px;
    min-height: 32px;
    font-size: 12px;
    border-radius: var(--radius-xs);
}

.btn-lg {
    padding: 14px 28px;
    min-height: 50px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   BADGES & STATUS PILLS
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-active {
    background: rgba(0, 229, 153, 0.1);
    color: var(--status-active);
    border: 1px solid rgba(0, 229, 153, 0.25);
}
.badge-active .badge-dot {
    background: var(--status-active);
    box-shadow: 0 0 6px var(--status-active);
}

.badge-expired {
    background: rgba(255, 184, 0, 0.1);
    color: var(--status-expired);
    border: 1px solid rgba(255, 184, 0, 0.25);
}
.badge-expired .badge-dot {
    background: var(--status-expired);
}

.badge-disabled {
    background: rgba(229, 9, 20, 0.1);
    color: #ff4d5a;
    border: 1px solid rgba(229, 9, 20, 0.25);
}
.badge-disabled .badge-dot {
    background: var(--accent-primary);
}

/* ==========================================================================
   CARDS & SURFACES
   ========================================================================== */

.card, .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover, .glass-card:hover {
    border-color: var(--border-medium);
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(14, 16, 22, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(10, 12, 16, 0.5);
}

.feature-card {
    background: rgba(18, 20, 28, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.22s var(--ease);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

/* Stats Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0.8;
}

.stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-subtext {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   APP SHELL (Sidebar + Topbar + Content)
   ========================================================================== */

.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-w);
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.28s var(--ease);
}

.sidebar-header {
    height: var(--topbar-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    background: var(--accent-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
}

.sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 10px;
    list-style: none;
    overflow-y: auto;
}

.menu-item {
    margin-bottom: 4px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.menu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.menu-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--accent-glow-subtle), transparent);
    border-left: 3px solid var(--accent-primary);
}

.sidebar-footer {
    padding: 16px 18px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile Drawer Backdrop */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Main Content Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: calc(100% - var(--sidebar-w));
}

/* Topbar */
.topbar {
    height: var(--topbar-h);
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-toggle {
    display: none;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
}

.topbar-title {
    font-size: 18px;
    font-weight: 700;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-body {
    padding: 28px;
    flex: 1;
}

/* ==========================================================================
   TABLES & RESPONSIVE CARD TRANSFORMATION (Mobile Card UX)
   ========================================================================== */

.table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-header-bar {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-base);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    gap: 8px;
    min-width: 220px;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    width: 100%;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    background: rgba(16, 18, 22, 0.95);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.custom-table td {
    padding: 14px 18px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: middle;
}

.custom-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.action-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-hint {
    font-size: 11px;
    color: #6b7280;
    margin-top: 5px;
    line-height: 1.4;
}

.form-control,
.form-input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    height: 44px;
    background: rgba(14, 17, 24, 0.95);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition-fast);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

textarea.form-control,
textarea.form-input {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
    resize: vertical;
}

.form-control:focus,
.form-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-primary);
    background: rgba(18, 22, 32, 0.98);
    box-shadow: 0 0 14px var(--accent-glow), inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.form-control::placeholder,
.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: #586072;
    font-style: normal;
}

.form-control:disabled,
.form-input:disabled,
input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(8, 10, 14, 0.8);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal-backdrop.active {
    display: flex;
    animation: modalFadeIn 0.2s ease-out;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    animation: modalSlideUp 0.25s var(--ease);
}

.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: 22px;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3000;
    pointer-events: none;
    max-width: 90vw;
}

.toast {
    pointer-events: auto;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-left: 4px solid var(--accent-primary);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    box-shadow: var(--shadow-elevated);
    min-width: 280px;
    max-width: 400px;
    animation: toastSlide 0.25s var(--ease);
}

.toast-success {
    border-left-color: var(--status-active);
}

.toast-error {
    border-left-color: var(--accent-primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { transform: translateY(16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Table-to-Card & Mobile Breakpoints)
   ========================================================================== */

@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
    }
    .sidebar-close-btn {
        display: block;
    }
    .main-wrapper {
        margin-left: 0;
        width: 100%;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .topbar {
        padding: 0 16px;
    }
    .content-body {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    /* Responsive Table-to-Card conversion on mobile */
    .responsive-card-table {
        display: block;
    }
    .responsive-card-table thead {
        display: none;
    }
    .responsive-card-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    .responsive-card-table tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-surface);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-sm);
        padding: 14px;
        gap: 8px;
    }
    .responsive-card-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0;
        border: none;
    }
    .responsive-card-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
    }
    .responsive-card-table td:last-child {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border-subtle);
        justify-content: flex-end;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-card {
        padding: 14px;
    }
    .stat-value {
        font-size: 24px;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
        align-items: center;
    }
    .toast {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .btn {
        min-height: 44px; /* Touch target >= 44px */
    }
}

/* ==========================================================================
   PUBLIC LANDING PAGE STYLES (AXC UID BYPASS)
   ========================================================================== */

.landing-page-root {
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.landing-nav {
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.landing-nav.scrolled {
    background: rgba(8, 9, 12, 0.95);
    border-bottom-color: rgba(229, 9, 20, 0.25);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 9, 20, 0.08);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s var(--ease);
}

.landing-brand:hover {
    transform: scale(1.02);
}

.landing-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #ff1f2d, #80000a);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 14px var(--accent-glow);
}

.landing-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.landing-brand-text span {
    color: var(--accent-primary);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}

.landing-nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    position: relative;
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.landing-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.landing-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.18s var(--ease);
}

.landing-nav-link:hover::after {
    transform: scaleX(1);
}

/* 1. Hero Section (Two-Column Cyber Composition) */
.landing-hero {
    position: relative;
    padding: clamp(48px, 6vw, 84px) clamp(16px, 4vw, 40px) clamp(36px, 5vw, 64px);
    overflow: hidden;
    width: 100%;
}

.landing-hero-glow {
    position: absolute;
    top: 5%;
    left: 45%;
    transform: translateX(-50%);
    width: clamp(340px, 75vw, 880px);
    height: clamp(220px, 45vw, 500px);
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.14) 0%, rgba(229, 9, 20, 0.02) 60%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.landing-hero-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.32);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.landing-hero-badge .badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.landing-hero-badge .beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-active);
    box-shadow: 0 0 8px var(--status-active);
    animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.landing-hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(36px, 5.2vw, 62px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.landing-hero-title span {
    background: linear-gradient(180deg, #ffffff 20%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-hero-tagline {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(17px, 2.4vw, 24px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.landing-hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: clamp(13.5px, 1.5vw, 15.5px);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.landing-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.btn-hero {
    padding: 12px 26px;
    font-size: 13.5px;
    min-height: 46px;
    letter-spacing: 0.05em;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-hero:active {
    transform: scale(0.97);
}

/* Enterprise Live Trust Metrics */
.hero-trust-metrics {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 540px;
    flex-wrap: wrap;
}

.trust-metric-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-metric-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.trust-metric-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trust-metric-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
}

/* Right Column: Cyber Stage & HUD Card */
.hero-right-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-cyber-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-hud-card {
    position: relative;
    background: linear-gradient(170deg, rgba(22, 26, 36, 0.85) 0%, rgba(12, 14, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.9), 0 0 32px rgba(229, 9, 20, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hud-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.hud-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-active);
    box-shadow: 0 0 10px var(--status-active);
    animation: pulseBeacon 2s infinite;
}

.hud-status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--status-active);
}

.hud-version-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual-pedestal {
    position: relative;
    padding: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0 18px;
    animation: gentleFloat 5s ease-in-out infinite;
}

.hero-visual-pedestal::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    right: 25%;
    height: 18px;
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.4) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.hud-telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.hud-telemetry-box {
    background: rgba(8, 10, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.hud-tel-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.hud-tel-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Floating Live Security Badges */
.hud-floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(14, 17, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 16px rgba(229, 9, 20, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    animation: gentleFloat 4.5s ease-in-out infinite;
}

.hud-floating-badge.badge-top-right {
    top: -14px;
    right: -14px;
    border-color: rgba(229, 9, 20, 0.35);
    animation-delay: -1.5s;
}

.hud-floating-badge.badge-bottom-left {
    bottom: -14px;
    left: -14px;
    border-color: rgba(0, 229, 153, 0.35);
    animation-delay: -3s;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    .hero-left-col {
        align-items: center;
        text-align: center;
    }
    .landing-hero-actions {
        justify-content: center;
    }
    .hero-trust-metrics {
        justify-content: center;
    }
    .hud-floating-badge.badge-top-right {
        right: 4px;
    }
    .hud-floating-badge.badge-bottom-left {
        left: 4px;
    }
}

/* 2. Features Section */
.section-wrap {
    padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 32px);
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(24px, 3.8vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #ffffff;
}

.section-header p {
    font-size: clamp(13.5px, 1.6vw, 15px);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(165deg, rgba(20, 23, 31, 0.75) 0%, rgba(12, 14, 19, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.feature-card:hover {
    border-color: rgba(229, 9, 20, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75), 0 0 24px rgba(229, 9, 20, 0.12);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.22s var(--ease);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.06);
    border-color: rgba(229, 9, 20, 0.4);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.feature-card-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, rgba(0, 255, 170, 0.04) 0%, rgba(16, 19, 26, 0.95) 100%);
    border-color: rgba(0, 255, 170, 0.25);
}

.feature-card-highlight:hover {
    border-color: rgba(0, 255, 170, 0.5);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 255, 170, 0.15);
}

.feature-card-highlight-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* 3. How It Works Section */
.how-it-works-container {
    position: relative;
}

.steps-flow-line {
    display: block;
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.6), rgba(229, 9, 20, 0.2));
    z-index: 0;
    transform: translateY(-50%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: linear-gradient(165deg, rgba(20, 23, 31, 0.85) 0%, rgba(12, 14, 19, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    position: relative;
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
    box-shadow: var(--shadow-md);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.75), 0 0 20px rgba(229, 9, 20, 0.12);
}

.step-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.step-number-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-primary);
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
}

.step-icon-wrap {
    transition: transform 0.22s var(--ease);
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 4. Security Section */
.security-panel {
    background: linear-gradient(180deg, #141722 0%, #0c0e14 100%);
    border: 1px solid rgba(229, 9, 20, 0.35);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(229, 9, 20, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.security-panel-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.security-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid var(--border-accent);
    margin-bottom: 20px;
    box-shadow: 0 0 24px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.security-panel h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.security-panel-subtitle {
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    font-size: 14.5px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 36px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.security-item {
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.security-item:hover {
    border-color: rgba(229, 9, 20, 0.35);
    transform: translateY(-2px);
}

.security-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.security-item-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 5. CTA Banner Section */
.cta-banner {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.14) 0%, rgba(14, 16, 22, 0.95) 100%);
    border: 1px solid rgba(229, 9, 20, 0.35);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 40px);
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(229, 9, 20, 0.2), 0 0 30px rgba(229, 9, 20, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-banner-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-heading {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14.5px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* 6. Footer */
.landing-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 48px clamp(16px, 4vw, 48px) 32px;
    background: var(--bg-surface);
    position: relative;
    z-index: 1;
}

.landing-footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.footer-brand-text span {
    color: var(--accent-primary);
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom-bar {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-dim);
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-active);
    box-shadow: 0 0 6px var(--status-active);
}

/* Mobile & Tablet Breakpoints */
@media (max-width: 860px) {
    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .steps-flow-line {
        display: none;
    }
    .landing-nav-links {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .btn-hero {
        width: 100%;
    }
    .landing-hero-actions {
        width: 100%;
        flex-direction: column;
    }
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Accessibility & Reduced Motion */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-visual-pedestal, .landing-hero-visual, .empty-state-icon {
        animation: none !important;
    }
}

/* ==========================================================================
   SPLIT LOGIN PAGE STYLES (AXC UID BYPASS)
   ========================================================================== */

.login-split-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 40px);
}

.login-split-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    width: 100%;
    max-width: 980px;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: 24px;
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
}

.login-showcase-side {
    background: linear-gradient(145deg, #13161f 0%, #0c0d12 100%);
    border-right: 1px solid var(--border-subtle);
    padding: clamp(32px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.login-showcase-side::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.login-form-side {
    padding: clamp(32px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
}

.login-input {
    height: 52px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    padding: 0 16px;
    background: var(--bg-base);
    border: 1px solid var(--border-medium);
    color: #fff;
    width: 100%;
    transition: var(--transition-normal);
}

.login-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.login-submit-btn {
    width: 100%;
    height: 52px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #ff1a2b 0%, var(--accent-primary) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}

.login-submit-btn:hover {
    background: linear-gradient(180deg, #ff3342 0%, var(--accent-hover) 100%);
    box-shadow: 0 6px 24px var(--accent-glow);
    transform: translateY(-1px);
}

.login-submit-btn:active {
    transform: scale(0.99);
}

@media (max-width: 820px) {
    .login-split-card {
        grid-template-columns: 1fr;
        max-width: 440px;
        border-radius: 20px;
    }
    .login-showcase-side {
        display: none;
    }
    .login-form-side {
        padding: 32px 20px;
    }
}

/* ==========================================================================
   GLOBAL CHAT SYSTEM — PREMIUM SAAS STYLING & MOBILE DRAWER
   ========================================================================== */

.sidebar-unread-badge {
    background: #ff1a2b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    margin-left: auto;
    box-shadow: 0 0 10px rgba(255, 26, 43, 0.6);
    animation: pulseGlow 2s infinite ease-in-out;
}

.chat-layout-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: calc(100vh - 120px);
    min-height: 520px;
    max-height: 900px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-glass);
}

/* Left Panel: Online Users */
.chat-users-panel {
    background: rgba(10, 12, 16, 0.75);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-users-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-users-search {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(15, 18, 24, 0.5);
}

.chat-users-search input {
    width: 100%;
    height: 34px;
    font-size: 12px;
    background: var(--bg-base);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0 10px;
    color: #fff;
}

.chat-users-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.chat-users-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.chat-user-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.chat-avatar-admin {
    background: linear-gradient(135deg, #ff1a2b 0%, #80000a 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.chat-avatar-reseller {
    background: linear-gradient(135deg, #2a3b5c 0%, #101624 100%);
    border: 1px solid var(--border-medium);
}

.chat-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00e599;
    border: 2px solid #08090b;
}

/* Right Panel: Main Chat Stream */
.chat-main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 90% 10%, rgba(229, 9, 20, 0.04) 0%, transparent 60%);
}

.chat-topbar {
    height: 58px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.chat-connection-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 229, 153, 0.1);
    color: #00e599;
    border: 1px solid rgba(0, 229, 153, 0.3);
}

.chat-connection-badge.connecting {
    background: rgba(255, 184, 0, 0.1);
    color: #ffb800;
    border-color: rgba(255, 184, 0, 0.3);
}

.chat-connection-badge.disconnected {
    background: rgba(255, 51, 66, 0.1);
    color: #ff3342;
    border-color: rgba(255, 51, 66, 0.3);
}

/* Pinned Announcement Box */
.chat-pinned-box {
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.15) 0%, rgba(20, 23, 31, 0.8) 100%);
    border-bottom: 1px solid var(--border-accent);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
}

/* Chat Search Banner */
.chat-search-bar {
    padding: 8px 18px;
    background: rgba(15, 18, 26, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Message Stream Area */
.chat-stream-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.chat-msg-row {
    display: flex;
    gap: 10px;
    max-width: 82%;
    position: relative;
}

.chat-msg-row.incoming {
    align-self: flex-start;
}

.chat-msg-row.outgoing {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-content {
    display: flex;
    flex-direction: column;
}

.chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11px;
}

.chat-msg-row.outgoing .chat-msg-meta {
    justify-content: flex-end;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.chat-msg-row.incoming .chat-bubble {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: #e2e8f0;
    border-top-left-radius: 4px;
}

.chat-msg-row.outgoing .chat-bubble {
    background: linear-gradient(135deg, #c70812 0%, #700008 100%);
    border: 1px solid rgba(255, 51, 66, 0.4);
    color: #ffffff;
    border-top-right-radius: 4px;
}

.chat-bubble.deleted {
    font-style: italic;
    color: var(--text-dim) !important;
    background: rgba(20, 23, 30, 0.6) !important;
    border-color: var(--border-subtle) !important;
}

.chat-msg-actions {
    position: absolute;
    top: -8px;
    right: 8px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 2px 4px;
    display: none;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.chat-msg-row:hover .chat-msg-actions {
    display: flex;
}

.chat-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
    transition: var(--transition-normal);
}

.chat-action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.chat-action-btn.btn-delete:hover {
    color: #ff3342;
    background: rgba(255, 51, 66, 0.15);
}

/* Typing Bar */
.chat-typing-bar {
    min-height: 22px;
    padding: 0 24px 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Message Composer Bottom Bar */
.chat-composer-wrap {
    padding: 12px 18px 16px;
    background: var(--bg-surface-glass);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chat-composer-input {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    background: var(--bg-base);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    resize: none;
    line-height: 1.4;
}

.chat-composer-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.chat-send-btn {
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(180deg, #ff1a2b 0%, var(--accent-primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px var(--accent-glow);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: linear-gradient(180deg, #ff3342 0%, var(--accent-hover) 100%);
    transform: translateY(-1px);
}

/* Floating New Messages Chip */
.chat-scroll-chip {
    position: absolute;
    bottom: 80px;
    right: 28px;
    background: var(--accent-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    gap: 6px;
    z-index: 10;
    animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile Off-Canvas Online Users Drawer */
.chat-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    height: 100vh;
    background: var(--bg-surface-elevated);
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.chat-mobile-drawer.open {
    right: 0;
}

.chat-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.chat-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-layout-wrapper {
        grid-template-columns: 1fr;
        height: calc(100vh - 110px);
        min-height: unset;
        max-height: unset;
        border-radius: 0;
        border: none;
    }
    .chat-users-panel {
        display: none;
    }
    .chat-msg-row {
        max-width: 92%;
    }
    .chat-stream-area {
        padding: 14px 12px;
    }
    .chat-composer-wrap {
        padding: 10px 12px 14px;
    }
}

/* ==========================================================================
   PROFILE SETTINGS & AVATAR SYSTEM
   ========================================================================== */

.profile-grid-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    align-items: start;
}

.profile-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.profile-card:hover {
    border-color: rgba(229, 9, 20, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 9, 20, 0.08);
}

.profile-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar-box {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, #ff3342, #80000a, #1a1e27);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35);
    margin-bottom: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-avatar-box:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5);
}

.profile-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #141720;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, #ff3b49, #990010 70%, #200004);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.profile-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.profile-avatar-box:hover .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar-overlay span {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.profile-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.profile-meta-label {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-meta-value {
    color: #ffffff;
    font-weight: 600;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group input {
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background 0.15s ease;
}

.password-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.profile-badge-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(0, 229, 153, 0.12);
    color: var(--status-active);
    border: 1px solid rgba(0, 229, 153, 0.3);
}

.topbar-avatar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #ff3342, #80000a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    border: none;
    transition: transform 0.18s ease;
}

.topbar-avatar-btn:hover {
    transform: scale(1.06);
}

.topbar-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.topbar-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #141720;
    color: #ff4754;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

/* Responsive Profile Layout */
@media (max-width: 992px) {
    .profile-grid-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 16px;
        border-radius: var(--radius-md);
    }
    .profile-avatar-box {
        width: 92px;
        height: 92px;
    }
    .profile-avatar-fallback {
        font-size: 28px;
    }
}

/* ==========================================================================
   TWO-FACTOR AUTHENTICATION (2FA) STYLES
   ========================================================================== */
.twofa-status-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.twofa-status-card.active {
    border-color: rgba(0, 255, 170, 0.35);
    background: linear-gradient(145deg, rgba(0, 255, 170, 0.03), rgba(20, 23, 32, 0.95));
}

.twofa-status-card.inactive {
    border-color: var(--border-medium);
}

/* Connected 6-Digit OTP Box UI */
.otp-input-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    width: 100%;
}

.otp-digit {
    width: 46px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    background: rgba(15, 18, 26, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    outline: none;
    -webkit-appearance: none;
}

.otp-digit:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 16px var(--accent-glow), inset 0 0 6px rgba(255, 51, 66, 0.2);
    transform: translateY(-2px);
    background: rgba(26, 30, 42, 0.95);
}

.otp-digit.filled {
    border-color: rgba(255, 255, 255, 0.35);
}

/* QR Code Display Frame */
.qr-preview-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: #080a0f;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    margin: 16px auto;
    width: fit-content;
    max-width: 100%;
}

.qr-preview-frame svg {
    max-width: 190px;
    max-height: 190px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Manual Setup Key Box */
.manual-key-box {
    background: rgba(12, 14, 20, 0.85);
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.manual-key-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    word-break: break-all;
}

/* Recovery Codes Grid */
.recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
}

.recovery-code-pill {
    background: rgba(15, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #00ffaa;
    text-align: center;
    letter-spacing: 0.08em;
    user-select: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.recovery-code-pill.used {
    color: var(--text-dim);
    text-decoration: line-through;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(10, 12, 16, 0.5);
}

/* Small Screen Optimizations for 2FA */
@media (max-width: 480px) {
    .otp-digit {
        width: 38px;
        height: 48px;
        font-size: 20px;
        border-radius: 8px;
    }
    .otp-input-wrap {
        gap: 6px;
    }
    .recovery-grid {
        grid-template-columns: 1fr;
    }
    .qr-preview-frame svg {
        max-width: 160px;
        max-height: 160px;
    }
}

@media (max-width: 360px) {
    .otp-digit {
        width: 32px;
        height: 44px;
        font-size: 17px;
        border-radius: 6px;
    }
    .otp-input-wrap {
        gap: 4px;
    }
}


