/* ============================================================
   QRBELL — Referral Program Page
   ============================================================ */
:root {
  --rp-navy:  #031B4E;
  --rp-gold:  #F4B400;
  --rp-gold-d:#d89e00;
  --rp-muted: #6b7280;
  --rp-green: #2bb673;
}

.rp-section { padding: 64px 0; }

/* ---------- Eyebrows ---------- */
.rp-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; color: var(--rp-gold); text-transform: uppercase; margin-bottom: 10px;
}
.rp-eyebrow-dark {
  display: block; font-size: .72rem; font-weight: 700;[]
  letter-spacing: 2px; color: var(--rp-gold); text-transform: uppercase; margin-bottom: 8px;
}
.rp-section-title { font-size: 2rem; font-weight: 800; color: var(--rp-navy); margin-bottom: 6px; }
.rp-section-sub   { color: var(--rp-muted); font-size: .93rem; max-width: 520px; margin: 0 auto; }

/* ═══ HERO ═══════════════════════════════════════════════════════════ */
.rp-hero {
  position: relative;
    background:
    linear-gradient(100deg, rgba(14, 26, 54, 0.97) 0%, rgba(15, 30, 65, 0.85) 40%, rgba(8,22,55,.35) 70%, rgba(15, 28, 60, 0.15) 100%),
    url('/images/refere-earch-bg.png') right 25%/cover no-repeat;
  color: #fff;
  padding: 120px 0 60px;
  overflow: hidden;
}
.rp-hero-row { min-height: 80vh; padding: 110px 0 40px; }
.rp-hero-text { position: relative; z-index: 2; }
.rp-hero-title { font-size: 46px; font-weight: 800; line-height: 1.1; color: #fff; margin: 10px 0 18px; }
.rp-hero-sub { color: rgba(255,255,255,.85); font-size: .97rem; line-height: 1.7; max-width: 480px; margin-bottom: 28px; }

.rp-hero-features { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 32px; }
.rp-feature-item  { display: flex; align-items: flex-start; gap: 10px; color: #fff; max-width: 160px; }
.rp-feature-icon  {
  width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--rp-gold); flex-shrink: 0;
}
.rp-feature-item strong { display: block; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.rp-feature-item span   { display: block; font-size: .72rem; opacity: .75; line-height: 1.4; }

.rp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.rp-btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; font-weight: 600;
}
.rp-btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Earning badge */
.rp-earning-badge {
  position: absolute; bottom: 120px; right: 50px;
  background: linear-gradient(160deg, #0d2257 0%, #051640 100%);
  border-radius: 50%; width: 140px; height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border: 2.5px solid var(--rp-gold);
  box-shadow: 0 8px 28px rgba(244,180,0,.35); z-index: 3; padding: 14px; color: #fff; gap: 6px;
}
.rp-stars { color: var(--rp-gold); font-size: .9rem; letter-spacing: 2px; line-height: 1; }
.rp-earning-text strong { display: block; font-size: .8rem; font-weight: 800; color: #fff; line-height: 1.3; }
.rp-earning-text span   { display: block; font-size: .68rem; color: rgba(255,255,255,.85); line-height: 1.4; }

/* ═══ HOW IT WORKS ═══════════════════════════════════════════════════ */
.rp-how { background: #fff; }

.rp-steps-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.rp-step { flex: 1; min-width: 120px; text-align: center; }
.rp-step-icon--filled {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--rp-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 10px;
}
.rp-step-arrow { font-size: 1.3rem; color: #ccc; padding-top: 20px; flex-shrink: 0; }
.rp-step-label { font-size: .7rem; font-weight: 600; color: var(--rp-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.rp-step-name  { font-size: .88rem; font-weight: 700; color: var(--rp-navy); margin-bottom: 6px; }
.rp-step-desc  { font-size: .75rem; color: var(--rp-muted); line-height: 1.5; margin: 0; }

/* Both Benefit card */
.rp-both-card {
  background: #f8f5f5; border: 2px solid #eef0f6;
  border-radius: 18px; padding: 28px 22px 20px; margin-top: 48px;
}
.rp-both-title { font-size: .88rem; font-weight: 800; letter-spacing: 2px; color: var(--rp-navy); text-align: center; margin-bottom: 22px; display: block; }
.rp-both-grid  { display: flex; align-items: stretch; gap: 0; margin-bottom: 18px; }
.rp-both-item  {
  flex: 1; text-align: center; padding: 18px 16px;
  border: 1.5px solid #eef0f6; border-radius: 14px;
  background: #fafbff; box-shadow: 0 4px 16px rgba(3,27,78,.07);
  transition: box-shadow .2s;
}
.rp-both-item:hover { box-shadow: 0 8px 28px rgba(3,27,78,.13); }
.rp-both-divider { width: 1px; background: #eef0f6; margin: 0 4px; }
.rp-both-icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 12px;
}
.rp-icon-people { background: rgba(100,116,139,.15); color: #64748b; }
.rp-icon-gift   { background: rgba(244,180,0,.15);   color: var(--rp-gold-d); }
.rp-both-who    { font-size: .75rem; color: var(--rp-muted); font-weight: 600; margin-bottom: 6px; }
.rp-both-amount { font-size: 1.6rem; font-weight: 800; color: var(--rp-navy); line-height: 1.1; }
.rp-off, .rp-reward { font-size: 1rem; font-weight: 800; }
.rp-both-note  { font-size: .72rem; color: var(--rp-muted); margin-top: 4px; }
.rp-both-tagline { text-align: center; font-size: .88rem; font-weight: 700; font-style: italic; color: var(--rp-navy); border-top: 1px solid #eef0f6; padding-top: 14px; }

/* ═══ REWARDS ════════════════════════════════════════════════════════ */
.rp-rewards-section { background: #f8f9fc; }

.rp-reward-card {
  background: #fff; border: 1.5px solid #eaeaea;
  border-radius: 16px; padding: 28px 20px 22px;
  text-align: center; position: relative;
  transition: transform .25s, box-shadow .25s; height: 100%;
}
.rp-reward-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(3,27,78,.11); }
.rp-reward-badge {
  position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  background: var(--rp-navy); color: #fff; font-size: .7rem; font-weight: 800;
  width: 26px; height: 26px; border-radius: 20%;
  display: flex; align-items: center; justify-content: center;
}
.rp-reward-icon {
  font-size: 2rem; color: var(--rp-gold); margin: 10px auto 10px;
  width: 74px; padding: 10px; border-radius: 42px; background: rgba(244,180,0,.1);
}
.rp-reward-icon--crown  { color: #a855f7; }
.rp-reward-icon--trophy { color: #ef4444; }
.rp-reward-count  { font-size: .78rem; color: var(--rp-muted); font-weight: 600; margin-bottom: 6px; }
.rp-reward-amount { font-size: 2rem; font-weight: 800; color: var(--rp-navy); line-height: 1; margin-bottom: 4px; }
.rp-reward-label  { font-size: .75rem; color: var(--rp-muted); }

/* Bonus card */
.rp-bonus-card {
  background: var(--rp-navy); border-radius: 18px; padding: 18px 16px;
  color: #fff; position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
}
.rp-bonus-badge { background: var(--rp-gold); color: #1a1a1a; font-size: .62rem; font-weight: 800; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.rp-bonus-title  { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.rp-bonus-desc   { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 14px; line-height: 1.5; }
.rp-bonus-amount { font-size: 2.6rem; font-weight: 800; color: var(--rp-gold); line-height: 1; }
.rp-bonus-label  { font-size: .88rem; font-weight: 800; color: var(--rp-gold); margin-bottom: 20px; letter-spacing: .5px; }
.rp-bonus-gift-icon { font-size: 3rem; color: var(--rp-gold); opacity: .35; position: absolute; bottom: 18px; right: 20px; }

/* ═══ PARTNER ════════════════════════════════════════════════════════ */
.rp-partner-section { background: #fff; }

.rp-partner-card {
  background: #f8f9fc; border: 1.5px solid #eaeaea;
  border-radius: 16px; padding: 28px 20px 24px;
  width: 100%; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.rp-partner-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(3,27,78,.10); }
.rp-partner-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rp-partner-medal {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; flex-shrink: 0;
  background: rgba(74,108,247,.12); color: #4a6cf7;
}
.rp-medal-gold     { background: rgba(244,180,0,.18);  color: var(--rp-gold); }
.rp-medal-platinum { background: rgba(96,165,250,.18); color: #60a5fa; }
.rp-partner-name { font-size: .95rem; font-weight: 800; color: var(--rp-navy); margin-bottom: 4px; }
.rp-partner-req  { display: inline-block; background: var(--rp-navy); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.rp-req-gold     { background: rgba(244,180,0,.15); color: #a16207; }
.rp-req-platinum { background: rgba(96,165,250,.15); color: #1d4ed8; }
.rp-partner-gold     { border-color: rgba(244,180,0,.4); background: #fffbeb; }
.rp-partner-platinum { border-color: rgba(96,165,250,.4); background: #eff6ff; }
.rp-partner-perks { list-style: none; padding: 0; margin: 0; flex: 1; }
.rp-partner-perks li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #374151; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.rp-partner-perks li:last-child { border-bottom: none; }
.rp-partner-perks .bi-check2 { color: var(--rp-green); font-size: .85rem; flex-shrink: 0; }

.rp-who-card { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.rp-who-title { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.rp-who-list  { list-style: none; padding: 0; margin: 0; flex: 1; }
.rp-who-list li { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.85); padding: 4px 0; }
.rp-who-list .bi-check-circle-fill { color: var(--rp-gold); font-size: .78rem; flex-shrink: 0; }
.rp-free-join { text-align: center; font-size: .73rem; color: rgba(255,255,255,.6); margin-top: 6px; margin-bottom: 0; }

/* ═══ FAQ MINI ════════════════════════════════════════════════════════ */
.rp-faq-section { background: #f8f9fc; }
.rp-faq-heading { font-size: 1.5rem; font-weight: 800; color: var(--rp-navy); }
.rp-view-all    { font-size: .85rem; font-weight: 700; color: var(--rp-navy); text-decoration: none; }
.rp-view-all:hover { color: var(--rp-gold-d); }
.rp-faq-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1.5px solid #eaeaea;
  border-radius: 14px; padding: 18px; height: 100%;
}
.rp-faq-icon { font-size: 1.3rem; color: var(--rp-navy); flex-shrink: 0; margin-top: 2px; }
.rp-faq-q { font-size: .88rem; font-weight: 700; color: var(--rp-navy); margin-bottom: 4px; }
.rp-faq-a { font-size: .78rem; color: var(--rp-muted); line-height: 1.5; }

/* ═══ CTA BANNER ════════════════════════════════════════════════════ */
.rp-cta-banner { background: var(--rp-navy); padding: 52px 0; }
.rp-cta-gift   { font-size: 3.5rem; color: var(--rp-gold); flex-shrink: 0; }
.rp-cta-title  { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.rp-cta-sub    { font-size: .88rem; color: rgba(255,255,255,.7); margin: 0; }
.rp-cta-ghost  {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; font-weight: 600;
}
.rp-cta-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ═══ TRUST STRIP ════════════════════════════════════════════════════ */
.rp-footer-strip { background: #fff; border-top: 1px solid #eaeaea; padding: 28px 0; }
.rp-trust-row    { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.rp-trust-item   { display: flex; align-items: center; gap: 12px; color: var(--rp-navy); }
.rp-trust-item > i { font-size: 1.6rem; color: var(--rp-navy); opacity: .7; }
.rp-trust-item strong { display: block; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.rp-trust-item span  { display: block; font-size: .72rem; color: var(--rp-muted); }

/* ═══ RESPONSIVE ═════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .rp-hero-row { min-height: 700px; padding: 100px 0 50px; }
  .rp-hero-title { font-size: 34px; }
  .rp-both-card { margin-top: 0; }
}
@media (max-width: 767px) {
  .rp-section { padding: 48px 0; }
  .rp-hero-title { font-size: 28px; }
  .rp-hero-row { min-height: auto; padding: 80px 0 40px; }
  .rp-section-title { font-size: 1.6rem; }
  .rp-step-arrow { display: none; }
  .rp-cta-banner .d-flex { flex-direction: column !important; text-align: center; gap: 20px; }
  .rp-earning-badge { display: none !important; }
}
@media (max-width: 575px) {
  .rp-section { padding: 36px 0; }
  .rp-hero-row { padding: 72px 0 32px; }
  .rp-hero-title { font-size: 24px; }
  .rp-hero-features { flex-direction: column; gap: 10px; }
  .rp-hero-actions { flex-direction: column; }
  .rp-hero-actions .btn { width: 100%; }
  .rp-section-title { font-size: 1.45rem; }
  .rp-bonus-card { max-width: 100%; }
}
