:root {
  --black: #050607;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f5f7fb;
  --gold: #ffc400;
  --gold-dark: #e0a900;
  --green: #1fbd72;
  --blue: #3577ff;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 52px;
  background: rgba(5, 6, 7, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  color: var(--white);
}

h1 span,
h2 span {
  color: var(--gold);
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 182px;
  height: 48px;
  object-fit: cover;
  object-position: left center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 31px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy strong span {
  color: var(--gold);
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover {
  color: var(--gold);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #171100;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.22);
}

.button-ghost,
.button-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.button-outline {
  color: var(--ink);
  border-color: #cfd5df;
  background: var(--white);
}

.button-large {
  min-height: 54px;
  padding-inline: 28px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

section {
  padding: 70px 52px;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 196, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #050607 0%, #0e1116 100%);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(520px, 1.16fr);
  align-items: center;
  gap: 58px;
  min-height: 640px;
  padding-top: 52px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

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

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 550px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.integrations {
  margin-top: 72px;
}

.integrations small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 16px;
}

.integrations div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 23px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 152px 1fr;
  width: 100%;
  min-width: 0;
  min-height: 545px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.metric-grid article.dashboard-index-ready {
  opacity: 0;
  transform: translateY(14px);
}

.metric-grid article.dashboard-index-ready.is-revealed {
  animation: dashboardIndexIn 420ms ease both;
  animation-delay: calc(var(--index, 0) * 90ms);
}

@keyframes dashboardIndexIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-grid article.dashboard-index-ready {
    opacity: 1;
    transform: none;
  }

  .metric-grid article.dashboard-index-ready.is-revealed {
    animation: none;
  }
}

.dashboard-sidebar {
  padding: 24px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--white);
}

.mini-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.mini-brand .brand-mark img {
  width: 106px;
  height: 28px;
}

.mini-brand .brand-copy strong {
  font-size: 18px;
}

.mini-brand .brand-copy small {
  font-size: 6px;
  margin-top: 2px;
}

.dashboard-sidebar button {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.dashboard-sidebar .active {
  color: #1b1600;
  background: var(--gold);
}

.dashboard-main {
  min-width: 0;
  padding: 28px 18px 18px;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.dashboard-topbar input {
  width: 190px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: var(--white);
  background: #07090c;
}

.preview-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.preview-tabs::-webkit-scrollbar {
  display: none;
}

.preview-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 900;
}

.preview-tabs button.active {
  color: #171100;
  border-color: var(--gold);
  background: var(--gold);
}

.metric-grid,
.chart-grid,
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid article,
.flow-card,
.bar-card,
.donut-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.metric-grid article {
  display: grid;
  grid-template-rows: 34px auto 18px;
  align-content: start;
  padding: 18px;
  min-height: 116px;
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.25;
}

.metric-grid strong {
  display: block;
  margin: 0;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.metric-grid small {
  color: var(--green);
  text-align: right;
  white-space: nowrap;
}

.flow-card {
  margin: 14px 0;
  padding: 20px;
}

.flow-card h3,
.bar-card h3,
.donut-card h3 {
  font-size: 13px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  position: relative;
}

.flow-line span {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 82px;
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  line-height: 1.35;
}

.flow-line span::before {
  content: "";
  display: block;
  width: 100%;
  height: 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0 var(--p), rgba(255, 255, 255, 0.1) var(--p) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.flow-line b {
  display: block;
  order: -1;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
}

.chart-grid {
  grid-template-columns: 1fr 1fr;
}

.bar-card,
.donut-card {
  min-height: 178px;
  padding: 18px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 16px;
  height: 92px;
  padding: 18px 0 30px;
}

.bars span {
  position: relative;
  width: 34px;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold), #b88900);
}

.bars span::before {
  content: attr(data-value);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
}

.bars span::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.equalization-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.4;
}

.category-content {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.donut {
  width: 108px;
  height: 108px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 35%, var(--blue) 35% 60%, #8aa1c2 60% 80%, #222a36 80% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #151a22;
}

.donut .pct {
  position: absolute;
  z-index: 1;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58);
}

.pct-media {
  top: 24px;
  right: 18px;
}

.pct-eventos {
  bottom: 18px;
  right: 30px;
}

.pct-treinamento {
  bottom: 30px;
  left: 14px;
}

.pct-producao {
  top: 26px;
  left: 17px;
}

.category-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.category-card li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.category-card li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}


.preview-screen {
  display: none;
  min-height: 426px;
}

.preview-screen.active {
  display: block;
  animation: screenIn 260ms ease both;
}

@keyframes screenIn {
  from {
    transform: translateY(10px);
  }

  to {
    transform: translateY(0);
  }
}

.screen-hero,
.winner-card,
.forum-preview,
.insight-card,
.quote-table,
.approval-board article,
.supplier-grid article,
.report-layout article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.screen-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 24px;
}

.screen-hero h3,
.winner-card h3,
.forum-preview strong,
.insight-card strong {
  margin: 8px 0;
  color: var(--white);
  font-size: 22px;
}

.screen-hero p,
.winner-card p,
.forum-preview p,
.insight-card p,
.approval-board p,
.supplier-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

.screen-hero > strong {
  align-self: center;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 8px solid rgba(255, 196, 0, 0.24);
  border-top-color: var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
}

.status-pill,
.approval-board span,
.supplier-grid span,
.winner-card span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111827;
  background: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.form-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.form-preview label {
  display: grid;
  gap: 8px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.form-preview span {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.timeline-preview,
.contract-steps,
.compliance-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.timeline-preview span,
.contract-steps span,
.compliance-mini span {
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.timeline-preview .done,
.contract-steps .done {
  color: #3ff29b;
}

.timeline-preview .active,
.contract-steps .active {
  color: #161100;
  background: var(--gold);
}

.approval-board,
.supplier-grid,
.report-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.approval-board article,
.supplier-grid article,
.report-layout article {
  padding: 17px;
}

.approval-board strong,
.supplier-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.approval-board .attention span {
  background: #fef0c7;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.action-row button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
}

.supplier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compliance-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-table {
  padding: 10px;
}

.quote-table div {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.quote-table div:last-child {
  border-bottom: 0;
}

.quote-table strong,
.quote-table span {
  color: var(--white);
}

.quote-table mark,
.quote-table em,
.quote-table small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.quote-table mark {
  color: #064e3b;
  background: #bbf7d0;
}

.quote-table em {
  color: #92400e;
  background: #fef3c7;
}

.quote-table small {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
}

.forum-preview,
.winner-card,
.insight-card {
  margin-top: 14px;
  padding: 20px;
}

.report-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-layout span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.report-layout strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 26px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.problem .section-heading {
  max-width: 980px;
}

h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.16;
}

.problem-rotator {
  position: relative;
  min-height: 126px;
  overflow: hidden;
}

.problem-rotator h2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  text-align: center;
  justify-self: center;
  font-size: clamp(30px, 3vw, 44px);
  opacity: 0;
  transform: translateX(110%);
  animation: problemSlide 16s ease-in-out infinite;
}

.problem-rotator h2:nth-child(2) {
  animation-delay: 8s;
  transform: translateX(110%);
}

.problem-rotator .aflez-cta-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.problem-rotator .aflez-cta-line span {
  color: inherit;
  text-align: right;
}

.problem-rotator .cta-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.problem-rotator .cta-brand-lockup .brand-mark {
  width: clamp(54px, 6vw, 78px);
  height: clamp(54px, 6vw, 78px);
}

.problem-rotator .cta-brand-lockup .brand-mark img {
  width: clamp(204px, 22.6vw, 295px);
  height: clamp(54px, 6vw, 78px);
}

.problem-rotator .cta-brand-lockup .brand-copy strong {
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 74px);
}

.problem-rotator .cta-brand-lockup .brand-copy strong span {
  color: var(--gold);
}

.problem-rotator .cta-brand-lockup .brand-copy small {
  color: #667085;
  font-size: clamp(11px, 1.1vw, 15px);
}

@keyframes problemSlide {
  0%,
  38% {
    opacity: 1;
    transform: translateX(0);
  }

  50%,
  88% {
    opacity: 0;
    transform: translateX(-110%);
  }

  89% {
    opacity: 0;
    transform: translateX(110%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.six {
  grid-template-columns: repeat(6, 1fr);
}

.info-card,
.dark-card,
.data-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card {
  min-height: 178px;
  padding: 28px 18px;
  text-align: center;
}

.icon,
.dark-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: var(--ink);
  font-size: 22px;
}

.info-card h3,
.dark-card h3,
.data-panel h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.info-card p,
.dark-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.workflow {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  margin: 42px auto 28px;
}

.steps article {
  position: relative;
  text-align: center;
}

.steps article::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -50%;
  width: 100%;
  border-top: 1px dashed #cbd5e1;
}

.steps article:first-child::before {
  display: none;
}

.steps b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-dark);
}

.steps span {
  display: block;
  min-height: 40px;
  font-weight: 800;
  font-size: 14px;
}

.steps p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.workflow .button {
  margin: 0 auto;
}

.workflow-cta {
  display: flex;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
  margin-inline: auto;
}

.workflow-cta span {
  font-size: 14px;
  line-height: 1;
  transform: translateY(1px);
}

.dark-card {
  padding: 28px 22px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.14);
}

.dark-card span {
  color: var(--gold);
  border-color: rgba(255, 196, 0, 0.55);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.66);
}

.dashboards {
  background: #fbfcfe;
}

.panel-grid {
  grid-template-columns: repeat(3, 1fr);
}

.data-panel {
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 12px 6px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
}

mark {
  padding: 4px 7px;
  border-radius: 6px;
  color: #046c4e;
  background: #dff8ea;
}

.data-panel a {
  display: inline-block;
  margin-top: 18px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.approval-list,
.budget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.approval-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 7px;
}

.approval-list strong,
.approval-list em,
.approval-list small {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

.approval-list strong {
  color: #067647;
  background: #dcfae6;
}

.approval-list em {
  color: #b54708;
  background: #fef0c7;
}

.approval-list small {
  color: #344054;
  background: #f2f4f7;
}

.budget-bar {
  height: 11px;
  margin: 26px 0 20px;
  border-radius: 999px;
  background: #e5e7eb;
}

.budget-bar span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.budget-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  color: #475467;
  border-bottom: 1px solid #eef2f7;
}

.compliance-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.compliance-strip strong {
  font-size: 20px;
}

.compliance-strip span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 96px;
  margin: 0 52px 36px;
  border-radius: 14px;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.whatsapp-float {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), 0 0 0 6px rgba(37, 211, 102, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32), 0 0 0 8px rgba(37, 211, 102, 0.16);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: none;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

.chat-widget.is-open .chat-panel {
  display: block;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 14px;
  color: var(--white);
  background: #101418;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header strong {
  font-size: 16px;
}

.chat-header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.chat-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  padding: 16px;
  overflow-y: auto;
  background: #f7f9fc;
}

.chat-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.chat-message.bot {
  align-self: flex-start;
  color: #1f2937;
  background: var(--white);
  border: 1px solid #e7ebf2;
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  align-self: flex-end;
  color: #101100;
  background: var(--gold);
  border-bottom-right-radius: 4px;
  font-weight: 700;
}

.chat-options {
  display: grid;
  gap: 8px;
  padding: 12px 16px 16px;
  background: var(--white);
}

.chat-options button,
.chat-options a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  color: #111827;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.chat-options button:hover,
.chat-options a:hover {
  border-color: var(--gold);
  background: #fff8d7;
}

.chat-options .chat-whatsapp-link {
  color: #063f22;
  border-color: #25d366;
  background: #e8fff1;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, 0.68);
}

.cta-copy {
  width: 100%;
  max-width: none;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.cta-copy .eyebrow {
  margin-bottom: 10px;
}

.cta-copy h2 {
  max-width: none;
  line-height: 1.15;
}

.cta-copy p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.cta-benefits {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-benefits li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.cta-benefits li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.18);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.progressive-form .form-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}

.progressive-form .form-progress p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.progressive-form .form-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.progressive-form .form-progress-track span {
  display: block;
  width: 33.34%;
  height: 100%;
  background: linear-gradient(90deg, #f2bd00, #ffd64d);
  transition: width 220ms ease;
}

.progressive-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.progressive-form legend {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-button {
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.choice-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 196, 0, 0.54);
}

.choice-button.is-selected {
  color: #1d1200;
  border-color: rgba(255, 196, 0, 0.9);
  background: linear-gradient(135deg, #ffcf33, #ffc400);
}

.lead-form input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.lead-form input:focus {
  outline: 0;
  border-color: rgba(255, 196, 0, 0.76);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.2);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.form-actions .button {
  flex: 1;
}

.progressive-form.is-enhanced .form-step {
  display: none;
}

.progressive-form.is-enhanced .form-step.is-active {
  display: grid;
  gap: 10px;
}

.progressive-form [data-form-back],
.progressive-form [data-form-submit] {
  display: none;
}

.progressive-form [data-form-back] {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.progressive-form [data-form-back]:hover {
  color: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
}

.video-modal.is-open {
  display: grid;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(10px);
}

.video-dialog {
  position: relative;
  width: min(920px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0d1118;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 196, 0, 0.12), transparent 26%),
    linear-gradient(135deg, #0b0f16, #171d28);
}

.video-scene {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  height: 100%;
  padding: 56px;
  color: var(--white);
  text-align: center;
}

.video-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.video-logo strong {
  font-size: 34px;
  line-height: 1;
}

.video-logo strong span {
  color: var(--gold);
}

.video-scene h3 {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}

.video-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
}

.video-flow span {
  position: relative;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 900;
  animation: videoStep 5s ease-in-out infinite;
}

.video-flow span:nth-child(2) { animation-delay: 0.5s; }
.video-flow span:nth-child(3) { animation-delay: 1s; }
.video-flow span:nth-child(4) { animation-delay: 1.5s; }
.video-flow span:nth-child(5) { animation-delay: 2s; }

.video-progress {
  width: min(720px, 100%);
  height: 8px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.video-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  animation: videoProgress 5s ease-in-out infinite;
  transform-origin: left;
}

@keyframes videoStep {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(0);
  }

  18%,
  30% {
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.16);
    transform: translateY(-4px);
  }
}

@keyframes videoProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 48px 52px;
  color: rgba(255, 255, 255, 0.72);
  background: #080a0d;
}

.site-footer p {
  max-width: 300px;
  margin-top: 18px;
  line-height: 1.65;
}

.site-footer nav,
.site-footer address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.site-footer strong {
  color: var(--white);
  margin-bottom: 6px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.nav-open .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    max-width: 900px;
  }

  .card-grid.six,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps article::before {
    display: none;
  }

  .lead-form,
  .cta,
  .compliance-strip {
    grid-template-columns: 1fr;
  }

  .lead-form {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  section,
  .site-footer {
    padding-inline: 22px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 151px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 25px;
  }

  .brand-copy small {
    font-size: 9px;
  }

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

  .hero-copy,
  .hero-actions,
  .integrations,
  .dashboard-shell {
    width: calc(100vw - 68px);
    max-width: 100%;
  }

  .hero-actions,
  .header-actions,
  .site-header.nav-open .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-topbar,
  .flow-line {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar {
    display: grid;
    gap: 12px;
  }

  .dashboard-topbar input {
    width: 100%;
  }

  .preview-tabs {
    display: flex;
  }

  .metric-grid,
  .chart-grid,
  .panel-grid,
  .card-grid.six,
  .steps,
  .site-footer,
  .form-preview,
  .timeline-preview,
  .contract-steps,
  .approval-board,
  .supplier-grid,
  .compliance-mini,
  .report-layout,
  .action-row {
    grid-template-columns: 1fr;
  }

  .screen-hero {
    flex-direction: column;
  }

  .quote-table {
    overflow-x: auto;
  }

  .quote-table div {
    min-width: 560px;
  }

  .flow-line {
    display: grid;
  }

  .flow-line span {
    min-height: 44px;
    grid-template-columns: 40px 1fr;
    justify-items: start;
  }

  .flow-line span::before {
    margin: 0 10px 0 0;
  }

  .integrations {
    margin-top: 42px;
  }

  .problem-rotator {
    min-height: 190px;
  }

  .problem-rotator .aflez-cta-line {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .problem-rotator .aflez-cta-line span {
    text-align: center;
  }

  .cta {
    margin-inline: 22px;
    padding-inline: 22px;
  }

  .choice-grid,
  .form-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .lead-form input {
    min-width: 0;
  }

  .video-modal {
    padding: 16px;
  }

  .video-scene {
    padding: 34px 18px;
  }

  .video-flow {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .chat-panel {
    bottom: 70px;
  }
}
