/* ================================================
   lerumiw.com – Custom Styles
   Modern FinTech SaaS UI
   ================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #F9FAFB;
  color: #111827;
  overflow-x: hidden;
}

/* ---------- Mesh blobs ---------- */
.mesh-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Floating badges ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

.badge-float   { animation: floatY  4s ease-in-out infinite; }
.badge-float-2 { animation: floatY2 5s ease-in-out infinite 1s; }
.badge-float-3 { animation: floatY  3.5s ease-in-out infinite 2s; }

/* ---------- Fade-in animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fade-up    { animation: fadeInUp    0.7s ease-out both; }
.fade-left  { animation: fadeInLeft  0.7s ease-out both; }
.fade-right { animation: fadeInRight 0.7s ease-out both; }
.delay-1    { animation-delay: 0.1s; }
.delay-2    { animation-delay: 0.2s; }
.delay-3    { animation-delay: 0.3s; }
.delay-4    { animation-delay: 0.4s; }
.delay-5    { animation-delay: 0.5s; }
.delay-6    { animation-delay: 0.6s; }

/* ---------- Stepper ---------- */
.stepper-wrap { position: relative; }

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-circle.active {
  background: #2563EB;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(37,99,235,.15);
}

.step-circle.done {
  background: #059669;
  color: #fff;
}

.step-circle.pending {
  background: #F3F4F6;
  color: #9CA3AF;
  border: 2px solid #E5E7EB;
}

.step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #2563EB 0%, #E5E7EB 100%);
  margin: 0 8px;
  position: relative;
  top: 0;
  z-index: 1;
}

/* ---------- Cards (widget style) ---------- */
.widget-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.widget-card:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.1), 0 2px 8px rgba(0,0,0,.06);
  transform: translateY(-3px);
}

/* ---------- Navigation ---------- */
.nav-link {
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: #2563EB;
  background: rgba(37,99,235,.06);
}

/* ---------- Primary button ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2563EB;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: #1D4ED8;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #2563EB;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  border: 1.5px solid #2563EB;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(37,99,235,.06);
}

/* ---------- Form inputs ---------- */
.form-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.form-field::placeholder { color: #9CA3AF; }
.form-field:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-field.error { border-color: #EF4444; }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: calc(100% - 2.5rem);
  max-width: 680px;
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#cookie-banner.hidden-banner {
  opacity: 0;
  transform: translateX(-50%) translateY(120%);
  pointer-events: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

/* ---------- SVG hero underline animation ---------- */
@keyframes drawLine {
  from { stroke-dashoffset: 300; }
  to   { stroke-dashoffset: 0; }
}
.hero-underline path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 1.2s ease-out 0.6s forwards;
}

/* ---------- Header shadow on scroll ---------- */
.header-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* ---------- Section label badge ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(37,99,235,.08);
  color: #2563EB;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(37,99,235,.15);
}

/* ---------- Stats output ---------- */
.stat-output {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

/* ---------- Testimonial / trust badge ---------- */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.3125rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ---------- Mobile menu ---------- */
#mobile-menu {
  transition: all 0.3s ease;
}

/* ---------- Responsive hero illustration ---------- */
@media (max-width: 768px) {
  .hero-badges-wrap { display: none; }
  .stat-output { font-size: 2rem; }
}
