/* Soft Lead Solutions - Core Styles */

:root {
    --primary: #c7bfff;
    --primary-container: #6754e9;
    --secondary: #bdf4ff;
    --background: #131314;
    --surface: #131314;
    --surface-container: #201f20;
    --surface-container-low: #1c1b1c;
    --on-surface: #e5e2e3;
    --on-surface-variant: #c8c4d7;
}

body {
    background-color: var(--background);
    color: var(--on-surface);
}

.glass-panel {
    background: rgba(53, 52, 54, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: translateZ(0); /* Force GPU Layer */
}

.glass-card {
    background: rgba(53, 52, 54, 0.4);
    backdrop-filter: blur(4px);
    transform: translateZ(0);
}

/* Static Glows (High Performance alternative to blur filters) */
.glow-static-primary {
    background: radial-gradient(circle at center, rgba(103, 84, 233, 0.1) 0%, rgba(103, 84, 233, 0) 70%);
}

.glow-static-secondary {
    background: radial-gradient(circle at center, rgba(189, 244, 255, 0.08) 0%, rgba(189, 244, 255, 0) 70%);
}

.hero-gradient {
    background: linear-gradient(135deg, #c7bfff 0%, #6754e9 100%);
}

.blueprint-grid {
    background-image: linear-gradient(rgba(199, 191, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(199, 191, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.tech-frame {
    position: relative;
    border: 1px solid rgba(199, 191, 255, 0.1);
}

.tech-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #c7bfff;
    border-left: 2px solid #c7bfff;
}

.hero-glow {
    background: radial-gradient(circle at 50% 50%, rgba(103, 84, 233, 0.15) 0%, rgba(19, 19, 20, 0) 70%);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Transitions */
.nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: #bdf4ff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #c7bfff;
    border-bottom: 2px solid #c7bfff;
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(19, 19, 20, 0.95);
    backdrop-filter: blur(20px);
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu.active {
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #131314;
    color: #e5e2e3;
    overflow-x: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Hero Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-hero {
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-100 { animation-delay: 100ms; transition-delay: 100ms; }
.delay-200 { animation-delay: 200ms; transition-delay: 200ms; }
.delay-300 { animation-delay: 300ms; transition-delay: 300ms; }
.delay-500 { animation-delay: 500ms; transition-delay: 500ms; }

/* Carousel Styles */
.carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    position: relative;
    width: 100%;
}

.carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
}

.carousel-slide {
    flex: 0 0 calc(100% - 1.5rem);
    min-width: 0;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Pricing Styles */
.pricing-card {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(199, 191, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(103, 84, 233, 0.1);
}

.popular-badge {
    box-shadow: 0 4px 12px rgba(103, 84, 233, 0.3);
}

/* FAQ Accordion Styles */
details.faq-item summary {
    list-style: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

details.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

details.faq-item[open] summary {
    background: rgba(199, 191, 255, 0.05);
}

/* Scarcity Indicator */
@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(189, 244, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(189, 244, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(189, 244, 255, 0); }
}

.slot-pulse {
    animation: pulse-dot 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: white;
}


/* Responsive adjustment for WhatsApp button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}
