/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050508;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00f0ff 0%, #7000ff 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00f0ff;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

/* Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* Neumorphism Effect */
.neuro-card {
    background: linear-gradient(145deg, #0c0c11, #08080c);
    box-shadow: 20px 20px 60px #06060a, -20px -20px 60px #0e0e14;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.neuro-card:hover {
    transform: translateY(-10px);
}

/* Navigation */
.nav-link {
    position: relative;
    color: #ccd6f6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00f0ff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00f0ff 0%, #7000ff 100%);
    border-radius: 2px;
}

.mobile-nav-link {
    color: #ccd6f6;
    font-weight: 600;
    transition: all 0.3s ease;
    padding-left: 1rem;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
    color: #00f0ff;
    border-left-color: #00f0ff;
    padding-left: 1.5rem;
}

/* Navbar Scrolled */
.navbar-scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
    color: #0a0a0f;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff00ff 0%, #00f0ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #00f0ff;
    font-weight: 600;
    border: 2px solid #00f0ff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #00f0ff;
    color: #0a0a0f;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

/* Social Icons */
.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ccd6f6;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
    color: #0a0a0f;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

/* Footer Links */
.footer-link {
    color: #8892b0;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #00f0ff;
    transform: translateX(5px);
}

/* Form Inputs */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #00f0ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Scroll to Top Button Visible */
#scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Custom Cursor (Desktop Only) */
@media (min-width: 1024px) {
    .custom-cursor {
        width: 10px;
        height: 10px;
        background: #00f0ff;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transition: transform 0.15s ease;
        box-shadow: 0 0 20px #00f0ff;
    }

    .custom-cursor-follower {
        width: 40px;
        height: 40px;
        border: 2px solid #00f0ff;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9998;
        mix-blend-mode: difference;
        transition: all 0.3s ease;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .btn-primary,
    .btn-outline {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
