: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;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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;
}

/* 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 */
}

.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;
}

.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;
    }
}
/* -------------------------------------- */

/* 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;
}

.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;
    }

    .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;
    }
    
    .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;
}

/* Digital IBAN Card */
.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;
}