/* Base styles */
* {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

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

.hero-shape:nth-child(2) { animation-delay: -1s; animation-duration: 7s; }
.hero-shape:nth-child(3) { animation-delay: -2s; animation-duration: 8s; }
.hero-shape:nth-child(4) { animation-delay: -3s; animation-duration: 5s; animation-name: float-reverse; }
.hero-shape:nth-child(5) { animation-delay: -1.5s; animation-duration: 9s; animation-name: float-reverse; }
.hero-shape:nth-child(6) { animation-delay: -4s; animation-duration: 10s; animation-name: float-slow; }
.hero-shape:nth-child(7) { animation-delay: -2.5s; animation-name: rotate-slow; animation-duration: 20s; }
.hero-shape:nth-child(8) { animation-delay: -5s; animation-duration: 12s; animation-name: float-reverse; }
.hero-shape:nth-child(9) { animation-delay: -3.5s; animation-duration: 8s; }
.hero-shape:nth-child(10) { animation-delay: -1s; animation-name: float-slow; animation-duration: 11s; }

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Service card hover effects */
.service-card {
    opacity: 1;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c026d3;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d946ef;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #f0abfc;
    color: #4a044e;
}
