:root {
  /* High-end Color Palette */
  --primary: #0F172A; /* Deep Navy */
  --accent: #E11D48;  /* Sophisticated Rose/Red */
  --accent-soft: rgba(225, 29, 72, 0.1);
  --blue-vibrant: #2563EB;
  --secondary: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-main: #F9FAFB;
  --bg-card: #FFFFFF;
  
  /* Modern Elements */
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 30px 40px -10px rgba(0, 0, 0, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAVBAR - Floating Style */
.navbar {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), 
              padding 0.5s var(--ease), 
              border-color 0.5s var(--ease), 
              box-shadow 0.5s var(--ease);
  will-change: background, padding, box-shadow;
  padding: 1.25rem 0;
}

/* State saat di-scroll */
.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.7rem 0;
  border-bottom-color: rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.5s var(--ease);
  will-change: height, filter;
}

.navbar:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}

.navbar.scrolled .logo img {
  filter: none;
  height: 65px;
}

.nav-links li a {
  font-weight: 600;
  color: #FFFFFF !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Icons inside nav links (like chevron) */
.nav-links li a i {
  color: inherit;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.navbar.scrolled .nav-links li a {
  color: var(--text-main) !important;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #FFFFFF !important;
}

.navbar.scrolled .nav-links li a:hover,
.navbar.scrolled .nav-links li a.active {
  color: var(--accent) !important;
}

.guest-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFFFFF !important;
  font-size: 1.1rem;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0); /* Hardware acceleration */
}

.navbar.scrolled .profile-nav-link .guest-avatar {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: var(--text-main) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none; /* Hilangkan dot */
  margin-left: auto; /* Dorong ke kanan */
  margin-right: 3rem;
}

.nav-links li a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s var(--ease);
  position: relative;
  text-decoration: none; /* Hilangkan garis bawah default */
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  order: 3; /* Ensure it's on the right */
}

/* Dropdown Support */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-md);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  list-style: none;
  border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 0.8rem 1.5rem;
  display: block;
  text-transform: none !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
  transition: all 0.2s var(--ease);
}

.dropdown-menu li a:hover {
  background: var(--bg-main);
  color: var(--accent) !important;
  padding-left: 2rem;
}

.dropdown-menu li a::after {
  display: none;
}

@media (max-width: 480px) {
  .nav-user-name {
    display: none;
  }
}

/* Nav Actions & Login Button */
.nav-actions {
  display: flex;
  align-items: center;
}

.profile-nav-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: #FFFFFF !important;
  transition: color 0.3s var(--ease);
}

.navbar.scrolled .profile-nav-link {
  color: var(--text-main) !important;
}

.profile-nav-link:hover .guest-avatar {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* HERO SECTION */
.hero {
  height: 100vh; /* Mentok atas bawah */
  margin: 0; /* Hilangkan margin agar mentok */
  border-radius: 0; /* Hilangkan curve agar kotak sempurna */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s var(--ease), transform 10s linear;
}

.hero-carousel img.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 0 2rem;
}

.hero-tag {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  letter-spacing: -2px;
}

.hero h1 span {
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn-white, .btn-outline-white {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-5px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* FEATURES SECTION */
.section-padding {
  padding: 10rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title span {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.feature-card {
  background: white;
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.5s var(--ease);
  position: relative;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-20px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-soft);
}

.feature-card .icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 10px 10px rgba(225, 29, 72, 0.15));
}

.feature-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* FOOTER - Redesigned Corporate Style */
.main-footer {
  background: #0F172A;
  color: white;
  padding-top: 6rem;
  font-size: 0.95rem;
}

.footer-top {
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 6rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.8;
  max-width: 380px;
}

.footer-contact-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
}

.contact-item i {
  color: var(--accent);
  width: 20px;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.address-group {
  margin-bottom: 2rem;
}

.address-group h4 {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.address-group p {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94a3b8;
  transition: all 0.3s var(--ease);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.hotline-item strong {
  color: var(--accent);
}

.hotline-item span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2px;
}

.footer-bottom {
  padding: 2.5rem 0;
  background: #090e1a;
  color: #64748b;
  font-size: 0.85rem;
}

/* MOBILE RESPONSIVE NAV & GLOBAL */
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 4rem 5% !important;
  }

  .navbar-container {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
  }

  .logo {
    order: 1;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
    margin-right: 1.5rem;
  }

  .menu-toggle {
    display: block;
    order: 3;
    z-index: 1002;
    color: white;
    transition: all 0.3s var(--ease);
  }

  .navbar.scrolled .menu-toggle {
    color: var(--text-main);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0F172A;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links li a {
    font-size: 1.1rem;
    font-weight: 600;
    color: white !important;
    padding: 1.2rem 5%;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .navbar.scrolled .nav-links {
    background: white;
  }

  .navbar.scrolled .nav-links li a {
    color: var(--text-main) !important;
    border-bottom-color: rgba(0,0,0,0.05);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    width: 100%;
    display: none;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem !important;
    padding: 1rem 10% !important;
    border: none !important;
  }

  .navbar.scrolled .dropdown-menu {
    background: var(--bg-main);
  }

  .navbar.scrolled .dropdown-menu li a {
    color: var(--text-muted) !important;
  }

  .menu-overlay {
    display: none !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* BUTTONS IN HERO FOR MOBILE */
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 10%;
    width: 100%;
  }

  .btn-white, .btn-outline-white {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
  }

  .hero-tag {
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
    padding: 0.4rem 1.2rem;
  }
}

/* FLEX/GRID UTILITIES FOR MOBILE */
@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 1.5rem !important;
  }
  
  .responsive-padding {
    padding: 2rem 5% !important;
  }

  .mobile-text-center {
    text-align: center !important;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-col {
    padding-left: 0 !important;
  }

  .logo img {
    height: 60px;
  }

  .navbar.scrolled .logo img {
    height: 50px;
  }
}



/* PREMIUM VALUE CARDS */
.premium-value-card {
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  z-index: 1;
}



.premium-value-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}



.value-icon-wrapper {
  width: 65px;
  height: 65px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  transition: all 0.4s var(--ease);
}

.premium-value-card:hover .value-icon-wrapper {
  transform: rotateY(180deg);
  background: var(--primary);
  color: white;
}

.premium-value-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.premium-value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}


/* PRODUCT CARD UPDATES */
.product-card-small {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(0,0,0,0.05);
}

.product-card-small:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-card-small .discover-link {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

.product-card-small:hover .discover-link {
  opacity: 1;
  transform: translateY(0);
}

/* Global Sticky Badges */
.sticky-badges {
    position: fixed;
    bottom: 40px;
    left: 2%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none; /* Allows clicking through the container space */
    
    /* Initial Hidden State */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-badges.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sticky-badge-item {
    pointer-events: auto; /* Re-enable clicks for the items */
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.p3dn-badge {
    width: 110px;
    height: 70px;
    border-radius: 14px;
    padding: 8px;
}

.inaproc-badge {
    width: 110px;
    height: 50px;
    border-radius: 25px; /* Fully rounded ends */
    padding: 6px 12px;
}

.sticky-badge-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sticky-badge-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .sticky-badges {
        bottom: 20px;
        left: 20px;
    }
    .p3dn-badge {
        width: 60px;
        height: 60px;
    }
    .inaproc-badge {
        width: 90px;
        height: 36px;
    }
}

