/* NeuroInsight Landing Page - Additional Styles */

/* Import Inter font for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.hero-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-soft {
    background: #f0f6fc;
}

.section-surface {
    background: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #003d7a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #002850;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #003d7a;
    outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
.btn-primary {
    background-color: #003d7a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid #003d7a;
}

.btn-primary:hover {
    background-color: #002850;
    border-color: #002850;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #003d7a;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid #003d7a;
}

.btn-secondary:hover {
    background-color: #003d7a;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brain animation keyframes */
@keyframes brainPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.brain-pulse {
    animation: brainPulse 3s ease-in-out infinite;
}

.brain-pulse-delayed {
    animation: brainPulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Responsive utilities */
#mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #003d7a;
}

.disclaimer-box {
    background: rgba(0, 61, 122, 0.06);
    border-left: 4px solid #003d7a;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero-section {
        background: white !important;
        color: black !important;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a202c;
        --text-color: #e2e8f0;
        --card-bg: #2d3748;
    }
}

/* Loading animation for buttons */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 50%;
    left: 50%;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .neuro-blue-bg {
        background-color: #000000 !important;
        color: #ffffff !important;
    }

    .neuro-blue-text {
        color: #000000 !important;
    }
}

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


