/* Nufanas - Gaya Kustom */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563EB;
    --secondary: #0F172A;
    --accent: #22C55E;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --tf-fab-gap: 0.75rem;
    --tf-chat-fab-size: 3.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .glass {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

.tf-wa-fab,
#tf-wa-fab {
    right: max(1.25rem, env(safe-area-inset-right)) !important;
    bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + var(--tf-chat-fab-size) + var(--tf-fab-gap)) !important;
    z-index: 10000 !important;
}

.tf-wa-fab:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.55);
    outline-offset: 3px;
}

#tf-chat-widget {
    right: max(1.25rem, env(safe-area-inset-right)) !important;
    bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
    z-index: 9999 !important;
}
