/* =============================================
   ProxmoxR Website - Custom Styles
   ============================================= */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulseSlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out both;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-pulse-slow {
    animation: pulseSlow 6s ease-in-out infinite;
}

/* Navbar */
#navbar {
    backdrop-filter: blur(0px);
    background: transparent;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(13, 17, 23, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Phone mockup */
.phone-mockup {
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-4px);
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq-toggle svg {
    transition: transform 0.2s ease;
}

.faq-toggle.active svg {
    transform: rotate(180deg);
}

/* Selection color */
::selection {
    background: rgba(232, 135, 30, 0.3);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1117;
}

::-webkit-scrollbar-thumb {
    background: #242d3d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
}

/* Smooth hover for all links */
a {
    transition: color 0.2s ease;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E8871E;
    outline-offset: 2px;
    border-radius: 4px;
}
