:root {
  --ink: #0a1723;
  --ink-soft: #253241;
  --muted: #677382;
  --line: #dfe5ea;
  --paper: #f6f8fb;
  --white: #ffffff;
  --deep: #081827;
  --green: #3fc85f;
  --cyan: #30bdf2;
  --yellow: #ffd12f;
  --rose: #ff4d8d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body,
body * {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Sora", Arial, sans-serif;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  background: rgba(8, 24, 39, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.brand > span > span {
  color: var(--green);
}

.brand-mark {
  width: 46px;
  flex: 0 0 auto;
  color: var(--white);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  background: var(--green);
  color: #05130a;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(63, 200, 95, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(63, 200, 95, 0.3);
}

.button span {
  font-size: 18px;
}

.button-sm {
  min-height: 42px;
  padding: 11px 15px;
  font-size: 14px;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.button-light {
  background: var(--white);
  color: var(--deep);
  box-shadow: none;
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 132px 0 28px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 35%, rgba(48, 189, 242, 0.14), transparent 32%),
    radial-gradient(circle at 14% 72%, rgba(63, 200, 95, 0.12), transparent 30%),
    var(--deep);
}

.hero-scrim {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, var(--paper), rgba(246, 248, 251, 0));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
  gap: 62px;
  align-items: center;
}

.hero-content {
  max-width: 710px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: 92px;
  line-height: 0.94;
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-product {
  position: relative;
  min-height: 405px;
}

.hero-product img {
  width: min(100%, 500px);
  margin-left: auto;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.hero-chip {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  align-items: center;
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(8, 24, 39, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.hero-chip span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #06130a;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.hero-chip strong,
.hero-chip small {
  display: block;
}

.hero-chip strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 14px;
}

.hero-chip small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.chip-meta {
  left: 2px;
  top: 34px;
}

.chip-whatsapp {
  right: 22px;
  bottom: 28px;
}

.chip-data {
  left: 28px;
  bottom: 96px;
}

.hero-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  min-height: 132px;
  padding: 22px;
  background: rgba(8, 24, 39, 0.62);
}

.hero-panel small,
.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel small {
  color: var(--yellow);
  font-weight: 800;
  font-size: 12px;
}

.hero-panel strong {
  margin: 7px 0 6px;
  font-family: "Sora", Arial, sans-serif;
  font-size: 22px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.stack-copy h2,
.contact h2 {
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
}

.section-heading p:last-child,
.stack-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(18, 32, 45, 0.08);
}

.solution-card figure {
  margin: 0;
  background: #111;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
}

.solution-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.solution-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.solution-topline span {
  color: var(--deep);
}

.solution-topline b {
  color: #13852b;
  text-align: right;
}

.solution-card h3 {
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 800;
}

.solution-card p {
  color: var(--muted);
}

.solution-card ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 2px 0 24px;
  border-top: 1px solid var(--line);
}

.solution-card li {
  position: relative;
  padding-left: 23px;
  margin: 9px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.solution-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  min-height: 48px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--deep);
  font-weight: 800;
}

.solution-card a span {
  color: var(--green);
  font-size: 20px;
}

.reference-wall {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.96), rgba(14, 42, 52, 0.9)),
    url("assets/infivom-meta-ads-visual.png") center / cover;
  overflow: hidden;
}

.reference-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: center;
}

.reference-copy h2 {
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.05;
}

.reference-copy p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.reference-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.reference-gallery figure:nth-child(2) {
  transform: translateY(-34px);
}

.reference-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.reference-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(8, 24, 39, 0.78);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.stack {
  padding: 105px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.96), rgba(13, 45, 43, 0.94)),
    url("assets/infivom-google-data-visual.png") center / cover;
}

.stack-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 74px;
  align-items: center;
}

.stack-copy h2 {
  color: var(--white);
}

.stack-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.stack-board {
  display: grid;
  gap: 12px;
}

.board-row {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr auto;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.board-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.board-row strong {
  font-size: 18px;
}

.board-row b {
  border-radius: 999px;
  padding: 7px 10px;
  color: #09130d;
  background: var(--yellow);
  font-size: 12px;
}

.compact {
  max-width: 660px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.flow-step {
  min-height: 285px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 58px;
  border-radius: 50%;
  color: #06130a;
  background: var(--green);
  font-weight: 800;
}

.flow-step h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.flow-step p {
  color: var(--muted);
  font-size: 14px;
}

.proof-strip {
  padding: 34px 0;
  color: var(--deep);
  background: var(--yellow);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-grid div {
  min-height: 86px;
  padding: 18px 0;
  border-right: 1px solid rgba(8, 24, 39, 0.18);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.proof-grid span {
  margin-top: 8px;
  color: rgba(8, 24, 39, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}

.contact-layout > div:first-child {
  max-width: 700px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: 240px;
}

footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.7);
  background: #050d14;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 34px;
  align-items: center;
  padding-bottom: 38px;
}

.brand-footer {
  color: var(--white);
}

.footer-wrap p {
  margin: 0;
  font-size: 14px;
}

.footer-wrap > a:last-child {
  color: var(--white);
  font-family: "Sora", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(8, 24, 39, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border: 0;
    padding: 10px;
    color: var(--white);
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
  }

  .mobile-menu {
    background: rgba(8, 24, 39, 0.97);
    padding: 8px 24px 24px;
    flex-direction: column;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-product {
    max-width: 620px;
    width: 100%;
    min-height: 390px;
    margin: 0 auto;
  }

  .hero-product img {
    margin-inline: auto;
  }

  .solution-grid,
  .reference-layout,
  .stack-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reference-gallery figure:nth-child(2) {
    transform: translateY(-18px);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:nth-child(2) {
    border-right: 0;
  }

  .flow-step:nth-child(1),
  .flow-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-wrap {
    height: 68px;
  }

  .brand {
    font-size: 25px;
  }

  .brand-mark {
    width: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-layout {
    gap: 30px;
  }

  .hero-product {
    min-height: auto;
  }

  .hero-product img {
    width: 100%;
  }

  .hero-chip {
    position: absolute;
    min-width: 154px;
    padding: 11px 12px;
  }

  .hero-chip span {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .hero-chip strong {
    font-size: 12px;
  }

  .hero-chip small {
    font-size: 10px;
  }

  .chip-meta {
    left: 8px;
    top: 12px;
  }

  .chip-whatsapp {
    right: 8px;
    bottom: 14px;
  }

  .chip-data {
    left: 18px;
    bottom: 78px;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(238px, 1fr));
    margin-top: 34px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .hero-panel div {
    scroll-snap-align: start;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .stack-copy h2,
  .contact h2 {
    font-size: 36px;
  }

  .section-heading p:last-child,
  .stack-copy p,
  .contact p {
    font-size: 16px;
  }

  .solution-card img {
    aspect-ratio: 1 / 0.76;
  }

  .reference-wall {
    padding: 72px 0;
  }

  .reference-copy h2 {
    font-size: 34px;
  }

  .reference-gallery {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .reference-gallery figure {
    flex: 0 0 245px;
    scroll-snap-align: start;
  }

  .reference-gallery figure:nth-child(2) {
    transform: none;
  }

  .stack {
    padding: 78px 0;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .board-row b {
    width: fit-content;
  }

  .flow,
  .proof-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .flow-step:nth-child(2) {
    border-right: 0;
  }

  .flow-step:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .flow-step {
    min-height: 245px;
  }

  .flow-step span {
    margin-bottom: 34px;
  }

  .proof-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 24, 39, 0.18);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .contact-actions {
    min-width: 0;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}
