@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #7C3AED transparent;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: #7C3AED;
    border-radius: 4px;
}

::selection {
    background-color: #7C3AED;
    color: white;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.stroke-text {
    -webkit-text-stroke: 2px white;
    paint-order: stroke fill;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Button active states */
button:active {
    transform: scale(0.98);
}

/* Modal animations */
#waitlistModal.show {
    display: flex !important;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #7C3AED;
}

/* Loading spinner */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error messages */
.message-success {
    color: #10B981;
    border: 1px solid #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 4px;
}

.message-error {
    color: #EF4444;
    border: 1px solid #EF4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 12px;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stroke-text {
        -webkit-text-stroke: 1px white;
    }
}
