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

:root {
    --color-primary: #0F172A;       /* Biru Tua Slate-900 */
    --color-primary-dark: #0B0F19;  /* Sangat Biru Tua */
    --color-accent: #FBBF24;        /* Oranye Amber-400 */
    --color-accent-bright: #F59E0B; /* Oranye Terang Amber-500 */
    --color-bg-light: #0F172A;      /* Dark Blue Body */
    --color-bg-alt: #1E293B;        /* Slate-800 for Cards */
}

body {
    background-color: var(--color-bg-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #E2E8F0;                 /* Slate-200 for readability */
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-primary-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.15); /* Faint orange thumb */
    border-radius: 9999px;
    border: 2px solid var(--color-primary-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(251, 191, 36, 0.35); /* Brighter on hover */
}

/* Repeating 'R' Arrow Geometric Background Pattern */
.bg-r-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100' fill-rule='evenodd'%3E%3Cpath d='M15,10 H30 V90 H15 Z M38,10 H80 V38 L95,48 L80,58 V90 H60 V58 H38 Z M38,20 H60 V46 H38 Z' fill='%23FBBF24' fill-opacity='0.015'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Ambient Background Light Blobs (Darkened & Oranged) */
.bg-light-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-purple-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0) 70%);
    top: -5%;
    left: -10%;
    animation-delay: 0s;
}

.blob-lime-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    top: 25%;
    right: -10%;
    animation-delay: 6s;
}

.blob-purple-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(15, 23, 42, 0) 70%);
    bottom: 5%;
    left: 15%;
    animation-delay: 12s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, -80px) scale(1.1);
    }
    100% {
        transform: translate(-40px, 60px) scale(0.9);
    }
}

/* Smooth Navigation Accent Transition */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Interactive Card Layouts - Optimized for Dark Theme */
.premium-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(251, 191, 36, 0.08);
}

/* Stacked Visual Component in Hero */
.stacked-card-1 {
    transform: rotate(-3deg) translateY(0);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stacked-card-2 {
    transform: rotate(4deg) translate(25px, -15px);
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stacked-card-3 {
    transform: rotate(-1deg) translate(-20px, 20px);
    z-index: 8;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacked-card-group:hover .stacked-card-1 {
    transform: rotate(0deg) translate(-10px, -5px);
    z-index: 15;
}
.stacked-card-group:hover .stacked-card-2 {
    transform: rotate(0deg) translate(35px, 0);
}
.stacked-card-group:hover .stacked-card-3 {
    transform: rotate(0deg) translate(-25px, 25px);
}

/* Floating animation for subtle element shifts */
.floating {
    animation: floatElement 6s ease-in-out infinite;
}
@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-delayed {
    animation: floatElementDelayed 8s ease-in-out infinite;
}
@keyframes floatElementDelayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
