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

:root {
    --bg-dark: #050508;
    --accent-1: #ff0080; /* Magenta Siliwangi Brand */
    --accent-2: #7928ca; /* Indigo/Purple */
    --accent-3: #0078D4; /* Blue */
    --accent-4: #00f0ff; /* Cyan */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover-bg: rgba(255, 255, 255, 0.06);
    --glass-hover-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: #f3f4f6;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Fluid Morphing Background */
.fluid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.55;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 20s ease-in-out infinite alternate;
}

.blob:nth-child(1) {
    left: -10%;
    top: -10%;
    animation-duration: 22s;
}

.blob:nth-child(2) {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-4));
    width: 700px;
    height: 700px;
    right: -10%;
    top: 20%;
    animation-duration: 28s;
    animation-delay: -4s;
}

.blob:nth-child(3) {
    background: linear-gradient(225deg, var(--accent-1), var(--accent-4));
    width: 550px;
    height: 550px;
    left: 20%;
    bottom: -10%;
    animation-duration: 25s;
    animation-delay: -8s;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: translate(80px, 40px) rotate(90deg) scale(1.05); }
    66% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; transform: translate(-40px, 80px) rotate(180deg) scale(0.95); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(270deg) scale(1); }
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-panel-hover:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    box-shadow: 0 20px 45px -5px rgba(255, 0, 128, 0.15);
    transform: translateY(-4px);
}

/* Navbar glass styling */
.glass-nav {
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(5, 5, 8, 0.9);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(255, 0, 128, 0.2);
}

/* Particle Canvas Overlay */
.sparkle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Typing & Glowing effects */
.glow-text-magenta {
    text-shadow: 0 0 15px rgba(255, 0, 128, 0.6);
    color: #ff3399;
}

.glow-text-cyan {
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    color: #33f0ff;
}

.glow-btn-magenta {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.4);
    transition: all 0.3s ease;
}

.glow-btn-magenta:hover {
    box-shadow: 0 6px 25px rgba(255, 0, 128, 0.7);
    transform: scale(1.02);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--accent-2), var(--accent-3));
}

/* Heart pulsing animation */
@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.25);
    }
    45% {
        transform: scale(1.1);
    }
    60% {
        transform: scale(1.35);
    }
}

.heart-pulse {
    display: inline-block;
    color: #ff0055;
    animation: heartPulse 1.2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
    font-size: 1.15rem;
    margin: 0 4px;
    vertical-align: middle;
}

.author-link {
    color: #ff3399;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(255, 51, 153, 0.4);
}

.author-link:hover {
    color: #00f0ff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    border-bottom-color: #00f0ff;
}

/* Form Styling */
.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.2);
    outline: none;
}

/* Marquee / Auto scrolling for client logos */
.marquee-container {
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    gap: 4rem;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Active Nav Links styling */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ff3399;
}

/* Product Card Gallery Overlay */
.product-overlay {
    background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.4) 60%, transparent 100%);
}

/* Back to Top button styling */
.back-to-top {
    position: fixed;
    bottom: 7rem;
    right: 2.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-1);
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
    border-color: transparent;
    transform: translateY(-4px);
}

/* Genta Chatbot Custom CSS */
#genta-chat-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

#genta-chat-messages::-webkit-scrollbar {
    width: 4px;
}

#genta-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

#genta-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
