:root {
    --bg-color: #0a0e17;
    --bg-secondary: #111625;
    --text-primary: #ffffff;
    --text-secondary: #a0a8c0;
    --primary-color: #4361ee;
    --secondary-color: #7209b7;
    --accent-color: #4cc9f0;
    --gradient-main: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    --gradient-text: linear-gradient(90deg, #4cc9f0 0%, #4361ee 50%, #7209b7 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(67, 97, 238, 0.5);
    --nav-height: 80px;
    --footer-bg: #05070c;
    --nav-bg-scrolled: rgba(10, 14, 23, 0.95);
    --nav-bg: rgba(10, 14, 23, 0.8);
    --btn-outline-color: #ffffff;
    --btn-outline-border: rgba(255, 255, 255, 0.2);
    --btn-outline-hover-bg: rgba(255, 255, 255, 0.1);
    --card-1-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #1a1f35;
    --text-secondary: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --footer-bg: #f1f5f9;
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --btn-outline-color: var(--primary-color);
    --btn-outline-border: rgba(67, 97, 238, 0.3);
    --btn-outline-hover-bg: rgba(67, 97, 238, 0.1);
    --card-1-bg: linear-gradient(135deg, #4361ee, #7209b7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
video,
canvas {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.community-grid {
    grid-template-columns: 2fr 1fr;
}

@media (max-width: 992px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 24px !important;
    }
    .community-filters {
        gap: 10px !important;
        padding-bottom: 10px !important;
    }
}

/* Typography & Utils */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
}

.btn-outline {
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-color);
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: var(--btn-outline-hover-bg);
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-text {
    color: var(--text-primary);
    font-weight: 600;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- SIDEBAR & DASHBOARD LAYOUT (ADDED) --- */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; /* Anchored top */
    left: 0; /* Anchored left */
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
    overflow-y: auto; /* Scrollable sidebar if content is long */
}

/* ═══════════════════════════════════════════════════════════════════
   CLIENT SIDEBAR — PRO REDESIGN (overrides .sidebar defaults above)
   ═══════════════════════════════════════════════════════════════════ */
.sidebar.client-sidebar {
    width: 272px;
    padding: 0;
    background: linear-gradient(180deg, rgba(30,41,59,0.55), var(--bg-secondary, #0f172a) 40%);
    border-right: 1px solid rgba(148,163,184,0.08);
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
}
.sidebar.client-sidebar::-webkit-scrollbar { width: 6px; }
.sidebar.client-sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar.client-sidebar::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.18); border-radius: 3px; }

/* ─── Brand header ─── */
.client-sidebar .cs-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(148,163,184,0.08);
}
.client-sidebar .cs-brand-link {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--text-primary);
    font-weight: 800; letter-spacing: -0.02em;
    font-size: 1.35rem;
}
.client-sidebar .cs-brand-link img { display: block; }
.client-sidebar .cs-brand-txt { color: var(--text-primary); }
.client-sidebar .cs-brand-accent {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.client-sidebar .cs-close-mobile {
    display: none;
    background: rgba(148,163,184,0.1);
    border: 1px solid rgba(148,163,184,0.18);
    color: var(--text-primary);
    width: 36px; height: 36px; border-radius: 10px;
    cursor: pointer; font-size: 1rem;
    align-items: center; justify-content: center;
}
.client-sidebar .cs-close-mobile:hover { background: rgba(239,68,68,0.15); color: #ef4444; }

/* ─── User card ─── */
.client-sidebar .cs-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    margin: 14px 14px 10px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
    border: 1px solid rgba(99,102,241,0.16);
    border-radius: 14px;
    transition: all 0.2s;
}
.client-sidebar .cs-user:hover {
    border-color: rgba(99,102,241,0.3);
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.06));
}
.client-sidebar .cs-avatar {
    position: relative;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 800; font-size: 0.94rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(99,102,241,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.client-sidebar .cs-avatar-online {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #10b981;
    border: 2.5px solid var(--bg-secondary, #0f172a);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
    animation: csOnlinePulse 2.2s ease-in-out infinite;
}
@keyframes csOnlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.client-sidebar .cs-user-info {
    min-width: 0;
    flex: 1;
    display: flex; flex-direction: column; gap: 4px;
}
.client-sidebar .cs-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.client-sidebar .cs-user-meta {
    display: flex; align-items: center; gap: 6px;
}
.client-sidebar .cs-kyc-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.client-sidebar .cs-kyc-pill i { font-size: 0.62rem; }
.client-sidebar .cs-kyc-ok { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.client-sidebar .cs-kyc-wait { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.client-sidebar .cs-kyc-alert { background: rgba(239,68,68,0.14); color: #ef4444; border: 1px solid rgba(239,68,68,0.28); }

/* ─── Navigation groups ─── */
.client-sidebar .cs-nav {
    flex: 1;
    padding: 6px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}
.client-sidebar .cs-nav-group {
    display: flex; flex-direction: column; gap: 2px;
    margin-bottom: 10px;
}
.client-sidebar .cs-nav-group-label {
    padding: 10px 14px 6px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.52;
}
.client-sidebar .cs-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    position: relative;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    border: 1px solid transparent;
}
.client-sidebar .cs-nav-item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px; height: 22px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}
.client-sidebar .cs-nav-item:hover {
    color: var(--text-primary);
    background: rgba(99,102,241,0.06);
}
.client-sidebar .cs-nav-item:hover .cs-nav-ic {
    color: #a5b4fc;
    transform: scale(1.05);
}
.client-sidebar .cs-nav-item.active {
    background: linear-gradient(90deg, rgba(99,102,241,0.16), rgba(139,92,246,0.06));
    border-color: rgba(99,102,241,0.28);
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(99,102,241,0.12);
}
.client-sidebar .cs-nav-item.active::before {
    transform: translateY(-50%) scaleY(1);
}
.client-sidebar .cs-nav-item.active .cs-nav-ic { color: #a5b4fc; }

.client-sidebar .cs-nav-ic {
    width: 22px; text-align: center;
    font-size: 0.98rem;
    color: var(--text-secondary);
    opacity: 0.9;
    transition: all 0.18s;
    flex-shrink: 0;
}
.client-sidebar .cs-nav-label { flex: 1; }

.client-sidebar .cs-nav-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
    animation: csDotPulse 1.8s ease-in-out infinite;
}
.client-sidebar .cs-dot-alert { background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
.client-sidebar .cs-dot-wait  { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,0.6); }
@keyframes csDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 0.8; }
    50%      { box-shadow: 0 0 0 5px rgba(239,68,68,0); opacity: 1; }
}

.client-sidebar .cs-nav-impersonate {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fecaca;
    margin-bottom: 12px;
}
.client-sidebar .cs-nav-impersonate:hover {
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
}

/* ─── Footer ─── */
.client-sidebar .cs-footer {
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(148,163,184,0.08);
    display: flex; flex-direction: column; gap: 10px;
}
.client-sidebar .cs-support {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(15,23,42,0.5);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 10px;
    font-size: 0.74rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}
.client-sidebar .cs-support i { color: #a5b4fc; font-size: 0.82rem; }
.client-sidebar .cs-support a {
    color: #a5b4fc;
    text-decoration: none;
    margin-left: auto;
    font-weight: 700;
    transition: color 0.15s;
}
.client-sidebar .cs-support a:hover { color: #c7d2fe; }
.client-sidebar .cs-logout {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    border: 1px solid rgba(239,68,68,0.18);
    background: rgba(239,68,68,0.05);
    transition: all 0.18s;
}
.client-sidebar .cs-logout:hover {
    background: rgba(239,68,68,0.12);
    border-color: rgba(239,68,68,0.35);
    transform: translateX(2px);
}
.client-sidebar .cs-trust {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: 0.02em;
}
.client-sidebar .cs-trust i { color: #10b981; margin-right: 4px; }

/* ─── Mobile: slide-in drawer ─── */
@media (max-width: 992px) {
    .sidebar.client-sidebar {
        transform: translateX(-100%);
        box-shadow: 0 0 60px rgba(0,0,0,0.5);
        width: 300px;
    }
    .sidebar.client-sidebar.active,
    .sidebar.client-sidebar.open { transform: translateX(0); }
    .client-sidebar .cs-close-mobile { display: inline-flex; }
}

.main-content {
    flex-grow: 1;
    margin-left: 280px;
    padding: 30px 50px;
    width: calc(100% - 280px); /* Ensure correct width */
}

.sidebar-header {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-secondary);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.nav-item:hover, .nav-item.active {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.logout {
    margin-top: auto;
    color: #ef4444;
}

.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.kyc-badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.kyc-ok { background: #2ecc71; color: white; }
.kyc-wait { background: #f39c12; color: white; }
.kyc-alert { background: #e74c3c; color: white; }

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.user-welcome h2 {
    margin: 0;
    line-height: 1.2;
}

.user-welcome p {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.notification-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80') center/cover;
    border: 2px solid var(--primary-color);
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    .menu-toggle {
        display: block;
        color: var(--text-primary);
        font-size: 1.5rem;
        margin-right: 20px;
        cursor: pointer;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Menu (public pages) — clean rebuild
   The JS rebuilds nav items as fresh <a> elements with custom classes so
   desktop `.nav-links` flex-row styles don't leak in.
   ═══════════════════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-color, #0f172a);
    border-left: 1px solid var(--glass-border, rgba(255,255,255,0.08));
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
    right: 0;
}

/* Header with close button */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border, rgba(255,255,255,0.08));
    min-height: 64px;
    box-sizing: border-box;
}
.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
    color: var(--text-primary, #e5e7eb);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.mobile-menu-close:hover {
    background: rgba(255,255,255,0.1);
}

/* Sections (nav links, auth buttons) */
.mobile-menu-section {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 20px;
    gap: 4px;
    box-sizing: border-box;
}
.mobile-menu-nav {
    flex: 1 1 auto;
    border-bottom: 1px solid var(--glass-border, rgba(255,255,255,0.08));
    gap: 6px;
}
.mobile-menu-auth {
    flex: 0 0 auto;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 28px;
}

/* Individual links inside the nav section */
.mobile-menu-link {
    display: block !important;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text-primary, #e5e7eb);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}
.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: rgba(99,102,241,0.1);
    color: var(--primary-color, #6366f1);
}

/* Auth buttons — two variants */
.mobile-menu-btn {
    display: block !important;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-sizing: border-box;
    letter-spacing: 0.2px;
}
.mobile-menu-btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary, #e5e7eb);
    border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
}
.mobile-menu-btn-secondary:hover,
.mobile-menu-btn-secondary:active {
    background: rgba(255,255,255,0.08);
}
.mobile-menu-btn-primary {
    background: linear-gradient(135deg, #4361ee, #6366f1);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(67,97,238,0.35);
}
.mobile-menu-btn-primary:hover,
.mobile-menu-btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(67,97,238,0.5);
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .main-content {
        padding: 18px 16px;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 22px;
    }
    .dashboard-header > div:first-child {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }
    .header-actions {
        gap: 12px;
        justify-content: flex-end;
        width: 100%;
    }
    .theme-toggle {
        margin-left: 0;
        width: 42px;
        height: 42px;
    }
    .notification-btn,
    .user-avatar {
        width: 42px;
        height: 42px;
    }
}
/* -------------------------------------- */

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

/* Background glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.2) 0%, rgba(10, 14, 23, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.15) 0%, rgba(10, 14, 23, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(76, 201, 240, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(76, 201, 240, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-btns .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btns .btn-outline {
    margin-left: 0;
}

.trust-badges {
    margin-top: 40px;
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-badges i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Hero Image / 3D Cards */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.card-1 {
    width: 320px;
    height: 200px;
    background: var(--card-1-bg);
    top: 50px;
    right: 50px;
    z-index: 2;
    transform: rotate(-10deg) translateY(0);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: float 6s ease-in-out infinite;
    color: white;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 5px;
}

.card-number {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-top: 20px;
}

.card-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.card-logo {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-weight: 700;
    font-style: italic;
    font-size: 1.2rem;
}

.card-2 {
    width: 260px;
    background: #1a1f35;
    bottom: 80px;
    left: 20px;
    z-index: 3;
    padding: 15px;
    border-radius: 15px;
    animation: float 7s ease-in-out infinite 1s;
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.balance-popup {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-popup i {
    width: 40px;
    height: 40px;
    background: rgba(76, 201, 240, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.balance-popup div {
    display: flex;
    flex-direction: column;
}

.balance-popup span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.balance-popup strong {
    font-size: 1.2rem;
    color: var(--accent-color);
}

@keyframes float {
    0% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-20px); }
    100% { transform: rotate(-10deg) translateY(0); }
}

/* Stats */
.stats {
    padding: 50px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(67, 97, 238, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(67, 97, 238, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.icon-purple { background: rgba(114, 9, 183, 0.1); color: #7209b7; }
.icon-blue { background: rgba(67, 97, 238, 0.1); color: #4361ee; }
.icon-green { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.icon-orange { background: rgba(230, 126, 34, 0.1); color: #e67e22; }
.icon-pink { background: rgba(236, 0, 140, 0.1); color: #ec008c; }
.icon-cyan { background: rgba(76, 201, 240, 0.1); color: #4cc9f0; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Showcase */
.showcase {
    padding: 100px 0;
    overflow: hidden;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.showcase-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--accent-color);
    background: rgba(76, 201, 240, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.card-3d-wrap {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.card-3d {
    width: 400px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    animation: rotateCard 10s infinite linear;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #111, #333);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.card-front .chip {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37, #c5a028);
    border-radius: 5px;
}

.card-front .logo {
    position: absolute;
    top: 30px;
    right: 30px;
    font-weight: 700;
    font-size: 1.2rem;
}

.card-front .number {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.6rem;
    letter-spacing: 3px;
    margin-top: 20px;
}

.card-front .holder {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: auto;
}

.card-front .expiry {
    position: absolute;
    bottom: 30px;
    right: 90px;
    font-size: 0.9rem;
}

.mastercard {
    position: absolute;
    bottom: 25px;
    right: 30px;
    display: flex;
}

.mastercard .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.c1 { background: rgba(235, 0, 27, 0.8); }
.c2 { background: rgba(247, 158, 27, 0.8); margin-left: -15px; }

/* CTA */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--gradient-main);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.store-btn {
    background: #000;
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.2);
}

.store-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn span {
    font-size: 0.7rem;
    display: block;
}

.store-btn strong {
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--footer-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col p {
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
}

.comment {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--glass-border);
}

.avatar-1 { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80'); }
.avatar-2 { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80'); }
.avatar-3 { background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&auto=format&fit=crop&w=100&q=80'); }

.user-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-color);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(67, 97, 238, 0.3);
}

.faq-answer {
    padding: 0 30px 20px;
    color: var(--text-secondary);
    display: none; /* JS needed for toggle, or simple CSS hover/focus if no JS */
}

/* Simple CSS Toggle for FAQ (optional fallback) */
.faq-item:hover .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-item:hover .faq-question i {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: center; /* Align for scale effect */
}

.pricing-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, var(--bg-secondary), rgba(67, 97, 238, 0.05));
    transform: scale(1.05);
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(67, 97, 238, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Space Grotesk', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    margin: 30px 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary-color);
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

/* Security */
.security {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-list {
    margin-top: 40px;
}

.security-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.security-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.security-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.security-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.security-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1614028674026-a65e31bfd27c?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80') center/cover;
    position: relative;
}

.security-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.lock-anim {
    width: 60px;
    height: 60px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

@media (max-width: 992px) {
    .security-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .security-item {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-container, .showcase-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-btns, .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero-image {
        margin-top: 50px;
    }

    .floating-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: -50px auto 0;
    }
    
    .card-2 {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-auth {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================= */
/* ADDED MISSING MODAL & DASHBOARD STYLES */
/* ========================================= */

/* Pulsing Alert Styles */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.alert-pulse-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    animation: pulse-red 2s infinite;
    margin-left: 15px;
    vertical-align: middle;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.alert-pulse-btn:hover {
    transform: scale(1.05);
}

/* Modal Overlay (Glassmorphism + Theme Aware) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Blocked Account Modal */
.modal-card.blocked-account {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    padding: 50px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card.blocked-account {
    transform: scale(1) translateY(0);
}

.modal-card.blocked-account::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.lock-icon-container {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
    position: relative;
}

.lock-icon-container::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.3);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.lock-icon-large {
    font-size: 3rem;
    color: white;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.modal-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-modal {
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border: none;
}

.btn-modal-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.btn-modal-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-modal-primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(239, 68, 68, 0.4);
}

/* Light Mode Specifics */
[data-theme="light"] .modal-card.blocked-account {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .modal-title {
    color: #1a1a1a;
}

/* New Account Modal */
.modal-card.new-account {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

/* Sophisticated Account Details Modal */
.modal-card.account-details {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0;
    width: 100%;
    max-width: 550px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    position: relative;
}

.details-header {
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

.btn-close-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-close-details:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.details-body {
    padding: 35px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: linear-gradient(180deg, rgba(15,23,42,0.86), rgba(15,23,42,0.96));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(148,163,184,0.12);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px calc(env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 28px rgba(0,0,0,0.35);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    gap: 4px;
    text-decoration: none;
    padding: 6px 4px;
    border-radius: 12px;
    flex: 1;
    min-width: 0;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.15rem;
    margin-bottom: 1px;
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}

.mobile-bottom-nav .nav-item:hover i { transform: translateY(-1px) scale(1.05); }

.mobile-bottom-nav .nav-item.active {
    color: var(--primary-color);
}
.mobile-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--primary-color);
    animation: nbActiveIn 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes nbActiveIn { from { opacity: 0; transform: translateX(-50%) scaleX(0); } to { opacity: 1; transform: translateX(-50%) scaleX(1); } }
.mobile-bottom-nav .nav-item.active i { transform: scale(1.08); }

.mobile-bottom-nav .nav-item-center {
    position: relative;
    top: -25px;
    width: 60px;
    height: 60px;
}

.mobile-bottom-nav .nav-fab {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.4);
    border: 4px solid var(--bg-color);
    transition: transform 0.2s ease;
}

.mobile-bottom-nav .nav-fab:active {
    transform: scale(0.95);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Adjust content padding for bottom nav */
    .main-content {
        padding-bottom: 90px !important;
    }
    
    /* Hide specific desktop elements if needed */
    .hide-mobile {
        display: none !important;
    }
}
.digital-iban-card {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(67, 97, 238, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.digital-iban-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.digital-iban-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.iban-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.iban-number {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-copy-iban {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
}

.btn-copy-iban:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.swift-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 16px;
    transition: transform 0.2s;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.detail-item h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
}

.bank-address {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px dashed var(--glass-border);
    line-height: 1.6;
}
