:root {
    --primary-color: #00d4ff;
    --secondary-color: #0066ff;
    --danger-color: #ff0066;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --text-light: #e0e6ed;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar Styles */
#mainNav {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    z-index: 1030;
}

#mainNav .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

#mainNav .nav-link {
    color: var(--text-light) !important;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 10px;
}

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

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

#mainNav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Add padding for fixed navbar */
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.glitch {
    position: relative;
    color: white;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4);
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.8); }
    25% { text-shadow: -2px 0 #ff0066, 2px 0 #00d4ff; }
    50% { text-shadow: 2px 0 #ff0066, -2px 0 #00d4ff; }
    75% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.8); }
}

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

/* Shield Animation */
.shield-animation {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-container {
    position: relative;
    width: 300px;
    height: 360px;
}

.shield {
    width: 100%;
    height: 100%;
    animation: float 3s ease-in-out infinite;
}

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

.shield-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 420px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.3;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

.shield-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle 3s infinite;
}

.shield-particles span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.shield-particles span:nth-child(2) { top: 80%; left: 20%; animation-delay: 0.5s; }
.shield-particles span:nth-child(3) { top: 20%; left: 80%; animation-delay: 1s; }
.shield-particles span:nth-child(4) { top: 80%; left: 80%; animation-delay: 1.5s; }
.shield-particles span:nth-child(5) { top: 50%; left: 50%; animation-delay: 2s; }

@keyframes particle {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1) rotate(180deg); opacity: 0.5; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* Buttons */
.cyber-btn {
    background: var(--gradient-2);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.cyber-btn::before {
    content: '';
    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;
}

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

.cyber-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-btn-outline:hover {
    color: var(--dark-bg);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.service-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    transition: bottom 0.3s ease;
}

.service-card:hover .service-hover {
    bottom: 20px;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, rgba(255, 0, 102, 0.1) 0%, rgba(255, 0, 102, 0.05) 100%);
    border: 2px solid var(--danger-color);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--danger-color), transparent, var(--danger-color));
    border-radius: 15px;
    opacity: 0;
    animation: emergency-pulse 2s infinite;
}

@keyframes emergency-pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.pulse-icon {
    animation: pulse-scale 1s infinite;
}

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

.emergency-btn {
    position: relative;
    overflow: hidden;
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Product Cards */
.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-2);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.product-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 10px 0;
}

/* Content Cards */
.content-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.content-header {
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.video-header {
    background: var(--gradient-1);
}

.podcast-header {
    background: var(--gradient-2);
}

.stream-header {
    background: var(--gradient-3);
}

.content-header i {
    font-size: 2rem;
    margin-right: 10px;
}

.content-body {
    padding: 20px;
}

.video-thumb {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumb:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
}

.player-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
}

.progress-bar {
    width: 35%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.live-indicator {
    display: inline-block;
    background: red;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Calculator */
.calculator-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.form-control, .form-select {
    background: rgba(0, 212, 255, 0.05) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    color: white !important;
}

.form-control:focus, .form-select:focus {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3) !important;
}

.range-container {
    position: relative;
    padding: 20px 0;
}

.form-range {
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.calculator-result {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-main {
    background: var(--gradient-2);
    position: relative;
    z-index: 2;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-options.active {
    opacity: 1;
    pointer-events: all;
}

.fab-option {
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    font-size: 20px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.fab-options.active .fab-option {
    transform: scale(1);
}

.fab-options.active .fab-option:nth-child(1) { transition-delay: 0.1s; }
.fab-options.active .fab-option:nth-child(2) { transition-delay: 0.2s; }
.fab-options.active .fab-option:nth-child(3) { transition-delay: 0.3s; }

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Modal Styles */
.modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--primary-color);
}

.modal-header {
    border-bottom-color: rgba(0, 212, 255, 0.3) !important;
}

.modal-footer {
    border-top-color: rgba(0, 212, 255, 0.3) !important;
}

/* Cookie Banner Responsive */
#cookieBanner {
    animation: slideUp 0.5s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    #cookieBanner .col-md-8,
    #cookieBanner .col-md-4 {
        text-align: center !important;
        margin-bottom: 10px;
    }
    
    #cookieBanner button {
        margin: 5px;
        width: auto;
        min-width: 120px;
    }
    
    #cookieBanner p {
        font-size: 0.9rem;
        margin-bottom: 10px !important;
    }
    
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-content .display-3 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .shield-animation {
        height: 250px;
        margin-top: 20px;
    }
    
    .shield-container {
        width: 180px;
        height: 220px;
    }
    
    .shield-pulse {
        width: 220px;
        height: 280px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .emergency-banner {
        padding: 20px;
    }
    
    .emergency-banner h2 {
        font-size: 1.5rem;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .calculator-result .display-6 {
        font-size: 1.5rem;
    }
    
    .content-card {
        margin-bottom: 20px;
    }
    
    #mainNav .navbar-brand {
        font-size: 1.2rem;
    }
    
    .cyber-btn, .cyber-btn-outline {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .shield-animation {
        height: 200px;
    }
    
    .shield-container {
        width: 150px;
        height: 180px;
    }
    
    .product-card {
        margin-bottom: 15px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
}