/* Global Styles */
:root {
    --primary-color: #1a1f2c;
    --secondary-color: #00a8ff;
    --accent-color: #0051ff;
    --text-color: #e0e0e0;
    --dark-bg: #0f131a;
    --light-bg: #1e242e;
    --white: #ffffff;
    --grid-color: rgba(0, 168, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg) url('https://images.unsplash.com/photo-1635776062127-d379bfcba9f8') no-repeat center center fixed;
    background-size: cover;
    padding-top: 70px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 19, 26, 0.92);
    z-index: -1;
}

/* Updated Navbar Styles */
.navbar {
    background: rgba(15, 19, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 168, 255, 0.1);
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    position: relative;
}

.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    filter: blur(15px);
    opacity: 0.3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    color: #00a8ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px #00a8ff;
}

.nav-item:hover .nav-indicator,
.nav-item.active .nav-indicator {
    transform: translateX(-50%) scale(1);
}

.nav-item:hover,
.nav-item.active {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
    transform: scaleX(1);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 5px;
}

.toggle-line {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--secondary-color);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 19, 26, 0.7), rgba(15, 19, 26, 0.7)),
                url('https://images.unsplash.com/photo-1624705002806-5d72df19c3ad');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(0, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(0, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 183, 255, 0.7);
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #00ff88, #00b7ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(0, 183, 255, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-description {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 28, 48, 0.8);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 183, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.hero-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 183, 255, 0.2);
    border-color: rgba(0, 183, 255, 0.5);
}

.hero-badge:hover::before {
    transform: translateX(100%);
}

.hero-badge i {
    font-size: 1.2rem;
    color: #00ff88;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.hero-badge span {
    color: #fff;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0090dd;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 168, 255, 0.2);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: scanline 2s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.feature-card i {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Update Feature Card Styles */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-bg {
    opacity: 0.2;
}

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 2;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    background: var(--dark-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: none; /* Initially hidden */
}

.chat-header {
    background: var(--primary-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
}

.chat-header h3 {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-body {
    height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    max-width: 85%;
}

.user-message {
    background: rgba(0, 168, 255, 0.1);
    margin-left: auto;
    border-radius: 10px 10px 0 10px;
}

.bot-message {
    background: rgba(15, 19, 26, 0.8);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 10px 10px 10px 0;
}

.error-message {
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.chat-input {
    display: flex;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(0, 168, 255, 0.2);
}

.chat-input input {
    flex: 1;
    padding: 0.8rem;
    background: var(--light-bg);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
}

.chat-input button {
    background: var(--secondary-color);
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-input button:hover {
    background: #0090dd;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 0.8rem;
    background: rgba(15, 19, 26, 0.8);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 10px 10px 10px 0;
    width: fit-content;
    margin-bottom: 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* General */
    body {
        padding-top: 60px;
    }

    /* Navigation */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(15, 19, 26, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 168, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-badge {
        width: 90%;
        justify-content: center;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    /* Statistics */
    .statistics .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box .stat-number {
        font-size: 2.5rem;
    }

    /* Threat Monitor */
    .threat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .threat-card {
        padding: 1.2rem;
    }

    /* Security Showcase */
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .security-image-card {
        height: 250px;
    }

    /* Chat Widget */
    .chat-widget {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-body {
        height: calc(100vh - 120px);
    }

    .floating-chat-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }

    /* Hero Info Buttons */
    .hero-info-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }

    .info-button {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-box .stat-number {
        font-size: 2rem;
    }

    .info-button {
        padding: 1rem;
    }

    .info-button-title {
        font-size: 1rem;
    }

    .info-button-subtitle {
        font-size: 0.8rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

/* Add to existing style.css */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.threat-monitor {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.threat-monitor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(0, 183, 255, 0.03) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0, 183, 255, 0.03) 50%, transparent 50.5%);
    background-size: 30px 30px;
    animation: gridFlow 20s linear infinite;
    pointer-events: none;
}

.threat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.threat-card {
    background: rgba(0, 28, 48, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 183, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.threat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 183, 255, 0.2);
}

.threat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.threat-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 183, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-size: 1.2rem;
}

.threat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00b7ff;
}

.threat-subtitle {
    font-size: 0.9rem;
    color: #e0e0e0;
    opacity: 0.8;
}

.threat-level-bar {
    height: 6px;
    background: rgba(0, 183, 255, 0.1);
    border-radius: 3px;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00b7ff);
    border-radius: 3px;
    position: relative;
    transition: width 1s ease-in-out;
}

.level-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

.threat-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.threat-status {
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-dot 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.threat-value {
    color: #00b7ff;
    font-weight: 500;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Security Showcase Section */
.security-showcase {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.security-image-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    border: 1px solid rgba(0, 168, 255, 0.2);
    transition: transform 0.3s ease;
}

.security-image-card:hover {
    transform: translateY(-10px);
}

.security-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.security-image-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(15, 19, 26, 0.95),
        rgba(15, 19, 26, 0.5),
        transparent
    );
    padding: 2rem;
    color: var(--white);
    transform: translateY(100px);
    transition: transform 0.3s ease;
}

.security-image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.image-overlay p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.security-image-card:hover .image-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced card effects */
.security-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 168, 255, 0.1) 0%,
        transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-image-card:hover::before {
    opacity: 1;
}

/* Add scanning line effect */
.security-image-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 168, 255, 0.2),
        transparent
    );
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(200%);
    }
}

/* Enhanced overlay effects */
.image-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 19, 26, 0.98),
        rgba(15, 19, 26, 0.8) 50%,
        transparent
    );
    border-top: 1px solid rgba(0, 168, 255, 0.3);
}

/* Add digital noise effect */
.security-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMABA+AAAACHRSTlMzMzMzMzMzM85JBgAAAABJRU5ErkJggg==');
    opacity: 0.03;
    animation: noise 0.5s steps(2) infinite;
}

@keyframes noise {
    0% { transform: translate(0, 0) }
    10% { transform: translate(-5%, -5%) }
    20% { transform: translate(5%, 5%) }
    30% { transform: translate(-5%, 5%) }
    40% { transform: translate(5%, -5%) }
    50% { transform: translate(-5%, -5%) }
    60% { transform: translate(5%, 5%) }
    70% { transform: translate(-5%, 5%) }
    80% { transform: translate(5%, -5%) }
    90% { transform: translate(-5%, -5%) }
    100% { transform: translate(0, 0) }
}

/* Enhanced feature card effects */
.feature-card {
    background: linear-gradient(
        145deg,
        rgba(30, 36, 46, 0.95),
        rgba(15, 19, 26, 0.95)
    );
    border: 1px solid rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
}

.feature-card:hover {
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.4);
}

.feature-icon i {
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.5));
}

/* Chat Open Button */
.chat-open-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.chat-open-btn:hover {
    transform: scale(1.1);
}

.chat-open-btn .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.5;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    80%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hide chat widget by default */
.chat-widget {
    display: none;
}

.chat-widget.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hide open button when chat is active */
.chat-open-btn.hidden {
    display: none;
}

/* Add these styles for the hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.ai-chat-button {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-chat-button i {
    font-size: 1.2rem;
}

.ai-chat-button:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-2px);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 168, 255, 0.4) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-chat-button:hover .button-glow {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Add pulse effect */
.ai-chat-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark-bg);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.floating-chat-btn i {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.floating-chat-btn .btn-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
}

.floating-chat-btn:hover .btn-glow {
    opacity: 0.5;
}

.floating-chat-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    80%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hide button when chat is open */
.floating-chat-btn.hidden {
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
}

.hero-info-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-button {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    background: rgba(0, 28, 48, 0.8);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.info-button::before,
.info-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00b7ff, transparent);
    transition: transform 0.5s ease;
}

.info-button::before {
    top: 0;
    right: 0;
    transform: translateX(100%);
}

.info-button::after {
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
}

.info-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 183, 255, 0.2);
    background: rgba(0, 28, 48, 0.9);
    border-color: rgba(0, 183, 255, 0.5);
}

.info-button:hover::before {
    transform: translateX(-100%);
}

.info-button:hover::after {
    transform: translateX(100%);
}

.info-button i {
    font-size: 1.4rem;
    color: #00ff88;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.5));
}

.info-button-content {
    text-align: left;
}

.info-button-title {
    font-weight: 600;
    color: #00ff88;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.info-button-subtitle {
    font-size: 0.9rem;
    color: #e0e0e0;
    opacity: 0.9;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.pulse-dot::before,
.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-dot::after {
    animation-delay: 0.5s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Info Grid Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 183, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 183, 255, 0.2);
}

.info-card h3 {
    color: #00b7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    font-size: 1.2rem;
}

.info-card p {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-card .threat-list,
.info-card .info-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.info-card .threat-item,
.info-card li {
    background: rgba(0, 183, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.info-card .threat-item strong,
.info-card li strong {
    color: #00ffff;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-card .threat-item p,
.info-card li p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin: 0;
}

/* Logo Animations */
.logo-container .fa-atom {
    animation: quantum-spin 4s linear infinite;
}

@keyframes quantum-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-glow {
    background: radial-gradient(circle at center, 
        rgba(0, 183, 255, 0.6) 0%,
        rgba(0, 183, 255, 0.3) 40%,
        transparent 70%);
    animation: quantum-pulse 2s ease-in-out infinite;
}

@keyframes quantum-pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

.logo-text {
    background: linear-gradient(90deg, #00b7ff, #00ffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.5);
}

.statistics {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    border-top: 1px solid rgba(0, 183, 255, 0.1);
    border-bottom: 1px solid rgba(0, 183, 255, 0.1);
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(0, 183, 255, 0.05) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(0, 183, 255, 0.05) 50%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(0, 255, 136, 0.03) 50%, transparent 50.5%);
    background-size: 50px 50px, 50px 50px, 100px 100px;
    animation: gridFlow 20s linear infinite;
    pointer-events: none;
}

.statistics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(-45deg, transparent 49.5%, rgba(0, 183, 255, 0.03) 50%, transparent 50.5%);
    background-size: 100px 100px;
    animation: gridFlow2 25s linear infinite;
    pointer-events: none;
}

@keyframes gridFlow {
    0% {
        opacity: 0.3;
        transform: translateY(0);
        background-position: 0 0;
    }
    50% {
        opacity: 0.6;
        background-position: 25px 25px;
    }
    100% {
        opacity: 0.3;
        transform: translateY(0);
        background-position: 50px 50px;
    }
}

@keyframes gridFlow2 {
    0% {
        opacity: 0.2;
        transform: translateY(0) scale(1);
        background-position: 0 0;
    }
    50% {
        opacity: 0.4;
        transform: translateY(-25px) scale(1.1);
        background-position: -50px -50px;
    }
    100% {
        opacity: 0.2;
        transform: translateY(0) scale(1);
        background-position: -100px -100px;
    }
}

.stat-box {
    background: rgba(0, 28, 48, 0.8);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 183, 255, 0.2);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00b7ff, transparent);
    animation: scanline 2s linear infinite;
}

.stat-box .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #00ff88, #00b7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.stat-box .stat-number::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 100%;
    left: -10%;
    top: 0;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 183, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

.stat-box p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.statistics .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00b7ff, transparent);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.info-list li {
    padding: 1rem;
    background: rgba(0, 183, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.threat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

/* Map Styles */
.map-tiles {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.pulse-circle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Chart Styles */
.chart-container canvas {
    max-width: 100%;
    height: auto !important;
    margin: 1rem auto;
    transition: transform 0.3s ease;
}

.chart-container canvas:hover {
    transform: scale(1.02);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.notification.error {
    background: rgba(255, 69, 58, 0.2);
    border: 1px solid rgba(255, 69, 58, 0.3);
    color: #ff453a;
    box-shadow: 0 0 20px rgba(255, 69, 58, 0.2);
} 