:root {
    --primary-color: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(45deg, #3b82f6, #10b981, #f59e0b);
    --neon-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: #f8fafc;
    color: var(--text-primary);
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1050;
}

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

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

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

.navbar-nav .btn {
    padding: 0.4rem 1rem !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
    margin-left: 0.5rem;
}

.hero-section {
    background: var(--gradient-primary);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
    border-radius: 16px;
}

.cta-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.3;
}

.btn-custom {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-custom:hover::before {
    left: 0;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    border-color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-animation {
    animation: floating 4s ease-in-out infinite;
    position: relative;
}

.floating-animation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.stats-counter {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--neon-glow);
}

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

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

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Features Section */
.features-section {
    background: #ffffff;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-secondary);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 25px 0 25px !important;
}

.footer-section h6 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cbd5e1 !important;
    margin-bottom: 0.5rem;
}

.footer-section .text-light {
    color: #cbd5e1 !important;
}

.footer-section .footer-link {
    color: #cbd5e1 !important;
    transition: color 0.3s ease;
}

.footer-section .footer-link:hover {
    color: var(--primary-color) !important;
}

.footer-section ul li {
    color: #cbd5e1 !important;
    margin-bottom: 0.5rem;
}

.footer-section ul li i {
    color: var(--primary-color);
}

/* Text Colors */
.text-primary-custom {
    color: var(--text-primary) !important;
}

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

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

/* Card Text */
.feature-card .card-title {
    color: var(--text-primary) !important;
}

.feature-card .card-text {
    color: var(--text-secondary) !important;
}

/* Section Headers */
.section-header h2 {
    color: var(--text-primary) !important;
}

.section-header p {
    color: var(--text-secondary) !important;
}

/* Footer Text */
.footer-section h6 {
    color: #ffffff !important;
}

.footer-section p {
    color: #cbd5e1 !important;
}

.footer-section .text-light {
    color: #cbd5e1 !important;
}

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

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.page-header h1 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.page-header .btn {
    position: relative;
    z-index: 1;
}

.page-header .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.page-header .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-header i.text-primary {
    color: #fbbf24 !important;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

/* Cards */
.content-card {
    background: #ffffff;
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.25);
}

.content-card h2 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content-card h3 {
    color: #334155;
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-card h3 i {
    color: #667eea;
}

/* Forms */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    background-color: #ffffff;
}

.form-control:hover {
    border-color: #cbd5e1;
}

.form-label {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #667eea;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.6rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a4291 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-warning {
    background: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-danger {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Tables */
.table {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    border-color: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left-color: #10b981;
}

.alert-success i {
    color: #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left-color: #ef4444;
}

.alert-danger i {
    color: #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-left-color: #f59e0b;
}

.alert-warning i {
    color: #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e3a8a;
    border-left-color: #3b82f6;
}

.alert-info i {
    color: #3b82f6;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Pagination - Clean Bootstrap override */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.pagination .page-item {
    display: inline-block;
    margin: 0;
}

.pagination .page-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    line-height: 1.2;
    font-size: 0.875rem;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    z-index: 1;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    z-index: 2;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 8px;
}

/* Reset Bootstrap margins */
.pagination .page-item:first-child .page-link {
    margin-left: 0;
}

.pagination .page-item:last-child .page-link {
    margin-right: 0;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 1051;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
}

.dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.dropdown-item.active {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Toggle */
.navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu.show {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1051;
}

/* Status Badges */
.status-pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.status-investigating {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.status-resolved {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.status-closed {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 80px 0 60px;
    }
    
    .stats-counter {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-custom {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .navbar-nav .btn {
        padding: 0.3rem 0.8rem !important;
        font-size: 0.85rem;
        margin-left: 0.25rem;
    }
    
    .footer-section {
        padding: 40px 0 30px !important;
    }
}
