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

:root {
    --primary: #d9e749; /* Lime */
    --primary-hover: #c2cc3d;
    --secondary: #01203d; /* Dark Blue */
    --accent: #d9e749;
    
    --bg-dark: #000c1a;
    --bg-card: rgba(1, 32, 61, 0.4);
    --border-card: rgba(217, 231, 73, 0.15);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --shadow-glass: 0 20px 40px 0 rgba(0, 0, 0, 0.4);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(1, 32, 61, 0.4), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(217, 231, 73, 0.05), transparent 25%);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(217, 231, 73, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 231, 73, 0.1);
}

.lime-gradient-text {
    background: linear-gradient(135deg, #d9e749 0%, #a2b024 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.bento-item {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

/* Landing Page Specific Styles */
.navbar {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 90%;
    left: 5%;
    top: 20px;
    z-index: 1000;
    background: rgba(1, 32, 61, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(217, 231, 73, 0.1);
    transition: var(--transition);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.login-link {
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.login-link:hover {
    color: var(--primary);
}

.hero {
    padding: 12rem 5% 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-mockup {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 85vh;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(1, 32, 61, 0.6));
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(217, 231, 73, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(217, 231, 73, 0.2);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(217, 231, 73, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    padding: 6rem 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--border-card);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.mobile-menu a {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 0;
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.mobile-join-link {
    color: var(--primary) !important;
}

/* Card Internal Stacking */
.stack-on-mobile {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* --- Responsive Rules (End of File for Priority) --- */

@media (max-width: 1100px) {
    #desktopNav.nav-links {
        display: none !important;
    }
    
    #authNav.nav-auth .login-link {
        display: none !important;
    }

    .navbar {
        width: 94% !important;
        left: 3% !important;
        padding: 1rem 1.5rem !important;
    }

    .mobile-toggle {
        display: block !important;
    }
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-content {
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-mockup {
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .stack-on-mobile {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-item.large, .bento-item.wide, .bento-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    .navbar {
        top: 10px !important;
    }

    .nav-brand {
        font-size: 1.4rem !important;
    }
}

.cta-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem !important;
    border-radius: 100px !important;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.cta-button.primary {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    box-shadow: 0 10px 40px rgba(217, 231, 73, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    background: var(--primary-hover) !important;
    box-shadow: 0 15px 50px rgba(217, 231, 73, 0.5);
}

.cta-button.outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 231, 73, 0.4) !important;
    color: var(--primary) !important;
}

.cta-button.outline:hover {
    background: rgba(217, 231, 73, 0.1);
    border-color: var(--primary) !important;
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 4px 15px rgba(217, 231, 73, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(217, 231, 73, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(217, 231, 73, 0.3);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(217, 231, 73, 0.1);
    border-color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Layout Utilities */
.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 280px; /* Sidebar width */
    max-width: 100%;
    overflow-x: hidden;
}

/* Table Responsiveness */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}
.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

/* Sidebar Styling */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
    border-right: 1px solid var(--border-card);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-logo span {
    color: var(--primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem; /* Space for scrollbar */
}

/* Custom Scrollbar for Sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item:hover, .nav-item.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.badge-soon {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem; /* Added top padding for navbar */
    position: relative;
    z-index: 1;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
}

/* Input Icons */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group i:not(.password-toggle) {
    position: absolute;
    left: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
    z-index: 2;
}

.input-group .form-control {
    padding-left: 3rem;
    width: 100%;
}

.input-group .form-control:focus + i {
    color: var(--primary);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary);
}

/* Password Strength */
.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: var(--transition);
}

/* Multi-step Logic */
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Validation Errors */
.text-danger {
    font-size: 0.85rem;
    color: #ef4444;
    margin-top: 0.5rem;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.text-danger {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Dashboard UI */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Dashboard Desktop Grid */
@media (min-width: 1024px) {
    .dashboard-grid-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .dashboard-main-col {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .dashboard-side-col {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        position: sticky;
        top: 2rem;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* --- Mobile Responsiveness --- */

/* Mobile Action Button */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(1, 12, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    z-index: 100;
    padding: 0 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-toggle-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Media Queries for Mobile/Tablets */
@media (max-width: 768px) {
    /* Hide sidebar natively, show on .active */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 260px;
    }
    
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    
    /* Main Content stretches full width */
    .main-content {
        margin-left: 0;
        padding: 1.5rem 1rem;
        padding-top: 5.5rem; /* Space for the mobile header */
    }
    
    /* Ensure the mobile header is visible */
    .mobile-header {
        display: flex !important;
    }
    
    .mobile-nav-toggle {
        display: none !important; /* Hide the old floating button if any */
    }
    
    /* Collapse Admin Grid Layouts */
    .grid-cards {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Settings Page specific layout override */
    [style*="grid-template-columns: 250px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* --- Dashboard Specific Response Improvements --- */
    
    /* Force Header Stacking */
    .dashboard-header-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }
    
    .dashboard-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .dashboard-actions .btn {
        flex: 1;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    /* Quick Actions Grid Optimization */
    .quick-actions-flex {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .quick-action-item {
        padding: 1rem 0.5rem !important;
    }

    /* Transaction Amount Contrast - Use a brighter green for accessibility */
    .text-success-bright {
        color: #10b981 !important; /* Tailwind Emerald 500 equivalent, very visible */
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    }

    /* Floating Toggle Shadow & Placement */
    .mobile-nav-toggle {
        top: 1rem;
        right: 1rem;
        background: rgba(1, 32, 61, 0.9);
        border: 1px solid var(--primary);
    }
}
/* --- Premium UI Utilities --- */

.glow-icon {
    position: relative;
    z-index: 1;
}

.glow-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    border-radius: inherit;
}

.progress-bar-animated {
    position: relative;
    overflow: hidden;
}

.progress-bar-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.glass-card-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.glass-card-premium:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(217, 231, 73, 0.1);
}

.text-gradient-lime {
    background: linear-gradient(135deg, #d9e749 0%, #a2b024 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Dashboard Header */
.dashboard-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0;
}

.welcome-stack h1 {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
}

.tier-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(217, 231, 73, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
    border: 1px solid rgba(217, 231, 73, 0.2);
}

.header-action-group {
    display: flex;
    gap: 1rem;
}

/* Premium Alert Toast */
.alert-toast-premium {
    position: fixed;
    bottom: 2rem; /* Moved to bottom for non-obstructive UX */
    right: 2rem;
    z-index: 1000;
    width: 380px;
    background: rgba(1, 12, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #3b82f6;
}

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.toast-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

@media (max-width: 1024px) {
    .dashboard-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .header-action-group {
        width: 100%;
    }
    
    .header-action-group .btn {
        flex: 1;
    }
    
    .alert-toast-premium {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        margin-bottom: 2rem;
        animation: fadeIn 0.5s ease-out;
    }
}

[x-cloak] { display: none !important; }

.visibility-toggle {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.visibility-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 8rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(217, 231, 73, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 2rem;
    max-height: 500px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(217, 231, 73, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.8rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--secondary);
}

/* --- Trust Section --- */
.trust-section {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(1, 32, 61, 0.2), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- New Bento Enhancements --- */
.feature-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(217, 231, 73, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* --- Why Choose Us --- */
.why-choose-us {
    padding: 8rem 5%;
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    background: rgba(217, 231, 73, 0.03);
    border-color: rgba(217, 231, 73, 1);
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(217, 231, 73, 0.4);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

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

/* --- Main Footer Redesign --- */
.main-footer {
    padding: 8rem 5% 4rem;
    background: linear-gradient(to bottom, rgba(1, 12, 26, 0.5), #010c1a);
    border-top: 1px solid rgba(217, 231, 73, 0.05);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
}

.footer-brand .footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 6rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0.4;
    transition: var(--transition);
}

.trust-badges:hover {
    opacity: 0.8;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
/* --- How It Works Section --- */
.how-it-works {
    padding: 10rem 5%;
    background: radial-gradient(circle at 50% 100%, rgba(217, 231, 73, 0.03), transparent 50%);
}

.steps-container {
    max-width: 1200px;
    margin: 6rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(217, 231, 73, 0.2);
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 2rem;
    box-shadow: 0 10px 30px rgba(217, 231, 73, 0.3);
}

.step-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Security Showcase --- */
.security-showcase {
    padding: 10rem 5%;
    text-align: center;
    background: #000b1a;
}

.security-badges {
    max-width: 1200px;
    margin: 6rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.security-badge-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    border-radius: 40px;
    transition: var(--transition);
}

.security-badge-item:hover {
    background: rgba(217, 231, 73, 0.03);
    border-color: var(--primary);
    transform: scale(1.05);
}

.security-badge-item i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(217, 231, 73, 0.3));
}

.security-badge-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.security-badge-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Wall of Love (Testimonials) --- */
.testimonials {
    padding: 10rem 5%;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 6rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(217, 231, 73, 0.2);
    transform: translateY(-10px);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.user-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.user-info p {
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.8;
}

.testimonial-content {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- App Download Section --- */
.app-download-section {
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

.app-download-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 6rem;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 5;
}

.app-download-content {
    flex: 1.2;
}

.app-download-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.app-download-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn:hover {
    background: #111;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.store-btn i {
    font-size: 2.2rem;
}

.store-btn .btn-text {
    display: flex;
    flex-direction: column;
}

.store-btn .btn-text .small {
    font-size: 0.75rem;
    opacity: 0.6;
    text-transform: uppercase;
}

.store-btn .btn-text .big {
    font-size: 1.2rem;
    font-weight: 700;
}

.app-mockup {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

.app-mockup img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
    transition: var(--transition);
}

.app-download-section:hover .app-mockup img {
    transform: rotate(-3deg) translateY(-15px);
}

@media (max-width: 1100px) {
    .app-download-container {
        flex-direction: column;
        text-align: center;
        padding: 4rem 3rem;
    }
    
    .store-buttons {
        justify-content: center;
    }
    
    .app-mockup img {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
}
