/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Navigation Links */
.nav-link {
    transition: all 0.2s ease-in-out;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

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

.animate-float, .float-icon {
    animation: float 4s ease-in-out infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateX(100%);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Service Card Hover */
.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.12);
}

/* Mesh Gradient Background */
.bg-mesh {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(225, 39%, 30%, 0.02) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(225, 39%, 30%, 0.02) 0, transparent 50%);
}

/* Step Card For Video Editor */
.step-card {
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.1);
}

audio::-webkit-media-controls-panel {
    background-color: #f8fafc;
}
