/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Navbar */
.navbar-scrolled {
    background: rgba(250, 245, 255, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(147, 51, 234, 0.08);
}

/* Hero floating cards */
.float-card-1 {
    animation: float1 6s ease-in-out infinite;
}
.float-card-2 {
    animation: float2 7s ease-in-out infinite;
}
.float-card-3 {
    animation: float3 5s ease-in-out infinite;
}
.float-card-4 {
    animation: float4 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-16px) rotate(0deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
}

.float-badge {
    animation: badgeFloat 4s ease-in-out infinite;
}

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

/* Menu tabs */
.menu-tab {
    background: transparent;
    border: 2px solid transparent;
    color: #7c3aed;
    cursor: pointer;
}
.menu-tab.active {
    background: #7c3aed;
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}
.menu-tab:not(.active):hover {
    border-color: #c4b5fd;
    background: rgba(196, 181, 253, 0.1);
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
