/* ==================================================
   ROOT VARIABLES
   ================================================== */
:root {
  --primary: #ff7a00;
  --primary-dark: #e86f00;
  --bg-soft: #f5f6f8;
  --text-main: #222;
  --text-muted: #555;
}

/* ==================================================
   RESET & BASE
   ================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

section {
  margin: 64px auto;
}

/* ==================================================
   HEADER / HERO (SAAS STYLE)
   ================================================== */
.header {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -140px;
  right: -140px;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(30px); }
  100% { transform: translateY(0); }
}

/* ==================================================
   NAVIGATION
   ================================================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  height: 42px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.menu a:hover {
  opacity: 1;
}

/* Badge */
.badge {
  background: #fff;
  color: var(--primary);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
  font-weight: 700;
}

/* ==================================================
   HERO CONTENT
   ================================================== */
.hero {
  text-align: center;
  margin-top: 70px;
  animation: fadeUp 1s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.tagline {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 640px;
  margin: auto;
}

.trial-info {
  margin-top: 18px;
  font-weight: 600;
}

/* ==================================================
   BUTTON (PREMIUM CTA)
   ================================================== */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #fff, #ffe5cc);
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

/* ==================================================
   CARD SYSTEM (CORE UI)
   ================================================== */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.12),
    0 6px 14px rgba(0,0,0,0.08);
}

/* =========================
   MARKETPLACE SECTION
   ========================= */

.marketplace-section {
  background: #ffffff;
  padding: 20px 0 28px;
  text-align: center;
}

.marketplace-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* WRAPPER LOGO */
.marketplace-logos {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 24px;

  /* PENTING */
  flex-wrap: nowrap;
}

/* LINK */
.marketplace-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO */
.marketplace-logos img {
  height: 100px;
  max-width: 100%;
  object-fit: contain;

  filter: none !important;
  opacity: 1 !important;

  transition: transform 0.25s ease;
}

.marketplace-logos img:hover {
  transform: scale(1.05);
}

/* =========================
   MOBILE FIX (HP)
   ========================= */
@media (max-width: 600px) {

  .marketplace-logos {
    gap: 18px;           /* rapat di HP */
  }

  .marketplace-logos img {
    height: 80px;        /* DIPERKECIL supaya muat sejajar */
  }
}


/* ==================================================
   HARDWARE SECTION (PRODUCT FEEL)
   ================================================== */
.hardware-section {
  background: #f7f9fb;
  padding: 80px 0;
}

.hardware-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.hardware-card {
  background: linear-gradient(180deg, #fff, #fafafa);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hardware-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,0.14);
}

.hardware-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 14px;
}

/* ==================================================
   FAQ
   ================================================== */
.faq {
  list-style: none;
  padding: 0;
}

.faq li {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin: 60px 0 30px;
}

/* ==================================================
   ANIMATIONS
   ================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 768px) {

  .nav {
    flex-direction: column;
    gap: 14px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {

  section {
    margin: 48px auto;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .marketplace-logos img {
    height: 110px;
  }
}
/* =========================
   MARKETPLACE ANIMATION
   Fade + Slide Up
   ========================= */

/* awalnya disembunyikan */
.marketplace-logos a {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.8s ease forwards;
}

/* delay per logo (biar berurutan & keren) */
.marketplace-logos a:nth-child(1) {
  animation-delay: 0.15s;
}

.marketplace-logos a:nth-child(2) {
  animation-delay: 0.35s;
}

/* keyframes */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   HARDWARE CARD ANIMATION
   ========================= */

/* state awal (sembunyi) */
.hardware-card {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* state muncul */
.hardware-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* hover biar hidup */
.hardware-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
/* ================= PRICING ================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.pricing-highlight {
  border: 2px solid var(--primary);
}

.badge-best {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.pricing-desc {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.pricing-feature {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-feature li {
  margin-bottom: 10px;
}

.pricing-btn {
  width: 100%;
  text-align: center;
}

.price-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: -8px;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: #555;
}
.menu a.active {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px 14px;
}
.card ul li {
  margin-bottom: 14px;
  line-height: 1.6;
}
/* ================= APK INFO TABLE ================= */

.apk-info {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.apk-info td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.apk-info td:first-child {
  font-weight: 600;
  color: #555;
  width: 40%;
}

.apk-info tr:last-child td {
  border-bottom: none;
}

/* Mobile */
@media (max-width: 600px) {
  .apk-info td {
    display: block;
    width: 100%;
  }

  .apk-info td:first-child {
    margin-bottom: 4px;
  }
}
/* ================= CTA UPGRADE ================= */

.cta-upgrade {
  text-align: center;
  background: linear-gradient(135deg, #fff7f0, #ffffff);
  border: 1px solid #ffe0c2;
}

.cta-desc {
  margin: 12px auto 20px;
  max-width: 560px;
  color: #555;
}

.cta-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  max-width: 420px;
  text-align: left;
}

.cta-list li {
  margin-bottom: 10px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Tombol outline */
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ================= STICKY CTA MOBILE ================= */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none; /* default mati */
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

/* Tombol */
.sticky-btn {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Primary */
.sticky-btn.primary {
  background: var(--primary);
  color: #fff;
}

/* Outline */
.sticky-btn.outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

/* Hover */
.sticky-btn.primary:hover {
  background: var(--primary-dark);
}

.sticky-btn.outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ================= ONLY MOBILE ================= */
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
  }

  /* Supaya konten tidak ketutup */
  body {
    padding-bottom: 86px;
  }
}
/* ================= ANIMATION BASE ================= */

.fade-up,
.fade-left,
.fade-right,
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Arah berbeda */
.fade-left {
  transform: translateX(-24px);
}

.fade-right {
  transform: translateX(24px);
}

.fade-in {
  transform: none;
}

/* Saat aktif */
.show {
  opacity: 1;
  transform: translate(0, 0);
}
/* ================= PAGE LOADER ================= */

#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-content img {
  width: 72px;
  margin-bottom: 16px;
  border-radius: 16px;
}

/* Dots animation */
.loader-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loader-dots span {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: loader-bounce 1.2s infinite ease-in-out;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes loader-bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

