/* ═══════════════════════════════════════════
   FinovaTech Labs — Global Stylesheet
   Light Theme | Professional Fintech
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --white:    #ffffff;
  --bg:       #f7f9fc;
  --bg2:      #eef2f8;
  --navy:     #0b1f3a;
  --navy2:    #163055;
  --blue:     #1558d6;
  --blue2:    #0e44aa;
  --teal:     #0ca882;
  --teal-lt:  #e8f8f4;
  --gold:     #f5a623;
  --red:      #e84545;
  --text:     #1a2636;
  --text2:    #4a6080;
  --text3:    #8099b8;
  --border:   #dce6f0;
  --shadow:   0 2px 16px rgba(11,31,58,0.08);
  --shadow-lg:0 8px 40px rgba(11,31,58,0.12);
  --font-h:   'Outfit', sans-serif;
  --font-b:   'Outfit', sans-serif;
  --radius:   12px;
  --trans:    0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-h); cursor: pointer; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #b0c4de; border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-h); font-weight: 700; line-height: 1.18; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p  { color: var(--text2); }

.label {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
  background: rgba(21,88,214,0.08);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 1rem;
}
.label-teal { color: var(--teal); background: var(--teal-lt); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-size: 0.92rem; font-weight: 600;
  padding: 13px 28px; border-radius: 8px; border: none;
  transition: var(--trans); cursor: pointer; letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-blue {
  background: var(--blue); color: #fff;
}
.btn-blue:hover { background: var(--blue2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(21,88,214,0.28); }

.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-white {
  background: #fff; color: var(--blue);
}
.btn-white:hover { background: var(--bg2); }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0a9070; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12,168,130,0.28); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 5%;
  box-shadow: 0 1px 12px rgba(11,31,58,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-size: 1.2rem; font-weight: 800;
  color: var(--navy); margin-right: auto; text-decoration: none;
}
.logo-box {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: #fff;
  letter-spacing: -0.04em;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text2); padding: 8px 14px; border-radius: 7px;
  transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(21,88,214,0.06); }
.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; flex-direction: column; gap: 0.4rem;
  z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 600; color: var(--text2);
  padding: 12px 16px; border-radius: 8px; transition: var(--trans);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue); background: rgba(21,88,214,0.06); }

/* ── SECTIONS ── */
section, .section { padding: 5.5rem 5%; }
.container { max-width: 1160px; margin: 0 auto; }
.section-head { margin-bottom: 3rem; }
.section-head p { font-size: 1.05rem; max-width: 560px; margin-top: 0.75rem; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── HERO BASE ── */
.page-hero {
  padding-top: calc(68px + 5rem);
  padding-bottom: 5rem;
  padding-left: 5%; padding-right: 5%;
  background: linear-gradient(155deg, #f0f5ff 0%, #e8f8f4 60%, #f7f9fc 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231558d6' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b8d0f0; }

/* ── TAG ── */
.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 6px;
  background: var(--bg2); color: var(--text2);
}
.tag-blue { background: rgba(21,88,214,0.1); color: var(--blue); }
.tag-teal { background: var(--teal-lt); color: var(--teal); }
.tag-gold { background: #fff7e6; color: #c87d00; }

/* ── STAT ── */
.stat-num {
  font-family: var(--font-h); font-size: 2.4rem; font-weight: 800;
  color: var(--blue); line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text2); font-weight: 500; }

/* ── FOOTER ── */
footer {
  background: var(--navy); color: #fff;
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-size: 1.15rem; font-weight: 800;
  color: #fff; margin-bottom: 1rem;
}
.footer-logo span { color: #6ab4ff; }
footer p { color: #8099b8; font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-h); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #8099b8; margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: #c0d0e6; transition: var(--trans); }
.footer-links a:hover { color: #6ab4ff; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
      font-size: 15px; color: #8099b8; flex-wrap: wrap; gap: 0.5rem;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--navy); color: #fff;
  font-family: var(--font-h); font-size: 0.88rem; font-weight: 600;
  padding: 14px 22px; border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: var(--trans); z-index: 9999;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── BACK TO TOP ── */
.btt {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--blue); font-size: 1rem;
  cursor: pointer; display: none; align-items: center;
  justify-content: center; box-shadow: var(--shadow);
  transition: var(--trans); z-index: 1000;
}
.btt.visible { display: flex; }
.btt:hover { background: var(--blue); color: #fff; }

/* ── FADE IN ── */
.fi { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fi.show { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: 0.1s; }
.fi-d2 { transition-delay: 0.2s; }
.fi-d3 { transition-delay: 0.3s; }
.fi-d4 { transition-delay: 0.4s; }

/* ── PROCESS STEPS ── */
.steps-row {
  display: flex; gap: 0; position: relative;
  counter-reset: step;
}
.steps-row::after {
  content: ''; position: absolute;
  top: 28px; left: 0; right: 0; height: 2px;
  background: var(--border); z-index: 0;
}
.step-item { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-h); font-size: 1rem; font-weight: 800; color: var(--blue);
  transition: var(--trans);
}
.step-item:hover .step-circle { background: var(--blue); color: #fff; border-color: var(--blue); }
.step-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.step-item p  {     font-size: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  section, .section { padding: 4rem 5%; }
  .page-hero { padding-top: calc(68px + 3rem); padding-bottom: 3rem; }
  .steps-row { flex-direction: column; gap: 1.5rem; }
  .steps-row::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .navbar, section, .section, .page-hero, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  h1 { font-size: 2rem; }
}

.socials {
  display: flex;
  gap: 12px;
}

.soc-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2636;
  font-size: 16px;
  transition: all 0.3s ease;
}

.soc-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(21,88,214,0.25);
}

.cinfo-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cinfo-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(21,88,214,0.2);
}

.ci-text span {
  font-size: 0.75rem;
  color: var(--text3);
  display: block;
  margin-bottom: 2px;
}

.ci-text strong {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
}
