/* ═══════════════════════════════════════════════
   PLFLOTO — style.css  (White & Sky Blue, v8)
   ═══════════════════════════════════════════════ */

:root {
  --blue:       #2D8EF5;
  --blue-dark:  #1A6FCC;
  --blue-light: #5BAAF8;
  --blue-pale:  #EBF4FF;
  --blue-glow:  rgba(45,142,245,.15);
  --blue-bd:    rgba(45,142,245,.2);

  --bg:        #F0F5FF;
  --surface:   #FFFFFF;
  --border:    #E2EAF4;
  --muted:     #8FA5BE;
  --text:      #0F2340;
  --text-sm:   #4A6380;

  --success:     #16A34A;
  --success-pale:#DCFCE7;

  --warn-bg:  #FFFBEB;
  --warn-bd:  #FCD34D;
  --warn-tx:  #92400E;

  --sh-xs: 0 1px 4px rgba(0,30,80,.05);
  --sh-sm: 0 2px 12px rgba(0,30,80,.07);
  --sh-md: 0 6px 28px rgba(0,30,80,.1);
  --sh-lg: 0 16px 48px rgba(0,30,80,.13);

  --r:    14px;
  --r-sm:  9px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ──────────────────────────────
   HEADER
────────────────────────────── */
.plf-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 62px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sh-xs);
}

.plf-header-inner {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plf-logo { height: 34px; width: auto; object-fit: contain; }

.plf-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid var(--blue-bd);
  padding: 5px 13px;
  border-radius: var(--pill);
}
.plf-secure-badge i { font-size: 13px; }

/* ──────────────────────────────
   MAIN
────────────────────────────── */
.plf-main { flex: 1; padding: 32px 16px 52px; }
.plf-container { max-width: 500px; margin: 0 auto; }

/* ──────────────────────────────
   STEP INDICATOR
────────────────────────────── */
.plf-steps {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 10px 18px;
  margin-bottom: 24px;
  box-shadow: var(--sh-xs);
}

.plf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.plf-step-dot {
  width: 30px; height: 30px;
  border-radius: var(--pill);
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}

.plf-step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  transition: color .3s;
}

.plf-step.active .plf-step-dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px var(--blue-glow);
}
.plf-step.active .plf-step-label { color: var(--blue); }

.plf-step.done .plf-step-dot {
  background: var(--blue-pale);
  border-color: var(--blue-light);
  color: var(--blue);
  font-size: 0;
}
.plf-step.done .plf-step-dot::before {
  font-family: 'remixicon';
  content: "\eb7b";
  font-size: 14px;
}
.plf-step.done .plf-step-label { color: var(--blue-light); }

.plf-step-bar {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
  margin-bottom: 13px;
  border-radius: 2px;
  transition: background .35s;
}
.plf-step-bar.done {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

/* ──────────────────────────────
   PAGES
────────────────────────────── */
.plf-page { display: none; }
.plf-page.active {
  display: block;
  animation: fadeUp .32s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────
   CARD
────────────────────────────── */
.plf-card {
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--sh-sm);
}

.plf-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.plf-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-pale);
  border: 1px solid var(--blue-bd);
  color: var(--blue);
  font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.plf-title {
  font-size: 18px; font-weight: 700;
  color: var(--text); margin: 0 0 3px;
  letter-spacing: -0.2px;
}

.plf-subtitle {
  font-size: 13px; color: var(--muted);
  margin: 0; line-height: 1.5;
}

.plf-desc {
  font-size: 13.5px; color: var(--text-sm);
  line-height: 1.65; margin-bottom: 18px;
}

/* ──────────────────────────────
   FORM
────────────────────────────── */
.plf-field { margin-bottom: 14px; }

.plf-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  color: var(--text-sm);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.plf-input-wrap { position: relative; }

.plf-ico {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; color: var(--muted);
  pointer-events: none; z-index: 2;
  transition: color .2s;
}
.plf-input-wrap:focus-within .plf-ico { color: var(--blue); }

.plf-input {
  width: 100%;
  padding: 11px 13px 11px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #FAFCFF;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.plf-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: #fff;
}
.plf-input::placeholder { color: #C2CEDC; }

.plf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238FA5BE' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ──────────────────────────────
   BUTTONS
────────────────────────────── */
.plf-btn {
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--blue);
  color: #fff;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: all .2s ease;
  box-shadow: 0 3px 14px rgba(45,142,245,.28);
  letter-spacing: 0.2px;
}
.plf-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,142,245,.35);
  color: #fff;
}
.plf-btn:active { transform: translateY(0); }

.plf-btn-outline {
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-bd);
  cursor: pointer;
  display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: all .2s ease;
}
.plf-btn-outline:hover {
  background: var(--blue-pale);
  border-color: var(--blue-light);
}

/* ──────────────────────────────
   TRUST ROW
────────────────────────────── */
.plf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.plf-trust span {
  display: inline-flex; align-items: center;
  gap: 5px; font-size: 11.5px; color: var(--muted);
}
.plf-trust i { color: var(--blue); font-size: 13px; }

/* ──────────────────────────────
   GAIN BANNER
────────────────────────────── */
.plf-gain-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: var(--r);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 16px;
  color: #fff;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.plf-gain-banner::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.plf-gain-banner::after {
  content: '';
  position: absolute; bottom: -25px; left: -25px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}

.plf-gain-icon {
  font-size: 28px; margin-bottom: 10px;
  color: rgba(255,255,255,.85);
  position: relative;
}
.plf-gain-lbl {
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: rgba(255,255,255,.65); margin-bottom: 10px;
  position: relative;
}
.plf-gain-amount {
  font-size: 44px; font-weight: 800;
  color: #fff; line-height: 1;
  animation: pulse 3s ease-in-out infinite;
  position: relative;
  letter-spacing: -1px;
}
.plf-gain-currency {
  font-size: 13px; color: rgba(255,255,255,.65);
  margin-top: 8px; position: relative;
}
.plf-gain-cert {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--pill);
  padding: 5px 14px;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.9);
  position: relative;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

/* ──────────────────────────────
   ALERT
────────────────────────────── */
.plf-alert {
  display: flex; align-items: flex-start;
  gap: 9px; padding: 11px 13px;
  border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.5;
  margin-bottom: 14px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: var(--warn-tx);
}
.plf-alert i { font-size: 16px; flex-shrink: 0; margin-top: 1px; color: #D97706; }

/* ──────────────────────────────
   CARD VISUAL (page 4)
────────────────────────────── */
.plf-card-visual {
  background: linear-gradient(135deg, #0F2340 0%, var(--blue-dark) 55%, var(--blue) 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-md);
}
.plf-card-visual::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}

.plf-cv-chip {
  width: 34px; height: 26px;
  background: linear-gradient(135deg, #FFD966, #E6AA1A);
  border-radius: 5px; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.plf-cv-num {
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: 3px; margin-bottom: 18px;
  position: relative; z-index: 1; min-height: 22px;
  font-family: 'Plus Jakarta Sans', monospace;
}
.plf-cv-bot {
  display: flex; justify-content: space-between;
  align-items: flex-end; position: relative; z-index: 1;
}
.plf-cv-lbl {
  font-size: 9px; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 3px; margin-top: 0;
}
.plf-cv-val {
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.92);
  min-height: 20px; margin: 0;
}

/* ──────────────────────────────
   THANK YOU
────────────────────────────── */
.plf-thank {
  text-align: center;
  padding: 44px 28px 36px;
}
.plf-check-icon {
  width: 76px; height: 76px;
  background: var(--success-pale);
  border: 2px solid #86EFAC;
  border-radius: var(--pill);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  color: var(--success); font-size: 36px;
  box-shadow: 0 0 0 8px rgba(22,163,74,.07);
}
.plf-ref-box {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  padding: 16px; margin-top: 20px;
}
.plf-ref-lbl {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 11px; color: var(--muted);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.plf-ref-box strong {
  display: block; font-size: 17px;
  color: var(--blue-dark); font-weight: 700;
  letter-spacing: 2px;
}

/* ──────────────────────────────
   LOADING
────────────────────────────── */
#loadingOverlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,35,64,.4);
  backdrop-filter: blur(6px);
  z-index: 9999; align-items: center; justify-content: center;
}
#loadingOverlay.show { display: flex; }
.plf-loader-card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 34px 28px;
  text-align: center; width: 230px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}
.plf-spinner {
  width: 42px; height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.plf-loader-text { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.plf-loader-sub  { font-size: 12px; color: var(--muted); margin: 0; }

/* ──────────────────────────────
   FOOTER
────────────────────────────── */
.plf-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  margin-top: auto;
}
.plf-footer-links {
  display: flex; gap: 22px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 14px;
}
.plf-footer-links a {
  font-size: 12px; color: var(--muted);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.plf-footer-links a:hover { color: var(--blue); }
.plf-footer-badges {
  display: flex; gap: 10px;
  justify-content: center; margin-bottom: 14px;
}
.plf-badge-green {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  background: var(--success-pale); color: var(--success);
  border: 1px solid #86EFAC;
  padding: 5px 13px; border-radius: var(--pill);
}
.plf-badge-blue {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  background: var(--blue-pale); color: var(--blue);
  border: 1px solid var(--blue-bd);
  padding: 5px 13px; border-radius: var(--pill);
}
.plf-footer-copy {
  text-align: center; font-size: 11px; color: #C2CEDC;
  border-top: 1px solid var(--border); padding-top: 14px; margin: 0;
}

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */
@media (max-width: 480px) {
  .plf-gain-amount { font-size: 36px; }
  .plf-card { padding: 18px; }
  .plf-thank { padding: 36px 16px 28px; }
  .plf-cv-num { font-size: 13px; }
  .plf-step-label { display: none; }
}