/* Custom Design System for ConsertAKI */
:root {
    --primary: #ff7900;
    --primary-hover: #e66d00;
    --surface: #ffffff;
    --surface-variant: #f9f9fb;
    --on-surface: #121212;
    --secondary: #52525b;
    --outline-variant: rgba(229, 231, 235, 0.5);
    --glass-bg: rgba(15, 15, 15, 0.1);
    --glass-border: rgba(255, 255, 255, 0.05);
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.011em;
    color: var(--on-surface);
}

/* Glassmorphism */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header.scrolled {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 2px 0;
}

/* Transitions */
.transition-standard {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active Link State */
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 99px;
}

/* Custom Gradients */
.bg-gradient-premium {
    background: radial-gradient(circle at 0% 0%, rgba(255, 121, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(255, 121, 0, 0.02) 0%, transparent 50%);
}

/* Mobile Menu */
#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

/* Staggered Delay for groups */
.reveal-group > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-group.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Delays */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }

/* Page Transitions */
.page-content {
    opacity: 1;
    transition: opacity 0.4s ease-out;
    overflow-x: hidden;
}

.fade-out-active .page-content {
    opacity: 0;
}

body.loading-active {
    overflow: hidden;
}

