/* ============================================
   FornecedorNacional Landing Page — Custom CSS
   ============================================ */

/* Reset for the plugin root */
#fornecedor-nacional-root {
    font-family: 'Manrope', sans-serif;
    color: #F0F0F0;
    background-color: #0A0A0F;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#fornecedor-nacional-root *,
#fornecedor-nacional-root *::before,
#fornecedor-nacional-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---- Keyframes ---- */

/* Hero card floating */
@keyframes fn-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}
.fn-float-anim {
    animation: fn-float 3.6s ease-in-out infinite;
}

/* Pulsing green border */
@keyframes fn-pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.45); }
    50% { box-shadow: 0 0 20px 4px rgba(0, 229, 160, 0.18); }
}
.fn-pulse-border {
    animation: fn-pulse-border 2.4s ease-in-out infinite;
}

/* Fade in up */
@keyframes fn-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fn-fade-in-up {
    opacity: 0;
    animation: fn-fade-in-up 0.7s ease-out forwards;
}

/* Stagger children */
.fn-stagger > *:nth-child(1) { animation-delay: 0s; }
.fn-stagger > *:nth-child(2) { animation-delay: 0.12s; }
.fn-stagger > *:nth-child(3) { animation-delay: 0.24s; }
.fn-stagger > *:nth-child(4) { animation-delay: 0.36s; }
.fn-stagger > *:nth-child(5) { animation-delay: 0.48s; }

/* Count-up number shimmer */
@keyframes fn-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Progress bar fill */
@keyframes fn-progress-fill {
    from { width: 0%; }
    to { width: var(--fn-progress-target, 94%); }
}
.fn-progress-bar {
    animation: fn-progress-fill 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Navbar blur scroll */
.fn-navbar-scrolled {
    background-color: rgba(10, 10, 15, 0.82) !important;
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(30, 30, 46, 0.5);
}

/* ---- Buttons ---- */
.fn-btn-primary {
    background-color: #00E5A0;
    color: #0A0A0F;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    font-family: 'Manrope', sans-serif;
}
.fn-btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 28px 0 rgba(0, 229, 160, 0.3);
}

.fn-btn-ghost {
    background: transparent;
    color: #F0F0F0;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    border: 1px solid #1E1E2E;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.25s ease;
    font-family: 'Manrope', sans-serif;
}
.fn-btn-ghost:hover {
    transform: scale(1.03);
    border-color: #00E5A0;
    color: #00E5A0;
}

.fn-btn-outline-orange {
    background: transparent;
    color: #FF6B35;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    border: 2px solid #FF6B35;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.25s ease;
    font-family: 'Manrope', sans-serif;
}
.fn-btn-outline-orange:hover {
    transform: scale(1.03);
    background: rgba(255, 107, 53, 0.1);
}

/* ---- Cards ---- */
.fn-card {
    background: #13131A;
    border: 1px solid #1E1E2E;
    border-radius: 16px;
}

/* ---- Star rating ---- */
.fn-star {
    color: #FBBF24;
    font-size: 1rem;
}

/* ---- Accordion ---- */
.fn-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
    padding: 0 24px;
}
.fn-accordion-content.fn-accordion-open {
    max-height: 500px;
    padding: 0 24px 20px;
}

/* ---- Modal overlay ---- */
.fn-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fn-fade-in 0.2s ease;
}
@keyframes fn-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fn-modal-box {
    background: #13131A;
    border: 1px solid #1E1E2E;
    border-radius: 20px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
}

.fn-modal-input {
    width: 100%;
    padding: 12px 16px;
    background: #0A0A0F;
    border: 1px solid #1E1E2E;
    border-radius: 10px;
    color: #F0F0F0;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}
.fn-modal-input:focus {
    border-color: #00E5A0;
}

/* ---- Toggle switch ---- */
.fn-toggle-track {
    width: 52px;
    height: 28px;
    border-radius: 14px;
    background: #1E1E2E;
    cursor: pointer;
    position: relative;
    transition: background 0.25s ease;
}
.fn-toggle-track.fn-toggle-active {
    background: #00E5A0;
}
.fn-toggle-knob {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F0F0F0;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.25s ease;
}
.fn-toggle-track.fn-toggle-active .fn-toggle-knob {
    transform: translateX(24px);
}

/* ---- Scroll smooth ---- */
#fornecedor-nacional-root {
    scroll-behavior: smooth;
}

/* ---- Dashboard mock ---- */
.fn-blur-lock {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    position: relative;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .fn-btn-primary,
    .fn-btn-ghost,
    .fn-btn-outline-orange {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
