/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0E14;
}
::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6d28d9;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #06070a;
    color: #F8F9FA;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.clip-button {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    transition: all 0.2s ease-in-out;
}

.product-card {
    border-top: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.product-card:hover {
    border-top-color: #7c3aed;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.1);
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
}

.product-card:hover .product-btn {
    background-color: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.product-card img {
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover img {
    transform: translateZ(30px) scale(1.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7c3aed;
    transition: width 0.2s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: #7c3aed;
}

/* Base styles for fade animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Mobile menu slide animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}
#mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Background Particles Effect */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Interactive Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

/* Modal Animations */
.modal-show {
    opacity: 1 !important;
    scale: 1 !important;
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-trigger:hover {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

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

.faq-item.active .faq-trigger {
    border-color: rgba(124, 58, 237, 0.5);
    background: rgba(124, 58, 237, 0.05);
}

.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-item.active .faq-content {
    opacity: 1;
}

/* Scroll Progress Bar Glow */
#scroll-progress {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}
