:root {
    --primary: #6d28d9;
    --primary-light: #8b5cf6;
    --primary-dark: #5b21b6;
    --text-light: #1f2937; /* Warna teks gelap untuk light mode */
    --text-dark: #e5e7eb; /* Warna teks terang untuk dark mode */
    --bg-light: #ffffff; /* Latar belakang light mode */
    --bg-dark: #0f172a; /* Latar belakang dark mode */
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
}

.dark body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Blur effect background */
.blur-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    left: -200px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    bottom: -150px;
    right: -100px;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Bayangan kustom untuk light mode */
}

.dark .navbar {
    background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Bayangan lebih gelap untuk dark mode */
}

/* Navbar Links */
.navbar a {
    color: var(--text-light);
}

.dark .navbar a {
    color: var(--text-dark);
}

.navbar a:hover {
    color: var(--primary);
}

.dark .navbar a:hover {
    color: var(--primary-light);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(109, 40, 217, 0.3);
}

/* Card styles */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark .feature-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.dark .feature-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Feature Card Text */
.feature-card h3 {
    color: var(--text-light);
}

.dark .feature-card h3 {
    color: var(--text-dark);
}

.feature-card p {
    color: #4b5563;
}

.dark .feature-card p {
    color: #9ca3af;
}

/* Section Title and Description */
.section-title {
    color: var(--text-light);
}

.dark .section-title {
    color: var(--text-dark);
}

.section-description {
    color: #374151; /* Warna lebih gelap untuk light mode */
}

.dark .section-description {
    color: #9ca3af; /* Warna terang untuk dark mode */
}

/* Theme toggle */
.theme-toggle {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #e2e8f0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark .theme-toggle {
    background: #334155;
}

.theme-toggle-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.dark .theme-toggle-circle {
    left: 22px;
    background: #1e293b;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-text {
    color: var(--text-light);
}

.dark .hero-text {
    color: var(--text-dark);
}

/* Pricing Section */
.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .pricing-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
    color: var(--text-light);
}

.dark .pricing-card h3 {
    color: var(--text-dark);
}

.pricing-card p,
.pricing-card li {
    color: #4b5563;
}

.dark .pricing-card p,
.dark .pricing-card li {
    color: #9ca3af;
}

/* Contact Section */
.contact-text {
    color: var(--text-light);
}

.dark .contact-text {
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    color: var(--text-light);
}

.dark .contact-form input,
.dark .contact-form textarea {
    background: #1e293b;
    border: 1px solid #4b5563;
    color: var(--text-dark);
}

/* Footer */
.footer-text {
    color: #9ca3af;
}

.dark .footer-text {
    color: #d1d5db;
}

.footer-text a {
    color: #9ca3af;
}

.dark .footer-text a {
    color: #d1d5db;
}

.footer-text a:hover {
    color: var(--primary-light);
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
}

@media (max-width: 640px) {
    .bottom-nav {
        display: flex;
    }
}

/* Sidebar */
.sidebar {
    display: none;
}

@media (max-width: 640px) {
    .sidebar {
        display: block;
    }

    .sidebar.-translate-x-full {
        transform: translateX(-100%);
    }

    .sidebar {
        transform: translateX(0);
    }
}

/* Animasi Bounce */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slowerBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-slowerBounce {
    animation: slowerBounce 2s ease infinite;
}

/* Animasi Running Logo Di Welcome Page */
/* PARTNER KAMI */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-15%); /* KECEPATAN ANIMASI */
    }
}

.animate-scroll-left {
    animation: scroll-left 30s linear infinite;
    display: flex;
    width: max-content;
    will-change: transform;
}

.animate-scroll-left:hover {
    animation-play-state: paused;
}

/* Pastikan tidak ada gap atau space yang menyebabkan putus */
.partner-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partner-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Smooth transition untuk hover */
.partner-logo {
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* PRELOADER */
/* Untuk delay animasi */
[animation-delay\.1s] {
    animation-delay: 0.1s;
}
[animation-delay\.2s] {
    animation-delay: 0.2s;
}
[animation-delay\.3s] {
    animation-delay: 0.3s;
}
