:root {
    --primary-navy: #14213D;
    --navy-hover: #0d1629;
    --accent-orange: #EE9800;
    --orange-hover: #d68700;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-main: #14213D;
    --text-muted: #5c677d;
    --card-border: rgba(20, 33, 61, 0.08);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 20px rgba(20, 33, 61, 0.05);
    --shadow-md: 0 10px 30px rgba(20, 33, 61, 0.08);
    --shadow-lg: 0 18px 40px rgba(20, 33, 61, 0.12);
    --shadow-orange: 0 8px 25px rgba(238, 152, 0, 0.35);
}

/* General Styling */
html,
body {
    overflow-anchor: none;
    /* Mematikan intervensi browser terhadap scroll */
}

section {
  /* Ubah angka 80px sesuai dengan tinggi navbar Anda + jarak ideal */
  scroll-margin-top: 55px; 
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
.fw-bold {
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

/* Custom Utilities */
.text-orange {
    color: var(--accent-orange) !important;
}

.bg-navy {
    background-color: var(--primary-navy) !important;
}

.bg-light-custom {
    background-color: var(--bg-light) !important;
}

/* Buttons Styling */
.btn-custom {
    font-weight: 700;
    padding: 0.42rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: #ffffff;
    border: 2px solid var(--accent-orange);
}

.btn-orange:hover,
.btn-orange:focus {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

.btn-navy-outline {
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-navy-outline:hover,
.btn-navy-outline:focus {
    background-color: var(--primary-navy);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn-navy-solid {
    background-color: var(--primary-navy);
    color: #ffffff;
    border: 2px solid var(--primary-navy);
}

.btn-navy-solid:hover,
.btn-navy-solid:focus {
    background-color: var(--navy-hover);
    border-color: var(--navy-hover);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Sticky Navbar Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 33, 61, 0.06);
    transition: all 0.3s ease;
    padding: 1rem 0;
    top: 0;
    position: sticky !important;
    top: 0 !important;
    z-index: 1020;
}


.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    /* padding: 0 20px; */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    overflow: hidden;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0.5rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--accent-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    padding: 6rem 0 5rem 0;
    position: relative;
    background: radial-gradient(circle at 90% 10%, rgba(238, 152, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(20, 33, 61, 0.03) 0%, transparent 50%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: rgba(238, 152, 0, 0.12);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50px;
    border: 1px solid rgba(238, 152, 0, 0.25);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-subtext {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-img-wrapper {
    position: relative;
}

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(238, 152, 0, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: translateY(-8px);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -20px;
}

.floating-card-2 {
    bottom: 10%;
    right: -10px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Trust Banner */
.trust-banner {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(20, 33, 61, 0.05);
    border-bottom: 1px solid rgba(20, 33, 61, 0.05);
    padding: 2.5rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 33, 61, 0.06);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
    color: var(--primary-navy);
}

.trust-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Section Header Styles */
.section-tag {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 5.5rem 0;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(238, 152, 0, 0.2);
}

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

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background-color: rgba(20, 33, 61, 0.05);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--accent-orange);
    color: #ffffff;
    box-shadow: var(--shadow-orange);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Products Section */
.products-section {
    padding: 5.5rem 0;
    background-color: var(--bg-light);
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, #EE9800, #ffb733);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(238, 152, 0, 0.4);
    letter-spacing: 0.05em;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-orange);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    display: block;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.product-price-wrapper {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed rgba(20, 33, 61, 0.12);
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-navy);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.product-price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.925rem;
    color: var(--text-muted);
}

.product-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Bottom CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0d172a 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(238, 152, 0, 0.25) 0%, rgba(20, 33, 61, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(20, 33, 61, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #0b1324;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.925rem;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.875rem;
}

/* Animation Styles (Intersection Observer) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.35rem;
    }

    .hero-section {
        padding: 4rem 0 3rem 0;
        text-align: center;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img-wrapper {
        margin-top: 3rem;
    }

    #hero-img {
        display: none;
    }

    .floating-card-1 {
        left: 0;
    }

    .floating-card-2 {
        right: 0;
    }


    .navbar {
        min-height: 58px;
        padding-bottom: 12px;
    }

/* 1. Paksa bungkus menu menciut pas seukuran teks */
    .nav-link {
        width: max-content !important;
        position: relative;
    }

    /* 2. Atur ulang animasi garis khusus di mobile */
    .nav-link::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        transition: all 0.3s ease;
    }

    /* 3. Garis melebar 100% pas mengikuti panjang teks menu */
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100% !important;
    }

    #quick-stats{
        justify-content: space-around;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}