/* Reset dan Variabel Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --background-light: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-icons a {
    color: var(--text-color);
    margin-left: 15px;
    font-size: 1.2rem;
}

/* Header Styles */
.hero-section {
    padding-top: 100px;
    background-color: var(--background-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* Product Styles */
.product-section {
    background-color: var(--white);
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-tag {
    font-weight: bold;
    color: var(--secondary-color);
    margin: 15px 0;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.buy-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Features Section */
.features-section {
    background-color: var(--background-light);
    padding: 50px 0;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-column {
    display: flex;
    flex-direction: column;
}

.link-column a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container,
    .header-content,
    .product-categories,
    .features-grid,
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        display: none;
    }

    .header-image {
        display: none;
    }
}
/* Animasi Transisi Global */
* {
    transition: all 0.3s ease;
}

/* Scroll Reveal Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover Effects */
.product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent, 
        rgba(52, 152, 219, 0.1), 
        transparent
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Button Animations */
.buy-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.buy-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255,255,255,0.2);
    transition: height 0.3s ease;
    z-index: -1;
}

.buy-button:hover::after {
    height: 100%;
}

/* Advanced Navbar Animation */
@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar.navbar-scrolled {
    animation: navSlideDown 0.5s ease;
    backdrop-filter: blur(10px);
}

/* Preloader Advanced */
@keyframes pulseLoader {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.preloader .spinner {
    animation: pulseLoader 2s infinite;
}

/* Parallax Text Effect */
.header-text h1 {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    transition: all 0.5s ease;
}

.header-text h1:hover {
    transform: scale(1.05);
    letter-spacing: 1px;
}

/* Feature Hover Effects */
.feature-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-item i {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: rotate(360deg);
}

/* Responsive Animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark Mode Transition */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}

/* Scroll Bar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}