/* ========== Ticker (uses MYDS tokens) ========== */

#ticker-wrapper {
  overflow: hidden;
  width: 100%;
  background: var(--bg-default);
  padding: 20px 0;
  border-top: 1px solid var(--otl-default);
  border-bottom: 1px solid var(--otl-default);
  display: block;
}

#ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-nonstop 30s linear infinite;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

#ticker-track:hover {
  animation-play-state: paused;
}

#ticker-track img {
  height: 80px;
  width: auto;
  margin: 0 40px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
  object-fit: contain;
  display: block;
  transform: translateZ(0);
}

#ticker-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-nonstop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== Hero (uses MYDS tokens) ========== */

.hero-gradient {
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-soft) 100%);
}

.hero-card {
  background: var(--bg-default);
  border-radius: var(--radius-lg);
  max-width: 1100px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(2rem, 2.2vw + 1.2rem, 3rem);
}

.hero-desc {
  color: var(--txt-muted);
  font-size: clamp(1rem, 0.6vw + 0.95rem, 1.15rem);
  line-height: 1.6;
}

.stat-top {
  font-size: 1.6rem;
  color: var(--txt-default);
}

.stat-bottom {
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.25;
  margin-top: .25rem;
}

/* Use MYDS button tokens */

.hero-btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #fff;
  background-color: var(--brand-600);
  border: 1px solid transparent;
}

.hero-btn:hover {
  background-color: var(--brand-700);
}

/* Pricing */

.hero-price {
  font-size: 1.5rem;
  color: var(--txt-default);
}

.hero-price-old {
  font-size: 1rem;
  color: var(--txt-muted);
}

/* Right media panel */

/* Gradient boleh kekal (ini visual layer). Jika mahu MYDS brand flavour,
   boleh tweak hue jadi dekat brand biru #0085c2 later. */

.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at 25% 25%, rgba(120, 200, 255, 0.95), rgba(120, 200, 255, 0) 60%), radial-gradient(circle at 85% 25%, rgba(160, 230, 255, 0.85), rgba(160, 230, 255, 0) 60%), linear-gradient(135deg, #0b2a4a, #7dd3fc);
  min-height: 320px;
}

/* Jika letak <img class="hero-img"> dalam hero-media */

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

/* Overlay icon */

.hero-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

