:root {
    /* COLORS - Monochrome Elite */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #0a0a0b;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.05);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-active: rgba(255, 255, 255, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-dim: rgba(255, 255, 255, 0.2);
    
    /* ACCENTS */
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    
    /* SPACING */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* RADIUS */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* SHADOW */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-elite: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* STATUS COLORS */
    --status-success: #ffffff;
    --status-error: #ff4757;
    --status-warning: #ffa502;
    --status-info: #70a1ff;

    /* TRANSITIONS */
    --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ========================
   BASE RESET & GLOBAL
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient Grain & Grid Overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,0.8) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
    opacity: 0.2;
}

/* ========================
   TYPOGRAPHY
======================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.6; font-size: 15px; }
small { font-size: 12px; color: var(--text-muted); }

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

/* ========================
   LAYOUT SYSTEM
======================== */
.app-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
}

.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-subtle);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.main-content {
    flex: 1;
    padding: var(--space-xl) var(--space-2xl);
    min-width: 0;
    overflow-y: auto;
    position: relative;
}

@media (max-width: 1024px) {
    .sidebar { width: 240px; padding: var(--space-lg); }
    .main-content { padding: var(--space-lg); }
}

@media (max-width: 768px) {
    .app-layout { flex-direction: column; }
    .sidebar { display: none; }
    .main-content { padding: var(--space-md); padding-bottom: 100px; }
    
    /* Better spacing for mobile headers */
    .main-content header h1 { font-size: 28px; }
}

@media (max-width: 480px) {
    .main-content { padding: var(--space-sm); padding-bottom: 80px; }
}

/* ========================
   SIDEBAR COMPONENTS
======================== */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
}

.sidebar-brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin: var(--space-md) 0 var(--space-sm) var(--space-sm);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 12px var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.nav-link i { font-size: 18px; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.03); }
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.sidebar-user {
    margin-top: auto;
    padding: var(--space-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ========================
   COMPONENTS
======================== */

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: #fff;
    color: #000;
}
.btn-primary:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
    color: #fff;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-medium);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

/* CARDS */
.elite-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .elite-card { padding: var(--space-lg); border-radius: var(--radius-lg); }
}

.elite-card:hover {
    border-color: var(--border-medium);
    background: rgba(15, 15, 16, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elite);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

/* INPUTS */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 var(--space-lg);
    color: #fff;
    font-size: 16px; /* Prevent zoom on iOS */
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--border-active);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.form-input[readonly] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* TABLES */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-tertiary);
}

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

.elite-table th {
    padding: var(--space-lg);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.elite-table td {
    padding: var(--space-lg);
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.elite-table tr:last-child td {
    border-bottom: none;
}

.elite-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

/* BADGES & STATUS */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-success { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); }
.badge-pending { background: rgba(255, 255, 255, 0.03); color: var(--text-muted); border: 1px solid var(--border-subtle); }

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* STAT CHIPS */
.stat-chip {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

@media (max-width: 480px) {
    .stat-chip { padding: var(--space-md); gap: var(--space-sm); }
    .stat-chip-icon { width: 36px; height: 36px; font-size: 16px; }
    .stat-chip-value { font-size: 16px; }
}

.stat-chip-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.stat-chip-content {
    display: flex;
    flex-direction: column;
}

.stat-chip-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.stat-chip-value {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

/* UTILITIES */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; }
    .grid-cols-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gap-lg { gap: var(--space-md); }
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.p-xl { padding: var(--space-xl); }

.w-full { width: 100%; }
.text-center { text-align: center; }

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

.animate-fade-in { animation: fadeIn var(--transition-normal) forwards; }
.animate-scale-in { animation: scaleIn var(--transition-fast) forwards; }
.animate-slide-up { animation: slideUp var(--transition-normal) forwards; }

/* ========================
   AUTH PAGES (Login/Register)
======================== */
.auth-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
    overflow: hidden;
}

.auth-sidebar {
    flex: 1.2;
    background: linear-gradient(135deg, #050505 0%, #000000 100%);
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-right: 1px solid var(--border-subtle);
}

.auth-sidebar::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elite);
}

@media (max-width: 480px) {
    .auth-form-container { padding: var(--space-lg); border-radius: var(--radius-lg); }
    .auth-main { padding: var(--space-md); }
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.auth-brand-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
}

.auth-sidebar-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.auth-headline {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.95;
    margin-bottom: var(--space-lg);
    font-weight: 900;
}

.auth-headline em {
    font-style: italic;
    font-weight: 400;
    opacity: 0.6;
}

.auth-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-3xl);
}

.auth-stats {
    display: flex;
    gap: var(--space-3xl);
    margin-top: auto;
}

.auth-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.auth-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-header {
    margin-bottom: var(--space-2xl);
}

.auth-eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: var(--space-sm);
    display: block;
}

.auth-title {
    font-size: 28px;
    margin-bottom: var(--space-xs);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.auth-field {
    margin-bottom: var(--space-lg);
}

.auth-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.auth-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.auth-label-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.auth-input-wrap {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 48px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.auth-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-active);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-dim);
    pointer-events: none;
    transition: var(--transition-fast);
}

.auth-input:focus + .auth-input-icon {
    color: #fff;
}

.auth-btn-submit {
    width: 100%;
    height: 52px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: var(--space-xl);
}

.auth-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    background: #f4f4f5;
}

.auth-btn-submit i {
    font-size: 18px;
}

.auth-footer {
    margin-top: var(--space-xl);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer-link {
    color: #fff;
    font-weight: 700;
    margin-left: 4px;
}

@media (max-width: 1024px) {
    .auth-sidebar { display: none; }
    .auth-main { background: var(--bg-primary); }
}

/* PLAN CARDS (Register) */
.plan-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: var(--space-md); 
    margin: var(--space-lg) 0; 
}

@media (max-width: 480px) {
    .plan-grid { grid-template-columns: 1fr; }
}

.plan-card { 
    border: 1px solid var(--border-subtle); 
    border-radius: var(--radius-md); 
    padding: var(--space-lg); 
    cursor: pointer; 
    transition: var(--transition-fast); 
    position: relative; 
    background: rgba(255, 255, 255, 0.02);
}

.plan-card input { position: absolute; opacity: 0; }

.plan-card.active { 
    border-color: #fff; 
    background: rgba(255, 255, 255, 0.05); 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.plan-card .check-icon { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    border: 1.5px solid var(--border-medium); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: var(--transition-fast);
}

.plan-card.active .check-icon { 
    background: #fff; 
    border-color: #fff; 
}

.plan-card.active .check-icon i { 
    display: block; 
    color: #000; 
    font-size: 11px; 
}

.plan-card .check-icon i { display: none; }

.plan-name {
    font-weight: 800; 
    font-size: 14px; 
    margin-bottom: 4px; 
    color: #fff;
}

.plan-details {
    font-size: 11px; 
    color: var(--text-muted);
}

.btn-logout {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================
   MOBILE NAVIGATION
======================== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: 0.4s var(--ease);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link { font-size: 18px; }
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}

/* ========================
   MOBILE BOTTOM NAV (Dashboard)
======================== */
/* ========================
   MOBILE BOTTOM NAV (Revamped)
======================== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 20px;
    right: 20px;
    height: 68px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: 1000;
    padding: 0 12px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .mobile-nav { display: flex; }
}

.nav-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition: var(--transition-fast);
    flex: 1;
    position: relative;
}

.nav-link-item i {
    font-size: 20px;
    transition: var(--transition-fast);
}

.nav-link-item.active {
    color: #fff;
}

.nav-link-item.active i {
    transform: translateY(-4px);
}

.nav-link-item.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.nav-link-item-main {
    background: #fff;
    color: #000 !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    margin-top: -36px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 4px rgba(255,255,255,0.05);
    transform: none;
    border: 2px solid #000;
}

.nav-link-item-main i {
    transform: none;
    font-size: 24px;
}

.nav-link-item-main:active {
    transform: rotate(45deg) scale(0.9);
}

/* MOBILE HEADER */
.mobile-app-header {
    display: none;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 999;
}

@media (max-width: 768px) {
    .mobile-app-header { display: flex; }
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

/* SKELETON LOADER */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.03) 25%, 
        rgba(255,255,255,0.06) 50%, 
        rgba(255,255,255,0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* INTERACTIVE CARD */
.interactive-card {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.interactive-card:active {
    transform: scale(0.98);
}

/* HAPTIC BUTTON */
.btn-haptic:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

/* ========================
   BANKING PREMIUM UI
   ======================== */

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.bank-card-container {
    perspective: 1000px;
    margin-bottom: var(--space-xl);
}

.recipient-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.recipient-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    filter: blur(40px);
}

.recipient-card-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    color: #000;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.magic-input-container {
    position: relative;
}

.magic-input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.magic-input:focus {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.2);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.02);
}

.status-badge-premium {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.status-paid { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.status-pending { background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.05); }
.status-error { background: rgba(255,71,87,0.05); color: #ff4757; border: 1px solid rgba(255,71,87,0.1); }

@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.pulse-animation {
    animation: pulse-white 2s infinite;
}

/* ========================
   BANKING ENHANCEMENTS
======================== */

.quick-action-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .quick-action-bar {
        display: none !important;
    }
}

.quick-action-bar::-webkit-scrollbar {
    display: none;
}

.quick-action-item {
    flex: 1;
    min-width: 120px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.quick-action-item:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transition: var(--transition-fast);
}

.quick-action-item:hover .quick-action-icon {
    background: #fff;
    color: #000;
}

.quick-action-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-card {
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.btn-toggle-balance {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-fast);
}

.btn-toggle-balance:hover {
    color: #fff;
}

.balance-hidden {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
}
