/* Dark Theme Styles */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --bg-dark: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --border-color: #334155;
    --accent-color: #10b981;
}

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

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Bootstrap Overrides for Dark Theme */
.dark-theme .text-muted {
    color: var(--text-muted) !important;
}

.dark-theme .text-secondary {
    color: var(--text-muted) !important;
}

/* Form Control Overrides */
.dark-theme .form-control {
    color: var(--text-light) !important;
}

.dark-theme .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dark-theme .form-control:focus {
    color: var(--text-light) !important;
}

/* GDPR Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    padding: 1rem 0;
    z-index: 1050;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    display: none;
}

.gdpr-banner.show {
    display: block;
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
}

.logo-icon .fa-cog {
    color: white;
    font-size: 0.9rem;
}

.logo-m {
    position: absolute;
    font-size: 1rem;
    font-weight: 900;
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Logo Image Styles */
.navbar-logo {
    height: 32px;
    width: auto;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.hero-logo-image {
    height: 400px;
    width: auto;
    margin-bottom: 1rem;
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-secondary));
    overflow: hidden;
}

#webgl-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.7);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    background: linear-gradient(135deg, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-cta .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 50px 0 0 50px;
}

.hero-cta .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: var(--text-light);
}

.hero-cta .btn {
    border-radius: 0 50px 50px 0;
}

.social-proof .grayscale {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.social-proof .grayscale:hover {
    filter: grayscale(0%) opacity(1);
}

/* Value Props */
.value-props {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.value-prop-icon i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Data Metrics Showcase */
.data-metrics-showcase {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.metric-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.metric-image {
    position: relative;
    overflow: hidden;
}

.metric-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.metric-card:hover .metric-image img {
    transform: scale(1.05);
}

.metric-content {
    padding: 1.5rem;
}

.metric-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.metric-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.metric-highlight {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    border-left: 3px solid var(--primary-color);
}

.metric-highlight i {
    font-size: 1.1rem;
}

.metric-highlight span {
    color: var(--text-light);
    font-weight: 600;
}

/* Use Cases */
.use-cases {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.use-cases img {
    border: 1px solid var(--border-color);
}

.use-cases ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.timeline-item {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.timeline-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

/* Email Capture */
.email-capture {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    padding: 5rem 0;
}

.email-capture .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 50px 0 0 50px;
}

.email-capture .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: var(--text-light);
}

.email-capture .btn {
    border-radius: 0 50px 50px 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* FAQ */
.faq {
    background: var(--bg-dark);
    padding: 5rem 0;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text-light);
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

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

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .social-proof .col-2 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        margin-bottom: 1rem;
    }
    
    .dataset-card {
        height: 250px;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    /* Mobile form improvements */
    .hero-cta .input-group {
        max-width: 100%;
    }
    
    .email-capture .input-group {
        max-width: 100%;
    }
    
    .hero-logo-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-cta .input-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .form-control,
    .hero-cta .btn {
        border-radius: 50px;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .email-capture .input-group {
        flex-direction: column;
        width: 100%;
    }
    
    .email-capture .form-control,
    .email-capture .btn {
        border-radius: 50px;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    /* Additional mobile fixes */
    .hero-cta {
        padding: 0 1rem;
    }
    
    .email-capture .container {
        padding: 0 1rem;
    }
    
    .hero-logo-image {
        height: 200px;
        max-width: 90%;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
} 