/* Custom Styles for SofNet Group */
/* Inter font loaded via preconnect link tags in HTML for optimal performance */

/* Ensure all Icon Fonts use font-display: swap to eliminate render blocking warnings */
@font-face {
    font-family: 'Phosphor';
    src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/regular/Phosphor.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Phosphor-Bold';
    src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/bold/Phosphor-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Phosphor-Fill';
    src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/fill/Phosphor-Fill.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Phosphor-Duotone';
    src: url('https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/duotone/Phosphor-Duotone.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Slate 900 */
    color: #f8fafc; /* Slate 50 */
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #3b82f6; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563eb; 
}

/* Glassmorphism Utilities */
.glass-nav {
    background: rgba(2, 6, 23, 0.85); /* Slate 950 with 85% opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4); /* blue-500 */
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
}

/* Animations - Bulletproof: Content is ALWAYS visible so landing page is NEVER empty */
.reveal {
    opacity: 1 !important;
    transform: none !important;
}
.reveal.active {
    opacity: 1 !important;
    transform: none !important;
}


@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #60a5fa, #3b82f6);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast-message {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

/* Swiper Adjustments */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
}
.swiper-pagination-bullet-active {
    background: #3b82f6 !important;
}

/* FAQ Acordeon */
.faq-content {
    display: none;
    animation: fadeInDown 0.3s ease-out;
}
.faq-content.show {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Infinite Marquee */
.animate-marquee {
    animation: marquee 40s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* PCB Animations */
@keyframes dataStream {
    0% { transform: translateX(-100vw); }
    100% { transform: translateX(100vw); }
}
@keyframes slideBg {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
