/* Landing Page Global Styles */

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

/* Custom scrollbar for landing page */
.public-layout::-webkit-scrollbar {
    width: 10px;
}

.public-layout::-webkit-scrollbar-track {
    background: #0f0f1a;
}

.public-layout::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-radius: 5px;
}

.public-layout::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6d28d9, #0891b2);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

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

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Landing page specific overrides */
.public-layout .mud-button {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

.public-layout .mud-icon-button {
    transition: transform 0.2s ease, color 0.2s ease;
}

.public-layout .mud-icon-button:hover {
    transform: scale(1.1);
}

/* Gradient text utility */
.gradient-text-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-secondary {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect utility */
.glass-effect {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow effects */
.glow-purple {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

.glow-cyan {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
}

.glow-amber {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

/* Responsive typography */
@media (max-width: 768px) {
    .public-layout h1 {
        font-size: 2.5rem !important;
    }

    .public-layout h2 {
        font-size: 2rem !important;
    }

    .public-layout h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .public-layout h1 {
        font-size: 2rem !important;
    }

    .public-layout h2 {
        font-size: 1.75rem !important;
    }

    .public-layout h3 {
        font-size: 1.25rem !important;
    }
}

/* Focus states for accessibility */
.public-layout a:focus-visible,
.public-layout button:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* Selection color */
.public-layout ::selection {
    background: rgba(124, 58, 237, 0.4);
    color: white;
}

/* Print styles - hide decorative elements */
@media print {
    .gradient-orb,
    .hero-background,
    .cta-background {
        display: none !important;
    }

    .public-layout {
        background: white !important;
    }

    .public-layout * {
        color: black !important;
        background: transparent !important;
    }
}
