/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Romanian flag colors - Used as accents only */
    --romania-blue: #002B7F;
    --romania-yellow: #FCD116;
    --romania-red: #CE1126;
    
    /* Dark futuristic palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #161616;
    --bg-glass: rgba(22, 22, 22, 0.8);
    
    /* Gray scale */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --text-accent: var(--romania-yellow);
    
    /* AI/Tech accent colors */
    --neon-blue: #00d4ff;
    --neon-purple: #8b5cf6;
    --neon-green: #00ff88;
    --electric-blue: #0066ff;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Orbitron', 'Inter', sans-serif;
    --font-family-clean: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Pentru textele mici clean */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none; /* WebKit browsers */
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

/* Ensure the last section allows natural scrolling to footer */
.contact {
    scroll-snap-stop: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Right Side Navigation */
.navbar-right {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Navigation Spotify Button */
.nav-spotify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #1db954;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-spotify-btn:hover {
    background: rgba(29, 185, 84, 0.1);
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.2);
}

.nav-spotify-btn svg {
    transition: transform var(--transition-fast);
}

.nav-spotify-btn:hover svg {
    transform: scale(1.1);
}

/* Full Screen Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 69, 199, 0.15) 0%, rgba(10, 10, 10, 0.98) 70%);
    backdrop-filter: blur(30px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.menu-close:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: rotate(90deg);
}

.menu-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.menu-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: 3rem;
}

.menu-logo .logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}



.menu-logo .logo-text {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #00bfff, var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.menu-link {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    padding: 1rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 199, 0.1), transparent);
    transition: left 0.6s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link:hover {
    color: var(--text-primary);
    background: rgba(139, 69, 199, 0.05);
    transform: translateX(10px);
}

/* Side Navigation Dots */
.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0.7;
    transition: opacity var(--transition-normal);
}

.side-nav:hover {
    opacity: 1;
}

.side-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.side-nav-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    text-decoration: none;
}

.side-nav-dot:hover {
    background: #00bfff;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
    transform: scale(1.2);
}

.side-nav-dot.active {
    background: #00bfff;
    border-color: #00d4ff;
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.8),
        0 0 35px rgba(0, 191, 255, 0.4);
    transform: scale(1.3);
}

.side-nav-dot.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid var(--romania-yellow);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltip pentru side navigation */
.side-nav-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 191, 255, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(0, 191, 255, 0.2);
}

.side-nav-dot:hover::before {
    opacity: 1;
    visibility: visible;
    left: 30px;
}

/* Page Numbers Display */
.page-numbers {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-family-heading);
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.page-numbers .current-page {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    letter-spacing: 1px;
}

.page-numbers .total-pages {
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Hide side nav on mobile */
@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
}

/* Hero Section - Modern & Airy Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: var(--text-primary);
    overflow: hidden;
    scroll-snap-align: start;
    padding: 10px 20px 80px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Enhanced Particles Background */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(0, 212, 255, 0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(139, 92, 246, 0.6), transparent),
        radial-gradient(0.5px 0.5px at 90px 40px, rgba(0, 255, 136, 0.7), transparent),
        radial-gradient(0.5px 0.5px at 130px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(0, 212, 255, 0.5), transparent),
        radial-gradient(0.5px 0.5px at 180px 100px, rgba(139, 92, 246, 0.8), transparent);
    background-repeat: repeat;
    background-size: 300px 250px;
    animation: particleFloat 12s ease-in-out infinite;
    filter: blur(0.5px);
    opacity: 0.6;
    z-index: 1;
}

.particles-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(0.5px 0.5px at 60px 20px, rgba(0, 255, 136, 0.4), transparent),
        radial-gradient(1px 1px at 120px 60px, rgba(0, 212, 255, 0.6), transparent),
        radial-gradient(0.5px 0.5px at 80px 120px, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(1px 1px at 200px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(0.5px 0.5px at 30px 140px, rgba(0, 212, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 320px 280px;
    animation: particleFloat 15s ease-in-out infinite reverse;
    filter: blur(1px);
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) translateX(5px);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-20px) translateX(-5px);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) translateX(10px);
        opacity: 0.7;
    }
}

/* Noise Canvas */
.noise-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Wave Canvas */
.wave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
    display: block;
    background: radial-gradient(circle at 50% 50%, rgba(5,0,17,0.3), rgba(0,0,0,0.5));
}

/* Sound Waves Animation */
.sound-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 150px;
    width: 100%;
    max-width: 600px;
}

.wave-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, 
        #002b7f 0%, 
        #00bfff 50%, 
        #fcd116 100%);
    border-radius: 2px;
    transform-origin: 50% 100%;
    animation: soundWave 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
    opacity: 0.8;
}

.wave-bar:nth-child(3n) {
    background: linear-gradient(to top, 
        #fcd116 0%, 
        #00bfff 50%, 
        #ce1126 100%);
    animation-duration: 1.8s;
}

.wave-bar:nth-child(5n) {
    background: linear-gradient(to top, 
        #ce1126 0%, 
        #fcd116 50%, 
        #002b7f 100%);
    animation-duration: 1.2s;
}

.wave-bar:nth-child(7n) {
    background: linear-gradient(to top, 
        #002b7f 0%, 
        #ce1126 50%, 
        #fcd116 100%);
    animation-duration: 2.1s;
}

@keyframes soundWave {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.6;
    }
    25% {
        transform: scaleY(2);
        opacity: 0.8;
    }
    50% {
        transform: scaleY(4);
        opacity: 1;
    }
    75% {
        transform: scaleY(1.5);
        opacity: 0.9;
    }
}

/* Yellow wave lines */


/* Red wave lines */
.wave-3 {
    left: 70%;
    background: #ce1126;
    animation: wave-pulse-3 2.2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.wave-3::before,
.wave-3::after {
    content: '';
    position: absolute;
    background: #ce1126;
    width: 3px;
    border-radius: 2px;
    left: 70%;
    animation: wave-height-3 2.2s ease-in-out infinite;
}

.wave-3::before { height: 70px; }
.wave-3::after { height: 110px; left: 75%; animation-delay: 0.15s; }

/* Additional blue lines */
.wave-4 {
    left: 35%;
    background: #002b7f;
    animation: wave-pulse-1 1.5s ease-in-out infinite;
    animation-delay: 0.9s;
}

.wave-4::before,
.wave-4::after {
    content: '';
    position: absolute;
    background: #002b7f;
    width: 2px;
    border-radius: 2px;
    left: 35%;
    animation: wave-height-1 1.5s ease-in-out infinite;
}

.wave-4::before { height: 40px; }
.wave-4::after { height: 85px; left: 38%; animation-delay: 0.08s; }

/* Additional yellow lines */
.wave-5 {
    left: 60%;
    background: #fcd116;
    animation: wave-pulse-2 1.9s ease-in-out infinite;
    animation-delay: 1.2s;
}

.wave-5::before,
.wave-5::after {
    content: '';
    position: absolute;
    background: #fcd116;
    width: 2px;
    border-radius: 2px;
    left: 60%;
    animation: wave-height-2 1.9s ease-in-out infinite;
}

.wave-5::before { height: 50px; }
.wave-5::after { height: 95px; left: 63%; animation-delay: 0.12s; }

/* Additional red lines */
.wave-6 {
    animation: wave-pulse-3 1.7s ease-in-out infinite;
    animation-delay: 1.5s;
}

.wave-6::before,
.wave-6::after {
    content: '';
    position: absolute;
    background: #ce1126;
    width: 2px;
    border-radius: 2px;
    left: 15%;
    animation: wave-height-3 1.7s ease-in-out infinite;
}

.wave-6::before { height: 35px; }
.wave-6::after { height: 75px; left: 17%; animation-delay: 0.1s; }

/* More blue lines for richer effect */
.wave-7 {
    animation: wave-pulse-1 1.6s ease-in-out infinite;
    animation-delay: 0.4s;
}

.wave-7::before,
.wave-7::after {
    content: '';
    position: absolute;
    background: #002b7f;
    width: 2px;
    border-radius: 2px;
    left: 30%;
    animation: wave-height-1 1.6s ease-in-out infinite;
}

.wave-7::before { height: 45px; }
.wave-7::after { height: 90px; left: 32%; animation-delay: 0.09s; }

/* More yellow lines */
.wave-8 {
    animation: wave-pulse-2 2.1s ease-in-out infinite;
    animation-delay: 0.7s;
}

.wave-8::before,
.wave-8::after {
    content: '';
    position: absolute;
    background: #fcd116;
    width: 3px;
    border-radius: 2px;
    left: 55%;
    animation: wave-height-2 2.1s ease-in-out infinite;
}

.wave-8::before { height: 65px; }
.wave-8::after { height: 115px; left: 58%; animation-delay: 0.11s; }

/* More red lines */
.wave-9 {
    animation: wave-pulse-3 1.4s ease-in-out infinite;
    animation-delay: 1.0s;
}

.wave-9::before,
.wave-9::after {
    content: '';
    position: absolute;
    background: #ce1126;
    width: 2px;
    border-radius: 2px;
    left: 78%;
    animation: wave-height-3 1.4s ease-in-out infinite;
}

.wave-9::before { height: 55px; }
.wave-9::after { height: 105px; left: 80%; animation-delay: 0.07s; }

/* More scattered blue lines */
.wave-10 {
    animation: wave-pulse-1 1.8s ease-in-out infinite;
    animation-delay: 1.3s;
}

.wave-10::before,
.wave-10::after {
    content: '';
    position: absolute;
    background: #002b7f;
    width: 2px;
    border-radius: 2px;
    left: 10%;
    animation: wave-height-1 1.8s ease-in-out infinite;
}

.wave-10::before { height: 30px; }
.wave-10::after { height: 70px; left: 12%; animation-delay: 0.06s; }

/* More scattered yellow lines */
.wave-11 {
    animation: wave-pulse-2 1.3s ease-in-out infinite;
    animation-delay: 1.6s;
}

.wave-11::before,
.wave-11::after {
    content: '';
    position: absolute;
    background: #fcd116;
    width: 2px;
    border-radius: 2px;
    left: 65%;
    animation: wave-height-2 1.3s ease-in-out infinite;
}

.wave-11::before { height: 40px; }
.wave-11::after { height: 85px; left: 67%; animation-delay: 0.08s; }

/* Final red lines */
.wave-12 {
    animation: wave-pulse-3 2.0s ease-in-out infinite;
    animation-delay: 1.9s;
}

.wave-12::before,
.wave-12::after {
    content: '';
    position: absolute;
    background: #ce1126;
    width: 3px;
    border-radius: 2px;
    left: 40%;
    animation: wave-height-3 2.0s ease-in-out infinite;
}

.wave-12::before { height: 60px; }
.wave-12::after { height: 110px; left: 43%; animation-delay: 0.13s; }

@keyframes wave-pulse-1 {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes wave-pulse-2 {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.4);
    }
    50% {
        opacity: 0.9;
        transform: scaleY(1.4);
    }
}

@keyframes wave-pulse-3 {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(0.6);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

@keyframes wave-height-1 {
    0%, 100% {
        height: 30px;
        opacity: 0.6;
    }
    25% {
        height: 80px;
        opacity: 1;
    }
    50% {
        height: 120px;
        opacity: 0.9;
    }
    75% {
        height: 60px;
        opacity: 0.8;
    }
}

@keyframes wave-height-2 {
    0%, 100% {
        height: 40px;
        opacity: 0.5;
    }
    30% {
        height: 100px;
        opacity: 0.9;
    }
    60% {
        height: 140px;
        opacity: 1;
    }
    80% {
        height: 70px;
        opacity: 0.7;
    }
}

@keyframes wave-height-3 {
    0%, 100% {
        height: 25px;
        opacity: 0.7;
    }
    35% {
        height: 90px;
        opacity: 1;
    }
    65% {
        height: 130px;
        opacity: 0.8;
    }
    85% {
        height: 55px;
        opacity: 0.9;
    }
}

/* Additional wave effects for more dynamic movement */
.wave-1::after,
.wave-2::after,
.wave-3::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
}

.wave-4::after,
.wave-5::after,
.wave-6::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    animation: pulse-ring 3s infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md) 40px var(--spacing-md);
    text-align: center;
    width: 100%;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Hero Text Animations */


@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInScale {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow));
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 
        0 4px 15px rgba(0, 43, 127, 0.3),
        0 0 20px rgba(252, 209, 22, 0.2);
    animation: float-badge 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Section Animations */
@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInScale {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Brand */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

.hero-logo {
    width: 220px !important;
    height: auto !important;
    max-width: 220px !important;
    max-height: none !important;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 212, 255, 0.15));
}

.hero-brand-text {
    font-family: var(--font-family-heading);
    font-weight: 600;
    font-size: var(--font-size-lg);
    background: linear-gradient(135deg, #002b7f 0%, #fcd116 50%, #ce1126 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.hero-title {
    font-family: var(--font-family-heading);
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3; /* Puțin mai relaxat */
    letter-spacing: -0.02em;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-subtitle {
    font-family: var(--font-family-clean);
    font-size: var(--font-size-xl);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7; /* Mai aerisit */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.2px; /* Spacing mai subtil pentru Inter */
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

/* Audio Player */
.audio-player {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-md);
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: heroFadeInScale 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.player-now-playing {
    margin-bottom: 1rem;
}

.player-label {
    font-family: var(--font-family-heading);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(0, 212, 255, 0.7);
    margin-bottom: 0.35rem;
    display: block;
}

.player-title {
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
}

.player-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.spotify-badge {
    font-family: var(--font-family-clean);
    background: rgba(29, 185, 84, 0.15);
    border: 1px solid rgba(29, 185, 84, 0.3);
    color: #1DB954;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    letter-spacing: 0.3px;
    margin-top: 0.75rem;
}

.spotify-badge:hover {
    background: rgba(29, 185, 84, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
    color: #1ed760;
}

.player-details h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.player-date {
    font-family: var(--font-family-clean);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    letter-spacing: 0.1px;
    font-weight: 400;
}

.custom-player-controls {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.play-button {
    background: url('logo.png') center/cover no-repeat;
    color: var(--text-primary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-xl);
    transition: var(--transition-fast);
    flex-shrink: 0;
    box-shadow: 
        0 0 25px rgba(0, 191, 255, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.play-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 191, 255, 0.4), transparent);
    animation: rotate-border 2s linear infinite;
}

.play-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    box-shadow: 
        0 0 40px rgba(0, 191, 255, 0.8),
        0 0 60px rgba(0, 191, 255, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.progress-container {
    flex: 1;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: var(--spacing-xs);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(0, 255, 136, 0.1) 100%);
    animation: pulse-bg 2s ease-in-out infinite;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--romania-blue), var(--romania-yellow), var(--romania-red));
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(252, 209, 22, 0.5);
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Hero Premium Info */
.hero-premium-info {
    background: rgba(0, 43, 127, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem; /* Mai mult padding */
    margin: 4rem auto; /* Mai mult spațiu vertical și centrat */
    text-align: center;
    max-width: 850px; /* Puțin mai larg */
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

.hero-premium-info:hover {
    border-color: rgba(0, 191, 255, 0.4);
    background: rgba(0, 43, 127, 0.15);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.1);
}

.hero-premium-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 191, 255, 0.1) 0%, 
        rgba(0, 43, 127, 0.1) 50%, 
        rgba(206, 17, 38, 0.1) 100%);
    z-index: -1;
    opacity: 0.7;
}

.premium-info-title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.5px;
}

.premium-info-description {
    font-family: var(--font-family-clean);
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 400;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0.95;
    letter-spacing: 0.1px;
}

/* Buttons */
.cta-button {
    font-family: var(--font-family-heading);
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: 0.5px; /* Mai subtil pentru Inter */
    text-transform: uppercase; /* Pentru aspect modern */
}

.cta-button.primary {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 191, 255, 0.4),
        0 0 25px rgba(0, 191, 255, 0.6),
        0 0 35px rgba(0, 128, 255, 0.3);
    border: 1px solid rgba(0, 191, 255, 0.3);
}

/* CTA Button în Hero pentru mai mult spațiu */
.hero .cta-button.primary {
    margin: 2.5rem auto 1rem auto; /* Mai mult spațiu vertical */
    padding: 1rem 2.5rem; /* Mai mult padding */
    font-size: 1.1rem; /* Puțin mai mare */
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 30px rgba(0, 191, 255, 0.6),
        0 0 40px rgba(0, 191, 255, 0.8),
        0 0 60px rgba(0, 128, 255, 0.4);
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow), var(--romania-red)) 1;
    position: relative;
    overflow: hidden;
}

.cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow));
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button.secondary:hover::before {
    width: 100%;
}

.cta-button.secondary:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 43, 127, 0.3);
}

/* Sections */
.section-title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-family-clean);
    font-size: var(--font-size-lg);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.1px;
    font-weight: 400;
}

/* Premium Topics Section */
.premium-topics {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
}

.premium-topics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--romania-blue), var(--romania-yellow), var(--romania-red), transparent);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    grid-auto-rows: masonry; /* Future CSS - fallback below */
    align-items: start;
}

/* Fallback for browsers without masonry support */
@supports not (grid-auto-rows: masonry) {
    .topics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: var(--spacing-xl);
    }
    
    .topic-card:nth-child(3n+1) {
        grid-row: span 1;
    }
    
    .topic-card:nth-child(3n+2) {
        grid-row: span 1;
        margin-top: var(--spacing-lg);
    }
    
    .topic-card:nth-child(3n+3) {
        grid-row: span 1;
        margin-top: var(--spacing-xl);
    }
}

.topic-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 212, 255, 0.2);
    transition: all var(--transition-normal);
    border: 1px solid var(--neon-blue);
    position: relative;
    overflow: hidden;
    transform: translateY(-4px);
    animation: floatingCard 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes floatingCard {
    0%, 100% {
        transform: translateY(-4px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-2px) rotate(-0.5deg);
    }
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(0, 255, 136, 0.1) 100%);
    opacity: 1;
    transition: all var(--transition-normal);
}

.topic-card:nth-child(1) { --delay: 0s; }
.topic-card:nth-child(2) { --delay: 1s; }
.topic-card:nth-child(3) { --delay: 2s; }
.topic-card:nth-child(4) { --delay: 0.5s; }
.topic-card:nth-child(5) { --delay: 1.5s; }
.topic-card:nth-child(6) { --delay: 2.5s; }
.topic-card:nth-child(7) { --delay: 3s; }
.topic-card:nth-child(8) { --delay: 3.5s; }

.topic-card:hover {
    transform: translateY(-16px) scale(1.03) rotate(0deg);
    box-shadow: 
        0 20px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 212, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 212, 255, 1);
    animation-play-state: paused;
}

.topic-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15) 0%, 
        rgba(139, 92, 246, 0.15) 50%, 
        rgba(0, 255, 136, 0.15) 100%);
    transform: rotate(1deg);
}

.topic-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
    display: inline-block;
}

.topic-card:hover .topic-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.topic-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.topic-card:hover h3 {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.topic-card p {
    font-family: var(--font-family-clean);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
    letter-spacing: 0.05px;
    font-weight: 400;
}

.topic-card:hover p {
    color: var(--text-primary);
    transform: translateX(3px);
}

/* Light Interference Effects */
.light-interference {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.light-beam {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 212, 255, 0.1) 20%,
        rgba(0, 212, 255, 0.3) 50%,
        rgba(0, 212, 255, 0.1) 80%,
        transparent 100%
    );
    height: 2px;
    width: 200%;
    animation: lightSweep 8s ease-in-out infinite;
    opacity: 0.7;
}

.light-beam:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.light-beam:nth-child(2) {
    top: 60%;
    animation-delay: 2s;
    transform: rotate(-10deg);
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(139, 92, 246, 0.1) 20%,
        rgba(139, 92, 246, 0.3) 50%,
        rgba(139, 92, 246, 0.1) 80%,
        transparent 100%
    );
}

.light-beam:nth-child(3) {
    top: 40%;
    animation-delay: 4s;
    transform: rotate(5deg);
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 255, 136, 0.1) 20%,
        rgba(0, 255, 136, 0.3) 50%,
        rgba(0, 255, 136, 0.1) 80%,
        transparent 100%
    );
}

.light-beam:nth-child(4) {
    top: 80%;
    animation-delay: 6s;
    transform: rotate(-20deg);
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 212, 255, 0.15) 20%,
        rgba(139, 92, 246, 0.25) 50%,
        rgba(0, 255, 136, 0.15) 80%,
        transparent 100%
    );
}

.interference-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: interferenceShift 12s ease-in-out infinite;
}

.hologram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        rgba(0, 212, 255, 0.03) 1px,
        rgba(0, 212, 255, 0.03) 2px,
        transparent 3px,
        transparent 40px
    );
    animation: hologramScan 6s linear infinite;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(100%) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
}

@keyframes interferenceShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%;
    }
    25% {
        background-position: 100% 0%, 0% 100%, 100% 100%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 100% 0%, 0% 100%;
    }
    75% {
        background-position: 0% 100%, 100% 0%, 0% 0%, 100% 100%;
    }
}

@keyframes hologramScan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-chart {
    margin-bottom: var(--spacing-lg);
}

.circular-chart {
    width: 120px;
    height: 120px;
    position: relative;
}

.circular-chart-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 2s ease-in-out;
}

.step-number {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    fill: var(--text-primary);
    text-anchor: middle;
    dominant-baseline: middle;
}

.step-content {
    text-align: center;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, var(--romania-blue), var(--romania-yellow), var(--romania-red), var(--romania-blue));
    border-radius: 50%;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, var(--romania-blue), var(--neon-blue));
    border-radius: 50%;
    z-index: -1;
}

.step h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.step-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-line {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--romania-blue), var(--romania-yellow), var(--romania-red));
    border-radius: 2px;
    transition: width 2s ease-in-out;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

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

.step:hover .progress-line {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    transform: scaleY(1.5);
}

/* Inspirational Quote */
.inspirational-quote {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-3xl) 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: quotePulse 4s ease-in-out infinite;
}

.quote-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
    animation: iconFloat 3s ease-in-out infinite;
}

.quote-text {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-xl);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.quote-accent {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, 
        var(--romania-blue), 
        var(--romania-yellow), 
        var(--romania-red)
    ) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderGlow 3s ease-in-out infinite alternate;
    opacity: 0.6;
}

@keyframes quotePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(0, 212, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 12px 50px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(0, 212, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotate(5deg); 
        opacity: 1;
    }
}

@keyframes borderGlow {
    0% {
        opacity: 0.6;
        filter: brightness(1);
    }
    100% {
        opacity: 1;
        filter: brightness(1.5);
    }
}

/* Subscriptions Section */
.subscriptions {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
}

.subscriptions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--romania-red), var(--romania-yellow), var(--romania-blue), transparent);
}

.pricing-timeline {
    position: relative;
    width: 100%;
    height: 4px;
    margin: var(--spacing-3xl) 0;
    display: flex;
    justify-content: center;
}

.timeline-line {
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.3) 0%, 
        rgba(139, 92, 246, 0.6) 50%, 
        rgba(0, 255, 136, 0.3) 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: timelineGlow 3s ease-in-out infinite;
}

@keyframes timelineGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 800px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: planCardFloat 8s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.plan-visual {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.plan-progress-ring {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    position: absolute;
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.ring-progress {
    fill: none;
    stroke: var(--neon-blue);
    stroke-width: 3;
    stroke-linecap: round;
    transition: all 2s ease-in-out;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.6));
}

.plan-card[data-plan="premium"] .ring-progress {
    stroke: url(#planGradient);
}

.plan-icon {
    font-size: var(--font-size-xl);
    z-index: 1;
    position: relative;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 43, 127, 0.05) 0%, 
        rgba(0, 212, 255, 0.05) 50%, 
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.plan-card.featured {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow), var(--romania-red)) 1;
    transform: scale(1.05);
    box-shadow: 
        0 12px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 43, 127, 0.3);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.2);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 43, 127, 0.4);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow));
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 43, 127, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 43, 127, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(252, 209, 22, 0.6); }
}

.plan-header h3 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--romania-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.plan-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-description {
    font-family: var(--font-family-clean);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    letter-spacing: 0.1px;
    font-weight: 400;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: var(--spacing-lg);
}

.plan-features ul {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.plan-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.plan-pricing {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.plan-footer {
    text-align: center;
    margin-top: auto;
}

.price {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: var(--transition-normal);
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: var(--font-size-xl);
    color: var(--romania-yellow);
    transition: var(--transition-fast);
    text-shadow: 0 0 10px rgba(252, 209, 22, 0.5);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-family: var(--font-family-clean);
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.1px;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--romania-blue), var(--romania-yellow), var(--romania-red), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo .logo-text {
    color: var(--text-primary);
    font-size: var(--font-size-md);
    font-weight: 500;
}

/* Footer brand text with Romanian flag gradient and Orbitron */
.footer-brand {
    font-family: var(--font-family-heading) !important;
    font-weight: 600 !important;
    font-size: var(--font-size-lg) !important;
    background: linear-gradient(135deg, #002b7f 0%, #fcd116 50%, #ce1126 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.footer-description {
    font-family: var(--font-family-clean);
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.1px;
    font-weight: 400;
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--romania-yellow);
    text-shadow: 0 0 10px rgba(252, 209, 22, 0.5);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--romania-blue), var(--romania-yellow));
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 43, 127, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
        padding: var(--spacing-xl) 0;
        z-index: 999;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: var(--spacing-3xl) 0;
        min-height: 80vh;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-2xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-2xl);
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .plans-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-4px);
    }

    .audio-player {
        margin-left: var(--spacing-md);
        margin-right: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .player-info {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .player-controls {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .progress-container {
        width: 100%;
        order: 2;
    }

    .play-button {
        order: 1;
    }

    .faq-question {
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-content {
        padding: 40px var(--spacing-sm) 30px var(--spacing-sm); /* Păstrează aerisirea pe mobile */
    }
    
    .hero {
        padding: 80px 20px 60px 20px; /* Reduced pentru mobile */
    }

    .cta-button {
        width: 100%;
        padding: var(--spacing-lg);
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .topic-card {
        padding: var(--spacing-lg);
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 70px;
}

/* 🚀 Stiluri globale pentru uniformitate futuristică */
/* Aplică fontul futuristic pe selectori mai specifici */
.quote-text,
.step-content p,
.plan-features li,
.footer-links a,
input,
textarea,
select {
    font-family: var(--font-family-clean) !important;
    letter-spacing: 0.1px;
    font-weight: 400;
}

/* Mărește ușor letter-spacing pentru elementele interactive */
button,
.cta-button,
.menu-link,
.side-nav-dot::before {
    letter-spacing: 0.6px;
}