/* ==========================================================================
   NAVIONFX — deposits.css
   ========================================================================== */


/* ── TRUST CARDS ── */
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.trust-card { background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%); backdrop-filter: blur(32px) saturate(200%); -webkit-backdrop-filter: blur(32px) saturate(200%); border: 1px solid rgba(255,255,255,0.9); border-bottom: 1px solid rgba(37,99,235,0.1); border-radius: 24px; padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; box-shadow: 0 8px 32px rgba(37,99,235,0.08), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(37,99,235,0.06); transition: transform 0.32s cubic-bezier(.22,.68,0,1.2), box-shadow 0.32s ease; position: relative; overflow: hidden; }
.trust-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 52%; background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%); border-radius: 24px 24px 60% 60% / 24px 24px 40px 40px; pointer-events: none; z-index: 1; }
.trust-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.6) 50%, transparent 80%); transform: translateX(-100%); transition: transform 0.55s ease; pointer-events: none; z-index: 2; }
.trust-card:hover::after { transform: translateX(100%); }
.trust-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(37,99,235,0.13), inset 0 1px 0 rgba(255,255,255,1); }
.trust-card-img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(37,99,235,0.2)); transition: transform 0.32s cubic-bezier(.22,.68,0,1.2); position: relative; z-index: 3; }
.trust-card:hover .trust-card-img { transform: scale(1.07) translateY(-4px); }
.trust-card-val { font-size: 18px; font-weight: 800; color: #0d1321; letter-spacing: -0.4px; position: relative; z-index: 3; }
.trust-card-val em { font-style: normal; color: var(--color-accent); }
.trust-card-label { font-size: 12.5px; color: rgba(15,23,42,0.5); line-height: 1.55; max-width: 160px; position: relative; z-index: 3; }
.deposits-hero .section-sub { margin-bottom: 0; }
#methods .section-sub, #steps .section-sub, #withdraw .section-sub { margin-bottom: 0; }

@media (max-width: 900px) { .trust-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .trust-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-card { padding: 14px 12px 12px; gap: 6px; border-radius: 16px; }
  .trust-card-img { display: none; }
  .trust-card-label { display: none; }
  .trust-card-val { font-size: 13px; }
  .hero-typing-wrapper { display: block; }
  .deposits-hero.section-vh-hero { height: auto !important; min-height: 100vh; }
}
@media (max-width: 480px) { .trust-card-val { font-size: 12px; } }


/* ── PAYMENT WIDGET ── */
.payment-widget { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(96,165,250,0.12); box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 60px 140px rgba(0,0,0,0.75), 0 0 80px rgba(37,99,235,0.04); }
.payment-widget::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(37,99,235,0.013) 3px, rgba(37,99,235,0.013) 4px); }
.payment-widget-beam { position: absolute; left: 0; right: 0; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,0.05) 40%, rgba(6,182,212,0.04) 60%, transparent 100%); animation: payment-beam 7s ease-in-out infinite; }
@keyframes payment-beam { 0% { top: -160px; opacity: 0; } 8% { opacity: 1; } 88% { opacity: .5; } 100% { top: calc(100% + 160px); opacity: 0; } }

.payment-widget-chrome { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,0.055); position: relative; z-index: 2; background: rgba(4,15,36,0.8); }
.payment-widget-dots { display: flex; gap: 6px; }
.payment-dot { width: 10px; height: 10px; border-radius: 50%; }
.payment-dot--r { background: #ff5f57; }
.payment-dot--y { background: #febc2e; }
.payment-dot--g { background: #28c840; }
.payment-widget-title { font-size: 11px; font-weight: 600; color: rgba(240,244,255,0.18); letter-spacing: 0.3px; font-family: 'Barlow Condensed', sans-serif; }
.payment-widget-live { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #4ade80; }
.payment-live-dot { width: 5px; height: 5px; background: #22c55e; border-radius: 50%; animation: payment-live-pulse 1.6s infinite; }
@keyframes payment-live-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.payment-widget-split { display: grid; grid-template-columns: 264px 1fr; min-height: 500px; position: relative; z-index: 2; }
.payment-sidebar { border-right: 1px solid rgba(255,255,255,0.055); }
.payment-sidebar-head { padding: 18px 20px 10px; display: flex; align-items: center; gap: 8px; font-size: 8px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(240,244,255,0.16); }
.payment-sidebar-head::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.05); }
.payment-method-row { display: flex; align-items: center; gap: 11px; padding: 12px 20px; cursor: pointer; border-left: 2px solid transparent; position: relative; transition: border-color var(--transition); }
.payment-method-row::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37,99,235,0.09) 0%, transparent 80%); opacity: 0; transition: opacity var(--transition); }
.payment-method-row:hover::after, .payment-method-row--active::after { opacity: 1; }
.payment-method-row--active { border-left-color: var(--color-accent); }
.payment-method-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 900; flex-shrink: 0; position: relative; z-index: 1; }
.payment-icon--visa { background: #1a1f71; color: #fff; }
.payment-icon--mc { background: #f79e1b; }
.payment-icon--usdt { background: rgba(13,148,136,0.12); border: 1px solid rgba(13,148,136,0.25); }
.payment-icon--wire { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.18); }
.payment-method-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.payment-method-name { font-size: 12px; font-weight: 700; color: #f0f4ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.payment-method-sub { font-size: 9px; color: rgba(240,244,255,0.22); margin-top: 1px; }

.payment-detail { padding: 36px 42px; display: flex; flex-direction: column; gap: 24px; transition: opacity 0.3s ease, transform 0.3s ease; }
.payment-detail-top { display: flex; align-items: flex-start; gap: 16px; }
.payment-detail-name { font-size: 34px; font-weight: 900; letter-spacing: -1.5px; color: #f0f4ff; line-height: 1; }
.payment-detail-sub { font-size: 12px; color: rgba(240,244,255,0.3); margin-top: 5px; }
.payment-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.payment-kpi { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.055); border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden; transition: border-color var(--transition); }
.payment-kpi:hover { border-color: rgba(37,99,235,0.3); }
.payment-kpi-label { font-size: 8px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,244,255,0.18); margin-bottom: 7px; }
.payment-kpi-val { font-size: 13px; font-weight: 700; color: #f0f4ff; line-height: 1.4; padding-top: 4px; letter-spacing: 0; }
.payment-kpi-val--green { color: #4ade80; }
.payment-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.payment-tag { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 4px 11px; border-radius: 5px; font-family: monospace; font-size: 9px; letter-spacing: 0.5px; color: rgba(240,244,255,0.3); }
.payment-tag--active { color: #4ade80; border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.04); }

@media (max-width: 768px) { .payment-widget-split { grid-template-columns: 1fr; } .payment-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.055); } .payment-kpis { grid-template-columns: 1fr 1fr; } .payment-detail { padding: 24px 20px; } }
@media (max-width: 480px) { .payment-kpis { grid-template-columns: 1fr; } }


/* ── FUND STEPS DESKTOP ── */
.fund-steps-head { text-align: center; }
.fund-steps-rail { position: relative; display: flex; align-items: flex-start; gap: 0; padding-top: 16px; }
.fund-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.fund-step-left { display: none; }

.fund-step-connector { flex: 0 0 40px; height: 2px; background: rgba(37,99,235,0.1); border-radius: 2px; overflow: hidden; margin-top: 24px; }
.fund-step-connector-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #2563eb, #60a5fa); border-radius: 2px; transition: width 3.2s linear; }
.fund-step-connector--done .fund-step-connector-fill { width: 100%; transition: none; }
.fund-step-connector--active .fund-step-connector-fill { width: 100%; }

.fund-step-node { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; z-index: 1; margin-bottom: 20px; flex-shrink: 0; }
.fund-step-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed rgba(37,99,235,0.25); opacity: 0; transition: opacity 0.3s ease; }
.fund-step--active .fund-step-ring { opacity: 1; animation: fund-step-ring-spin 4s linear infinite; }
@keyframes fund-step-ring-spin { to { transform: rotate(360deg); } }
.fund-step-dot { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(37,99,235,0.12); display: flex; align-items: center; justify-content: center; color: #94a3b8; box-shadow: 0 2px 12px rgba(37,99,235,0.06); transition: all 0.3s ease; }
.fund-step--active .fund-step-dot { background: var(--color-accent); border-color: var(--color-accent); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,0.3); }
.fund-step--done .fund-step-dot { background: rgba(37,99,235,0.07); border-color: rgba(37,99,235,0.2); color: var(--color-accent); }

.fund-step-card { background: #ffffff; border: 1.5px solid rgba(37,99,235,0.08); border-radius: var(--radius-lg); padding: 24px 20px 20px; width: 100%; position: relative; overflow: hidden; box-shadow: 0 2px 16px rgba(37,99,235,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; gap: 8px; }
.fund-step-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,99,235,0.1); border-color: rgba(37,99,235,0.18); }
.fund-step--active .fund-step-card { border-color: rgba(37,99,235,0.25); box-shadow: 0 8px 40px rgba(37,99,235,0.12); }
.fund-step-card-glow { position: absolute; top: -40px; left: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.fund-step--active .fund-step-card-glow { opacity: 1; }
.fund-step-num { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: rgba(37,99,235,0.35); }
.fund-step-title { font-size: 16px; font-weight: 700; color: #0d1321; line-height: 1.3; }
.fund-step--active .fund-step-title { color: var(--color-accent); }
.fund-step-desc { font-size: 13px; line-height: 1.6; color: rgba(15,23,42,0.5); }
.fund-step-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #64748b; background: #f1f5f9; border-radius: 100px; padding: 3px 10px; margin-top: 4px; width: fit-content; }
.fund-step-chip-dot { width: 5px; height: 5px; background: #94a3b8; border-radius: 50%; }
.fund-step-chip--green { background: rgba(34,197,94,0.08); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }
.fund-step-chip-dot--green { background: #22c55e; animation: fund-chip-pulse 2s infinite; }
@keyframes fund-chip-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }


/* ── FUND STEPS MOBILE ── */
@media (max-width: 767px) {
  .fund-steps-rail { flex-direction: column; gap: 16px; padding-top: 0; position: relative; }
  .fund-steps-rail::before, .fund-steps-rail::after { display: none; }
  .fund-step-connector { display: none !important; }

  .fund-step { flex-direction: row; align-items: center; gap: 16px; flex: none; width: 100%; position: relative; }
  .fund-step-node { display: none; }

  .fund-step-left { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .fund-step-vline { display: none; }

  .fund-step-dot-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
  .fund-step-dot-wrap .fund-step-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed rgba(37,99,235,0.25); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
  .fund-step--active .fund-step-dot-wrap .fund-step-ring { opacity: 1; animation: fund-step-ring-spin 4s linear infinite; }
  .fund-step-dot-wrap .fund-step-dot { width: 40px; height: 40px; border-radius: 50%; background: #f8faff; border: 1.5px solid rgba(37,99,235,0.12); display: flex; align-items: center; justify-content: center; color: #94a3b8; box-shadow: 0 2px 12px rgba(37,99,235,0.06); transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; flex-shrink: 0; position: relative; z-index: 3; }
  .fund-step--active .fund-step-dot-wrap .fund-step-dot { background: var(--color-accent); border-color: var(--color-accent); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,0.3); }
  .fund-step--done .fund-step-dot-wrap .fund-step-dot { background: #f8faff; border-color: rgba(37,99,235,0.2); color: var(--color-accent); }

  .fund-step-card { flex: 1; }
}


/* ── FUND STEPS FOOTER ── */
.fund-steps-footer { display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid rgba(37,99,235,0.1); border-radius: var(--radius-lg); padding: 24px 32px; box-shadow: 0 2px 20px rgba(37,99,235,0.06); flex-wrap: wrap; gap: 0; }
.fund-steps-footer-stats-row { display: contents; }
.fund-steps-footer-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 32px; }
.fund-steps-footer-val { font-size: 22px; font-weight: 800; color: var(--color-accent); letter-spacing: -0.5px; }
.fund-steps-footer-label { font-size: 12px; font-weight: 500; color: rgba(15,23,42,0.45); }
.fund-steps-footer-divider { width: 1px; height: 40px; background: rgba(37,99,235,0.1); flex-shrink: 0; }
.fund-steps-footer-btns { display: flex; gap: 10px; padding: 0 0 0 32px; align-items: center; flex-wrap: wrap; }

@media (max-width: 767px) {
  .fund-steps-footer { flex-direction: column; padding: 20px 16px; gap: 0; }
  .fund-steps-footer-stats-row { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; padding-bottom: 16px; }
  .fund-steps-footer-stat { padding: 0 16px; flex: 1; gap: 2px; }
  .fund-steps-footer-val { font-size: 15px; }
  .fund-steps-footer-label { font-size: 9px; text-align: center; }
  .fund-steps-footer-divider { width: 1px; height: 32px; align-self: center; flex-shrink: 0; }
  .fund-steps-footer-btns { display: flex; flex-direction: column; width: 100%; padding: 16px 0 0; border-top: 1px solid rgba(37,99,235,0.1); gap: 8px; }
  .fund-steps-footer-btns .btn-primary, .fund-steps-footer-btns .btn-secondary { width: 100%; justify-content: center; }
}

/* ── WITHDRAWALS ── */
.withdrawal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.withdrawal-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(96,165,250,0.1); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.3s ease, transform 0.3s ease; }
.withdrawal-card:hover { border-color: rgba(96,165,250,0.25); transform: translateY(-4px); }
.withdrawal-card-top { display: flex; align-items: center; justify-content: space-between; }
.withdrawal-card-img { width: 52px; height: 52px; object-fit: contain; }
.withdrawal-card-title { font-size: 18px; font-weight: 700; color: #f0f4ff; }
.withdrawal-card-desc { font-size: 13px; line-height: 1.65; color: rgba(240,244,255,0.4); flex: 1; }
.withdrawal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.withdrawal-tag { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(240,244,255,0.35); }

.withdrawal-policy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.withdrawal-policy-left, .withdrawal-policy-right { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-radius: var(--radius-md); }
.withdrawal-policy-left { background: rgba(37,99,235,0.06); border: 1px solid rgba(96,165,250,0.12); }
.withdrawal-policy-right { background: rgba(251,191,36,0.04); border: 1px solid rgba(251,191,36,0.15); }
.withdrawal-policy-icon { font-size: 22px; flex-shrink: 0; }
.withdrawal-policy-title { font-size: 13px; font-weight: 700; color: #f0f4ff; margin-bottom: 4px; }
.withdrawal-policy-text { font-size: 12px; line-height: 1.65; color: rgba(240,244,255,0.4); }
.withdrawal-policy-text strong { color: #fbbf24; }

@media (max-width: 900px) { .withdrawal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .withdrawal-policy { grid-template-columns: 1fr; gap: 10px; } .withdrawal-policy-left, .withdrawal-policy-right { padding: 16px 18px; border-radius: var(--radius-sm); } .withdrawal-policy-icon { font-size: 18px; } .withdrawal-policy-title { font-size: 12px; } .withdrawal-policy-text { font-size: 11px; } }
@media (max-width: 580px) { .withdrawal-grid { grid-template-columns: 1fr; } }