/* Cyber Security Theme - SiteBlinder */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-color: #00ff41;
    --glow-color: #00ff41;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    --gradient-accent: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    --box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glow Effects */
.glow-text {
    color: var(--glow-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.accent-text {
    color: var(--accent-color);
    font-weight: 900;
}

/* Navigation */
.cyber-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.cyber-brand {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px var(--accent-color);
}

/* Buttons */
.cyber-btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: #000;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.cyber-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    color: #000;
}

.cyber-btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cyber-btn-outline:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                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="%2300ff41" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    margin-top: 2rem;
}

/* Cyber Cards */
.cyber-card {
    background: var(--gradient-primary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-card:hover::before {
    opacity: 1;
}

/* Monitor Display */
.monitor-display {
    background: #000;
    border: 2px solid var(--accent-color);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.status-indicator {
    margin-bottom: 2rem;
}

.status-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.threat-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 900;
}

/* Features Section */
.features-section {
    background: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-card {
    text-align: center;
    height: 100%;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.protocol-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--gradient-accent);
    color: #000;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
}

.feature-card h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--primary-bg);
}

.pricing-card {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: var(--box-shadow);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0.5rem;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Footer */
.cyber-footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
}

/* Form Styles */
.form-control {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: var(--secondary-bg);
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

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

/* Dashboard Styles */
.dashboard-header {
    background: var(--gradient-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.stats-card {
    background: var(--gradient-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--box-shadow);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
}

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

/* Table Styles */
.table-dark {
    background: var(--secondary-bg);
    border-color: var(--border-color);
}

.table-dark th,
.table-dark td {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.table-dark thead th {
    background: var(--primary-bg);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Status Badges */
.status-stable {
    background: var(--gradient-accent);
    color: #000;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-alert {
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    color: #000;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-defense {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard Admin Styles */
.cyber-stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.cyber-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0, 255, 65, 0.3);
    border-color: #00ff41;
}

.cyber-stat-card .stat-icon {
    font-size: 2.5rem;
    color: #00ff41;
    margin-bottom: 10px;
}

.cyber-stat-card .stat-info h3 {
    color: #00ff41;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.cyber-stat-card .stat-info p {
    color: #ffffff;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cyber Tabs */
.cyber-tabs {
    border-bottom: 2px solid #00ff41;
    background: transparent;
}

.cyber-tabs .nav-link {
    background: transparent;
    border: 1px solid #333;
    color: #ffffff;
    margin-right: 5px;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
}

.cyber-tabs .nav-link:hover {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    color: #000000;
    border-color: #00ff41;
}

.cyber-tabs .nav-link.active {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    color: #000000;
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

/* Cyber Table */
.cyber-table {
    background: transparent;
    color: #ffffff;
}

.cyber-table thead th {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #00ff41;
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: center;
}

.cyber-table tbody td {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #333;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

.cyber-table tbody tr:hover td {
    background: rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
}

.table-hover-effect td {
    background: rgba(0, 255, 65, 0.2) !important;
    border-color: #00ff41 !important;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.table-danger td {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: #dc3545 !important;
}

/* Badges personalizados */
.badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #000000 !important;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

/* Botões de ação */
.btn-group .btn {
    margin-right: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.btn-danger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
}

.btn-success:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
}

.btn-warning:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

/* Animações */
@keyframes pulse-green {
    0% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.6); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.3); }
}

.cyber-stat-card:hover {
    animation: pulse-green 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cyber-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cyber-stat-card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 2px;
        margin-right: 0;
    }
}

/* Animation */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--glow-color);
    }
    50% {
        text-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color);
    }
}

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