/* ============================================
   JomMakanSate.my — Design System & Styles
   "Peanut Sauce Brown" Theme
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Peanut Sauce / Satay Color Palette */
  --bg-primary: #1A0F08;
  /* Very dark brown/black */
  --bg-secondary: #0A0503;
  /* Near black */
  --bg-warm: #C85A17;
  /* Warm deep orange/brown for sections */
  --bg-card: #FAF3E6;
  /* Light cream for cards inside warm sections */
  --bg-card-dark: #2A170A;
  /* Dark brown for cards in dark sections */

  --accent-start: #D9691C;
  --accent-mid: #B34700;
  --accent-end: #8C3300;
  --accent-gradient: linear-gradient(135deg, #D9691C, #B34700, #8C3300);
  --accent-gradient-hover: linear-gradient(135deg, #F07E2B, #C75810, #A6440D);
  --bg-gradient-brown: linear-gradient(135deg, #A83310, #631C05);

  --text-primary: #F5F5F5;
  --text-dark: #331A08;
  /* For text on light backgrounds */
  --text-secondary: #D4BCA9;
  --text-muted: #8F7664;

  --border-radius-card: 16px;
  --border-radius-btn: 30px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.2);

  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

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

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* ── Ticker ── */
.ticker-wrap {
  background: #D32F2F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 101;
}

.ticker-label {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 0 20px 20px 0;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.ticker-track {
  display: inline-block;
  animation: ticker-scroll 35s linear infinite;
  padding-left: 150px;
}

.ticker-track span {
  font-size: 12px;
  color: #FFFFFF;
  padding: 0 30px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── Navbar ── */
.site-header {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(42, 19, 5, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px 8px 24px;
  border-radius: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
  width: max-content;
  max-width: 95vw;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

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

.nav-logo img {
  height: 45px;
  max-height: 45px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  color: #D4BCA9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  background: rgba(255, 179, 0, 0.1);
  color: #FFB300;
  box-shadow: none;
}

.nav-login-btn {
  background: transparent;
  color: #D4BCA9;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* Ensure all other sections scroll over the fixed hero background */
section:not(#hero),
footer {
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 8px 8px 8px 24px;
  border-radius: 50px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-icon {
  color: #666;
  margin-right: 12px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-family: var(--font-primary);
  background: none;
}

.search-bar input::placeholder {
  color: #999;
}

.hero-action .btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(217, 105, 28, 0.4);
}

.hero-action .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(217, 105, 28, 0.6);
}

/* ── Sections Common ── */
.section-warm {
  background-color: #D94814;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23000000' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  padding: 80px 24px;
  animation: slidePattern 20s linear infinite;
  /* Increased default speed for better mobile visibility */
  position: relative;
}

@keyframes slidePattern {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 400px 400px;
  }
}

/* Rich satay/peanut orange */
.section-dark {
  background: var(--bg-primary);
  padding: 80px 24px;
}

.section-dark-cta {
  background: #381508;
  padding: 60px 24px;
}

/* Dark reddish brown for CTA */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
}

.section-heading-white {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
}

/* ── Vendor Pilihan Horizontal Cards ── */
.vendor-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.vendor-h-card {
  display: flex;
  align-items: center;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%232A1305"/></svg>'), #2A1305;
  border-radius: 20px;
  padding: 20px;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 1px solid rgba(255, 150, 100, 0.1);
}

.vendor-h-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
  background-size: 20px 20px;
}

.vendor-h-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 150, 100, 0.3);
}

.vendor-h-avatar {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.vendor-h-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #F07E2B;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: block;
}

.placeholder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  border: 4px solid #F07E2B;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.vendor-h-info {
  flex: 1;
  z-index: 2;
}

.vendor-stars {
  color: #FFB300;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.vendor-stars-bottom {
  color: #FFB300;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 4px;
}

.vendor-h-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.vendor-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 179, 0, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #FFB300;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 0 8px rgba(255, 179, 0, 0.05);
}

.vendor-hours-badge i {
  font-size: 14px;
}

.vendor-h-action {
  z-index: 2;
  flex-shrink: 0;
}

.btn-small {
  background: #D94814;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid #fff;
}

.btn-small:hover {
  background: #fff;
  color: #D94814;
}

/* ── Premium Promo Card Placeholder ── */
.premium-promo-card {
  border: 2px dashed rgba(255, 179, 0, 0.4);
  background: rgba(42, 19, 5, 0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.premium-promo-card::before {
  opacity: 0.05;
}

.premium-promo-card:hover {
  transform: scale(1.05);
  border-color: rgba(255, 179, 0, 0.9);
  box-shadow: 0 16px 40px rgba(255, 179, 0, 0.2), inset 0 0 20px rgba(255, 179, 0, 0.1);
  background: rgba(42, 19, 5, 0.9);
}

.promo-avatar {
  border-color: rgba(255, 179, 0, 0.5);
  color: #FFB300;
  background: transparent;
  font-weight: 300;
  font-size: 40px;
  transition: var(--transition);
}

.premium-promo-card:hover .promo-avatar {
  background: rgba(255, 179, 0, 0.1);
  transform: rotate(90deg);
}

.promo-text-glow {
  color: #FFB300;
  transition: var(--transition);
}

.premium-promo-card:hover .promo-text-glow {
  text-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

.btn-promo-cta {
  background: transparent;
  color: #FFB300;
  border: 1px solid #FFB300;
}

.btn-promo-cta:hover {
  background: #FFB300;
  color: #2A1305;
}

/* ── Vendor Details Panel ── */
.vendor-card-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.vendor-h-card {
  z-index: 2;
  /* Keep card on top of the pull-down details */
  position: relative;
}

.vendor-details-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: max-height 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    opacity 0.4s ease,
    transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    padding 0.4s ease;
  background: var(--bg-card-dark);
  border-radius: 0 0 20px 20px;
  padding: 0 30px;
  border: 1px solid rgba(255, 150, 100, 0.1);
  border-top: none;
  margin-top: -15px;
  /* overlaps slightly with card */
  z-index: 1;
}

.vendor-details-panel.open,
.vendor-card-container:hover .vendor-details-panel {
  max-height: 2500px;
  opacity: 1;
  transform: translateY(0) scale(1);
  padding: 40px 30px 30px 30px;
}

.details-content h4 {
  color: #FFB300;
  margin-bottom: 12px;
  margin-top: 24px;
}

.details-content h4:first-child {
  margin-top: 0;
}

.details-content p {
  color: #D4BCA9;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 0.3s;
}

.icon-link:hover {
  transform: translateY(-3px) scale(1.05);
}

.maps-link {
  background: linear-gradient(135deg, #EA4335, #C5221F);
  box-shadow: 0 6px 15px rgba(234, 67, 53, 0.3);
}

.wa-link {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.details-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.details-list li {
  margin-bottom: 20px;
  color: #D4BCA9;
  font-size: 14px;
  line-height: 1.6;
}

.details-list li strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.details-divider {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

/* ── Split Layout (Kenapa Pilih Kami) ── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-collage {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #2A1305;
  border: 4px solid #D94814;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: absolute;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.c1 {
  top: 20px;
  left: 20%;
  z-index: 1;
}

.c2 {
  top: 60px;
  right: 20%;
  z-index: 2;
  width: 120px;
  height: 120px;
  font-size: 50px;
}

.c3 {
  bottom: 20px;
  left: 30%;
  z-index: 3;
}

.c4 {
  bottom: 40px;
  right: 30%;
  z-index: 4;
  width: 90px;
  height: 90px;
}

.why-us-content {
  margin-top: 40px;
  text-align: left;
  max-width: 600px;
}

.why-us-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.why-us-list {
  color: #fff;
  font-size: 18px;
  font-family: var(--font-secondary);
  line-height: 2;
}

.why-us-list li::before {
  content: '•';
  margin-right: 12px;
  color: #2A1305;
  font-size: 24px;
  vertical-align: middle;
}

/* ── Jadi Sebahagian Dari Kami CTA ── */
.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%232A1305"/></svg>'), #2A1305;
  padding: 40px 60px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-huge-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.cta-buttons .btn-primary {
  background: #D94814;
  padding: 14px 32px;
  font-size: 14px;
  text-align: center;
  box-shadow: none;
}

.cta-buttons .btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
}

.cta-buttons .btn-secondary:hover {
  background: #fff;
  color: #2A1305;
}

/* ── Promosi & Blog ── */
.app-mockup-card {
  background: #2A1305;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-mockup-placeholder {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 200px;
  height: 400px;
  border: 12px solid #111;
  border-radius: 36px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.bg-gradient-brown {
  background: var(--bg-gradient-brown);
}

.phone-screen h4 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.phone-screen p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.app-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-social-icons i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: var(--transition);
  cursor: pointer;
}

.app-social-icons i:hover {
  background: #D94814;
}

.app-mockup-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.app-mockup-copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-card {
  aspect-ratio: 1;
  border-radius: 16px;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.blog-card.bg-brown {
  background: var(--bg-gradient-brown);
}

.blog-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.blog-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #D94814;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.blog-image {
  font-size: 64px;
  margin-bottom: auto;
  margin-top: auto;
}

.blog-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* ── Footer ── */
.site-footer {
  background: #110804;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: flex-start;
}

.footer-logo-text sup {
  font-size: 10px;
  color: #D94814;
  margin-left: 2px;
}

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

.footer-links-row a {
  font-size: 13px;
  color: #D4BCA9;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links-row a:hover {
  color: #fff;
}

/* ── Autocomplete / Search Dropdown ── */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 8px;
  overflow: hidden;
  z-index: 10;
  color: #331A08;
  text-align: left;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.search-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-dropdown-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-dropdown-item:last-child {
  border-bottom: none;
}

.search-dropdown-item:hover {
  background: #fff3e0;
}

.search-dropdown-name {
  font-weight: 700;
  font-size: 15px;
  color: #331A08;
}

.search-dropdown-location {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.search-no-results {
  padding: 16px;
  text-align: center;
  color: #D32F2F;
  font-weight: 600;
}

/* Highlight Animation */
@keyframes highlight-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 72, 20, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 20px 10px rgba(217, 72, 20, 0.3);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }
}

.highlight-card {
  animation: highlight-pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-color: #D94814 !important;
}

/* ── Pricing & Packages ── */
.pricing-section-title {
  font-size: 32px;
  color: #fff;
  text-align: center;
  margin: 60px 0 40px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.pricing-card {
  background: #2A1305;
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 179, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #FFB300;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #FFB300;
  color: #2A1305;
  font-weight: 800;
  padding: 8px 20px;
  border-bottom-left-radius: 20px;
  font-size: 14px;
}

.pricing-title {
  font-size: 24px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 40px;
  color: #FFB300;
  font-weight: 900;
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 16px;
  color: #D4BCA9;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.pricing-features li {
  color: #D4BCA9;
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li i {
  color: #25D366;
  margin-top: 4px;
}

.maklumat-tambahan {
  background: rgba(42, 19, 5, 0.6);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid #D94814;
}

.maklumat-tambahan h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.maklumat-tambahan ul {
  color: #D4BCA9;
  padding-left: 20px;
  line-height: 1.8;
}

.maklumat-tambahan ul li {
  margin-bottom: 8px;
}

/* ── Rakan Niaga Custom Layouts ── */
.rn-split-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .rn-split-layout {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }
}

.rn-text-col {
  flex: 1;
}

.rn-image-col {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.rn-image-container {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 179, 0, 0.2);
  position: relative;
}

.rn-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rn-image-container:hover img {
  transform: scale(1.05);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-primary);
  padding: 60px 24px 140px;
  /* Big bottom padding so navbar doesn't cover footer! */
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-links-row {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links-row a {
  color: #D4BCA9;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links-row a:hover {
  color: #FFB300;
}

/* Global Footer Login */
.mobile-footer-login {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.mobile-footer-login .nav-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(217, 72, 20, 0.4);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: auto;
}

.mobile-footer-login .nav-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 72, 20, 0.6);
}

/* ── Responsive ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-logo img {
    height: 38px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: auto;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: rgba(26, 15, 8, 0.98);
    padding: 10px;
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-link {
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 42px);
    /* Tighter scaling and smaller max size for mobile */
    line-height: 1.15;
  }

  .hero-content {
    padding: 0 20px;
  }

  .vendor-horizontal-grid {
    grid-template-columns: 1fr;
  }

  .cta-huge-title {
    font-size: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

/* ── Vendor Card Uniform Height ── */
.vendor-horizontal-grid .vendor-card-container:not(.promo-placeholder)>.vendor-h-card {
  min-height: 120px;
  align-items: center;
}

.vendor-detail-image {
  margin: 12px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.vendor-detail-image img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vendor-detail-image:hover img {
  transform: scale(1.05);
}

/* ── Blog Uniform Card Design ── */
.blog-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card-uniform {
  display: block;
  background: rgba(42, 19, 5, 0.6);
  border: 1px solid rgba(255, 150, 100, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
}

.blog-card-uniform:hover {
  border-color: rgba(255, 179, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-card-uniform:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 5, 3, 0.9), transparent);
}

.blog-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 19, 5, 0.8);
}

.blog-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #D94814, #FFB300);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(217, 105, 28, 0.4);
}

.blog-card-author {
  position: absolute;
  bottom: 10px;
  left: 14px;
  color: #FFB300;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-body {
  padding: 16px 18px;
}

.blog-card-title {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.3s;
}

.blog-card-uniform:hover .blog-card-title {
  color: #FFB300;
}

.blog-card-excerpt {
  font-size: 13px;
  color: #D4BCA9;
  line-height: 1.5;
  margin-bottom: 10px;
}

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

.blog-card-date {
  font-size: 12px;
  color: rgba(212, 188, 169, 0.5);
}

.blog-card-link {
  font-size: 12px;
  font-weight: 700;
  color: #FFB300;
  transition: transform 0.3s;
}

.blog-card-uniform:hover .blog-card-link {
  transform: translateX(4px);
}

/* ── Image Carousel ── */
.jms-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 450px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 150, 100, 0.15);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 5, 3, 0.9), transparent);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  padding: 40px 24px 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #FFB300;
  width: 24px;
  border-radius: 5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(42, 19, 5, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 150, 100, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(217, 105, 28, 0.8);
  border-color: rgba(255, 179, 0, 0.5);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

@media (max-width: 768px) {
  .jms-carousel {
    height: 250px;
    border-radius: 14px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .blog-card-img {
    height: 140px;
  }
}