/* COMET Scanner - Lightning Background Demo Styles */

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    text-align: center;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(10px);
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00d4ff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 5;
    padding: 4rem 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0ea5e9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0ea5e9, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: rgba(157, 78, 221, 0.2);
    color: #9d4edd;
    border: 2px solid #9d4edd;
}

.btn-secondary:hover {
    background: #9d4edd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.3);
}

/* Stats Section */
.stats-section {
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stats-section h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-label {
    font-weight: 600;
    color: #00d4ff;
}

.stat-value {
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 0;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(10px);
    margin-top: 4rem;
}

.main-footer p {
    opacity: 0.7;
}

/* Lightning Canvas */
.lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .stats-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}