/* =============================
   ROOT VARIABLES
============================= */
:root {
  --primary: #a855f7;
  --primary-soft: rgba(168, 85, 247, 0.25);
  --secondary: #f97316;
  --bg: #050016;
  --bg-soft: #120628;
  --text-main: #f9fafb;
  --text-muted: #cbd5f5;
  --accent: #22c55e;
  --card-radius: 20px;
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.45);
}

/* =============================
   RESET & GLOBAL
============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #4f46e5 0%, #050016 60%);
  color: var(--text-main);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================
   NAVBAR
============================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-logoss img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.18s ease-out;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.18);
  color: #fff;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #e11d48);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.5);
  white-space: nowrap;
}

.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* =============================
   NAVBAR RESPONSIVE
============================= */
@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: center;
  }

  .brand {
    flex-direction: row
    gap: 10px;
  }

  .brand-text {
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-link,
  .nav-cta {
    font-size: 12px;
  }
}

/* =============================
   LAYOUT (SECTION, TITLE, SUBTITLE)
============================= */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 18px 40px;
}

.section {
  padding: 40px 0 10px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
  text-align: center;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-align: center;
}



/* =============================
   TAG PILL
============================= */
.tag-pill {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 11px;
  color: var(--text-muted);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

/* =============================
   HERO SECTION
============================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.hero-title {
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(135deg, #f97316, #ec4899, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================
   HERO BUTTONS
============================= */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1120;
  font-weight: 700;
  font-size: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
}

.primary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.55);
}

.secondary-btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-muted);
  font-size: 12px;
  display: none;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.18s ease-out;
}
.secondary-btn span.icon {
  font-size: 16px;
}

.secondary-btn:hover {
  background: rgba(30, 64, 175, 0.8);
  color: #e5e7eb;
}

/* =============================
   HERO STATS
============================= */
.hero-stats {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip strong{
  color: #e5e7eb;
  font-weight: 600;
}


/* =============================
   HERO CARD
============================= */
.hero-card {
  background: radial-gradient(circle at top left, #4c1d95, #020617);
  border-radius: 26px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.4), transparent 65%);
  top: -50px;
  right: -60px;
  pointer-events: none;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-reward-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.hero-reward-row span.label {
  color: var(--text-muted);
}

.hero-reward-row span.value {
  font-weight: 700;
}

.hero-mini {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  font-size: 10px;
  color: var(--text-muted);
}

.hero-mini strong {
  color: #e5e7eb;
}

/* =============================
   BENEFIT GRID
============================= */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.9));
  border-radius: var(--card-radius);
  padding: 14px 14px 13px;
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  position: relative;
  height: 165px;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.2),
    transparent 65%
  );
  bottom: -40px;
  right: -40px;
  opacity: 0.8;
  display: none;
}

.benefit-icon {
  max-width: 48px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
  font-size: 0;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-content {
  position: relative;
  z-index: 1;
}

.benefit-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* =============================
   RESPONSIVE BENEFIT
============================= */
@media (max-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    height: auto !important;
    padding: 16px;
    align-items: center;
  }

  .benefit-icon {
    width: 42px;
    height: 42px;
  }
}

/* =============================
   REWARD WRAPPER
============================= */
.reward-wrapper {
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
  border-radius: 26px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
}

/* =============================
   REWARD TABLE
============================= */
.reward-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

.reward-table thead {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.reward-table th,
.reward-table td {
  padding: 8px 10px;
  text-align: left;
}

.reward-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reward-table tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.95);
}

.reward-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.8);
}

.reward-table tbody tr:hover {
  background: rgba(30, 64, 175, 0.9);
}

/* =============================
   REWARD NOTES
============================= */
.reward-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reward-note strong {
  color: #e5e7eb;
}

.reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.7);
  font-size: 10px;
  color: #bbf7d0;
  margin-bottom: 6px;
}

/* =============================
   HOW SECTION (GRID)
============================= */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============================
   HOW CARDS
============================= */

.how-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 22px;
  padding: 14px;
  border: 1px solid rgba(94, 234, 212, 0.6);
  font-size: 11px;
  color: var(--text-muted);
  max-width: 350px;
  margin: 0 auto;
}

.how-card h4 {
  font-size: 12px;
  margin-bottom: 6px;
  color: #e5e7eb;
}

/* =============================
   HOW STEPS
============================= */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #022c22;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.55);
}

.step-content {
  font-size: 12px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.step-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* =============================
   HOW — CHIP GROUP
============================= */
.how-chip-group {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =============================
   REFERRAL BUTTON
============================= */
.referral-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #0b1120;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.4);
}

.referral-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* =============================
   CTA SECTION
============================= */
.cta-card {
  margin-top: 10px;
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
  border-radius: 26px;
  padding: 18px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  box-shadow: 0 10px 16px rgba(248, 113, 113, 0.35);
}

.cta-text {
  font-size: 13px;
  font-weight: 600;
}

.cta-sub {
  font-size: 11px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =============================
   CONTACT BAND (NEW FOOTER STYLE)
============================= */
.contact-band {
  margin-top: 28px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  font-size: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    135deg,
    rgba(244, 114, 182, 0.12),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: none;
  overflow: hidden;
}

.contact-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-col p {
  margin-bottom: 4px;
  color: #cfd5e0;
}

.contact-col p:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.contact-logo {
  width: 52px;
  margin-bottom: 6px;
}

.contact-tiktok-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-tiktok-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
}

.contact-tiktok-text {
  font-size: 13px;
  color: #ffffff;
  display: flex;
  align-items: center;
  height: 26px;
  line-height: 26px;
}

/* =============================
   CONTACT RESPONSIVE
============================= */

/* Tablet → 2 kolom */
@media (max-width: 1024px) {
  .contact-band {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px !important;
    padding: 18px !important;
  }
}

/* Mobile → 1 kolom */
@media (max-width: 768px) {
  .contact-band {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .contact-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-logo {
    width: 45px !important;
  }

  .contact-tiktok-link {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero-card {
    margin-top: 10px !important;
  }

  .hero-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  .hero-desc {
    font-size: 13px !important;
  }

  .primary-btn {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }

  .chip {
    width: 100% !important;
    padding: 10px 12px !important;
  }
  
  .hero-reward-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  .hero-reward-row .value {
    font-size: 14px !important;
  }

   .reward-wrapper {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 16px !important;
  }

  /* Tabel full width */
  .reward-table {
    font-size: 12px !important;
  }

  .reward-table th,
  .reward-table td {
    padding: 10px !important;
  }

  /* Badge & notes dirapikan */
  .reward-badge {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    padding: 6px 10px !important;
  }

  .reward-note {
    font-size: 12px !important;
    line-height: 1.5 !important;
    gap: 10px !important;
  }

}

/* =============================
   FOOTER
============================= */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 18px 18px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

/* =============================
   REVEAL ANIMATION
============================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.15s; }
.reveal.delay-3 { transition-delay: 0.22s; }

/* =============================
   NAVBAR AUTO-HIDE
============================= */
.navbar {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.hide {
  transform: translateY(-100%);
  opacity: 0;
}