/* TaxCheckMe AI - Custom Styles */

/* MODERN ANIMATED BACKGROUNDS */

/* 1. Floating Particles Background */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(23, 162, 184, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite linear;
}

.particle:nth-child(odd) {
    background: rgba(13, 110, 253, 0.08);
    animation-duration: 25s;
}

.particle:nth-child(3n) {
    background: rgba(255, 255, 255, 0.05);
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* 2. Gradient Mesh Animation */
.gradient-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3. Geometric Network Lines */
.network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(23, 162, 184, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: networkPulse 8s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { 
        background: radial-gradient(circle at 20% 80%, rgba(23, 162, 184, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    }
    50% { 
        background: radial-gradient(circle at 60% 30%, rgba(23, 162, 184, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 30% 70%, rgba(13, 110, 253, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    }
}

/* 4. Honeycomb Pattern */
.honeycomb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(23, 162, 184, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(13, 110, 253, 0.05) 2px, transparent 2px);
    background-size: 100px 100px;
    background-position: 0 0, 50px 50px;
    animation: honeycombShift 20s linear infinite;
}

@keyframes honeycombShift {
    0% { background-position: 0 0, 50px 50px; }
    100% { background-position: 100px 100px, 150px 150px; }
}

/* 5. Flowing Waves */
.waves-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, 
        rgba(23, 162, 184, 0.1) 0%, 
        rgba(13, 110, 253, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 300% 300%;
    animation: waveFlow 12s ease-in-out infinite;
}

@keyframes waveFlow {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}
/* DROPDOWN FIX - High z-index but keep normal positioning */
.navbar-nav .dropdown-menu,
.navbar .dropdown-menu,
.dropdown-menu.show {
    z-index: 999999 !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
}

.navbar-nav .dropdown,
.navbar .dropdown {
    position: relative !important;
}

/* Force navbar container above all content */
.navbar {
    z-index: 999998 !important;
    position: relative !important;
}

/* Ensure all content stays below */
.main-content,
.container:not(.navbar .container),
.glass-card,
.card,
.modal,
.toast,
body > *:not(.navbar) {
    z-index: 1 !important;
    position: relative;
}

/* Override any conflicting Bootstrap or custom z-index */
* {
    z-index: auto !important;
}

.navbar,
.navbar *,
.dropdown-menu {
    z-index: 999999 !important;
}

.subtle-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    pointer-events: none;
    opacity: 0.02; /* EXTREMELY low opacity */
}

/* Page-Specific Backgrounds */
.landing-page { background: scroll; } /* For particles */
.dashboard-page { background: none; } /* For gradient mesh */
.processing-page { background: none; } /* For network */
.credits-page { background: none; } /* For honeycomb */
.reports-page { background: none; } /* For waves */

/* Glass Card Enhancements for Animated Backgrounds */
.glass-card {
    backdrop-filter: blur(10px) saturate(200%);
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    position: relative;
    z-index: 1;
}

/* Subtle Glow Animation for Glass Cards */
.glass-card:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5),
                0 0 20px rgba(23, 162, 184, 0.2);
    transition: all 0.3s ease;
}
.badge.bg-success.money,
.badge.bg-success:has(.fa-coins),
.badge.bg-success:has(.fa-dollar-sign),
.savings-badge,
.money-badge {
    background-color: #138496 !important; /* Darker light blue */
    color: white !important;
}

/* Credits display in navbar */
.navbar .badge.bg-success {
    background-color: #138496 !important; /* Darker light blue */
}

/* Savings amounts in reports */
.savings-amount,
.annual-savings,
.potential-savings {
    color: #138496 !important; /* Darker light blue text */
}

/* Green success badges that show money amounts */
.badge.bg-success:contains("$"),
.badge:has(.fa-dollar-sign) {
    background-color: #138496 !important;
}

/* Override any green money text */
.text-success.money,
.money-text,
.savings-text {
    color: #138496 !important;
}

/* Darker light blue gradient for money cards */
.money-card {
    background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
}

/* Alternative darker light blue shades for different money elements */
.money-primary { color: #138496 !important; }
.money-light { color: #17a2b8 !important; }
.money-dark { color: #0f6674 !important; }

/* Background versions */
.bg-money-primary { background-color: #138496 !important; }
.bg-money-light { background-color: #17a2b8 !important; }
.bg-money-dark { background-color: #0f6674 !important; }
.savings-badge,
.money-badge {
    background-color: #17a2b8 !important; /* Light blue */
    color: white !important;
}

/* Credits display in navbar */
.navbar .badge.bg-success {
    background-color: #17a2b8 !important; /* Light blue */
}

/* Savings amounts in reports */
.savings-amount,
.annual-savings,
.potential-savings {
    color: #17a2b8 !important; /* Light blue text */
}

/* Green success badges that show money amounts */
.badge.bg-success:contains("$"),
.badge:has(.fa-dollar-sign) {
    background-color: #17a2b8 !important;
}

/* Override any green money text */
.text-success.money,
.money-text,
.savings-text {
    color: #17a2b8 !important;
}

/* Light blue gradient for money cards */
.money-card {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

/* Alternative light blue shades for different money elements */
.money-primary { color: #17a2b8 !important; }
.money-light { color: #6cc7d4 !important; }
.money-dark { color: #138496 !important; }

/* Background versions */
.bg-money-primary { background-color: #17a2b8 !important; }
.bg-money-light { background-color: #6cc7d4 !important; }
.bg-money-dark { background-color: #138496 !important; }
.form-check-label {
    color: inherit; /* Uses default dark text - inherits from parent */
}

.text-danger {
    color: #dc3545; /* Bootstrap red - hard to read on dark glass background */
}

.invalid-feedback {
    color: #dc3545; /* Bootstrap red validation text */
    display: none; /* Shows when form is invalid */
}

.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545; /* Bootstrap red for invalid checkbox labels */
}
.btn.btn-success,
button.btn-success {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

.btn.btn-success:hover,
button.btn-success:hover {
    background-color: #e0a800 !important;
    border-color: #d39e00 !important;
    color: #000000 !important;
}

/* Fix COMPLETED status badges - change from green to yellow */
.badge.bg-success {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

/* Fix any remaining green badges */
.bg-success {
    background-color: #ffc107 !important;
}

/* Ensure all badges have good contrast */
.badge {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* More specific targeting for reports page */
.reports-page .btn-success,
#reports-table .btn-success {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

.reports-page .bg-success,
#reports-table .bg-success {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

/* Make all table text white for better readability */
.table th,
.table td {
    color: #ffffff !important;
}

/* Fix green PDF download buttons - change to yellow */
.btn-success {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

.btn-success:hover {
    background-color: #e0a800 !important;
    border-color: #d39e00 !important;
    color: #000000 !important;
}

/* Fix green potential savings text - change to yellow */
.text-success {
    color: #ffc107 !important;
}

/* Ensure all table headers are white */
.table thead th {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

/* Make table rows more readable */
.glass-row td {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fix any remaining muted text to be visible */
.text-muted {
    color: #cccccc !important;
}

/* Ensure small text is readable */
small.text-muted {
    color: #cccccc !important;
}

/* Make processing text more visible */
.glass-row .text-light {
    color: #ffffff !important;
}

/* Fix badge contrast if needed */
.badge {
    color: #000000 !important;
}
.dropdown-menu {
    z-index: 9999 !important;
}

.navbar-nav .dropdown {
    z-index: 9998 !important;
}

.navbar-nav .dropdown-menu {
    z-index: 99999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}
/* Fix unreadable Account Statistics text */
.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff !important; /* Ensure white text */
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important; /* Add shadow for contrast */
}

.stat-label {
    font-size: 0.85rem;
    color: #ffffff !important; /* Change from gray to white */
    margin-top: 0.25rem;
    opacity: 0.9;
}

/* Improve stat card background for better contrast */
.stat-card {
    background: rgba(0, 0, 0, 0.3) !important; /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Make sure stat icons are visible */
.stat-icon {
    color: #ffc107 !important; /* Yellow instead of blue for better contrast */
}
/* Fix unreadable alert-info text in profile page */
.alert-info {
    background-color: rgba(13, 202, 240, 0.1) !important;
    border: 1px solid rgba(13, 202, 240, 0.2) !important;
    color: #ffffff !important; /* White text instead of light blue */
}

.alert-info .alert-heading {
    color: #ffffff !important;
}

.alert-info ul li {
    color: #ffffff !important;
}

.alert-info strong {
    color: #ffc107 !important; /* Yellow for emphasis */
}

/* Ensure dropdown text is readable */
.dropdown-menu .dropdown-item {
    color: #ffffff !important;
    background-color: transparent;
    transition: all 0.2s ease !important;
}

/* VISIBLE hover effects */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #007bff !important;
    color: #ffffff !important;
    transform: translateX(2px) !important;
}

/* Dropdown divider visibility */
.dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Ensure dropdown text is readable */
.dropdown-menu .dropdown-item {
    color: #ffffff !important;
    background-color: transparent;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Dropdown divider visibility */
.dropdown-menu .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.breadcrumb-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    background: rgba(255,255,255,0.1);
    color: #4facfe;
    transform: translateY(-1px);
}

.breadcrumb-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: #4facfe;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

.breadcrumb-item.active i {
    margin-right: 0.5rem;
    color: #4facfe;
}
/* ============================================================================
   VARIABLES & THEME
   ============================================================================ */
:root {
    --primary-color: #ff8c42;
    --primary-hover: #ff7a28;
    --secondary-color: #ff6b35;
    --background-gradient: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */
body {
    background: var(--background-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================================================
   GLASS MORPHISM COMPONENTS
   ============================================================================ */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.navbar-custom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--glass-background);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white !important;
    font-weight: 600;
}

.dropdown-menu {
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    background: transparent;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--glass-background);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 500;
    border-radius: 12px;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--glass-border);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-secondary);
}

/* ============================================================================
   AUTHENTICATION PAGES
   ============================================================================ */
.auth-card {
    max-width: 400px;
    margin: 2rem auto;
}

.auth-icon {
    font-size: 3rem;
    color: var(--primary-color);
}


/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero-section {
    padding: 4rem 0;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ============================================================================
   FEATURE CARDS
   ============================================================================ */
.feature-card {
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================================
   STEP INDICATORS
   ============================================================================ */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ============================================================================
   DASHBOARD
   ============================================================================ */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* ============================================================================
   UPLOAD COMPONENT
   ============================================================================ */
.upload-zone {
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--primary-color);
    background: rgba(255, 140, 66, 0.1);
}

.upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.supported-formats {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.file-preview {
    margin-top: 1rem;
}

.security-feature {
    text-align: center;
    padding: 1rem;
}

.security-feature i {
    font-size: 2rem;
    display: block;
}

.security-feature h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ============================================================================
   PROCESSING PAGE
   ============================================================================ */
.processing-animation {
    position: relative;
}

.processing-icon {
    animation: pulse 2s infinite;
}

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

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--glass-background);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.step-content {
    flex: 1;
}

.step-content h6 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.step-status {
    font-size: 1.25rem;
}

/* ============================================================================
   ANALYSIS REPORT
   ============================================================================ */
.savings-highlight {
    text-align: center;
}

.savings-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success-color);
    line-height: 1;
}

.savings-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommendation-card {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateX(5px);
}

.recommendation-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: 0.75rem;
}

.recommendation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.savings-card {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.savings-amount-small {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success-color);
}

.savings-label-small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.confidence-score {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.disclaimer-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.document-info .row {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* ============================================================================
   PRICING CARDS
   ============================================================================ */
.pricing-card {
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.pricing-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.price {
    margin: 1rem 0;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pricing-features {
    flex: 1;
    padding-bottom: 1.5rem;
}

.feature-item {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.feature-item.text-muted {
    color: var(--text-muted) !important;
}

.value-proposition {
    margin-bottom: 1rem;
}

.savings-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.app-list {
    space-y: 1rem;
}

.app-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.app-links {
    margin-top: 0.5rem;
}

.app-links a {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.qr-code-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
}

.qr-code {
    max-width: 200px;
    height: auto;
}

.manual-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-benefit {
    text-align: center;
    padding: 1rem;
}

.security-benefit i {
    display: block;
    margin-bottom: 0.5rem;
}

.security-benefit h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   BADGES & ALERTS
   ============================================================================ */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: #212529;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

.alert {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
}

.alert-success {
    border-color: rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.1);
}

.alert-warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.1);
}

.alert-info {
    border-color: rgba(23, 162, 184, 0.3);
    background: rgba(23, 162, 184, 0.1);
}

.alert-danger {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.1);
}

/* ============================================================================
   ERROR PAGES
   ============================================================================ */
.error-illustration {
    margin: 2rem 0;
}

.error-code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
}

.help-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

/* ============================================================================
   ACCORDION
   ============================================================================ */
.accordion-item {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
}

.accordion-button {
    background: transparent;
    color: var(--text-primary);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(255, 140, 66, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
}

/* ============================================================================
   TABLES
   ============================================================================ */
.table {
    color: var(--text-primary);
    --bs-table-bg: transparent;
}

.table thead th {
    border-color: var(--glass-border);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.table tbody td {
    border-color: var(--glass-border);
    vertical-align: middle;
}

.table-hover tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================================================
   PROGRESS BARS
   ============================================================================ */
.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.6s ease;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

/* ============================================================================
   UTILITIES
   ============================================================================ */
.text-light {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .savings-amount {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .processing-steps {
        gap: 0.5rem;
    }
    
    .step {
        padding: 0.75rem;
    }
    
    .recommendation-card {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .glass-card {
        padding: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .error-code {
        font-size: 3rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .navbar,
    .footer,
    .btn,
    .alert {
        display: none !important;
    }
    
    .text-light,
    .text-secondary {
        color: #666 !important;
    }
    
    .text-primary {
        color: #007bff !important;
    }
}

/* ============================================================================
   DARK MODE SUPPORT (for future enhancement)
   ============================================================================ */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark theme */
}

/* ============================================================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .glass-card {
        border: 2px solid var(--text-primary);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-color);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(74, 158, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 158, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 158, 255, 0.08) 0%, transparent 50%);
    animation: pulse-bg 8s ease-in-out infinite;
}

body::after {
    content: '1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 0';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    color: rgba(74, 158, 255, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 20px;
    word-spacing: 10px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    animation: binary-flow 20s linear infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes binary-flow {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(2deg);
    }
}

/* Floating particles */
.container-fluid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, #4A9EFF 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, #4A9EFF 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, #4A9EFF 1.5px, transparent 1.5px),
        radial-gradient(circle at 15% 80%, #4A9EFF 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, #4A9EFF 2px, transparent 2px);
    background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px, 450px 450px;
    opacity: 0.4;
    animation: float-particles 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float-particles {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
    66% {
        transform: translateY(10px) translateX(-15px);
        opacity: 0.4;
    }
}

/* Glass card styling */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.btn-orange {
    background-color: #ff7849;
    border-color: #ff7849;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 120, 73, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.btn-orange:hover {
    background-color: #e65a35;
    border-color: #e65a35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 120, 73, 0.4);
}

.text-orange {
    color: #ff7849 !important;
}

/* Numbered category headers styling for analysis text */
.analysis-content {
    white-space: pre-wrap; 
    font-family: 'Segoe UI', sans-serif; 
    line-height: 1.6;
}

.analysis-content h1,
.analysis-content h2,
.analysis-content h3,
.analysis-content h4,
.analysis-content h5,
.analysis-content h6 {
    font-weight: bold !important;
    color: #ff7849 !important;
}

/* Style lines that start with numbers followed by a period */
.numbered-header {
    font-weight: bold !important;
    color: #ff7849 !important;
}

.min-w-0 {
    min-width: 0;
}

.card {
    transition: transform 0.2s ease-in-out;
    position: relative;
    z-index: 10;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.2);
}

/* Make background darker by 20% with blue tint */
body {
    background: linear-gradient(135deg, #3a4a63 0%, #4a5568 50%, #3e4c66 100%) !important;
    position: relative;
    min-height: 100vh;
}

/* Ensure content is above background */
.container-fluid {
    position: relative;
    z-index: 5;
}

/* Add subtle glow to important elements */
.glass-card:hover {
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.3);
}

/* Enhance badge styling */
.badge {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.badge.bg-success {
    background-color: #10b981 !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
}

.badge.bg-primary {
    background-color: #4A9EFF !important;
}

/* Navigation needs to be above everything */
.navbar {
    position: relative;
    z-index: 100;
}

/* PARTICLE ANIMATIONS (only for dashboard page elements) */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4A9EFF;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #4A9EFF, 
        0 0 20px #4A9EFF,
        0 0 30px rgba(74, 158, 255, 0.5);
    animation: particle-pulse 4s ease-in-out infinite;
}

@keyframes particle-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 10px #4A9EFF, 0 0 20px #4A9EFF;
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 20px #4A9EFF, 0 0 40px #4A9EFF, 0 0 60px rgba(74, 158, 255, 0.8);
    }
}

.binary-digit {
    position: absolute;
    top: -50px;
    color: #4A9EFF;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    opacity: 0.7;
    text-shadow: 0 0 10px #4A9EFF;
    animation: binary-fall linear infinite;
}

@keyframes binary-fall {
    0% {
        top: -50px;
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

.connection-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #4A9EFF, transparent);
    box-shadow: 0 0 5px #4A9EFF;
    animation: line-pulse 6s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
/* ============================================================================
   ENHANCED LANDING PAGE ANIMATIONS - APPEND TO END OF style.css
   ============================================================================ */

/* Animated Background Elements */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(255, 140, 66, 0.1), 
        rgba(23, 162, 184, 0.1));
    border-radius: 50%;
    filter: blur(1px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 60%;
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: translateY(-30px) rotate(120deg);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(20px) rotate(240deg);
        opacity: 0.4;
    }
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(23, 162, 184, 0.1) 0%, transparent 70%);
    top: 50%;
    right: -15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-card {
    position: relative;
    animation: heroEntrance 1.2s ease-out;
    transform-origin: center;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rocket-icon {
    animation: rocketFloat 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes rocketFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Enhanced Button Animations */
.animated-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.animated-btn:hover .btn-hover-effect {
    left: 100%;
}

.animated-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced Trust Badges */
.animated-trust-badge {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.animated-trust-badge.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: linear-gradient(45deg, 
        rgba(255, 140, 66, 0.2), 
        rgba(23, 162, 184, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.animated-trust-badge:hover .badge-glow {
    opacity: 1;
}

.animated-trust-badge:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Enhanced Feature Cards */
.animated-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon-container {
    position: relative;
    margin-bottom: 1rem;
}

.icon-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.icon-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 140, 66, 0.6);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.icon-particles .particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.icon-particles .particle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1.3s;
}

.icon-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 60%;
    animation-delay: 2.6s;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* Stats Section */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: statPulse 2s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

@keyframes statPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Trust Cards */
.animated-trust-card {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-trust-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.trust-card:hover {
    transform: translateY(-15px) scale(1.02) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(23, 162, 184, 0.3);
}

/* Floating Particles for Hero */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 140, 66, 0.7);
    border-radius: 50%;
    animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Section Headers */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animated-heading {
    animation: headingGlow 3s ease-in-out infinite;
}

@keyframes headingGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 140, 66, 0.3);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-shapes .shape {
        display: none;
    }
    
    .orb {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shapes,
    .gradient-orbs,
    .hero-particles {
        display: none;
    }
}

/* REPLACE HERO CSS WITH THIS - ADD TO style.css */

.hero-section {
    position: relative;
    overflow: hidden;
    width: 100vw; /* Full viewport width */
    height: 400px; /* Fixed height - adjust as needed */
    margin-left: calc(-50vw + 50%); /* Break out of container */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(23, 162, 184, 0.1) 0%,
        rgba(13, 110, 253, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%);
}

.hero-card {
    position: relative;
    animation: heroEntrance 1.2s ease-out;
    transform-origin: center;
    max-width: 1200px;
    width: 90%;
    z-index: 2;
}

/* Different height options - choose one */
.hero-section.hero-xl { height: 500px; } /* Extra large */
.hero-section.hero-lg { height: 400px; } /* Large (default) */
.hero-section.hero-md { height: 350px; } /* Medium */

/* Responsive heights */
@media (max-width: 1200px) {
    .hero-section { height: 350px; }
}

@media (max-width: 768px) {
    .hero-section { 
        height: 300px;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-card {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .hero-section { height: 250px; }
}
































/* ============================================================================
   CLEAN PROFESSIONAL LANDING PAGE - REPLACE ALL PREVIOUS LANDING CSS
   ============================================================================ */

/* Clean Background Shapes */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(255, 140, 66, 0.08), 
        rgba(23, 162, 184, 0.08));
    border-radius: 50%;
    filter: blur(2px);
    animation: gentleFloat 25s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -8s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 80%;
    left: 70%;
    animation-delay: -16s;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero Stats */
.hero-stats {
    margin: 2rem 0;
}

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

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Buttons */
.animated-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.875rem 2rem;
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.animated-btn:hover .btn-hover-effect {
    left: 100%;
}

.animated-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Visual Card */
.hero-visual .glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hero-visual .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

/* Trust Section */
.trust-section {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badges {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.trust-item i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-stats .d-flex {
        justify-content: center;
        gap: 2rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .animated-btn {
        width: 100%;
    }
    
    .trust-badges {
        padding: 0.75rem 1rem;
        gap: 1rem !important;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .floating-shapes .shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-stats .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .trust-badges {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}
.btn-gradient {
    background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3) !important;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #ff7a28, #ff8c42) !important;
}
/* ============================================================================
   CLEAN NAVBAR FIX - CONSISTENT ACROSS ALL PAGES
   ============================================================================ */

/* Reset all container overrides */
.navbar .container {
    max-width: 1140px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
}

/* Ensure navbar is consistent */
.navbar-custom {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 1rem 0 !important;
}

/* Clean navbar positioning */
.navbar {
    z-index: 1000 !important;
    position: relative !important;
}

/* Remove all the z-index chaos */
* {
    z-index: auto !important;
}

.navbar,
.navbar * {
    z-index: 1000 !important;
}

.dropdown-menu {
    z-index: 1001 !important;
}

/* Clean main content spacing */
.main-content {
    padding: 1rem 0 !important;
    min-height: calc(90vh - 100px) !important;
}

/* Remove conflicting container rules */
.container:not(.navbar .container) {
    
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.navbar-custom .container {
    max-width: none !important;
    padding: 0 2rem !important;
}
.static-page .container {
    margin-top: 2rem !important;
    padding-top: 0 !important;
}
.about-page .container,
.contact-page .container,
.support-page .container {
    margin-top: 2rem !important;
}
/* Brand colors for trust/hero section */
.trust-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

.trust-card {
    background: rgba(26, 26, 46, 0.8) !important; /* Dark brand color */
    border: 1px solid rgba(255, 107, 53, 0.3) !important; /* Orange accent border */
}



.trust-section,
.trusted-by-professionals {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    /* Brand dark gradient */
}

/* Make About page cards match landing page cards */
.about-page .glass-card {
    background: rgba(30, 58, 138, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.resend-input {
    background-color: #6c757d !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    color: white !important;
}

.resend-btn {
    background-color: #fd7e14 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
}

/* Add this CSS to your style.css file to fix dropdown overflow */

/* Fix dropdown menu width and text overflow */
.dropdown-menu {
    min-width: 200px !important; /* Ensure minimum width */
    max-width: 300px !important; /* Prevent excessive width */
    white-space: nowrap !important; /* Prevent text wrapping that causes overflow */
    overflow: hidden !important; /* Hide any overflow */
    padding: 0.5rem 0 !important; /* Add proper padding */
}

.dropdown-item {
    padding: 0.5rem 1rem !important; /* Ensure proper padding */
    white-space: nowrap !important; /* Keep text on single line */
    overflow: hidden !important; /* Hide overflow */
    text-overflow: ellipsis !important; /* Add ... for very long text */
    display: block !important; /* Ensure block display */
    width: 100% !important; /* Full width of container */
    box-sizing: border-box !important; /* Include padding in width */
}

/* Specific fixes for your dropdowns */
#platformDropdown + .dropdown-menu,
#legalDropdown + .dropdown-menu,
#userDropdown + .dropdown-menu {
    min-width: 220px !important; /* Wider for your longer text */
}

/* Fix mobile dropdown positioning */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu,
    .navbar .dropdown-menu,
    .dropdown-menu.show {
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
    }
}

/* Ensure dropdown arrows don't cause overflow */
.dropdown-toggle::after {
    margin-left: 0.5rem !important;
}

/* Fix Bootstrap dropdown positioning issues */
.dropdown-menu.show {
    display: block !important;
    transform: none !important;
}

/* Prevent text from breaking out of bounds */
.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 0.9rem !important; /* Slightly smaller font if needed */
    line-height: 1.4 !important;
}