html {
  scroll-behavior: smooth;
}

/* Garis vertikal dekoratif di hero */
.hero-grid:before,
.hero-grid:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid:before {
  background: radial-gradient(
      40rem 25rem at 50% -10%,
      rgba(129, 140, 248, 0.35),
      transparent 60%
    ),
    radial-gradient(
      30rem 18rem at 10% 10%,
      rgba(16, 24, 50, 0.8),
      transparent 60%
    ),
    radial-gradient(
      30rem 18rem at 90% 20%,
      rgba(16, 24, 50, 0.8),
      transparent 60%
    );
}

.hero-grid:after {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08)
  );
  background-size: 1px 100%;
  background-repeat: repeat;
  background-position: 10%, 30%, 50%, 70%, 90%;
  mask: linear-gradient(180deg, transparent, white 20%, white 80%, transparent);
}

/* Simulasi jendela browser mockup */
.browser {
  background: linear-gradient(180deg, #0f172a, #0b1020);
}

.splide__pagination {
  position: static; /* biar di bawah slider */
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.splide__pagination__page {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: none;
  opacity: 1;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.splide__pagination__page:hover {
  background: rgba(56, 189, 248, 0.6);
  border-color: rgba(56, 189, 248, 0.9);
}

.splide__pagination__page.is-active {
  background: #38bdf8; /* sky-400 */
  border-color: #38bdf8;
  transform: scale(1.25);
}

/* Kartu mockup "device" agar mirip contoh */
.porto-card {
  width: clamp(260px, 24vw, 340px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.porto-img {
  display: block;
  width: 100%;
  height: clamp(480px, 48vh, 520px);
  object-fit: cover;
  user-select: none;
}

/* Splide arrows sedikit halus */
.splide__arrow {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.splide__arrow:hover {
  background: rgba(56, 189, 248, 0.3);
}

/* Aksesibilitas: hormati prefers-reduced-motion */
@media (min-width: 768px) {
  .splide__pagination {
    gap: 0.4rem;
  }
}

/* ====== Marquee base ====== */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    #000 10%,
    #000 90%,
    rgba(0, 0, 0, 0)
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    #000 10%,
    #000 90%,
    rgba(0, 0, 0, 0)
  );
  border-radius: 1rem;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content; /* sesuai konten */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--dur, 30s); /* fallback */
  will-change: transform;
}

.marquee:hover .marquee__track {
  /* pause saat hover */
  animation-play-state: paused;
}

/* Arah kiri->kanan & kanan->kiri */
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* konten digandakan -> loop */
}
@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.marquee--left .marquee__track {
  animation-name: marquee-left;
}
.marquee--right .marquee__track {
  animation-name: marquee-right;
}

/* Logo look */
.logo-item {
  height: 44px; /* sesuaikan */
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none !important;
  }
}

/* ====== CARD LOOK persis seperti contoh ====== */
.price-card {
  --radius: 18px;
  position: relative;
  border-radius: var(--radius);
  /* dasar gelap dengan subtle gradient */
  background: linear-gradient(180deg, #0c1430 0%, #0b1227 100%);
  /* border tipis + glow lembut */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-flex-fill {
  flex: 1 1 auto; /* fitur isi bagian tengah */
}
.renewal-note { font-style: italic; }

.card-bottom-spacer {
  flex-grow: 1; /* dorong konten lain ke atas */
}
/* garis tepi kebiru-biruan sangat halus */
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
      180deg,
      rgba(56, 189, 248, 0.12),
      rgba(56, 189, 248, 0) 20%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* padding interior konsisten */
.price-body {
  padding: 22px;
}

/* Stars dekoratif (hanya growth) */
.card-star {
  display: none !important;
}

.price-body {
  padding: 28px 22px 22px;
}

/* Badge nama paket, bentuk pill padat */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 12px; /* rounded seperti contoh */
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem; /* sesuaikan ukuran */
  line-height: 1;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(90deg, #18e1c9 0%, #3b82f6 100%);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

/* Starter: cyan → sky */
.badge[data-variant="starter"] {
  background: linear-gradient(90deg, #22d3ee 0%, #0ea5e9 100%);
}

/* Growth: biru tua → sky (seperti contoh) */
.badge[data-variant="growth"] {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}

/* Ultimate: violet → indigo */
.badge[data-variant="ultimate"] {
  background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
  color: #0d113a;
}

/* Harga: angka sangat besar, suffix di baris bawah */
.price-block {
  margin: 14px 0 10px;
}
.price-value {
  font-weight: 600;
  font-size: clamp(56px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-suffix {
  margin-top: 2px;
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 32px);
  color: #e2e8f0;
}

/* CTA pill kecil */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.95rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.12s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

/* (opsional) kalau ada .btn lain di luar card, ikut gradient juga */
a.button,
button.button {
  background: linear-gradient(90deg, #22d3ee 0%, #0ea5e9 100%);
  color: #fff;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Divider dashed */
.card-divider {
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  margin: 18px 0;
}

/* Daftar fitur */
.features {
  margin-top: 2px;
}
.feature {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.6rem;
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.96rem;
}
.feature + .feature {
  margin-top: 0.6rem;
}
.feature svg {
  margin-top: 2px;
}

/* Pills kategori (atas) */
.pill {
  border-radius: 9999px;
  padding: 0.42rem 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pill:hover {
  background: rgba(148, 163, 184, 0.18);
}
.pill.is-active {
  color: #0f172a;
  background: linear-gradient(90deg, #22d3ee, #38bdf8);
  border-color: transparent;
}

/* Grid agar tinggi kartu konsisten */
#pricing-cards {
  align-items: stretch;
}
.price-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.price-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.features {
  margin-top: auto;
} /* list nempel ke bawah seperti contoh */
