/* =========================================
   COMPLETE PENTESTING UI - PROFESSIONAL THEME
   Automated Vulnerability Scanner
   ========================================= */

/* =========================================
   1. THEME VARIABLES
   ========================================= */
:root {
    /* -- Backgrounds -- */
    --bg-deep: #020204;
    --bg-panel: rgba(15, 15, 25, 0.65);
    --bg-input: rgba(0, 0, 0, 0.6);
    --bg-instruction: rgba(33, 37, 41, 0.6);
    
    /* -- Accents -- */
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --cyber-cyan: #06b6d4;
    --cyber-cyan-glow: rgba(6, 182, 212, 0.3);
    --hacker-green: #00ff41;
    --hacker-green-glow: rgba(0, 255, 65, 0.3);
    --accent-blue: #0d6efd;
    
    /* -- Functional Colors -- */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #f43f5e;
    --critical: #dc2626;
    --info: #0dcaf0;
    
    /* -- Risk Levels -- */
    --risk-critical: #ff4d4d;
    --risk-high: #ffc107;
    --risk-info: #0dcaf0;
    --risk-safe: #198754;
    
    /* -- Borders & Glass -- */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    /* -- Text -- */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-table: #adb5bd;
    
    /* -- Typography -- */
    --font-ui: 'Inter', -apple-system, sans-serif;
    --font-code: 'Fira Code', 'Consolas', 'Courier New', monospace;
    
    /* -- Layout -- */
    --sidebar-width: 280px;
    --radius: 6px;
    --radius-lg: 8px;
    
    /* -- Timing Functions -- */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =========================================
   2. ADVANCED KEYFRAME ANIMATIONS
   ========================================= */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px var(--primary-glow), 0 0 10px var(--primary-glow); 
    }
    50% { 
        box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow), 0 0 40px var(--primary-glow); 
    }
}

@keyframes scan-line {
    0% { 
        transform: translateY(-100%); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateY(300%); 
        opacity: 0; 
    }
}

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

@keyframes cyber-flicker {
    0%, 90%, 100% { opacity: 1; }
    93%, 97% { opacity: 0.7; }
}

@keyframes slide-in-right {
    from { 
        transform: translateX(20px); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

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

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes scan-sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes scan-progress {
    0% { width: 0%; opacity: 0.5; }
    50% { opacity: 1; }
    100% { width: 100%; opacity: 0.8; }
}

/* =========================================
   3. CYBER GRID BACKGROUND
   ========================================= */
body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

a { 
    text-decoration: none; 
    transition: color 0.3s var(--ease-smooth), text-shadow 0.3s var(--ease-smooth);
}

a:hover {
    color: var(--cyber-cyan);
    text-shadow: 0 0 8px var(--cyber-cyan-glow);
}

.login-body, .app-body {
    background-color: transparent;
    min-height: 100vh;
}

/* Professional Scrollbar */
::-webkit-scrollbar { 
    width: 8px; 
}
::-webkit-scrollbar-track { 
    background: rgba(0, 0, 0, 0.8); 
    border-left: 1px solid var(--glass-border);
}
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--primary), var(--cyber-cyan)); 
    border-radius: 4px;
    transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { 
    background: linear-gradient(180deg, var(--cyber-cyan), var(--primary));
    box-shadow: 0 0 10px var(--cyber-cyan-glow);
}

/* =========================================
   4. TACTICAL SIDEBAR
   ========================================= */
.d-flex { 
    display: flex; 
    transition: all 0.3s var(--ease-smooth); 
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: rgba(5, 5, 10, 0.92);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s var(--ease-smooth);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s ease;
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.sidebar-header h4 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
    font-family: var(--font-code);
    text-shadow: 0 0 10px var(--primary-glow);
    animation: cyber-flicker 4s ease-in-out infinite;
}

.sidebar .nav-link {
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    padding: 12px 20px;
    margin: 2px 0;
    border-left: 3px solid transparent;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sidebar .nav-link:active::before {
    width: 300px;
    height: 300px;
}

.sidebar .nav-link i {
    margin-right: 12px;
    color: #475569;
    transition: all 0.3s var(--ease-smooth);
    display: inline-block;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transform: translateX(8px);
    border-left-color: var(--cyber-cyan);
}

.sidebar .nav-link:hover i { 
    color: var(--cyber-cyan); 
    text-shadow: 0 0 8px var(--cyber-cyan-glow);
    transform: scale(1.15) rotate(5deg);
}

.sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), transparent);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.sidebar .nav-link.active i { 
    color: var(--primary); 
    text-shadow: 0 0 10px var(--primary-glow);
}

.sidebar-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    padding: 2rem;
    width: calc(100% - var(--sidebar-width));
    transition: all 0.3s var(--ease-smooth);
}

.sidebar.collapsed { 
    margin-left: calc(var(--sidebar-width) * -1); 
}
.sidebar.collapsed + .main-content { 
    margin-left: 0; 
    width: 100%; 
}

@media (max-width: 768px) {
    .sidebar { margin-left: calc(var(--sidebar-width) * -1); }
    .sidebar.collapsed { margin-left: 0; }
    .main-content { margin-left: 0; width: 100%; }
}

/* =========================================
   5. TACTICAL GLASS PANELS & CARDS
   ========================================= */
.card, .stat-card, .settings-card, .pricing-card, .manual-payment-box {
    background-color: var(--bg-panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
    animation: scan-line 2s linear infinite;
}

.card:hover, .stat-card:hover, .settings-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
}

.stat-card {
    border-left: 3px solid var(--cyber-cyan);
    background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.stat-card h1 {
    color: var(--text-main);
    font-weight: 700;
    font-family: var(--font-code);
    letter-spacing: -1px;
    transition: all 0.4s var(--ease-smooth);
}

.stat-card:hover h1 {
    color: var(--cyber-cyan);
    text-shadow: 0 0 15px var(--cyber-cyan-glow);
    transform: scale(1.05);
}

.settings-card {
    border-top: 2px solid var(--glass-border);
}

.card-title, h5, h3 {
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-muted { 
    color: var(--text-dim) !important; 
    font-family: var(--font-code); 
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

/* Instruction Card - Special Styling */
.instruction-card {
    background-color: var(--bg-instruction);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.instruction-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
    border-left-width: 6px;
}

/* =========================================
   6. PROFESSIONAL HACKER BUTTONS
   ========================================= */
.btn {
    border-radius: 4px;
    font-family: var(--font-code);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.75rem;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 150%;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    transition: 0s;
}

/* PRIMARY BUTTON */
.btn-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.1) 100%);
    background-size: 200% 200%;
    color: #c4b5fd;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    animation: gradient-shift 3s ease infinite;
    color: #fff;
    box-shadow: 0 0 25px var(--primary-glow), 0 5px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
    border-color: #a78bfa;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* SUCCESS BUTTON */
.btn-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #6ee7b7;
    border-color: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5), 0 5px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

/* WARNING BUTTON */
.btn-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #fbbf24;
    border-color: var(--warning);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--warning) 0%, #fbbf24 100%);
    color: #000;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.5), 0 5px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-3px);
}

/* DANGER BUTTON */
.btn-danger {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3) 0%, rgba(244, 63, 94, 0.1) 100%);
    color: #fda4af;
    border-color: var(--danger);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--danger) 0%, #fb7185 100%);
    animation: gradient-shift 3s ease infinite;
    color: white;
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.5), 0 5px 20px rgba(244, 63, 94, 0.4);
    transform: translateY(-3px);
}

/* SECONDARY BUTTON */
.btn-secondary {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.3) 0%, rgba(100, 116, 139, 0.1) 100%);
    color: #cbd5e1;
    border-color: #64748b;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: #fff;
    box-shadow: 0 0 25px rgba(100, 116, 139, 0.5);
    transform: translateY(-3px);
}

/* INFO BUTTON */
.btn-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: #67e8f9;
    border-color: var(--cyber-cyan);
}

.btn-info:hover {
    background: linear-gradient(135deg, var(--cyber-cyan) 0%, #22d3ee 100%);
    color: #000;
    box-shadow: 0 0 25px var(--cyber-cyan-glow), 0 5px 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-3px);
}

/* DARK BUTTON */
.btn-dark {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--cyber-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transform: translateY(-3px);
}

/* LIGHT BUTTON */
.btn-light {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.15) 0%, rgba(226, 232, 240, 0.1) 100%);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-light:hover {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.25) 0%, rgba(226, 232, 240, 0.2) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* OUTLINE VARIANTS */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
}

.btn-outline-primary:hover {
    background: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--cyber-cyan-glow);
    transform: translateY(-3px);
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid #64748b;
    color: #94a3b8;
}

.btn-outline-secondary:hover {
    background: #64748b;
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline-danger {
    background: transparent;
    border: 2px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.5);
    transform: translateY(-3px);
}

.btn-outline-success {
    background: transparent;
    border: 2px solid var(--success);
    color: var(--success);
}

.btn-outline-success:hover {
    background: var(--success);
    color: #fff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-3px);
}

.btn-outline-warning {
    background: transparent;
    border: 2px solid var(--warning);
    color: var(--warning);
}

.btn-outline-warning:hover {
    background: var(--warning);
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-3px);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
}

/* SPECIAL STATES */
.btn.scanning, .btn.loading {
    animation: pulse-glow 1.5s ease-in-out infinite;
    pointer-events: none;
}

.btn.scanning::after, .btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: scan-sweep 1.5s linear infinite;
}

.btn:disabled, .btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.5);
}

/* =========================================
   7. TACTICAL FORMS & INPUTS
   ========================================= */
.form-control, .form-select, .input-group-text {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid #333;
    color: var(--cyber-cyan) !important;
    font-family: var(--font-code);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: all 0.3s var(--ease-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 0 3px var(--cyber-cyan-glow), 0 0 20px var(--cyber-cyan-glow);
    background-color: rgba(0, 0, 0, 0.85) !important;
    transform: translateY(-2px);
    outline: none;
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5);
    font-family: var(--font-code);
}

.form-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    transition: color 0.3s ease;
    font-family: var(--font-code);
}

.form-control:focus ~ .form-label,
.form-select:focus ~ .form-label {
    color: var(--cyber-cyan);
}

/* =========================================
   8. TACTICAL DATA TABLES
   ========================================= */
.table {
    --bs-table-bg: transparent;
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 0.85rem;
}

.table thead {
    background-color: rgba(255,255,255,0.02);
    color: var(--cyber-cyan);
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: 2px solid var(--glass-border);
    letter-spacing: 1px;
}

.table thead th {
    border-bottom-color: var(--cyber-cyan);
    padding: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.table thead th:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.table td, .table th {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    vertical-align: middle;
    transition: all 0.3s var(--ease-smooth);
}

.table-hover tbody tr {
    transition: all 0.3s var(--ease-smooth);
    position: relative;
}

.table-hover tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0%;
    background: var(--cyber-cyan);
    transition: height 0.3s var(--ease-smooth);
}

.table-hover tbody tr:hover::before {
    height: 100%;
}

.table-hover tbody tr:hover {
    background-color: rgba(6, 182, 212, 0.08);
    transform: scale(1.01);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.table-hover tbody tr:hover td {
    color: var(--text-main);
}

/* Custom Table Styling */
.table-custom th {
    font-weight: 600;
    color: var(--text-table);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-custom td {
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Status Dots */
.status-dot { 
    display: inline-block; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    margin-right: 8px; 
    box-shadow: 0 0 8px currentColor;
    animation: pulse-glow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.status-dot:hover {
    transform: scale(1.3);
}

.status-completed { 
    background-color: var(--success); 
    color: var(--success); 
}

.status-inprogress { 
    background-color: var(--warning); 
    color: var(--warning); 
}

.status-failed { 
    background-color: var(--danger); 
    color: var(--danger); 
}

/* =========================================
   9. RISK LEVEL TEXT COLORS
   ========================================= */
.text-risk-critical { 
    color: var(--risk-critical); 
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.3);
}

.text-risk-high { 
    color: var(--risk-high); 
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
}

.text-risk-info { 
    color: var(--risk-info); 
    font-weight: 500;
}

.text-risk-safe { 
    color: var(--risk-safe); 
    font-weight: 500;
}

/* =========================================
   10. PRICING CARDS WITH ANIMATIONS
   ========================================= */
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.4s var(--ease-smooth);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    border-color: var(--primary);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, var(--bg-panel) 100%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.pricing-card.popular::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.65rem;
    font-family: var(--font-code);
    letter-spacing: 1px;
    border-radius: 3px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.pricing-card h3 { 
    font-family: var(--font-ui); 
    color: var(--text-main); 
    font-size: 1.3rem;
    transition: all 0.3s var(--ease-smooth);
}

.pricing-card:hover h3 {
    color: var(--primary);
    transform: translateX(5px);
}

.pricing-card .price {
    font-family: var(--font-code);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    margin: 1rem 0;
    transition: all 0.3s var(--ease-smooth);
}

.pricing-card:hover .price {
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
}

.pricing-card .features-list li {
    font-family: var(--font-ui);
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: all 0.3s var(--ease-smooth);
    padding-left: 0;
}

.pricing-card:hover .features-list li {
    color: var(--text-main);
    transform: translateX(5px);
}

.pricing-card .features-list i { 
    color: var(--cyber-cyan); 
    margin-right: 10px;
    transition: all 0.3s var(--ease-smooth);
    display: inline-block;
}

.pricing-card:hover .features-list i {
    transform: scale(1.2) rotate(360deg);
}

/* Manual Payment Box */
.manual-payment-box {
    background: rgba(0,0,0,0.6);
    border: 2px dashed var(--glass-border);
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
}

.manual-payment-box:hover {
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 20px var(--cyber-cyan-glow);
    transform: translateY(-3px);
}

.manual-payment-box h5 { 
    color: var(--cyber-cyan); 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1.5px;
    font-family: var(--font-code);
}

.manual-payment-box p { 
    color: var(--text-main); 
    font-family: var(--font-code); 
    font-size: 1.1rem;
}

/* =========================================
   11. TACTICAL BADGES
   ========================================= */
.badge {
    padding: 0.5em 0.9em;
    font-family: var(--font-code);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    transition: all 0.3s var(--ease-smooth);
    cursor: default;
    display: inline-block;
}

.badge:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px currentColor;
}

.bg-success { 
    background: rgba(16, 185, 129, 0.2) !important; 
    color: #34d399 !important; 
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.bg-warning { 
    background: rgba(245, 158, 11, 0.2) !important; 
    color: #fbbf24 !important; 
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.bg-danger { 
    background: rgba(244, 63, 94, 0.2) !important; 
    color: #fda4af !important; 
    border: 1px solid rgba(244, 63, 94, 0.4);
}

.bg-secondary { 
    background: rgba(148, 163, 184, 0.2) !important; 
    color: #cbd5e1 !important; 
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.bg-info {
    background: rgba(6, 182, 212, 0.2) !important;
    color: #67e8f9 !important;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.bg-primary {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-critical {
    background: rgba(220, 38, 38, 0.2) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(220, 38, 38, 0.5);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

/* =========================================
   12. NAV PILLS & TABS
   ========================================= */
.nav-pills .nav-link {
    border-radius: 4px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.nav-pills .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s var(--ease-smooth);
}

.nav-pills .nav-link:hover {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    transform: translateX(8px);
}

.nav-pills .nav-link:hover::before {
    height: 100%;
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    color: #fff;
}

.nav-pills .nav-link.active::before {
    height: 100%;
}

/* =========================================
   13. MODALS & DROPDOWNS
   ========================================= */
.dropdown-menu, .modal-content {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: slide-in-right 0.3s ease;
}

.modal-content {
    border-radius: var(--radius);
}

.dropdown-item { 
    color: var(--text-muted); 
    font-family: var(--font-ui);
    transition: all 0.2s var(--ease-smooth);
    padding: 0.7rem 1.2rem;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: height 0.2s ease;
}

.dropdown-item:hover { 
    background-color: rgba(139, 92, 246, 0.15); 
    color: var(--primary);
    transform: translateX(5px);
    padding-left: 1.5rem;
}

.dropdown-item:hover::before {
    height: 100%;
}

.dropdown-divider { 
    border-top-color: var(--glass-border); 
}

.btn-close { 
    filter: invert(1); 
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* =========================================
   14. PROGRESS BARS & LOADING
   ========================================= */
.progress {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    height: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--cyber-cyan), var(--primary));
    background-size: 200% 100%;
    animation: gradient-shift 2s linear infinite;
    transition: width 0.6s var(--ease-smooth);
    box-shadow: 0 0 10px var(--cyber-cyan-glow);
}

.scanning-progress {
    animation: scan-progress 3s ease-in-out;
}

.spinner-border {
    border-color: var(--primary);
    border-right-color: transparent;
    animation: spinner-border 0.75s linear infinite;
}

/* =========================================
   15. ALERTS & NOTIFICATIONS
   ========================================= */
.alert {
    border-radius: var(--radius);
    border: 1px solid;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-ui);
}

.alert:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--success);
    color: #6ee7b7;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--warning);
    color: #fbbf24;
}

.alert-danger {
    background: rgba(244, 63, 94, 0.15);
    border-color: var(--danger);
    color: #fda4af;
}

.alert-info {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--cyber-cyan);
    color: #67e8f9;
}

/* =========================================
   16. UTILITY ANIMATIONS
   ========================================= */
.fade-in {
    animation: slide-in-right 0.5s ease;
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.glitch-effect {
    animation: glitch 0.3s ease;
}

/* =========================================
   17. BUTTON GROUPS
   ========================================= */
.btn-group .btn {
    border-radius: 0;
    margin: 0;
}

.btn-group .btn:first-child {
    border-radius: 4px 0 0 4px;
}

.btn-group .btn:last-child {
    border-radius: 0 4px 4px 0;
}

.btn-group .btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   18. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.7rem;
    }
    
    .btn-lg {
        padding: 0.85rem 1.75rem;
    }
    
    .btn-sm {
        padding: 0.45rem 1rem;
        font-size: 0.65rem;
    }
    
    .pricing-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .table {
        font-size: 0.75rem;
    }
    
    .stat-card h1 {
        font-size: 2rem;
    }
    
    .instruction-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .table-custom th,
    .table-custom td {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}

/* =========================================
   19. ACCESSIBILITY ENHANCEMENTS
   ========================================= */
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--cyber-cyan);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   20. PRINT STYLES
   ========================================= */
@media print {
    .sidebar,
    .btn,
    .dropdown-menu {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .card,
    .stat-card,
    .instruction-card {
        break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }
}

/* =========================================
   21. CUSTOM SCROLLBAR FOR CARDS
   ========================================= */
.card::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.card::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* =========================================
   22. HOVER EFFECTS FOR LINKS
   ========================================= */
a.text-primary:hover {
    color: var(--cyber-cyan) !important;
    text-decoration: underline;
}

a.text-danger:hover {
    color: var(--risk-critical) !important;
}

a.text-success:hover {
    color: var(--hacker-green) !important;
}

/* =========================================
   23. SPECIALIZED PENTESTING ELEMENTS
   ========================================= */
.vulnerability-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.vulnerability-critical {
    background-color: var(--risk-critical);
    box-shadow: 0 0 10px var(--risk-critical);
}

.vulnerability-high {
    background-color: var(--risk-high);
    box-shadow: 0 0 8px var(--risk-high);
}

.vulnerability-medium {
    background-color: var(--risk-info);
    box-shadow: 0 0 6px var(--risk-info);
}

.vulnerability-low {
    background-color: var(--risk-safe);
    box-shadow: 0 0 5px var(--risk-safe);
}

/* Scan Status Indicator */
.scan-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-code);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease-smooth);
}

.scan-status.running {
    background: rgba(6, 182, 212, 0.2);
    color: var(--cyber-cyan);
    border: 1px solid var(--cyber-cyan);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

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

.scan-status.failed {
    background: rgba(244, 63, 94, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Terminal-like Code Block */
.code-block {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--hacker-green);
    border-radius: 4px;
    padding: 1rem;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--hacker-green);
    overflow-x: auto;
    transition: all 0.3s var(--ease-smooth);
}

.code-block:hover {
    border-left-color: var(--cyber-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

/* =========================================
   END OF STYLESHEET
   ========================================= */