/* Custom CSS Variables */
:root {
    --nova-primary: #002eff;
    --nova-secondary: #febf00;
    --astro-primary: #9e00ff;
    --background: #000000;
    --surface: #0a0a0a;
    --text: #FFFFFF;
    --text-secondary: #888888;
}

/* Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Font Classes */
.font-grotesk {
    font-family: 'Space Grotesk', sans-serif;
}

.font-jakarta {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Color Classes */
.bg-nova-primary {
    background-color: var(--nova-primary);
}

.bg-nova-secondary {
    background-color: var(--nova-secondary);
}

.bg-astro-primary {
    background-color: var(--astro-primary);
}

.bg-background {
    background-color: var(--background);
}

.bg-surface {
    background-color: var(--surface);
}

.text-nova-primary {
    color: var(--nova-primary);
}

.text-nova-secondary {
    color: var(--nova-secondary);
}

.text-astro-primary {
    color: var(--astro-primary);
}

.text-text {
    color: var(--text);
}

.text-text-secondary {
    color: var(--text-secondary);
}

.border-surface {
    border-color: var(--surface);
}

/* Hover States */
.hover\:bg-nova-primary\/90:hover {
    background-color: rgba(0, 46, 255, 0.9);
}

.hover\:bg-nova-secondary\/90:hover {
    background-color: rgba(254, 191, 0, 0.9);
}

.hover\:bg-astro-primary\/90:hover {
    background-color: rgba(158, 0, 255, 0.9);
}

.hover\:bg-surface\/80:hover {
    background-color: rgba(10, 10, 10, 0.8);
}

/* Background Opacity Classes */
.bg-nova-primary\/10 {
    background-color: rgba(0, 46, 255, 0.05);
}

.bg-nova-primary\/20 {
    background-color: rgba(0, 46, 255, 0.2);
}

.bg-nova-secondary\/20 {
    background-color: rgba(254, 191, 0, 0.2);
}

.bg-astro-primary\/10 {
    background-color: rgba(158, 0, 255, 0.1);
}

.bg-astro-primary\/20 {
    background-color: rgba(158, 0, 255, 0.2);
}

.border-surface\/50 {
    border-color: rgba(10, 10, 10, 0.5);
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Animated Header Component */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 46, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 46, 255, 0.4);
    }
}



/* Hero Component Styles */
hero {
    display: block;
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, 
        var(--background) 0%, 
        rgba(158, 0, 255, 0.02) 25%, 
        rgba(158, 0, 255, 0.01) 50%, 
        rgba(158, 0, 255, 0.02) 75%, 
        var(--background) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
    overflow: hidden;
}

hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(158, 0, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(158, 0, 255, 0.01) 0%, transparent 50%),
                linear-gradient(180deg, 
                    rgba(0, 0, 0, 0) 0%, 
                    rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* Subtle accent line */
hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--astro-primary) 50%, 
        transparent 100%);
    opacity: 0.2;
}

/* Hero Content */
hero .hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
    text-align: center;
}

hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    animation: fade-in-up 1s ease-out;
}

hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fade-in-up 1s ease-out 0.2s both;
    line-height: 1.6;
}

hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fade-in-up 1s ease-out 0.4s both;
}

hero .hero-button {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

hero .hero-button.primary {
    background: linear-gradient(135deg, var(--nova-primary), var(--astro-primary));
    color: white;
}

hero .hero-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 46, 255, 0.3), 0 0 20px rgba(0, 46, 255, 0.2);
}

hero .hero-button.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--nova-primary);
}

hero .hero-button.secondary:hover {
    background: var(--nova-primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    hero {
        min-height: 50vh;
    }
    
    hero .hero-content {
        min-height: 50vh;
        padding: 1rem;
    }
    
    hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    hero .hero-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

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

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

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

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

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

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid var(--nova-primary);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Typography */
@media (max-width: 640px) {
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-8xl {
        font-size: 4rem;
    }
}

/* Glass Effect */
.glass {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--nova-primary), var(--nova-secondary), var(--astro-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 46, 255, 0.05);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--nova-primary), var(--astro-primary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 46, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--surface);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--nova-primary);
} 