/* ===========================
   QI Tech Clone - style.css
   =========================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0a1340;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:root {
  --navy-900: #0a1340;
  --navy-800: #101c5a;
  --navy-700: #14296e;
  --navy-600: #1a3680;
  --blue-500: #1d5cff;
  --blue-400: #4a90ff;
  --cyan-400: #00b3ff;
  --cyan-300: #4dd0ff;
  --pink-500: #ff0a6c;
  --pink-400: #ff3d8a;
  --text-soft: #4b5380;
  --text-mute: #7a82a8;
  --bg-soft: #f3f6ff;
  --bg-tint: #eaf1ff;
  --border: #e3e8f7;
  --container: 1200px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================
   Top Banner
   =========================== */
.top-banner {
  position: relative;
  background: linear-gradient(90deg, #d4e4ff 0%, #b8d3ff 50%, #d4e4ff 100%);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 60px;
  overflow: hidden;
  border-bottom: 1px solid #c8d8f5;
  transition: all .35s ease;
}
.top-banner.is-hidden { height: 0; padding: 0; border: 0; opacity: 0; }
.top-banner__viewport { width: 100%; max-width: 980px; margin: 0 auto; overflow: hidden; }
.top-banner__track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.top-banner__slide { flex: 0 0 100%; text-align: center; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-banner__slide strong { font-weight: 700; }
.top-banner__nav, .top-banner__close {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-900); transition: background .2s ease;
}
.top-banner__nav svg, .top-banner__close svg { width: 12px; height: 12px; }
.top-banner__nav:hover, .top-banner__close:hover { background: rgba(255,255,255,.5); }
.top-banner__nav--prev { left: 16px; }
.top-banner__nav--next { right: 52px; }
.top-banner__close { right: 16px; }

/* ===========================
   Header
   =========================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 18px -10px rgba(10,19,64,.08); }
.header__inner { display: flex; align-items: center; gap: 40px; height: 76px; }

/* Logo */
.logo { display: flex; align-items: center; }
.logo__img { height: 40px; width: auto; display: block; }

/* Navigation */
.nav { flex: 1; }
.nav__list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy-900);
  transition: background .2s ease, color .2s ease;
}
.nav__link:hover { background: var(--bg-soft); color: var(--blue-500); }
.nav__item--has-menu:hover .nav__mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__mega {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 720px; padding: 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(10,19,64,.15);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}
.nav__mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nav__mega-item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.nav__mega-item:hover { background: var(--bg-soft); }
.nav__mega-item h4 { margin: 0 0 4px; font-size: 14px; color: var(--navy-900); font-weight: 600; }
.nav__mega-item p { margin: 0; font-size: 12px; color: var(--text-soft); line-height: 1.45; }
.nav__mega-icon { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--bg-tint); position: relative; }
.nav__mega-icon::after { content: ""; position: absolute; inset: 8px; border-radius: 6px; background: var(--blue-500); opacity: .7; }
.nav__mega-icon--baas::after { background: var(--cyan-400); }
.nav__mega-icon--laas::after { background: var(--blue-400); }
.nav__mega-icon--dcm::after { background: var(--navy-700); }
.nav__mega-icon--dtvm::after { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__specialist {
  font-size: 13px; font-weight: 500; color: var(--navy-900);
  padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.header__specialist:hover { color: var(--blue-500); border-color: var(--blue-500); }
.header__lang {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px; font-weight: 600;
  color: #2a2a3a; letter-spacing: 0.5px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.header__lang:hover { background: #f8fafc; border-color: #d8dee7; box-shadow: 0 2px 8px -4px rgba(10,19,64,.15); }
.flag-br {
  width: 22px; height: 16px; border-radius: 3px;
  display: inline-block; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.header__login-wrap { position: relative; }
.header__login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border: 1.5px solid rgb(55, 190, 229);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: rgb(17, 59, 145);
  background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.header__login svg { stroke: rgb(17, 59, 145); transition: stroke .2s; }
.header__login:hover, .header__login.is-open {
  background: rgb(55, 190, 229); color: #fff; border-color: rgb(55, 190, 229);
}
.header__login:hover svg, .header__login.is-open svg { stroke: #fff; }
.login-menu {
  position: absolute; top: calc(100% + 12px); right: auto; left: -100px;
  width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(10,19,64,.18);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 90;
}
.login-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.login-menu__item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 12px;
  color: var(--navy-900);
  transition: background .2s ease;
}
.login-menu__item:hover { background: var(--bg-soft); }
.login-menu__item:hover .login-menu__arrow { transform: translateX(4px); color: var(--blue-500); }
.login-menu__icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 12px;
  display: inline-block;
}
.login-menu__icon--baas { background: linear-gradient(135deg, #1d5cff, #0a1340); border-radius: 50% 12px; }
.login-menu__icon--img { background: transparent; padding: 0; object-fit: cover; border-radius: 50%; }
.login-menu__icon--risk { background: linear-gradient(135deg, #4a90ff, #00b3ff); border-radius: 50%; position: relative; }
.login-menu__icon--risk::after {
  content: ""; position: absolute; left: 50%; top: 28%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 14px 0 -1px #fff;
}
.login-menu__icon--sign { background: linear-gradient(135deg, #00b3ff, #1d5cff); border-radius: 50% 12px 50% 12px; }
.login-menu__icon--dtvm { background: linear-gradient(180deg, #4dd0ff 0%, #4dd0ff 50%, #1d5cff 50%, #0a1340 100%); border-radius: 50%; }
.login-menu__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.login-menu__text strong { font-size: 15px; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
.login-menu__text em { font-style: normal; font-size: 13px; color: var(--text-mute); }
.login-menu__arrow { color: var(--text-mute); transition: transform .2s ease, color .2s ease; flex-shrink: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero__lines {
  position: absolute; top: 0; right: -10%; width: 70%; height: 100%;
  background-image:
    radial-gradient(circle at 70% 0%, rgba(74,144,255,.12), transparent 50%),
    repeating-linear-gradient(135deg, rgba(74,144,255,.08) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(45deg, rgba(74,144,255,.06) 0 1px, transparent 1px 80px);
}
.hero__dot { position: absolute; border-radius: 50%; }
.hero__dot--1 { top: 18%; right: 12%; width: 8px; height: 8px; background: var(--cyan-400); box-shadow: 0 0 30px var(--cyan-400); }
.hero__dot--2 { top: 60%; right: 6%; width: 6px; height: 6px; background: var(--blue-500); }
.hero__dot--3 { top: 30%; right: 50%; width: 4px; height: 4px; background: var(--pink-500); opacity: .6; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
  align-items: center;
  padding-bottom: 60px;
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; font-weight: 700; letter-spacing: -1.2px;
  margin: 18px 0 22px; color: var(--navy-900);
}
.hero__title .text-gradient {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--navy-900);
}
.hero__subtitle {
  font-size: 16px; line-height: 1.55;
  color: var(--text-soft); max-width: 540px; margin: 0 0 32px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Tag */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--navy-900);
  box-shadow: 0 4px 12px -6px rgba(10,19,64,.1);
}
.tag strong { color: var(--blue-500); font-weight: 700; }
.tag__icon {
  width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  flex: 0 0 18px;
}
.tag--light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.tag--light strong { color: var(--cyan-300); }
.tag__icon--cases { background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); }
.tag__icon--products { background: linear-gradient(135deg, var(--cyan-400), var(--blue-400)); }
.tag__icon--industry { background: linear-gradient(135deg, var(--pink-500), var(--pink-400)); }
.tag__icon--blog { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); }
.tag__icon--all { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); }
.tag__icon--svg { background: transparent; border-radius: 0; width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  padding: 14px 24px;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--pink-500); color: #fff;
  box-shadow: 0 10px 25px -10px rgba(255,10,108,.55);
}
.btn--primary:hover { background: var(--pink-400); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,10,108,.7); }
.btn--md { padding: 12px 22px; font-size: 13px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--ghost { color: var(--navy-900); padding: 14px 0; gap: 6px; }
.btn--ghost:hover { color: var(--blue-500); }
.btn--outline {
  border: 1.5px solid var(--navy-900); color: var(--navy-900);
  background: transparent;
}
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn__arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.btn--primary:hover .btn__arrow { transform: rotate(45deg) translate(2px, -2px); }

/* Text gradient */
.text-gradient {
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient--cyan { background: linear-gradient(90deg, var(--cyan-300), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===========================
   Phone mockup (hero visual)
   =========================== */
.hero__visual {
  position: relative;
  display: flex; justify-content: flex-end; align-items: center;
  min-height: 720px;
  overflow: visible;
}
.hero__video {
  width: 125%; max-width: none; height: auto;
  display: block; border-radius: 16px;
  background: transparent;
  margin-right: -20%;
  filter: drop-shadow(0 30px 60px rgba(10,19,64,.15));
  animation: videoFloat 6s ease-in-out infinite;
}
@keyframes videoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__grid {
  position: absolute; inset: -40px; z-index: -1;
  background-image:
    linear-gradient(rgba(74,144,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
}
.phone {
  position: relative; width: 270px; height: 540px;
  background: linear-gradient(180deg, #1a3680, #0a1340);
  border-radius: 36px; padding: 10px;
  box-shadow: 0 30px 60px -10px rgba(10,19,64,.35), inset 0 0 0 2px rgba(255,255,255,.05);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; background: #0a1340; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1d5cff 0%, #1a3680 100%);
  border-radius: 28px; padding: 38px 18px 18px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.phone__topbar { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 12px; }
.phone__brand { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.phone__brand-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--cyan-400); }
.phone__bell { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.3); }
.phone__balance {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 14px; color: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.phone__balance-label { font-size: 10px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .5px; }
.phone__balance-value { font-size: 24px; font-weight: 700; }
.phone__balance-value span { font-size: 14px; opacity: .8; }
.phone__cards { display: flex; gap: 10px; }
.phone__card {
  flex: 1; height: 80px; border-radius: 12px; padding: 10px;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
}
.phone__card--blue { background: linear-gradient(135deg, #1d5cff, #00b3ff); color: #fff; }
.phone__card--white { background: #fff; color: var(--navy-900); }
.phone__card-chip { width: 22px; height: 16px; background: rgba(255,255,255,.4); border-radius: 3px; }
.phone__card-chip.dark { background: rgba(10,19,64,.2); }
.phone__card-brand { font-size: 11px; font-weight: 700; letter-spacing: 1px; align-self: flex-end; }
.phone__card-check {
  position: absolute; top: 8px; right: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.phone__row { height: 32px; background: rgba(255,255,255,.06); border-radius: 8px; }
.phone__actions { display: flex; gap: 8px; margin-top: auto; }
.phone__action { flex: 1; height: 44px; background: rgba(255,255,255,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.phone__action-icon { font-size: 18px; }

/* Floating chips */
.phone__chip {
  position: absolute; padding: 10px 14px;
  background: #fff; color: var(--navy-900); font-size: 12px; font-weight: 600;
  border-radius: 12px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 28px -10px rgba(10,19,64,.25);
  border: 1px solid var(--border);
}
.phone__chip-icon {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px;
}
.phone__chip--bnpl { top: 30px; right: -50px; animation: floatA 5s ease-in-out infinite; }
.phone__chip--card { bottom: 80px; left: -60px; animation: floatB 6s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ===========================
   Feature cards (under hero)
   =========================== */
.feature-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--border);
  background: #fff; border-radius: 16px;
  margin-top: 30px;
}
.feature-card {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  transition: background .2s ease;
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: var(--bg-soft); }
.feature-card h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.feature-card__icon {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 38px;
  background: var(--bg-tint); position: relative;
}
.feature-card__icon::after {
  content: ""; position: absolute; inset: 9px; border-radius: 6px;
}
.feature-card__icon--baas::after { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); }
.feature-card__icon--kyc::after { background: linear-gradient(135deg, var(--cyan-400), var(--blue-400)); border-radius: 50%; }
.feature-card__icon--api::after { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); }
.feature-card__icon--credit::after { background: linear-gradient(135deg, var(--blue-400), var(--blue-500)); border-radius: 4px 12px 4px 12px; }
.feature-card__icon--svg { background: transparent; object-fit: contain; }
.feature-card__icon--svg::after { display: none; }

/* ===========================
   Logos carousel
   =========================== */
.logos { padding: 50px 0 60px; background: #fff; overflow: hidden; }
.logos__track {
  display: flex; gap: 60px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.logos__row {
  display: flex; gap: 60px; align-items: center; padding-right: 60px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  font-size: 28px; font-weight: 700; color: #aab2d8; letter-spacing: -.5px;
  white-space: nowrap; transition: color .25s, filter .25s;
  filter: grayscale(1); opacity: .85;
}
.client-logo:hover { color: var(--navy-900); filter: grayscale(0); opacity: 1; }
.client-logo--bmg { color: #ff5722; }
.client-logo--quintoandar { color: #ff4242; }
.client-logo--nomad { color: #18223b; }
.client-logo--bari { color: #0a3d57; }
.client-logo--99 { color: #ffeb00; background: #1a1a1a; padding: 6px 14px; border-radius: 8px; }
.client-logo--unidas { color: #00a3a3; }
.client-logo--wellhub { color: #ff426d; }

/* ===========================
   Cases / Stats
   =========================== */
.cases { padding: 90px 0; background: #fff; }
.cases__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 700;
  margin: 14px 0 18px; color: var(--navy-900); letter-spacing: -.5px;
}
.section-title--light { color: #fff; }
.section-lead { font-size: 16px; color: var(--text-soft); margin: 0 auto 28px; max-width: 640px; }

.pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 880px; margin: 30px auto 60px;
}
.pill {
  padding: 10px 20px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--navy-900);
  background: #fff; transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.pill:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); transform: translateY(-2px); }

.stats-wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 0;
}
.stat {
  padding: 36px 28px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: none; }
.stat__icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 8px; }
.stat__icon--pix { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); border-radius: 50% 4px 50% 4px; }
.stat__icon--shield { background: linear-gradient(135deg, var(--cyan-400), var(--blue-400)); border-radius: 8px 8px 50% 50%; }
.stat__icon--credit { background: linear-gradient(135deg, var(--blue-400), var(--blue-500)); border-radius: 4px 12px 4px 12px; }
.stat__icon--admin { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); border-radius: 50%; }
.stat__value { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; color: var(--navy-900); letter-spacing: -1px; }
.stat p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* ===========================
   Products (dark)
   =========================== */
.products {
  position: relative; padding: 100px 0 110px;
  background: linear-gradient(180deg, #0a1340 0%, #14296e 100%);
  overflow: hidden;
}
.products__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 90% 0%, rgba(0,179,255,.18), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(29,92,255,.18), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
}
.products__inner { position: relative; z-index: 1; }
.products__head { text-align: center; max-width: 760px; margin: 0 auto 50px; }

.product-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-bottom: 50px;
}
.product-tab {
  text-align: left; padding: 22px 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.product-tab:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.product-tab.is-active {
  background: rgba(255,255,255,.1); border-color: var(--cyan-400); color: #fff;
  box-shadow: 0 0 0 1px var(--cyan-400), 0 14px 30px -16px rgba(0,179,255,.4);
}
.product-tab__icon { width: 32px; height: 32px; border-radius: 10px; }
.product-tab__icon--risk { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); border-radius: 50% 12px; }
.product-tab__icon--baas { background: linear-gradient(135deg, var(--blue-400), var(--cyan-400)); border-radius: 12px 50%; }
.product-tab__icon--laas { background: linear-gradient(135deg, var(--cyan-300), var(--blue-500)); border-radius: 50% 12px 50% 12px; }
.product-tab__icon--dcm { background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); border-radius: 6px; }
.product-tab__icon--dtvm { background: linear-gradient(135deg, var(--pink-400), var(--blue-400)); border-radius: 8px 24px 8px 24px; }
.product-tab__label strong { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.product-tab__label em { display: block; font-style: normal; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.65); }

.product-panels { position: relative; min-height: 500px; }
.product-panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; padding: 50px;
}
.product-panel.is-active { display: grid; animation: panelFadeIn .5s ease; }
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.product-panel__copy h3 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 22px; }
.check-list li { display: flex; gap: 14px; }
.check-list__icon {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-500); position: relative;
}
.check-list__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translate(-50%, -65%) rotate(-45deg);
}
.check-list h4 { margin: 0 0 4px; font-size: 16px; color: #fff; font-weight: 600; }
.check-list p { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.55; }

.product-panel__visual { display: flex; justify-content: center; align-items: center; }

/* Visual mocks */
.face-mock {
  position: relative; width: 320px; height: 420px;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.face-mock img { width: 100%; height: 100%; object-fit: cover; }
.face-mock__frame {
  position: absolute; inset: 70px 50px 100px 50px;
  border: 2px solid var(--cyan-400); border-radius: 100px;
  box-shadow: 0 0 30px var(--cyan-400);
  animation: scanPulse 2s ease-in-out infinite;
}
@keyframes scanPulse { 0%,100% { box-shadow: 0 0 20px var(--cyan-400); } 50% { box-shadow: 0 0 40px var(--cyan-400); } }
.face-mock__caption {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: rgba(255,255,255,.85); font-weight: 500;
}

.baas-mock {
  width: 360px; padding: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; display: flex; flex-direction: column; gap: 14px;
}
.baas-mock__bal { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.baas-mock__bal span { font-size: 12px; color: rgba(255,255,255,.6); }
.baas-mock__bal strong { font-size: 26px; color: #fff; font-weight: 700; }
.baas-mock__row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.85); padding: 6px 0; }
.baas-mock__row b { color: #fff; font-weight: 600; }
.baas-mock__row .green { color: #4ade80; }

.laas-mock {
  width: 360px; padding: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
}
.laas-mock h4 { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; }
.laas-mock__field { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(255,255,255,.85); }
.laas-mock__field strong { color: #fff; font-weight: 700; }
.laas-mock__field.highlighted { background: linear-gradient(90deg, rgba(0,179,255,.18), transparent); margin: 8px -12px 12px; padding: 14px 12px; border-radius: 10px; border: none; }
.laas-mock__field.highlighted strong { color: var(--cyan-300); font-size: 18px; }
.laas-mock__bar { height: 6px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; }
.laas-mock__bar div { width: 65%; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); animation: progFill 2s ease forwards; }
@keyframes progFill { from { width: 0; } to { width: 65%; } }

.dcm-mock { display: flex; justify-content: center; }
.dcm-mock__doc {
  width: 280px; padding: 28px; background: #fff; border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: rotate(-3deg);
  position: relative;
}
.dcm-mock__seal {
  position: absolute; top: -14px; right: -14px; width: 60px; height: 60px;
  border-radius: 50%; background: var(--pink-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; box-shadow: 0 10px 20px -8px rgba(255,10,108,.6);
}
.dcm-mock__lines { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.dcm-mock__lines span { display: block; height: 8px; background: linear-gradient(90deg, #d6deef, #f0f3fa); border-radius: 4px; }
.dcm-mock__lines span:nth-child(2) { width: 80%; }
.dcm-mock__lines span:nth-child(3) { width: 90%; }
.dcm-mock__lines span:nth-child(4) { width: 70%; }
.dcm-mock__lines span:nth-child(5) { width: 60%; }

.dtvm-mock {
  width: 360px; padding: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
}
.dtvm-mock h4 { margin: 0 0 22px; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; }
.dtvm-mock__chart {
  height: 160px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.dtvm-mock__chart span {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, var(--cyan-400), var(--blue-500));
  border-radius: 6px 6px 0 0;
  animation: barRise 1s ease forwards;
  transform-origin: bottom;
}
@keyframes barRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dtvm-mock__legend { margin-top: 16px; font-size: 14px; color: var(--cyan-300); font-weight: 600; }

/* ===========================
   Industries (dark)
   =========================== */
.industries {
  position: relative; padding: 110px 0;
  background: linear-gradient(180deg, #14296e 0%, #0a1340 100%);
  overflow: hidden;
}
.industries__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 0% 50%, rgba(29,92,255,.15), transparent 40%),
    radial-gradient(circle at 100% 80%, rgba(0,179,255,.12), transparent 40%);
}
.industries__inner { position: relative; z-index: 1; }
.industries__head { text-align: center; max-width: 880px; margin: 0 auto 60px; }
.industries__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 60px;
}
.industry-card {
  padding: 32px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.industry-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(0,179,255,.4); }
.industry-card__icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px;
  position: relative;
}
.industry-card__icon::after {
  content: ""; position: absolute; inset: 14px;
  background: #fff; opacity: .9;
}
.industry-card__icon--ecommerce { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); }
.industry-card__icon--ecommerce::after { mask: radial-gradient(circle at 30% 30%, black 8px, transparent 9px) no-repeat; -webkit-mask: radial-gradient(circle at 30% 30%, black 8px, transparent 9px) no-repeat; clip-path: polygon(20% 30%, 90% 30%, 80% 80%, 30% 80%); }
.industry-card__icon--saas { background: linear-gradient(135deg, var(--blue-400), var(--cyan-300)); }
.industry-card__icon--saas::after { clip-path: polygon(0 20%, 100% 20%, 100% 70%, 60% 70%, 60% 90%, 40% 90%, 40% 70%, 0 70%); }
.industry-card__icon--fintech { background: linear-gradient(135deg, var(--pink-400), var(--blue-400)); }
.industry-card__icon--fintech::after { clip-path: circle(40% at 50% 50%); }
.industry-card__icon--health { background: linear-gradient(135deg, var(--cyan-300), var(--blue-500)); }
.industry-card__icon--health::after { clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); }
.industry-card__icon--fund { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); }
.industry-card__icon--fund::after { clip-path: polygon(20% 70%, 30% 50%, 50% 60%, 70% 30%, 80% 40%, 80% 80%, 20% 80%); }
.industry-card__icon--consig { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); }
.industry-card__icon--consig::after { clip-path: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%); border-radius: 8px; }
.industry-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 12px; }
.industry-card p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.7); }

.specialist-card {
  display: flex; align-items: center; gap: 16px;
  width: max-content; max-width: 100%; margin: 0 auto;
  padding: 16px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; color: #fff; font-weight: 600; font-size: 15px;
  transition: background .25s, transform .25s;
}
.specialist-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.specialist-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  position: relative; overflow: hidden;
}
.specialist-card__avatar::after {
  content: ""; position: absolute; left: 50%; top: 25%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: #ffe0c2;
  box-shadow: 0 18px 0 -2px #ffe0c2;
}

/* ===========================
   Blog
   =========================== */
.blog { padding: 100px 0; background: #fff; }
.blog__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: #fff; transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(10,19,64,.18); }
.post__cover { height: 200px; }
.post__cover--1 { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); }
.post__cover--2 { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); }
.post__cover--3 { background: linear-gradient(135deg, var(--pink-400), var(--blue-400)); }
.post__body { padding: 26px; }
.post__cat {
  display: inline-block; padding: 4px 12px;
  background: var(--bg-tint); color: var(--blue-500);
  border-radius: 999px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.post h3 { margin: 14px 0 12px; font-size: 18px; line-height: 1.35; color: var(--navy-900); }
.post__date { font-size: 12px; color: var(--text-mute); }

/* ===========================
   Final CTA
   =========================== */
.cta-final {
  position: relative; padding: 110px 0; overflow: hidden;
  background: linear-gradient(180deg, #f4f7ff 0%, #e7eeff 100%);
}
.cta-final__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0,179,255,.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(29,92,255,.12), transparent 40%);
}
.cta-final__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-final__sub { margin: 18px 0 0; font-size: 14px; color: var(--text-soft); font-weight: 500; }
.cta-final__title { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.05; margin: 14px 0 20px; color: var(--navy-900); letter-spacing: -1px; }
.cta-final__desc { font-size: 17px; color: var(--text-soft); margin: 0 0 36px; }

/* ===========================
   Footer
   =========================== */
.footer { background: linear-gradient(180deg, #0a1340 0%, #050a26 100%); color: rgba(255,255,255,.75); padding: 80px 0 30px; position: relative; }
.footer__top {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__col h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 12px 0 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__col a:hover { color: var(--cyan-300); }
.footer__col-icon { width: 36px; height: 36px; border-radius: 10px; }
.footer__col-icon--risk { background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); border-radius: 50% 12px; }
.footer__col-icon--baas { background: linear-gradient(135deg, var(--blue-400), var(--cyan-400)); border-radius: 12px 50%; }
.footer__col-icon--laas { background: linear-gradient(135deg, var(--cyan-300), var(--blue-500)); border-radius: 50% 12px 50% 12px; }
.footer__col-icon--company { background: linear-gradient(135deg, var(--pink-400), var(--blue-400)); border-radius: 8px; }
.footer__col--contact .footer__btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; color: #fff; font-size: 14px; font-weight: 500;
  margin-bottom: 10px;
  transition: background .2s, border-color .2s;
}
.footer__col--contact .footer__btn:hover { background: rgba(255,255,255,.12); border-color: var(--cyan-400); color: var(--cyan-300); }

.footer__legal { padding: 30px 24px 20px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.5); position: relative; }
.footer__legal p { margin: 0 0 14px; max-width: 1100px; }
.footer__address { font-weight: 500; }

.footer__top-btn {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 13px; font-weight: 500;
  transition: background .2s;
}
.footer__top-btn:hover { background: rgba(255,255,255,.12); }

.footer__seals {
  display: flex; flex-wrap: wrap; gap: 14px; padding: 30px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px;
}
.seal {
  flex: 1 1 160px; max-width: 200px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; font-size: 10px; color: #fff;
}
.seal__top { padding: 12px 8px; background: rgba(255,255,255,.05); width: 100%; line-height: 1.3; font-weight: 600; }
.seal__bot { padding: 8px; width: 100%; font-weight: 700; font-size: 10px; }
.seal__bot--green { background: #5cb85c; }
.seal__bot--orange { background: #ec7d2c; }
.seal__bot--dark { background: #1a1a1a; }
.seal__bot--blue { background: #4a90ff; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__specialist { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header__inner { gap: 16px; }
  .product-tabs { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2) { border-right: none; }
  .feature-card:nth-child(1), .feature-card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .product-panel { grid-template-columns: 1fr; padding: 32px; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-banner__nav--prev, .top-banner__nav--next { display: none; }
  .top-banner { padding: 9px 40px 9px 16px; font-size: 12px; }
  .header__inner { height: 64px; }
  .header__lang { display: none; }
  .logo__img { height: 32px; }
  .hero { padding: 40px 0 60px; }
  .hero__title { font-size: 36px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-card:last-child { border-bottom: none; }
  .pills { gap: 8px; }
  .pill { padding: 8px 14px; font-size: 13px; }
  .stats-wrap { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .product-tabs { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__top-btn { position: static; transform: none; margin: 20px 24px; }
  .face-mock, .baas-mock, .laas-mock, .dtvm-mock { width: 100%; max-width: 360px; }
  .phone__chip--bnpl { right: -20px; }
  .phone__chip--card { left: -20px; }
}
