
/* ==================== ROOT VARIABLES - NEW COLOR SCHEME ==================== */
:root {
    /* Primary Colors - Green Theme */
    --primary: #2E8B57;       /* Sea Green */
    --primary-light: #3CB371; /* Medium Sea Green */
    --primary-dark: #1A5D2C;  /* Dark Green */
    
    /* Secondary Colors - Orange Theme */
    --secondary: #FF8C00;     /* Dark Orange */
    --secondary-light: #FFA500; /* Orange */
    --secondary-dark: #FF6347;  /* Tomato */
    
    /* Accent Colors - Dark Blue Theme */
    --accent: #1E3A8A;        /* Dark Blue */
    --accent-light: #3B82F6;  /* Blue */
    --accent-dark: #1E40AF;   /* Darker Blue */
    
    /* Status Colors */
    --success: #10B981;       /* Emerald Green */
    --warning: #F59E0B;       /* Amber */
    --danger: #EF4444;        /* Red */
    --info: #3B82F6;          /* Blue */
    
    /* Neutral Colors */
    --dark: #111827;          /* Gray 900 */
    --darker: #0F172A;        /* Gray 950 */
    --light: #F8FAFC;         /* Gray 50 */
    --gray: #6B7280;          /* Gray 500 */
    --gray-light: #E5E7EB;    /* Gray 200 */
    
    /* UI Elements */
    --border: rgba(30, 58, 138, 0.1);
    --card-bg: rgba(30, 58, 138, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
    padding-bottom: 100px;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.5rem;
    color: var(--light);
}

/* ==================== HEADER ==================== */
.app-header {
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

/* ==================== BALANCE CARD ==================== */
.balance-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.balance-amount {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 10px 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.balance-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-label i {
    color: var(--secondary);
}

/* ==================== QUICK ACTIONS ==================== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.action-btn {
    background: rgba(30, 58, 138, 0.2);
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: var(--radius);
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.2), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
    background: rgba(30, 58, 138, 0.3);
}

.action-btn i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.action-btn:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary);
}

.action-btn span {
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.action-btn:hover span {
    color: var(--primary-light);
}

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--darker);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* ==================== FORM STYLES ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
    background: rgba(30, 58, 138, 0.2);
}

/* ==================== BUTTON STYLES ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.btn-block {
    width: 100%;
}

/* ==================== TAB STYLES ==================== */
.tabs {
    display: flex;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 600;
    color: var(--gray);
    position: relative;
}

.tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--shadow);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* ==================== FEE CALCULATION ==================== */
.fee-calculation {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(46, 139, 87, 0.1));
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    border: 1px solid rgba(46, 139, 87, 0.2);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.fee-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fee-total {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ==================== BUNDLE CARDS ==================== */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.bundle-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(46, 139, 87, 0.1));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 87, 0.2), transparent);
    transition: left 0.6s ease;
}

.bundle-card:hover::before {
    left: 100%;
}

.bundle-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.2);
}

.bundle-name {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light);
}

.bundle-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.bundle-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

/* ==================== TRANSACTION ITEMS ==================== */
.transaction-item {
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.transaction-item:hover {
    background: rgba(30, 58, 138, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

/* ==================== STATUS BADGES ==================== */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==================== ALERT STYLES ==================== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid;
    background: rgba(30, 58, 138, 0.1);
}

.alert-success {
    border-left-color: var(--success);
    color: var(--success);
}

.alert-error {
    border-left-color: var(--danger);
    color: var(--danger);
}

.alert-info {
    border-left-color: var(--info);
    color: var(--info);
}

.alert-warning {
    border-left-color: var(--warning);
    color: var(--warning);
}

/* ==================== BOTTOM NAVIGATION ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.nav-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.nav-item {
    padding: 8px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.nav-item.active::after {
    opacity: 1;
    bottom: 4px;
}

.nav-item.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    transform: scale(1.1) translateY(-2px);
    color: var(--primary);
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-item:hover .nav-label {
    color: var(--primary);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        padding-bottom: 90px;
    }
    
    .balance-amount {
        font-size: 2.2rem;
    }
    
    .quick-actions {
        gap: 8px;
    }
    
    .action-btn {
        padding: 12px 8px;
    }
    
    .modal-content {
        max-height: 85vh;
        margin: 10px;
    }
    
    .bundles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 58, 138, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

/* ==================== LOADING ANIMATIONS ==================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(46, 139, 87, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== TOOLTIPS ==================== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--border);
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* ==================== CUSTOM CHECKBOXES & RADIOS ==================== */
.custom-checkbox,
.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-checkbox input,
.custom-radio input {
    display: none;
}

.custom-checkbox .checkmark,
.custom-radio .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: var(--transition);
}

.custom-radio .checkmark {
    border-radius: 50%;
}

.custom-checkbox input:checked + .checkmark,
.custom-radio input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox input:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.custom-radio input:checked + .checkmark:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* ==================== GRADIENT TEXT ==================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== SHIMMER EFFECT ==================== */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

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

/* ==================== CARD HOVER EFFECTS ==================== */
.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ==================== ICON ANIMATIONS ==================== */
.icon-spin {
    animation: spin 2s linear infinite;
}

.icon-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.icon-bounce {
    animation: bounce 1s ease infinite;
}

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

/* ==================== PROGRESS BARS ==================== */
.progress-bar {
    height: 6px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(46, 139, 87, 0.2);
    color: var(--primary);
    border: 1px solid rgba(46, 139, 87, 0.3);
}

.badge-secondary {
    background: rgba(255, 140, 0, 0.2);
    color: var(--secondary);
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.badge-accent {
    background: rgba(30, 58, 138, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(30, 58, 138, 0.3);
}

/* ==================== DROPDOWN MENUS ==================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(46, 139, 87, 0.1);
    color: var(--primary);
}

/* ==================== AVATAR STYLES ==================== */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    border: 2px solid rgba(46, 139, 87, 0.3);
}

.avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

/* ==================== SWITCH TOGGLE ==================== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 58, 138, 0.3);
    transition: var(--transition);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* ==================== STEPPER/PROGRESS INDICATOR ==================== */
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

.step.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: var(--primary);
}

/* ==================== PRICING CARDS ==================== */
.pricing-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(46, 139, 87, 0.1));
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    border-color: var(--primary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
}

/* ==================== STATS GRID ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== TIMELINE ==================== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--dark);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.timeline-content {
    background: rgba(30, 58, 138, 0.1);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* ==================== NOTIFICATION BELL ==================== */
.notification-bell {
    position: relative;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--danger), var(--warning));
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* ==================== CHIP/TAG STYLES ==================== */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(46, 139, 87, 0.1);
    border: 1px solid rgba(46, 139, 87, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 2px;
}

.chip i {
    margin-right: 5px;
    font-size: 0.7rem;
}

.chip-close {
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.chip-close:hover {
    opacity: 1;
}

/* ==================== SKELETON LOADING ==================== */
.skeleton {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.1), rgba(46, 139, 87, 0.1), rgba(30, 58, 138, 0.1));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 1em;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 15px;
}

/* ==================== CUSTOM SELECT ==================== */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray);
    font-size: 0.8rem;
}

.select-wrapper select {
    appearance: none;
    padding-right: 40px;
}

/* ==================== INPUT GROUPS ==================== */
.input-group {
    display: flex;
    gap: 10px;
}

.input-group .form-control {
    flex: 1;
}

.input-group .btn {
    flex-shrink: 0;
}

/* ==================== DIVIDERS ==================== */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--gray);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    padding: 0 15px;
    font-size: 0.8rem;
}

/* ==================== QUICK STATS ==================== */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.quick-stat {
    text-align: center;
    padding: 15px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.quick-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.quick-stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== HERO SECTIONS ==================== */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    border-radius: var(--radius);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, transparent 30%, rgba(0,0,0,0.1) 100%);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

/* ==================== FEATURE CARDS ==================== */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial {
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
}

.author-role {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ==================== COUNTDOWN TIMER ==================== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.countdown-item {
    text-align: center;
    background: rgba(30, 58, 138, 0.1);
    padding: 15px;
    border-radius: var(--radius-sm);
    min-width: 60px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-stat {
    text-align: center;
}

.social-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.social-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==================== CTA SECTIONS ==================== */
.cta-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    border-radius: var(--radius);
    margin: 30px 0;
}

.cta-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-description {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* ==================== PARTNER LOGOS ==================== */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
    opacity: 0.7;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* ==================== COMING SOON ==================== */
.coming-soon {
    text-align: center;
    padding: 40px 20px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    margin: 30px 0;
}

.coming-soon-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.coming-soon-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ==================== ERROR STATES ==================== */
.error-state {
    text-align: center;
    padding: 40px 20px;
}

.error-icon {
    font-size: 4rem;
    color: var(--danger);
    margin-bottom: 20px;
}

.error-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.error-description {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* ==================== SUCCESS STATES ==================== */
.success-state {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-description {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* ==================== LOADING STATES ==================== */
.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(30, 58, 138, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    opacity: 0.8;
}

/* ==================== EMPTY STATES ==================== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.empty-description {
    margin-bottom: 20px;
    opacity: 0.7;
}

/* ==================== RATING STARS ==================== */
.rating {
    display: flex;
    gap: 2px;
}

.rating-star {
    color: var(--warning);
}

.rating-star.empty {
    color: var(--gray-light);
}

/* ==================== PROGRESS INDICATOR ==================== */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
}

.progress-circle.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
}

.progress-line.active {
    background: var(--primary);
}

/* ==================== TIMESTAMP ==================== */
.timestamp {
    font-size: 0.8rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== COPY BUTTON ==================== */
.copy-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.copy-button:hover {
    background: rgba(46, 139, 87, 0.1);
}

.copy-button.copied {
    color: var(--success);
}

/* ==================== SEARCH BAR ==================== */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--light);
    font-size: 1rem;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* ==================== FILTER CHIPS ==================== */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-chip {
    padding: 8px 16px;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    border-color: var(--primary);
}

.filter-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== SORT SELECTOR ==================== */
.sort-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sort-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sort-select {
    background: none;
    border: none;
    color: var(--light);
    font-weight: 600;
    cursor: pointer;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== VIEW TOGGLER ==================== */
.view-toggler {
    display: flex;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    padding: 2px;
    margin-bottom: 20px;
}

.view-option {
    flex: 1;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.view-option.active {
    background: var(--primary);
    color: white;
}

/* ==================== STATS OVERVIEW ==================== */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.stat-box {
    text-align: center;
    padding: 15px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

/* ==================== QUICK FILTERS ==================== */
.quick-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.quick-filter {
    padding: 8px 16px;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.quick-filter:hover {
    border-color: var(--primary);
}

.quick-filter.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb.active {
    color: var(--light);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--gray);
}

/* ==================== TOGGLE SWITCH ==================== */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    font-size: 0.9rem;
}

.toggle {
    position: relative;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 58, 138, 0.3);
    transition: var(--transition);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* ==================== RANGE SLIDER ==================== */
.range-slider {
    width: 100%;
}

.range-track {
    height: 4px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 2px;
    position: relative;
    margin: 15px 0;
}

.range-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: var(--shadow);
}

/* ==================== COLOR PICKER ==================== */
.color-picker {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: white;
    box-shadow: 0 0 0 2px var(--primary);
}

/* ==================== FILE UPLOAD ==================== */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(46, 139, 87, 0.05);
}

.file-upload input {
    display: none;
}

.upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.upload-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ==================== DRAG AND DROP ==================== */
.drag-drop-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
}

.drag-drop-area.dragging {
    border-color: var(--primary);
    background: rgba(46, 139, 87, 0.05);
}

/* ==================== CONTEXT MENU ==================== */
.context-menu {
    position: fixed;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 150px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.context-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.context-menu-item {
    display: block;
    padding: 10px 20px;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.context-menu-item:hover {
    background: rgba(46, 139, 87, 0.1);
    color: var(--primary);
}

.context-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* ==================== TOOLTIPS ENHANCED ==================== */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ==================== ACCORDION ==================== */
.accordion {
    margin-bottom: 20px;
}

.accordion-item {
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 500px;
}

.accordion-toggle {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(180deg);
}

/* ==================== CAROUSEL ==================== */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ==================== MODAL STACK ==================== */
.modal-stack {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.modal-stack .modal-overlay {
    z-index: 2001;
}

.modal-stack .modal-overlay:nth-child(2) {
    z-index: 2002;
}

.modal-stack .modal-overlay:nth-child(3) {
    z-index: 2003;
}

/* ==================== NOTIFICATION STACK ==================== */
.notification-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    backdrop-filter: blur(10px);
}

/* ==================== CONFETTI EFFECT ==================== */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary);
    top: -10px;
    z-index: 5000;
}

.confetti:nth-child(odd) {
    background: var(--secondary);
}

.confetti:nth-child(even) {
    background: var(--accent);
}

/* ==================== GLOW EFFECTS ==================== */
.glow {
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.3);
}

.glow-primary {
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.3);
}

.glow-secondary {
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

/* ==================== GRADIENT BORDERS ==================== */
.gradient-border {
    position: relative;
    background: var(--darker);
    border-radius: var(--radius);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: calc(var(--radius) + 2px);
    z-index: -1;
}

/* ==================== NEUMORPHISM ==================== */
.neumorphic {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.1), rgba(46, 139, 87, 0.1));
    border-radius: var(--radius);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1),
                -5px -5px 10px rgba(255, 255, 255, 0.05);
}

/* ==================== GLASS MORPHISM ==================== */
.glass {
    background: rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

/* ==================== GRID LAYOUTS ==================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* ==================== FLEX LAYOUTS ==================== */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.flex-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ==================== SPACING UTILITIES ==================== */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mr-0 { margin-right: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }

.m-1 { margin: 0.25rem; }
.mt-1 { margin-top: 0.25rem; }
.mr-1 { margin-right: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }

.m-2 { margin: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }

.m-3 { margin: 1rem; }
.mt-3 { margin-top: 1rem; }
.mr-3 { margin-right: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.ml-3 { margin-left: 1rem; }

.p-0 { padding: 0; }
.pt-0 { padding-top: 0; }
.pr-0 { padding-right: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }

.p-1 { padding: 0.25rem; }
.pt-1 { padding-top: 0.25rem; }
.pr-1 { padding-right: 0.25rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pl-1 { padding-left: 0.25rem; }

.p-2 { padding: 0.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pl-2 { padding-left: 0.5rem; }

.p-3 { padding: 1rem; }
.pt-3 { padding-top: 1rem; }
.pr-3 { padding-right: 1rem; }
.pb-3 { padding-bottom: 1rem; }
.pl-3 { padding-left: 1rem; }

/* ==================== TEXT UTILITIES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }
.text-light { color: var(--light); }
.text-gray { color: var(--gray); }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==================== VISIBILITY UTILITIES ==================== */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.visible { visibility: visible; }
.invisible { visibility: hidden; }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ==================== BORDER UTILITIES ==================== */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-r { border-right: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }

.border-primary { border-color: var(--primary); }
.border-secondary { border-color: var(--secondary); }
.border-accent { border-color: var(--accent); }
.border-success { border-color: var(--success); }
.border-warning { border-color: var(--warning); }
.border-danger { border-color: var(--danger); }
.border-info { border-color: var(--info); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }

/* ==================== BACKGROUND UTILITIES ==================== */
.bg-transparent { background: transparent; }
.bg-current { background: currentColor; }

.bg-dark { background: var(--dark); }
.bg-darker { background: var(--darker); }
.bg-light { background: var(--light); }
.bg-gray { background: var(--gray); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-accent { background: var(--accent); }
.bg-success { background: var(--success); }
.bg-warning { background: var(--warning); }
.bg-danger { background: var(--danger); }
.bg-info { background: var(--info); }

/* ==================== SHADOW UTILITIES ==================== */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow); }
.shadow { box-shadow: var(--shadow-lg); }
.shadow-lg { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* ==================== TRANSITION UTILITIES ==================== */
.transition-none { transition: none; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }

/* ==================== ANIMATION UTILITIES ==================== */
.animate-none { animation: none; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

/* ==================== CURSOR UTILITIES ==================== */
.cursor-auto { cursor: auto; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.cursor-text { cursor: text; }
.cursor-move { cursor: move; }
.cursor-not-allowed { cursor: not-allowed; }

/* ==================== USER SELECT UTILITIES ==================== */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* ==================== Z-INDEX UTILITIES ==================== */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-auto { z-index: auto; }

/* ==================== OVERFLOW UTILITIES ==================== */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

/* ==================== POSITION UTILITIES ==================== */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

/* ==================== WIDTH UTILITIES ==================== */
.w-0 { width: 0; }
.w-1 { width: 0.25rem; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }

.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }

/* ==================== HEIGHT UTILITIES ==================== */
.h-0 { height: 0; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-min { height: min-content; }
.h-max { height: max-content; }

/* ==================== MIN/MAX WIDTH/HEIGHT UTILITIES ==================== */
.min-w-0 { min-width: 0; }
.min-w-full { min-width: 100%; }
.min-h-0 { min-height: 0; }
.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }

.max-w-none { max-width: none; }
.max-w-full { max-width: 100%; }
.max-w-screen-sm { max-width: 640px; }
.max-w-screen-md { max-width: 768px; }
.max-w-screen-lg { max-width: 1024px; }
.max-w-screen-xl { max-width: 1280px; }
.max-w-screen-2xl { max-width: 1536px; }

.max-h-none { max-height: none; }
.max-h-full { max-height: 100%; }
.max-h-screen { max-height: 100vh; }

/* ==================== FLEX UTILITIES ==================== */
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }
.flex-nowrap { flex-wrap: nowrap; }

.flex-grow { flex-grow: 1; }
.flex-grow-0 { flex-grow: 0; }
.flex-shrink { flex-shrink: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* ==================== GRID UTILITIES ==================== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.grid-rows-1 { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.grid-rows-3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.grid-rows-4 { grid-template-rows: repeat(4, minmax(0, 1fr)); }
.grid-rows-5 { grid-template-rows: repeat(5, minmax(0, 1fr)); }
.grid-rows-6 { grid-template-rows: repeat(6, minmax(0, 1fr)); }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }
.gap-6 { gap: 2.5rem; }
.gap-8 { gap: 3rem; }
.gap-10 { gap: 4rem; }
.gap-12 { gap: 5rem; }

.gap-x-0 { column-gap: 0; }
.gap-x-1 { column-gap: 0.25rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-3 { column-gap: 1rem; }
.gap-x-4 { column-gap: 1.5rem; }
.gap-x-5 { column-gap: 2rem; }
.gap-x-6 { column-gap: 2.5rem; }
.gap-x-8 { column-gap: 3rem; }
.gap-x-10 { column-gap: 4rem; }
.gap-x-12 { column-gap: 5rem; }

.gap-y-0 { row-gap: 0; }
.gap-y-1 { row-gap: 0.25rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-3 { row-gap: 1rem; }
.gap-y-4 { row-gap: 1.5rem; }
.gap-y-5 { row-gap: 2rem; }
.gap-y-6 { row-gap: 2.5rem; }
.gap-y-8 { row-gap: 3rem; }
.gap-y-10 { row-gap: 4rem; }
.gap-y-12 { row-gap: 5rem; }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 640px) {
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
    .sm\:grid { display: grid; }
    
    .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    
    .sm\:flex-col { flex-direction: column; }
    .sm\:flex-row { flex-direction: row; }
}

@media (max-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:grid { display: grid; }
    
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    
    .md\:flex-col { flex-direction: column; }
    .md\:flex-row { flex-direction: row; }
}

@media (max-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:grid { display: grid; }
    
    .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    
    .lg\:flex-col { flex-direction: column; }
    .lg\:flex-row { flex-direction: row; }
}

@media (max-width: 1280px) {
    .xl\:hidden { display: none; }
    .xl\:block { display: block; }
    .xl\:flex { display: flex; }
    .xl\:grid { display: grid; }
    
    .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    
    .xl\:flex-col { flex-direction: column; }
    .xl\:flex-row { flex-direction: row; }
}

/* ==================== DARK MODE OVERRIDES ==================== */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #0F172A;
        --darker: #020617;
        --light: #F8FAFC;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .no-print { display: none; }
    .print-only { display: block; }
    
    body {
        background: white;
        color: black;
    }
    
    .modal-overlay,
    .bottom-nav {
        display: none !important;
    }
}

/* ==================== ACCESSIBILITY ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.focus\:ring-primary:focus {
    outline-color: var(--primary);
}

.focus\:ring-secondary:focus {
    outline-color: var(--secondary);
}

/* ==================== CUSTOM SCROLLBAR FOR MODALS ==================== */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(46, 139, 87, 0.5);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 139, 87, 0.7);
}

/* ==================== SMOOTH SCROLLING ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.will-change-transform {
    will-change: transform;
}

.transform-gpu {
    transform: translateZ(0);
}

/* ==================== CUSTOM PROPERTIES FALLBACK ==================== */
@supports not (backdrop-filter: blur(10px)) {
    .glass {
        background: rgba(30, 58, 138, 0.8);
    }
    
    .modal-overlay {
        background: rgba(15, 23, 42, 0.98);
    }
}

/* ==================== FINAL CLEANUP ==================== */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

*:focus:not(.focus-visible) {
    outline: none;
}

.focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}