* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --secondary: #0099ff;
    --accent: #ff0055;
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --text: #e0e6ed;
    --text-dim: #8892b0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-github {
    background: rgba(0, 255, 136, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--primary);
}

.btn-github:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-2px, -2px); }
    94% { transform: translate(2px, 2px); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Terminal Window */
.terminal-window {
    background: rgba(26, 31, 58, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    height: 400px;
    overflow-y: auto;
    color: var(--primary);
}

.terminal-line {
    margin-bottom: 0.5rem;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-line.warning { color: #ffbd2e; }
.terminal-line.error { color: #ff5f56; }
.terminal-line.success { color: #27c93f; }

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(26, 31, 58, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 14, 39, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dim);
    font-size: 1rem;
}

/* World Map Section */
.world-map-section {
    padding: 4rem 0;
    background: rgba(10, 14, 39, 0.8);
}

.world-map-container {
    background: rgba(26, 31, 58, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.world-map-svg {
    width: 100%;
    height: 500px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 153, 255, 0.05), transparent);
    border-radius: 10px;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.9rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: legendPulse 2s infinite;
}

@keyframes legendPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.legend-dot.critical { background: #ff5f56; box-shadow: 0 0 10px #ff5f56; }
.legend-dot.high { background: #ffbd2e; box-shadow: 0 0 10px #ffbd2e; }
.legend-dot.medium { background: #0099ff; box-shadow: 0 0 10px #0099ff; }
.legend-dot.low { background: #27c93f; box-shadow: 0 0 10px #27c93f; }

/* Live Feed Section */
.live-feed-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.section-title i {
    color: var(--primary);
    margin-right: 1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.feed-container {
    display: flex;
    justify-content: center;
}

.attack-list {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.attack-list.full-width {
    width: 100%;
    max-width: 1000px;
}

.attack-list h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.3rem;
}

.feed-items {
    max-height: 500px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.attack-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border-left: 3px solid var(--primary);
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.attack-item.critical { border-left-color: #ff5f56; }
.attack-item.high { border-left-color: #ffbd2e; }
.attack-item.medium { border-left-color: #0099ff; }
.attack-item.low { border-left-color: #27c93f; }

.attack-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.attack-type {
    font-weight: bold;
    color: var(--primary);
}

.attack-time {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.attack-details {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.attack-ip {
    color: var(--secondary);
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: rgba(26, 31, 58, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 14, 39, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--dark);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: var(--primary);
}

/* Dashboard Section */
.dashboard-section {
    padding: 4rem 0;
}

.dashboard-preview {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.chart-card {
    background: rgba(10, 14, 39, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.05);
}

.chart-card.wide {
    grid-column: span 2;
}

.chart-card h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Tech Stack Section */
.tech-section {
    padding: 4rem 0;
    background: rgba(26, 31, 58, 0.5);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(10, 14, 39, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tech-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tech-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.installation-code {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.installation-code pre {
    text-align: left;
    overflow-x: auto;
}

.installation-code code {
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.8;
}

.comment {
    color: var(--text-dim);
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.95);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-dim);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--text-dim);
}

.slogan {
    margin-top: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feed-items {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .map-legend {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
