/* Custom CSS for NR10 Static Version */

:root {
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --color-primary: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

html {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: #18181b;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Animations (replacing motion/react) */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0) scale(1) translateY(0);
}

/* Hover effects */
.hover-up {
    transition: transform 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
}

/* FAQ transitions */
.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

.faq-toggle.active i {
    transform: rotate(180deg);
}

/* Image Effects */
.img-container {
    perspective: 1000px;
}

.img-hover-effect {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-hover-effect:hover {
    transform: scale(1.03) translateY(-10px) rotateX(2deg);
    box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.2);
}

/* Selection */
::selection {
    background-color: rgba(245, 158, 11, 0.2);
}

/* Legibility Helpers */
.text-shadow-strong {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.drop-shadow {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Modules Section Enhancements */
.accordion-group {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-group:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background-color: #fff;
}

.module-differentiator {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    border: 2px solid #fde68a;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.1);
}

.module-differentiator:hover {
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.15);
}

.badge-methodology {
    background: linear-gradient(to right, #18181b, #27272a);
    color: #fca5a5;
    /* red-300 for emphasis */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}