/* Reset & Base */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      overflow-x: hidden;
      background: #ffd33d;
      min-height: 100vh;
      color: #333;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 30px;
    }

    html {
      scroll-behavior: smooth;
    }

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 211, 61, 0.1);
  color: #ffd33d;
}

/* Animation for hamburger icon */
.hamburger i {
  transition: transform 0.3s ease;
}

.hamburger.active i {
  transform: rotate(90deg);
}

/* Overlay to close menu when clicking outside */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  display: none;
}

.nav-overlay.show {
  display: block;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

.site-footer {
  background-color: #222; /* Hitam gelap sikit */
  color: #ccc; /* Kelabu lembut */
  padding: 20px 15px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer p {
  margin: 5px 0;
  line-height: 1.6;
}

.site-footer p:first-child {
  font-weight: 600;
  color: #eee; /* Putih sikit untuk highlight copyright */
}

/* Premium Alert Style */
.premium-alert {
    position: relative;
    padding: 18px 20px 18px 50px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.5s ease forwards;
}

.premium-alert.success {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    color: #fff;
}

.premium-alert.error {
    background: linear-gradient(135deg, #ff5858, #f857a6);
    color: #fff;
}

.premium-alert::before {
    content: '';
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    background-size: cover;
}

.premium-alert.success::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.17l-3.88-3.88L4 13.41 9 18.41l12-12-1.41-1.42z"/></svg>');
}

.premium-alert.error::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15h-1v-1h1v1zm0-4h-1V7h1v6z"/></svg>');
}

@keyframes slideDown {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0; /* Kurangkan dari 20px jadi 12px */
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 211, 61, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 80px; /* Kurangkan dari 80px jadi 65px */
}

.header-content {
  max-width: 1600px; /* Lebarkan dari 1400px jadi 1600px */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px; /* Kurangkan dari 30px jadi 20px */
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.logo a:hover img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.lang-switch {
  font-size: 14px !important;
  padding: 4px 0 !important;
  opacity: 0.7;
}

.lang-switch:hover {
  opacity: 1;
  color: #ffd33d;
}

.lang-switch.active-lang {
  top: 1px;
  font-weight: bold;
  color: #000 !important;
  border-bottom: 2px solid #000;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: #ffd33d;
  transform: translateY(-1px);
}

.login-btn {
  background: linear-gradient(135deg, #111, #333);
  color: #fff !important;
  padding: 10px 22px !important; /* kecikkan sikit dari 14x28 */
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transition: all 0.5s ease;
  z-index: 0;
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #000, #222);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ===== RESPONSIVE STYLES ===== */
/* Desktop & Large Tablets - No changes */
@media (max-width: 992px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap; /* Prevent wrapping */
    max-width: 100%;
    padding: 0 20px;
  }
  
  .nav-links {
    gap: 25px;
  }
  
  .nav-links a {
    font-size: 16px;
  }
}

/* Mobile & Small Tablets */
@media (max-width: 768px) {
  /* Show hamburger on mobile */
  .hamburger {
    display: block;
  }
  
  /* Header adjustments */
  .main-header {
    padding: 15px 0 !important;
    min-height: 70px;
  }
  
  .header-content {
    flex-direction: row; /* Keep horizontal layout */
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: nowrap; /* Don't wrap */
  }
  
  .logo img {
    height: 35px;
  }
  
  /* HIDE nav links by default on mobile */
  .nav-links {
    position: fixed;
    top: 70px; /* Height of mobile header */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 211, 61, 0.3);
    
    /* Hidden by default */
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    
    /* Full width */
    width: 100%;
    gap: 15px;
    z-index: 999;
  }
  
  /* Show nav when hamburger clicked */
  .nav-links.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Style nav links on mobile */
  .nav-links a {
    padding: 12px 0 !important;
    font-size: 16px !important;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links a:hover {
    background: rgba(255, 211, 61, 0.1);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
  }
  
  /* Login button on mobile */
  .login-btn {
    margin-top: 10px;
    align-self: center;
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  /* Language switches */
  .lang-switch {
    font-size: 14px !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .header-content {
    padding: 0 15px;
  }
  
  .nav-links {
    top: 65px; /* Adjust for smaller header */
    padding: 15px;
  }
  
  .nav-links a {
    font-size: 15px !important;
    padding: 10px 0 !important;
  }
}

/* Hero Section - Fix for mobile/tablet overlap */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 30px 50px; /* Keep desktop padding */
  background: linear-gradient(135deg, #ffd33d 0%, #ffb347 25%, #ff8c42 50%, #ffd33d 75%, #ffeb3b 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #333;
  overflow: hidden;
  margin-top: 0; /* Remove the !important and set to 0 */
}

/* Add specific top padding/margin for different screen sizes */
@media (max-width: 992px) {
  .hero {
    padding-top: 200px; /* Adjust for tablet */
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 150px; /* Account for mobile header height (70px) + extra space */
    min-height: calc(100vh - 70px); /* Subtract mobile header height */
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 85px;
    min-height: calc(100vh - 70px);
  }
}

.hero-content {
  max-width: 1400px; /* Lebih besar */
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Image column lebih besar */
  gap: 80px; /* Gap lebih besar */
  align-items: center;
  z-index: 10;
  position: relative;
  width: 100%;
}

.hero-text {
  text-align: left;
  padding-right: 20px;
}

.hero h1 {
  font-size: 6rem; /* Lebih besar */
  font-weight: 800; /* Lebih bold */
  color: #333;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



.hero .subtitle {
  font-size: 2rem; /* Lebih besar */
  color: #444;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 50px;
}

/* Hero Image - Modern & Smooth */
.hero-image {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */ /* DIBUANG supaya hover tak kena cut */
  padding: 60px 0;
}

/* Gambar laptop */
.laptop-image {
  width: 100%;
  max-width: 850px;
  height: auto;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease, filter 0.4s ease;
  position: relative;
  z-index: 2;
  border-radius: 6px;
}

.laptop-image:hover {
  transform: translateY(-18px) scale(1.05);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

/* Glow effect belakang image */
.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Overlay image */
.overlay-image {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* lebih besar */
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 3;
  opacity: 0;
  transition: all 0.8s ease;
}

/* Bila aktif */
.overlay-image.active {
  opacity: 1;
  animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
  0% {
    transform: translateX(50%) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .laptop-image {
    max-width: 90%;
  }

  .overlay-image {
    width: 95%;
    top: 20px;
  }

  .cta-buttons {
    justify-content: center;
    gap: 20px;
  }

  .hero-text {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .laptop-image {
    max-width: 96%;
  }

  .overlay-image {
    max-width: 96%;
  }
}

/* Floating Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  background: rgba(255, 255, 255, 0.08);
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}
.triangle {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(255, 255, 255, 0.15);
  animation: rotate 8s linear infinite;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Buttons */

.btn-premium {
  background: #111;
  color: #fff;
  padding: 14px 34px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-premium i {
  font-size: 16px;
  color: inherit;
}

/* Hover effect: glossy shine */
.btn-premium:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Active effect */
.btn-premium:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(45deg, #333, #555);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 15px 30px;
  border: 2px solid rgba(51, 51, 51, 0.2);
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #333;
}

.btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Features Section - Fix for mobile/tablet content overflow */
.features {
  background: #f9f9f9;
  /* Remove fixed height and overflow hidden for mobile/tablet */
  min-height: 100vh; /* Use min-height instead of height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 60px; /* Add proper padding instead of relying on overflow hidden */
}

/* Desktop specific styling */
@media (min-width: 1024px) {
  .features {
    height: 100vh; /* Keep fixed height only on desktop */
    overflow: hidden; /* Keep overflow hidden only on desktop */
    padding: 0 20px; /* Reset padding on desktop */
  }
}

.features .container {
  width: 100%;
  max-width: 1600px;
  padding: 0 20px;
  margin-top: 0; /* Remove excessive margin-top on mobile */
}

/* Adjust container margin for different screen sizes */
@media (min-width: 1024px) {
  .features .container {
    margin-top: 100px; /* Only add margin-top on desktop */
  }
}

@media (max-width: 768px) {
  .features {
    min-height: auto; /* Let content determine height on mobile */
    padding: 60px 15px 40px; /* Reduce padding on mobile */
  }
  
  .features .container {
    padding: 0 15px;
  }
  
  .features h2 {
    font-size: 2rem; /* Smaller title on mobile */
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px; /* Reduce margin */
  }
  
  .features-grid {
    gap: 20px; /* Reduce gap between cards on mobile */
  }
  
  .baring-wrapper {
    margin: 30px 0 20px; /* Reduce margins */
    transform: translateX(0px); /* Move left on mobile */
  }
  
  .baring-img {
    transform: none !important; /* Remove desktop translateX(90px) on mobile */
  }
  
  .logo-slider-wrapper {
    padding: 30px 0; /* Reduce padding */
  }
}

.features h2 {
  font-size: 2.5rem;
  color: #1c1c1e;
  margin-bottom: 10px;
}


/* Baring Image */
.baring-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:40px 0 10px;     /* ruang atas bawah */
}
.baring-img {
  max-width: 600px !important; /* besar lagi */
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.15));
  transition: transform .3s ease, filter .3s ease;
  transform: translateX(90px); /* gerak kanan sikit */
}

@media (max-width:768px){
  .baring-img{ max-width:250px; }
}

/* optional: jarakkan sikit slider dari gambar */
.logo-slider-wrapper{ margin-top:10px; }

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
  align-items: stretch;
}


.feature-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Color backgrounds pastel */
.bg-blue { background: #66c3ff; }
.bg-yellow { background: #ffe177; color: #444; }
.bg-purple { background: #bcaeff; }
.bg-teal { background: #7ed6df; }
.bg-orange { background: #ffb86b; }
.bg-pink { background: #ff8fa3; }
.bg-green { background-color: #2ecc71; color: white;
}


.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}


.logo-slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 50px 0;
  position: relative;
}

.logo-slider-container {
  position: relative;
  overflow: hidden;
}

.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: scrollLogos 30s linear infinite;
  will-change: transform;
}

.logo-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  height: 60px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.logo-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Pause on hover */
.logo-slider-container:hover .logo-slider-track {
  animation-play-state: paused;
}

/* Prev/Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  transition: 0.3s ease;
}

.slider-btn:hover {
  background: #000;
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* PRICING SECTION - Fix for mobile/tablet content overflow */
.pricing {
  background: #f9f9f9;
  /* Remove fixed height and overflow hidden for mobile/tablet */
  min-height: 100vh; /* Use min-height instead of height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 60px; /* Add proper padding instead of relying on overflow hidden */
}

/* Desktop specific styling */
@media (min-width: 1024px) {
  .pricing {
    height: 100vh; /* Keep fixed height only on desktop */
    overflow: hidden; /* Keep overflow hidden only on desktop */
    padding: 0 20px; /* Reset padding on desktop */
  }
}

.pricing .container {
  width: 100%;
  max-width: 1600px;
  padding: 0 20px;
  margin-top: 0; /* Remove excessive margin-top on mobile */
}

/* Adjust container margin for different screen sizes */
@media (min-width: 1024px) {
  .pricing .container {
    margin-top: 150px; /* Only add margin-top on desktop */
  }
}

@media (max-width: 768px) {
  .pricing {
    min-height: auto; /* Let content determine height on mobile */
    padding: 60px 15px 40px; /* Reduce padding on mobile */
  }
  
  .pricing .container {
    padding: 0 15px;
  }
  
  .pricing h2 {
    font-size: 2rem; /* Smaller title on mobile */
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px; /* Reduce margin */
  }
  
  /* Stack pricing cards on mobile */
  .pricing-grid {
    grid-template-columns: 1fr !important; /* Force single column on mobile */
    gap: 20px; /* Reduce gap between cards */
  }
  
  /* Adjust pricing cards for mobile */
  .price-card-v2 {
    margin: 0 auto;
    max-width: 350px; /* Limit card width on mobile */
  }
  
  /* Adjust pricing CTA buttons for mobile */
  .pricing-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary.btn-large,
  .btn-secondary.btn-large {
    padding: 14px 30px; /* Smaller buttons on mobile */
    font-size: 16px;
  }
}


.pricing h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

/* ===== PRICING (clean + center) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1600px;
  margin: 0 auto 50px;
  align-items: start; /* ✅ Tambah ni */
}



.price-card-v2 {
  position: relative; /* penting supaya ribbon ikut card */
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.price-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.ribbon {
  position: absolute;
  top: 15px;
  right: -50px;
  background: #ffb400; /* kuning */
  color: #000;
  padding: 6px 50px;
  font-size: 14px;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  visibility: visible; /* sentiasa visible */
  z-index: 10; /* pastikan atas semua elemen */
}

.ribbon i {
  margin-right: 4px;
  font-size: 16px;
  color: #000; /* hijau tick */
}


/* Header (ungu) */
.price-header {
  background: #6c4cf2;
  color: #fff;
  text-align: center;
  padding: 26px 0 22px; /* buang padding kiri/kanan */
}

.price-icon { font-size: 40px; margin-bottom: 8px; }
.price-header h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }

/* ===== PRICE LINES =====
   Wrapper utk setiap baris harga (old / new)  */
   .price-amount-center {
    display: flex;
    justify-content: center;   /* kekal center */
    position: relative;
    margin: 0;                 /* jangan tolak kiri/kanan */
  }

/* Old price bar (biru gelap full width) */
.price-amount-center.old {
  width: 100%;            /* penuh ikut card */
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.price-wrapper.old {
  width: 100%;
  background: #167FE0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;        /* anchor utk currency absolute */
  border-radius: 0;
  gap: 8px;
}

/* New price line (tanpa bar) */
.price-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;        /* anchor utk currency absolute */
  gap: 8px;
  margin-top: 12px;
}

/* Currency (RM) – keluar kiri sikit & naik sedikit */
.price-wrapper .currency{
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  opacity: .95;
  transform: translateY(-35px) translateX(-6px); /* naikkan dari -6px → -12px */
  margin-right: 4px;
}


.price-wrapper.old .currency {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  opacity: .95;
  transform: translateY(-19px) translateX(-6px); /* naikkan dari -6px → -12px */
  margin-right: 4px;
}


/* Price number */
.price-wrapper .price {
  font-size: 60px;           /* besar & jelas */
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

/* Strike (old price line merah terang, senget & tebal) */
.price.strike { position: relative; }
.price.strike::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 4px; /* Tebalkan garisan */
  background: rgb(220, 38, 38); /* Tailwind red-600 */

  transform: rotate(-8deg);
}



/* Period (Per Year) – kecil, duduk bawah kanan nombor */
.price-wrapper .period {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  opacity: .95;
  position: relative;
  top: -5px;      /* naik bagi rapat paras nombor */
  margin-left: 6px;
}


.price-wrapper.old .period {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  opacity: .95;
  position: relative;
  top: 15px;      /* naik bagi rapat paras nombor */
  margin-left: 6px;
}

/* Offer text */
.price-desc {
  font-size: 14px;
  margin-top: 14px;
  color: #fff;
  opacity: .95;
}

/* Responsive tweak */
@media (max-width: 420px) {
  .price-wrapper .price { font-size: 52px; }
  .price-wrapper .period { top: -10px; }
  .price-wrapper .currency { left: -18px; }
}

/* FEATURES */
.price-features {
  background: white;
  padding: 20px;
}

.price-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-features li {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f0;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features i {
  margin-right: 8px;
  font-size: 18px;
}

.text-success {
  color: #22c55e !important;
}

.text-danger {
  color: #ef4444 !important;
}

/* CTA Buttons */
.pricing-cta {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .price-amount {
    font-size: 28px;
  }
  .price-icon {
    font-size: 35px;
  }
}

.btn-primary.btn-large,
.btn-secondary.btn-large {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* shadow standard */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-primary.btn-large:hover,
.btn-secondary.btn-large:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); /* shadow lebih gelap bila hover */
  transform: translateY(-3px); /* naik sikit bila hover */
}

/* Contact Section */
/* Contact Section - Fix for mobile/tablet */
.contact-premium {
  background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
  min-height: 100vh;
  padding: 60px 0 40px; /* Reduce padding on all devices */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-premium .container {
  max-width: 1200px;
  margin-top: 0 !important; /* Remove excessive margin-top */
  padding: 0 20px; /* Reduce padding */
}

/* Contact title - responsive sizing */
.contact-title {
  text-align: center;
  font-size: 3rem; /* Reduce from 5rem */
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  margin-top: 0; /* Remove negative margin */
}

/* Contact grid responsive */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px; /* Reduce gap */
  margin-top: 40px; /* Reduce margin */
  align-items: center;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .contact-premium {
    min-height: auto; /* Let content determine height */
    padding: 40px 0 30px; /* Reduce padding further on mobile */
  }
  
  .contact-premium .container {
    padding: 0 15px;
  }
  
  .contact-title {
    font-size: 2rem; /* Much smaller on mobile */
    margin-bottom: 10px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 25px;
    margin-top: 30px;
  }
  
  /* Adjust contact cards for mobile */
  .contact-card {
    padding: 25px 20px; /* Reduce padding */
    border-radius: 15px;
  }
  
  .contact-icon {
    width: 100px; /* Smaller icon */
    height: 100px;
    font-size: 4rem !important; /* Smaller icon font */
  }
  
  /* Contact card content spacing */
  .contact-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
  }
  
  .contact-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  /* WhatsApp button on mobile */
  .btn-premium {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .contact-title {
    font-size: 1.6rem; /* Even smaller on very small screens */
  }
  
  .contact-card {
    padding: 20px 15px;
  }
  
  .contact-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem !important;
  }
}

/* Default - desktop */
.contact-decor {
  position: absolute;
  bottom: 20px;
  right: 0px;
  width: 200px;
  max-width: 40%;
  pointer-events: none;
}

/* Hide on tablet & mobile */
@media (max-width: 1024px) {
  .contact-decor {
    display: none;
  }
}

/* Contact Form CSS - Replace Bootstrap classes with custom styling */

/* Form spacing */
.mb-3 {
  margin-bottom: 1rem;
}

/* Form controls (inputs, textarea) */
.form-control {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #6c4cf2;
  box-shadow: 0 0 0 4px rgba(108, 76, 242, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: #999;
  opacity: 1;
}

/* Form labels */
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

/* Textarea specific */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Button styling */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, #6c4cf2, #5a3ce8);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(108, 76, 242, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a3ce8, #4829d4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108, 76, 242, 0.4);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(108, 76, 242, 0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 10px;
}

/* Full width button */
.w-100 {
  width: 100% !important;
}

/* Contact form specific styling */
.contact-card form {
  display: flex;
  flex-direction: column;
  gap: 0; /* Remove gap since we use .mb-3 for spacing */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .form-control {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .btn-lg {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .mb-3 {
    margin-bottom: 0.75rem;
  }
}


.contact-premium::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 211, 61, 0.15);
  border-radius: 50%;
  top: -60px;
  left: -60px;
}

.contact-premium::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(108, 76, 242, 0.1);
  border-radius: 50%;
  bottom: -50px;
  right: -50px;
}


@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* mobile tetap 1 column */
  }
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem!important;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
}

.feedback-form-premium {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feedback-form-premium input,
.feedback-form-premium textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #eee;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-form-premium input:focus,
.feedback-form-premium textarea:focus {
  border-color: #ffd33d;
  box-shadow: 0 0 0 4px rgba(255,211,61,0.2);
  outline: none;
}

.feedback-form-premium textarea {
  resize: none;
}

.contact-card-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;        /* center kiri-kanan */
  justify-content: center;    /* center atas-bawah */
  text-align: center;         /* center teks */
  height: 100%;               /* penuh ikut grid/parent */
}


/* Contact card premium style upgrade */
.contact-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

/* WhatsApp button special */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #1ebe57);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #1ebe57, #0f9d48);
}

/* Pulse animation for icon */
.pulse {
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Input floating focus effect */
.feedback-form-premium input,
.feedback-form-premium textarea {
  background: #fff;
  border: 2px solid #eee;
}

.feedback-form-premium input:focus,
.feedback-form-premium textarea:focus {
  border-color: #6c4cf2;
  box-shadow: 0 0 0 4px rgba(108,76,242,0.15);
}
 
/* Developer Log Section - Complete Fix */
.dev-log {
  background: linear-gradient(135deg, #eef2f3 0%, #dfe9f3 50%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px; /* Add proper padding for mobile/tablet */
  position: relative;
}

/* Desktop specific styling */
@media (min-width: 1024px) {
  .dev-log {
    padding: 0; /* Reset padding on desktop */
  }
}

.dev-log .container {
  max-width: 1200px;
  margin-top: 0; /* Remove excessive margin-top on mobile */
  padding: 0 20px; /* Reduce padding for mobile */
}

/* Desktop specific margin */
@media (min-width: 1024px) {
  .dev-log .container {
    margin-top: 30px !important; /* Only add margin-top on desktop */
    padding: 0 30px;
  }
}

.dev-log h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
}

/* === Layout utama === */
.dev-log-content {
  display: grid;
  grid-template-columns: 350px 800px; /* Keep desktop layout */
  gap: 30px;
  align-items: stretch;
  height: clamp(520px, 72vh, 820px);
}

/* Developer decoration image - HIDE on mobile/tablet */
.developer-decor {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 200px;
  max-width: 30%;
  pointer-events: none;
}

/* Hide decoration image on mobile AND tablet */
@media (max-width: 1024px) {
  .developer-decor {
    display: none !important; /* Force hide on tablet and mobile */
  }
}

/* === Panel kiri (list) === */
.news-sidebar {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #ffd33d;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 6px;
}

/* item list */
.news-item {
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  border: 1px solid #e0e0e0;
}

.news-item:hover {
  background: #ffd33d;
  transform: translateX(5px);
}

.news-item.active-news {
  background: #ffd33d;
  border-color: #ffb347;
  box-shadow: 0 3px 10px rgba(255, 211, 61, 0.3);
}

.news-item strong {
  display: block;
  color: #333;
  margin-bottom: 5px;
}

.news-item small {
  color: #666;
  font-size: 0.9rem;
}

/* === Panel kanan (details) === */
.news-details {
  background: #fff;
  border-radius: 15px;
  border: 1px solid #ffd33d;
  display: flex;
  overflow: hidden;
}

.details-column {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.details-column h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.details-column small {
  color: #666;
  font-size: 0.9rem;
}

.details-column p {
  margin-top: 20px;
  line-height: 1.6;
  color: #444;
}

.mt-3 {
  margin-top: 20px;
}

/* === Scrollbar (optional, nice touch) === */
.news-list::-webkit-scrollbar,
.details-column::-webkit-scrollbar {
  width: 8px;
}

.news-list::-webkit-scrollbar-thumb,
.details-column::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
}

.news-list:hover::-webkit-scrollbar-thumb,
.details-column:hover::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
}

/* === RESPONSIVE BREAKPOINTS === */

/* Tablet responsive (992px and below) */
@media (max-width: 992px) {
  .dev-log {
    min-height: auto; /* Let content determine height */
    padding: 60px 0 40px; /* Reduce padding on tablet */
  }
  
  .dev-log .container {
    padding: 0 20px;
  }
  
  .dev-log h2 {
    font-size: 2.2rem; /* Slightly smaller on tablet */
    margin-bottom: 35px;
  }
  
  .dev-log-content {
    grid-template-columns: 1fr; /* Stack columns */
    height: auto; /* Let content determine height */
    gap: 25px;
  }
  
  .news-sidebar,
  .news-details {
    max-height: none;
  }
  
  .news-list,
  .details-column {
    max-height: 45vh; /* Adjust scroll height for tablet */
  }
}

/* Mobile responsive (768px and below) */
@media (max-width: 768px) {
  .dev-log {
    padding: 50px 0 30px; /* Further reduce padding on mobile */
  }
  
  .dev-log .container {
    padding: 0 15px;
  }
  
  .dev-log h2 {
    font-size: 2rem; /* Smaller title on mobile */
    margin-bottom: 30px;
  }
  
  .dev-log-content {
    gap: 20px;
  }
  
  /* Adjust news sidebar for mobile */
  .news-sidebar {
    padding: 15px;
    max-height: 350px; /* Limit height on mobile */
  }
  
  .news-details {
    min-height: 300px; /* Ensure minimum height */
  }
  
  .news-item {
    padding: 12px; /* Reduce padding on mobile */
  }
  
  .details-column {
    padding: 20px; /* Reduce padding on mobile */
  }
  
  .details-column h3 {
    font-size: 1.5rem; /* Smaller heading on mobile */
  }
  
  .news-list,
  .details-column {
    max-height: 40vh; /* Further adjust scroll height for mobile */
  }
}

/* Extra small mobile (480px and below) */
@media (max-width: 480px) {
  .dev-log h2 {
    font-size: 1.8rem; /* Even smaller on very small screens */
    margin-bottom: 25px;
  }
  
  .dev-log-content {
    gap: 15px;
  }
  
  .news-sidebar {
    max-height: 280px;
    padding: 12px;
  }
  
  .news-details {
    min-height: 250px;
  }
  
  .news-item {
    padding: 10px;
  }
  
  .details-column {
    padding: 15px;
  }
  
  .details-column h3 {
    font-size: 1.3rem;
  }
}


/* CORRECT Responsive Design - Replace the old conflicting one with this */

@media (max-width: 768px) {
  /* Hero section responsive */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-text {
    padding-right: 0;
  }

  /* Other sections responsive */
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-10px);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dev-log-content {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    max-height: 300px;
  }

  .pricing-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* Add this CSS keyframe animation to your style.css file */
/* (Place it anywhere after the hero section CSS) */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}