/* ============================================
   MyBudget Landing Page — style.css (FIXED)
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0a1628;
  --navy2:        #0d1f3c;
  --blue-primary: #1a6bff;
  --blue-light:   #4a9eff;
  --blue-bg:      #ddeeff;
  --text-dark:    #0f172a;
  --text-mid:     #475569;
  --text-light:   #94a3b8;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --shadow:       0 4px 24px rgba(26,107,255,0.10);
  --shadow-lg:    0 8px 40px rgba(10,22,40,0.18);
}

html { scroll-behavior: smooth; }
 
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(145deg, #b8dcff 0%, #e8e0ff 38%, #fdf4df 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
 
/* =====================
   NAVBAR
   ===================== */
nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 16px auto 0;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 24px;
  box-shadow: 0 2px 20px rgba(26,107,255,0.10);
}

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

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-primary); }
 
/* =====================
   HERO LAYOUT
   ===================== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px 72px;
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  gap: 0;
  min-height: calc(100vh - 62px);
}
 
.hero-left { padding-right: 16px; }
 
/* =====================
   TAG PILL
   ===================== */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.65);
  border: 0.5px solid rgba(26, 107, 255, 0.25);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease both;
}
 
.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
 
/* =====================
   HERO TEXT
   ===================== */
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 68px;
  line-height: 1.02;
  color: var(--text-dark);
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease 0.1s both;
}
 
.hero-title .acc { color: var(--blue); }
 
.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s ease 0.2s both;
}
 
/* =====================
   BUTTONS
   ===================== */
.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
  animation: fadeUp 0.6s ease 0.3s both;
}
 
.btn-primary {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
 
.btn-primary:hover {
  background: #1a3a6b;
  transform: translateY(-1px);
}
 
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
 
.btn-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-1px);
}
 
/* =====================
   CHECKS
   ===================== */
.hero-checks { display: flex; flex-direction: column; gap: 8px; }

.hero-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
}

.hero-check-icon {
  width: 22px;
  height: 22px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-check-icon svg { width: 12px; height: 12px; }
 
/* =====================
   SCENE (sisi kanan)
   ===================== */
.scene {
  position: relative;
  width: 500px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.15s both;
}
 
/* =====================
   GLOW RINGS
   ===================== */
.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
 
.glow-ring-1 {
  width: 310px;
  height: 310px;
  background: rgba(255, 255, 255, 0.30);
}
 
.glow-ring-2 {
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
 
.glow-ring-3 {
  width: 510px;
  height: 510px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.10);
}
 
/* =====================
   PHONE MOCKUP IMAGE
   ===================== */
.phone-img {
  position: relative;
  z-index: 3;
  width: 248px;
  object-fit: contain;
  filter: drop-shadow(0 36px 72px rgba(10, 22, 40, 0.30));
  animation: float-phone 4s ease-in-out infinite;
}
 
@keyframes float-phone {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
 
/* =====================
   FLOATING CARDS
   ===================== */
.fc {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.12);
  z-index: 6;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
 
/* Card: Streak XP — atas kanan */
.fc-streak {
  top: 22px;
  right: 0px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: float-c1 3.6s ease-in-out infinite;
}
 
.fc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
 
.fc-ico.orange { background: #fff7ed; }
.fc-ico.red    { background: #fef2f2; }
.fc-ico.green  { background: #f0fdf4; }
 
.fc-title { font-size: 12px; font-weight: 700; color: var(--text-dark); }
.fc-sub   { font-size: 10px; color: var(--text-muted); }
.fc-xp    { font-size: 14px; font-weight: 800; color: var(--blue); }
 
/* Card: Tagihan — bawah kiri */
.fc-tagihan {
  bottom: 68px;
  left: 4px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 178px;
  animation: float-c2 4.4s ease-in-out infinite 0.7s;
}
 
.fc-tagihan-body .fc-title { margin-bottom: 2px; }
.fc-tagihan-amt  { font-size: 13px; font-weight: 800; color: #ef4444; }
.fc-tagihan-date { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
 
/* Card: Saldo — tengah kanan */
.fc-saldo {
  bottom: 120px;
  right: -6px;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  animation: float-c3 3.2s ease-in-out infinite 1.1s;
}
 
.fc-saldo-label { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.fc-saldo-val   { font-size: 20px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.5px; }
 
.fc-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  width: fit-content;
  margin-top: 1px;
}
 
/* =====================
   KEYFRAMES
   ===================== */
@keyframes float-c1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
 
@keyframes float-c2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
 
@keyframes float-c3 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
 
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 32px 60px;
    min-height: auto;
    gap: 48px;
  }
  .hero-left { padding-right: 0; }
  .hero-title { font-size: 52px; }
  .scene {
    width: 100%;
    height: 420px;
    margin: 0 auto;
  }
}
 
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links,
  .nav-cta { display: none; }
  .hero { padding: 32px 20px 52px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 14px; }
  .scene { height: 360px; }
  .phone-img { width: 190px; }
}

/* =====================
   FITUR SECTION
   ===================== */
.fitur-section{
  max-width:1200px;
  margin:100px auto 0;
  padding:64px 40px;
  text-align:center;
}

.section-tag{
  display:inline-block;
  border:1.5px solid var(--text-dark);
  border-radius:100px;
  padding:6px 20px;
  font-size:13px;
  font-weight:700;
  margin-bottom:20px;
}

.section-title{
  font-family:'DM Serif Display',serif;
  font-size:44px;
  line-height:1.15;
  color:var(--text-dark);
  margin-bottom:16px;
}

.section-desc{
  font-size:15px;
  color:var(--text-mid);
  line-height:1.65;
  max-width:620px;
  margin:0 auto 60px;
}

/* ================= GRID ================= */
.fitur-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  align-items:stretch; /* biar tinggi rata */
}

/* ================= CARD BASE ================= */
.fitur-card{
  border-radius:28px;
  padding:32px 28px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:560px;
  text-align:left;
}

/* Card warna sesuai desain */
.fitur-card.tagihan {
  background: #0e1f3d;   /* navy lebih gelap sesuai desain */
  color: white;
}
.fitur-card.maskot {
  background: #fcf8f8;   /* hijau lebih vibrant sesuai desain */
  color: rgb(10, 0, 0);
}
.fitur-card.budget {
  background: white;
  color: var(--text-dark);
  border: 1px solid #e8edf3;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Typography card */
.fitur-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.fitur-card > p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 20px;
}
.fitur-card.budget > p { color: var(--text-mid); opacity: 1; }

/* ---- MASKOT card ---- */
.maskot-img-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 12px;
}
.maskot-img-wrap img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.18));
}

/* ---- TAGIHAN card ---- */
/* ALERT */

/* =========================
   TAGIHAN ALERT
========================= */

.tagihan-alert{
  display:flex;
  align-items:center;
  gap:14px;

  padding:16px;
  margin-bottom:20px;

  border-radius:18px;

  background:rgba(59,130,246,.10);
  border:1px solid rgba(255,255,255,.08);
}

.tagihan-bell{
  font-size:22px;
  flex-shrink:0;
}

.tagihan-alert-text h4{
  margin:0 0 4px;
  color:#fff;
  font-size:14px;
  font-weight:700;
}

.tagihan-alert-text p{
  margin:0;
  color:rgba(255,255,255,.75);
  font-size:12px;
  line-height:1.5;
}

/* =========================
   LIST
========================= */

.tagihan-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:12px;
}

.tagihan-add-btn{
  margin-top:0;
}

.tagihan-item{
  min-height:90px;
}

/* =========================
   ITEM
========================= */

.tagihan-item{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px;

  border-radius:20px;

  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);

  transition:.25s ease;
}

.tagihan-item:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.10);
}

.tagihan-item-left{
  flex:1;
}

.tagihan-item-left h4{
  margin:0 0 4px;

  font-size:13px;
  font-weight:500;

  color:rgba(255,255,255,.75);
}

.tagihan-item-left h5{
  margin:0 0 8px;

  font-size:16px;
  font-weight:700;

  color:#fff;
}

.tagihan-item-left span{
  display:flex;
  align-items:center;
  gap:6px;

  font-size:11px;
  color:rgba(255,255,255,.55);
}

.tagihan-item-right{
  flex-shrink:0;
  text-align:right;
}

.amount{
  font-size:17px;
  font-weight:700;
  color:#fff;
  white-space:nowrap;
}

/* =========================
   BUTTON
========================= */

.tagihan-add-btn{
  width:100%;
  height:50px;

  margin-top:18px;

  display:flex;
  justify-content:center;
  align-items:center;

  border:none;
  border-radius:16px;

  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);

  color:#fff;
  font-size:13px;
  font-weight:600;

  cursor:pointer;
  transition:.25s ease;
}

.tagihan-add-btn:hover{
  background:rgba(255,255,255,.10);
}

/* =========================
   WRAPPER
========================= */

.tagihan-wrapper{
  padding-bottom:30px;
}

/* STATUS RINGKASAN */

.tagihan-summary{
  margin-bottom:14px;

  display:flex;
  align-items:center;
  gap:8px;

  font-size:12px;
  font-weight:600;

  color:#86efac;
}

.tagihan-summary span{
  font-size:14px;
}

/* ---- BUDGET card — modal centered ---- */
.budget {
  display: flex;
  flex-direction: column;
}

.budget-modal {
  width: 100%;
  max-width: 300px; /* sebelumnya 240px */
  margin: auto;     /* center horizontal + vertical */
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: 1px solid #f3f4f6;
}
.budget-modal-header {
  background: #fef2f2;
  padding: 16px;
  text-align: center;
}
.budget-modal-header > div { font-size: 28px; }
.budget-modal-body { padding: 14px 14px 10px; }
.budget-modal-title {
  font-size: 14px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px;
}
.budget-modal-sub {
  font-size: 11px; color: var(--text-mid); margin-bottom: 12px;
}

.budget-bar {
  background: #ffeaea;
  border-radius: 8px;
  padding: 9px 11px;
  display: flex; align-items: center; gap: 9px; margin-bottom: 10px;
}
.budget-bar-icon {
  width: 26px; height: 26px;
  background: var(--blue-primary);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.budget-bar-label { font-size: 11px; font-weight: 700; color: var(--text-dark); margin-bottom: 1px; }
.budget-bar-val   { font-size: 10px; color: var(--text-mid); }
.budget-bar-val s { color: #ef4444; text-decoration-color: #ef4444; }

.budget-btn-primary {
  background: #ef4444; color: white; border: none;
  border-radius: 10px; padding: 10px; width: 100%;
  font-size: 12px; font-weight: 700; cursor: pointer; margin-bottom: 6px;
  font-family: inherit; letter-spacing: 0.1px;
}
.budget-btn-primary:hover { background: #dc2626; }
.budget-btn-secondary {
  background: transparent; color: var(--text-mid); border: none;
  padding: 6px; width: 100%; font-size: 12px; cursor: pointer;
  font-family: inherit; text-align: center;
}

/* =====================
   CARA KERJA
   ===================== */
.cara-kerja-section {
  background: #d6eaff;
  padding: 80px 0;
  margin-top: 0;
}

.cara-kerja-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cara-kerja-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cara-kerja-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.steps { display: flex; flex-direction: column; gap: 28px; }
.step  { display: flex; gap: 18px; align-items: flex-start; }

.step-num {
  width: 38px; height: 38px;
  background: var(--blue-primary); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
  box-shadow: 0 4px 12px rgba(26,107,255,0.35);
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--blue-primary);
}
.step-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.cara-kerja-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cara-kerja-phone .circle-bg {
  position: absolute;
  width: 380px; height: 380px;
  background: rgba(26,107,255,0.12);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.cara-kerja-phone img {
  position: relative;
  z-index: 2;
  width: 340px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(26,107,255,0.18));
}

/* =====================
   REWARDS
   ===================== */
.rewards-section {
  padding: 60px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.rewards-card {
  background: #111827;
  border-radius: var(--radius-lg);
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  background-image: radial-gradient(circle at 80% 50%, rgba(26,107,255,0.08) 0%, transparent 60%);
}

.rewards-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 44px; color: white; line-height: 1.1; margin-bottom: 20px;
}
.rewards-content p {
  font-size: 15px; color: #94a3b8; line-height: 1.65;
  max-width: 500px; margin-bottom: 24px;
}

.rewards-list {
  list-style: none; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 8px;
}
.rewards-list li {
  color: #cbd5e1; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.rewards-list li::before { content: '•'; color: var(--blue-light); font-size: 18px; }

.rewards-phone img {
  width: 220px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(26,107,255,0.4));
  flex-shrink: 0;
}

/* =====================
   FAQ
   ===================== */
.faq-section {
  padding: 0 24px 60px;
  max-width: 1160px;
  margin: 0 auto;
}

.faq-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  background-image:
    radial-gradient(circle at 10% 80%, rgba(255,165,0,0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(26,107,255,0.08) 0%, transparent 40%);
}

.faq-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 40px; color: white; line-height: 1.15; margin-bottom: 12px;
}
.faq-left p { font-size: 13px; color: #64748b; line-height: 1.6; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item { background: white; border-radius: 14px; overflow: hidden; }

.faq-question {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer; user-select: none;
}
.faq-question span { font-size: 15px; font-weight: 600; color: var(--text-dark); }

.faq-toggle {
  width: 32px; height: 32px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; flex-shrink: 0;
  transition: transform 0.3s; line-height: 1;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 20px 16px; font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 200px; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: #0c1d3a;
  color: white;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(100,160,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
footer::after {
  content: '';
  position: absolute;
  bottom: 0; left: -60px;
  width: 400px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(255,200,80,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* TOP: logo + tagline + sub (kiri), maskot box (kanan atas) */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-start;
  padding: 52px 0 44px;
}

.footer-brand-logo { margin-bottom: 20px; }
.footer-brand-logo img { height: 38px; width: auto; object-fit: contain; }

.footer-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  line-height: 1.08;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-brand-sub {
  font-size: 14px;
  color: #5a7fa0;
  line-height: 1.75;
  max-width: 440px;
}

/* Mascot box — kotak dengan rounded corner besar + subtle border, sesuai desain */
.footer-mascot-wrap {
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-mascot {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255,220,100,0.15));
}

/* Divider */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* BOTTOM: nav links (kiri lebar), CTA (kanan) */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
}

.footer-nav-wrap { display: flex; gap: 64px; }

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  letter-spacing: 0.01em;
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links-group a  { color: #4a6a8a; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-links-group a:hover { color: white; }

.footer-cta p {
  font-size: 16px;
  font-weight: 600;
  color: white;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-cta-primary {
  background: var(--blue-primary);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-cta-primary:hover { background: #0f5ae0; transform: translateY(-1px); }

/* Copyright — © di kiri, 3 link di kanan paling jauh (space-between) */
/* Copyright */
.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #3a526e;
  padding: 20px 0; /* ← ubah dari 20px 40px jadi 20px 0 */
  width: 100%;
  box-sizing: border-box;
  /* hapus border-top di sini, sudah ada .footer-divider di atasnya */
}

.footer-copyright span {
  color: #3a526e;
  flex: 0 0 auto;
}

.footer-copyright-links {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 256px; /* sesuaikan gap hingga Privasi terasa di tengah */
}

.footer-copyright a {
  color: #3a526e;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-copyright a:hover {
  color: white;
}

/* =====================
   ANIMATIONS
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  nav { max-width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
  .hero-mockup { order: -1; min-height: 360px; }
  .hero-mockup-stack { width: 340px; height: 400px; }
  .mockup-back { width: 210px; }
  .mockup-front { width: 230px; }
  .fitur-section { margin: 60px 16px 0; padding: 40px 24px; }
  .fitur-grid-3 { grid-template-columns: 1fr 1fr; }
  .fitur-card.tagihan { grid-column: span 2; }
  .cara-kerja-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
  .cara-kerja-content h2 { font-size: 36px; }
  .rewards-card { padding: 40px 36px; }
  .faq-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .footer-inner { padding: 0 32px; }
}

@media (max-width: 768px) {
  .nav-links, nav > .btn-primary { display: none; }
  nav { padding: 12px 20px; }
  .hero { margin-top: 24px; }
  .hero-title { font-size: 40px; }
  .hero-mockup { min-height: 300px; }
  .hero-mockup-stack { width: 280px; height: 320px; }
  .mockup-back { width: 170px; top: 30px; right: 0; }
  .mockup-front { width: 190px; top: 5px; left: 10px; }
  .hero-float-badge { width: 54px; height: 54px; bottom: 50px; left: 10px; }
  .hero-float-badge span { font-size: 15px; }
  .section-title { font-size: 32px; }
  .fitur-grid-3 { grid-template-columns: 1fr; }
  .fitur-card.tagihan { grid-column: span 1; }
  .rewards-card { grid-template-columns: 1fr; }
  .rewards-phone img { width: 140px; }
  .footer-top { grid-template-columns: 1fr; padding: 36px 0 28px; gap: 24px; }
  .footer-mascot-wrap { width: 140px; height: 140px; border-radius: 20px; }
  .footer-mascot { width: 110px; height: 110px; }
  .footer-bottom { grid-template-columns: 1fr; padding: 28px 0; gap: 28px; }
  .footer-nav-wrap { flex-direction: column; gap: 28px; }
  .footer-cta-btns { flex-direction: column; }
  .footer-inner { padding: 0 24px; }
  .cara-kerja-content h2 { font-size: 32px; }
  .rewards-content h2 { font-size: 32px; }
  .faq-left h2 { font-size: 28px; }
  .faq-card { padding: 32px 24px; }
  .footer-tagline { font-size: 32px; }
}
