
@keyframes heroTextEntrance {
    0% {
        opacity: 0;
        transform: scale(1.5) translateY(-30px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-10px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollIndicatorFloat {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(8px) rotate(45deg);
    }
}

@keyframes scrollIndicatorEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.landing-page {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section .hero-text {
    animation: heroTextEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.hero-scroll-indicator {
    animation: scrollIndicatorEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.1s both;
}

.hero-scroll-indicator-arrow {
    animation: scrollIndicatorFloat 1.6s ease-in-out infinite;
}

.hero-section {
    animation: slideInLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.expertise-section {
    animation: slideInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.expertise-item {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.expertise-item:nth-child(1) { animation-delay: 0.4s; }
.expertise-item:nth-child(2) { animation-delay: 0.5s; }
.expertise-item:nth-child(3) { animation-delay: 0.6s; }
.expertise-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    animation: slideInRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}

.footer-section {
    animation: slideInRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both;
}

.contact-item {
    position: relative;
    overflow: hidden;
}

.contact-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-item:hover::after {
    width: 300px;
    height: 300px;
}

.social-link {
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(45deg, 
        var(--accent-primary), 
        var(--accent-secondary), 
        var(--accent-tertiary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.social-link:hover::before {
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.contact-section::after,
.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-primary), 
        transparent);
    animation: shimmer 3s infinite;
}

.contact-item:focus-visible,
.social-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-1px, 1px);
    }
    40% {
        transform: translate(-1px, -1px);
    }
    60% {
        transform: translate(1px, 1px);
    }
    80% {
        transform: translate(1px, -1px);
    }
}

.particle {
    box-shadow: 0 0 6px var(--accent-primary);
}

.particle:nth-child(3n) {
    background: var(--accent-secondary);
    box-shadow: 0 0 6px var(--accent-secondary);
}

.particle:nth-child(5n) {
    background: var(--accent-tertiary);
    box-shadow: 0 0 6px var(--accent-tertiary);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}
