/* Custom Font Classes */
.font-ibm-mono {
    font-family: 'IBM Plex Mono', monospace;
}

/* Fixed background image */
body {
    background-image: url('assets/bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero content positioning */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Hero section height constraint */
.hero-section {
    min-height: 100vh;
    max-height: 812px;
}

/* Network visualization container */
#network-container {
    width: 80%;
    height: 100%;
    position: absolute;
    top: 0;
    right: -10%;
    left: 30%;
    pointer-events: none;
    opacity: 1;
    min-width: 1200px;
    overflow: hidden;
}

/* Responsive adjustments for network visualization */
@media (max-width: 1024px) {
    #network-container {
        width: 90%;
        left: 20%;
        min-width: 1000px;
        right: -30%;
    }
}

@media (max-width: 768px) {
    #network-container {
        width: 120%;
        left: 0;
        right: -40%;
        min-width: 1200px;
    }
}

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

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

/* Custom form focus styles */
.form-input:focus {
    @apply ring-2 ring-black border-transparent;
}

/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.mobile-menu-exit {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms, transform 200ms;
}

/* Hide scrollbar for FAQ buttons on mobile */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Enable touch scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Ensure FAQ buttons container works on mobile */
@media (max-width: 768px) {
    .scrollbar-hide {
        overflow-x: scroll !important;
        scroll-snap-type: x proximity;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus visible for accessibility */
.focus-visible:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
} 