:root {
  --primary-white: #ffffff;
  --secondary-white: #f8fafc;
  --base-blue: #0000FF; /* Pure Blue */
  --base-blue-light: #1A1AFF;
  --base-blue-lighter: #3333FF;
  --accent-yellow: #FFB800; /* Kuning / Yellow */
  --accent-yellow-hover: #E5A600;
  --text-main: #0A192F;
  --text-muted: #475569;
  --text-light: #F8FAFC;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--primary-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--base-blue);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--base-blue);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--base-blue);
  color: var(--primary-white);
}

/* --- Navbar --- */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--base-blue);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-yellow);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--base-blue);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-yellow);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-yellow-hover);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 180px 0 140px;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 100%), 
              url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-white);
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: transparent;
  -webkit-text-stroke: 1px var(--primary-white);
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

.hero-content h1 span::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-yellow);
  width: 0;
  overflow: hidden;
  transition: width 1s ease-in-out;
  animation: fillText 3s infinite alternate;
}

@keyframes fillText {
  0% { width: 0; }
  100% { width: 100%; }
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  display: none;
}

/* --- Features (Mengapa Memilih Kami) --- */
.features {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--primary-white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--base-blue);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  color: var(--primary-white);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
}

.feature-card:hover h3, 
.feature-card:hover p {
  color: var(--primary-white);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 184, 0, 0.1);
  color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--accent-yellow);
  color: var(--primary-white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--base-blue);
  transition: var(--transition);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background-color: #fffdf2; /* Kuning tipis */
  background-image: 
    radial-gradient(var(--base-blue) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  background-attachment: fixed;
  opacity: 0.95;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--primary-white);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: var(--transition);
  border-left: 5px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-left: 5px solid var(--accent-yellow);
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.08);
}

.service-icon {
  font-size: 3rem;
  color: var(--base-blue);
  margin-bottom: 1.5rem;
}

.service-card:hover .service-icon {
  color: var(--accent-yellow);
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--base-blue);
}

.service-list {
  margin-top: 1.5rem;
}

.service-list li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: bold;
}

/* --- Products --- */
.products {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--primary-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-white);
  position: relative;
  z-index: 1;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--base-blue);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

.product-badge {
  position: absolute;
  top: -200px;
  right: 15px;
  background-color: #72E128;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-buy {
  margin-top: auto;
  text-align: center;
  width: 100%;
  padding: 12px;
  background-color: rgba(0,0,255,0.05);
  color: var(--base-blue);
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
  display: block;
  border: none;
  cursor: pointer;
}

.btn-buy:hover {
  background-color: var(--base-blue);
  color: var(--primary-white);
}

/* --- Partners / Mitra --- */
.partners {
  padding: 80px 0;
  background-color: #0b1a33; /* Biru Donker / Navy */
  position: relative;
  overflow: hidden;
}

.partners .section-title {
  color: var(--primary-white) !important;
}

.partners-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Memberikan efek gradient transparan halus di ujung kiri & kanan track logo */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  padding: 20px 0;
}

.partners-track {
  display: flex;
  gap: 5rem;
  align-items: center;
  width: max-content;
  animation: scrollPartnersStep 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes scrollPartnersStep {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-20%); }
  50%, 70% { transform: translateX(-40%); }
  75%, 95% { transform: translateX(-60%); }
  100% { transform: translateX(-80%); }
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  opacity: 0.8;
}

.partner-logo:hover {
  transform: translateY(-5px) scale(1.1);
  opacity: 1;
}

.partner-logo img {
  max-width: 150px;
  height: 45px !important;
  object-fit: contain;
}

.partner-logo span {
  color: var(--primary-white) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA Section --- */
.cta {
  padding: 100px 0;
  background-color: var(--base-blue);
  color: var(--primary-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background-color: var(--base-blue-light);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-white);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.8);
}

/* --- Footer --- */
footer {
  background-color: var(--base-blue-lighter);
  color: var(--primary-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-yellow);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ---/* --- Testimonials --- */
.testimonials-sec {
  padding: 100px 0;
  background-color: var(--primary-white);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.testi-form-bx {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.testi-slider-container {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.testi-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.testi-card {
  min-width: 100%;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.testi-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 25px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testi-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(102, 108, 255, 0.1);
  color: var(--base-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}

.testi-author h4 {
  font-size: 15px;
  color: var(--base-blue);
  margin-bottom: 3px;
}

.testi-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Pop Up Website --- */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-box {
  background: white;
  width: 90%;
  max-width: 800px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: popupShow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 38px;
  height: 38px;
  background: white;
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  z-index: 10;
}

.popup-close:hover {
  background: #FF4C51;
  color: white;
  transform: scale(1.1) rotate(90deg);
}

@keyframes popupShow {
  from { transform: scale(0.6) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

@media (min-width: 769px) {
  .popup-box {
    flex-direction: row;
    align-items: stretch;
  }
  .popup-box > img {
    width: 50% !important;
    border-radius: 20px 0 0 20px !important;
    object-fit: cover;
  }
  .popup-box > div {
    width: 50%;
  }
}

/* --- Floating WhatsApp --- */
.float-wa {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  text-decoration: none;
}

.wa-bubble {
  background-color: white;
  color: var(--base-blue);
  padding: 12px 20px;
  border-radius: 20px 20px 0 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  animation: wa-bounce 3s infinite ease-in-out;
  border: 1px solid rgba(0,0,0,0.05);
}

.wa-icon {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.4));
  animation: wa-pulse 2s infinite ease-in-out;
  transition: transform 0.3s;
}

.float-wa:hover .wa-icon {
  transform: scale(1.1) rotate(-10deg);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes wa-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0.8)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0)); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-200%);
    opacity: 0;
    transition: 0.3s ease-in-out;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mengubah display form testimoni ke column pada mobile */
  .mobile-col {
    flex-direction: column !important;
  }

  .float-wa {
    bottom: 20px;
    right: 20px;
  }

  .wa-bubble {
    display: none; /* Sembunyikan bubble text di HP agar layar tidak penuh */
  }

  .wa-icon {
    width: 55px;
    height: 55px;
  }

  .section-title {
    font-size: 2rem !important;
  }

  .about-grid, .services-grid, .products-grid {
    grid-template-columns: 1fr; /* Semua grid jadi bertumpuk / berderet kebawah di HP */
  }

  .hero {
    padding-top: 120px;
    height: auto;
    min-height: 100vh;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
