/* =========================
   NICKALI GLOBAL STYLES
========================= */
:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-strong: #eef3f8;
  --primary: #6d5dfc;
  --primary-strong: #4b2fb4;
  --accent: #0ea5c6;
  --accent-soft: #e8f7fb;
  --green: #16a34a;
  --text: #172033;
  --muted: #647084;
  --line: rgba(28, 39, 58, 0.11);
  --white: #ffffff;
  --radius: 8px;
  --container: 1200px;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.09);
  --shadow-soft: 0 10px 28px rgba(23, 32, 51, 0.07);
  --gradient-brand: linear-gradient(135deg, #0ea5c6 0%, #6d5dfc 100%);
  --gradient-muted: linear-gradient(135deg, rgba(14, 165, 198, 0.12), rgba(109, 93, 252, 0.12));
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --section-space: clamp(72px, 8vw, 112px);
  --card-space: clamp(22px, 3vw, 32px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

p,
li {
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-main {
  padding-top: 82px;
  overflow-x: clip;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: .7rem .9rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary-strong);
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 14px 32px rgba(23, 32, 51, 0.09);
}

.nav-container {
  width: min(calc(100% - 48px), 1320px);
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(23, 32, 51, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.logo-name {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 700;
}

.logo-tagline {
  color: var(--muted);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.3vw, 24px);
  flex: 1;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--primary-strong);
  background: rgba(109, 93, 252, 0.08);
}

.nav .btn-nav {
  margin-left: .35rem;
  min-width: max-content;
  min-height: 46px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 10px 22px rgba(14, 165, 198, 0.16);
  white-space: nowrap;
}

.nav .btn-nav:hover,
.nav .btn-nav:focus-visible,
.nav .btn-nav.active {
  color: var(--white);
  transform: translateY(-1px);
}

.btn-mobile {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.btn-mobile span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--primary-strong);
  transition: transform .2s ease, opacity .2s ease;
}

.btn-mobile.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-mobile.active span:nth-child(2) {
  opacity: 0;
}

.btn-mobile.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   BUTTONS / SMALL ELEMENTS
========================= */
.btn-primary,
.btn-secondary,
.btn-soft {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .78rem 1.1rem;
  border-radius: var(--radius);
  border: 0;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 14px 28px rgba(14, 165, 198, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(28, 39, 58, 0.14);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}

.btn-soft {
  color: var(--primary-strong);
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.15);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-soft:hover,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-soft:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 32, 51, 0.1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: .9rem;
  color: var(--primary-strong);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: normal;
}

.section {
  padding: var(--section-space) 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff, var(--surface));
  border-block: 1px solid rgba(28, 39, 58, 0.04);
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.section-title h2 {
  margin-bottom: .7rem;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.section-title p,
.lead {
  color: var(--muted);
  font-size: 1rem;
}

.card {
  min-width: 0;
  padding: var(--card-space);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card:hover {
  border-color: rgba(14, 165, 198, 0.22);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.1);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: .45rem;
  overflow-wrap: break-word;
  color: var(--text);
  line-height: 1.25;
}

.card p,
.card li {
  color: var(--muted);
  max-width: 66ch;
  font-size: clamp(.95rem, 1vw, 1.02rem);
  line-height: 1.65;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--gradient-brand);
  font-weight: 800;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.35rem;
}

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

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

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

/* =========================
   HEROES
========================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-block: clamp(76px, 7.4vw, 114px) clamp(64px, 6.2vw, 96px);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 42%, rgba(14, 165, 198, 0.18), transparent 25%),
    radial-gradient(circle at 88% 18%, rgba(109, 93, 252, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 39, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 39, 58, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.3), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: min(6vw, 88px);
  top: 50%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 40%, rgba(14, 165, 198, 0.2), transparent 35%),
    radial-gradient(circle at 68% 62%, rgba(109, 93, 252, 0.16), transparent 38%);
  transform: translateY(-50%);
  filter: blur(8px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1320px);
  padding: 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(64px, 7vw, 110px);
  align-items: center;
}

.hero h1,
.page-hero h1 {
  max-width: 600px;
  margin-bottom: 1rem;
  color: inherit;
  font-size: clamp(2.85rem, 3.85vw, 4.28rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p,
.page-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-layout > div:first-child {
  min-width: 0;
}

.page-hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-hero p {
  max-width: 620px;
  margin-inline: auto;
  margin-top: 20px;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
  color: var(--muted);
}

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

.hero-actions a {
  min-height: 50px;
  padding: 14px 22px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  min-width: 0;
  padding: .75rem;
  border: 1px solid rgba(28, 39, 58, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 70px rgba(23, 32, 51, 0.12);
  backdrop-filter: blur(18px);
}

.hero-floating-card {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 39, 58, 0.1);
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.12);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
  will-change: transform;
}

.hero-floating-card-one {
  left: -56px;
  top: 54px;
  animation: float-card-one 5.5s ease-in-out infinite;
}

.hero-floating-card-two {
  right: -24px;
  bottom: 118px;
  animation: float-card-two 6.5s ease-in-out infinite;
}

.software-window {
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: 410px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(28, 39, 58, 0.1);
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(23, 32, 51, 0.12);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 14px;
}

.window-dots {
  display: inline-flex;
  gap: .32rem;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8e0ea;
}

.window-label {
  color: var(--primary-strong);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.window-status {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--accent) 0 4px, transparent 5px),
    var(--gradient-muted);
  border: 1px solid rgba(28, 39, 58, 0.1);
}

.software-dashboard {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
}

.software-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #f4f7fb;
  border: 1px solid rgba(28, 39, 58, 0.08);
}

.software-sidebar span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.92);
  font-size: .75rem;
  font-weight: 800;
}

.software-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.indicator-card,
.chart-panel,
.activity-panel,
.tracking-panel {
  border: 1px solid rgba(28, 39, 58, 0.09);
  border-radius: 16px;
  background: #ffffff;
}

.indicator-card {
  min-width: 0;
  padding: 13px;
}

.indicator-card span,
.chart-title,
.tracking-panel span {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.indicator-card strong {
  display: block;
  margin-top: 4px;
  color: var(--primary-strong);
  font-size: .82rem;
  line-height: 1.2;
}

.dashboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
  gap: 14px;
}

.chart-panel,
.activity-panel,
.tracking-panel {
  padding: 15px;
}

.chart-bars {
  height: 108px;
  display: flex;
  align-items: end;
  gap: .45rem;
  margin-top: 1rem;
}

.chart-bars span {
  flex: 1;
  min-width: 22px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(14, 165, 198, 0.72), rgba(109, 93, 252, 0.72));
}

.activity-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-item span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.activity-item p,
.tracking-panel p {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.tracking-panel {
  background: var(--gradient-muted);
}

.mobile-preview {
  position: absolute;
  right: 18px;
  bottom: -28px;
  width: 118px;
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 24px;
  border: 1px solid rgba(28, 39, 58, 0.1);
  background: linear-gradient(180deg, #ffffff, #f5f8fb);
  box-shadow: 0 22px 42px rgba(23, 32, 51, 0.12);
}

.mobile-preview > span {
  width: 34px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(100, 112, 132, 0.22);
}

.mobile-preview strong {
  color: var(--primary-strong);
  text-align: center;
}

.app-line,
.app-pill {
  height: 12px;
  border-radius: 999px;
  background: rgba(100, 112, 132, 0.15);
}

.app-pill {
  height: 34px;
  background: var(--gradient-brand);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-block: clamp(58px, 7vw, 96px);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 42%, rgba(14, 165, 198, 0.2), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(109, 93, 252, 0.15), transparent 25%),
    radial-gradient(circle at 12% 14%, rgba(14, 165, 233, 0.12), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 39, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 39, 58, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, 0.24), transparent 72%);
}

.page-hero::after {
  display: none;
}

.page-hero .container {
  max-width: 980px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero .eyebrow {
  margin-inline: auto;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  animation: hero-content-in .55s ease both;
}

.page-hero h1 {
  animation-delay: .08s;
}

.page-hero p {
  animation-delay: .16s;
}

.legal-page .page-hero {
  padding-block: clamp(48px, 6vw, 76px);
}

.legal-page .page-hero h1 {
  max-width: 720px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.legal-page .page-hero::after {
  display: none;
}

.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--primary-strong);
  padding: .38rem .7rem;
  border: 1px solid rgba(109, 93, 252, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.page-hero + .section {
  padding-top: clamp(48px, 6vw, 78px);
}

/* =========================
   MARQUEE
========================= */
.marquee-section {
  overflow: hidden;
  padding: 11px 0;
  background: #ffffff;
  border-top: 1px solid rgba(28, 39, 58, 0.07);
  border-bottom: 1px solid rgba(28, 39, 58, 0.07);
  box-shadow: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.2rem;
  padding-left: 2rem;
  animation: marqueeMove 48s linear infinite;
  will-change: transform;
}

.marquee-track span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: clamp(.74rem, 1vw, .84rem);
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

/* =========================
   PAGE SECTIONS
========================= */
.solution-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  height: 100%;
}

.solution-card a,
.text-link {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.solution-card a:hover,
.text-link:hover {
  text-decoration: underline;
}

.benefit-list,
.check-list {
  display: grid;
  gap: .7rem;
  list-style: none;
}

.benefit-list li,
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.benefit-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.highlight-band {
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 92% 16%, rgba(14, 165, 198, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #f2f6fb);
  border: 1px solid rgba(28, 39, 58, 0.09);
  box-shadow: var(--shadow);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}

.about-story-grid .highlight-band {
  padding: clamp(1.6rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 18% 16%, rgba(109, 93, 252, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff, #f2f6fb);
  box-shadow: var(--shadow-soft);
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 24px);
}

.about-mini-grid .card {
  height: 100%;
}

.highlight-band p {
  color: var(--muted);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  counter-reset: steps;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  height: 100%;
  padding: var(--card-space);
}

.process-item h2 {
  margin-bottom: .35rem;
  font-size: clamp(1.1rem, 1.5vw, 1.34rem);
  line-height: 1.25;
}

.process-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-brand);
  font-weight: 800;
}

.empty-state {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px dashed rgba(28, 39, 58, 0.18);
  border-radius: var(--radius);
  text-align: center;
  background: var(--surface);
}

.empty-visual {
  width: min(100%, 380px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12px;
  margin: 0 auto 1.25rem;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--gradient-muted);
}

.empty-visual span {
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(28, 39, 58, 0.09);
  background: rgba(255, 255, 255, 0.72);
}

.empty-visual span:nth-child(2) {
  min-height: 108px;
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(109, 93, 252, 0.1), rgba(14, 165, 198, 0.1)),
    rgba(255, 255, 255, 0.74);
}

.project-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary-strong);
  background:
    var(--gradient-muted),
    var(--surface);
  font-weight: 800;
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card-body {
  padding: 1.15rem;
}

.tag {
  display: inline-flex;
  margin-bottom: .65rem;
  padding: .25rem .62rem;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(109, 93, 252, 0.08);
  font-size: .72rem;
  font-weight: 800;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2rem;
}

.filter-btn {
  min-height: 44px;
  padding: .62rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-strong);
  background: var(--white);
  font-weight: 800;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.solutions-grid .card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  height: 100%;
}

.solutions-grid .check-list {
  margin-top: .15rem;
}

.solutions-grid .btn-soft {
  width: auto;
  min-height: 42px;
  align-self: flex-start;
  margin-top: auto;
  padding: .62rem .9rem;
  background: rgba(109, 93, 252, 0.05);
  box-shadow: none;
}

.solutions-grid .btn-soft:hover,
.solutions-grid .btn-soft:focus-visible {
  background: rgba(109, 93, 252, 0.09);
}

.solutions-grid .solution-card-wide {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  justify-self: center;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.4rem;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.product-card-body {
  display: grid;
  align-content: center;
  gap: .85rem;
  min-width: 0;
  padding: clamp(.4rem, 1vw, .8rem);
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.product-category,
.product-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .28rem .64rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

.product-category {
  color: var(--primary-strong);
  background: rgba(109, 93, 252, 0.08);
}

.product-status {
  color: #075985;
  background: rgba(14, 165, 198, 0.1);
}

.product-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.product-card h4 {
  color: var(--text);
  font-size: .88rem;
}

.product-resources {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-audience-block {
  display: grid;
  gap: .2rem;
  padding: .85rem;
  border: 1px solid rgba(28, 39, 58, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-audience-block strong {
  color: var(--text);
  font-size: .82rem;
}

.product-audience-block span {
  color: var(--muted);
  font-size: .92rem;
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .25rem;
}

.product-mini-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  height: 100%;
}

.product-mini-card .btn-soft,
.product-mini-card .text-link {
  width: fit-content;
  margin-top: auto;
}

.product-preview {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(28, 39, 58, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 165, 198, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff, #f3f7fb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-preview-large {
  min-height: 430px;
}

.preview-bar {
  display: flex;
  gap: .42rem;
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8e0ea;
}

.preview-body {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  height: 100%;
}

.preview-sidebar,
.preview-content,
.preview-table {
  border: 1px solid rgba(28, 39, 58, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.preview-sidebar span,
.preview-line,
.preview-grid span,
.preview-table span {
  display: block;
  border-radius: 999px;
  background: rgba(100, 112, 132, 0.16);
}

.preview-sidebar span {
  height: 26px;
}

.preview-content {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px;
}

.preview-line {
  width: 58%;
  height: 13px;
}

.preview-line.wide {
  width: 82%;
}

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

.preview-grid span {
  min-height: 74px;
  border-radius: var(--radius);
  background: var(--gradient-muted);
}

.preview-table {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.preview-table span {
  height: 16px;
}

.product-preview-quiz .preview-grid span:nth-child(1),
.product-preview-quiz .preview-grid span:nth-child(3),
.product-preview-juridico .preview-grid span:nth-child(2) {
  background: linear-gradient(135deg, rgba(14, 165, 198, 0.18), rgba(109, 93, 252, 0.16));
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: stretch;
}

.product-detail-grid {
  margin-top: 1.5rem;
}

.product-cta {
  margin-top: 1.5rem;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  color: var(--white);
  background: var(--primary-strong);
}

.project-detail-hero img,
.project-cover-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.meta-list span {
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(109, 93, 252, 0.08);
  font-size: .78rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: .75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
}

.faq-question::after {
  content: "+";
  color: var(--primary-strong);
  font-size: 1.35rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-answer.open {
  display: block;
}

/* =========================
   FORMS
========================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(520px, 1.25fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: .45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.checkbox-field {
  color: var(--primary-strong);
  font-size: .84rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid rgba(28, 39, 58, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 165, 198, 0.14);
}

.checkbox-field {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}

.checkbox-field input {
  margin-top: .25rem;
}

.form-return {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-return.success {
  color: #16794f;
}

.form-return.error {
  color: #b42318;
}

.form-return.loading {
  color: var(--accent);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  pointer-events: none;
}

.form-botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  width: min(420px, calc(100% - 40px));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-consent p {
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .92rem;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.cookie-consent .btn-primary,
.cookie-consent .btn-soft {
  width: auto;
  min-height: 42px;
  padding: .62rem .85rem;
}

/* =========================
   FOOTER / FLOATING
========================= */
.site-footer {
  color: var(--text);
}

.footer-main {
  background:
    radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-block: clamp(48px, 6vw, 78px);
}

.footer-main-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, .7fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand > p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.8;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.footer-logo img {
  width: clamp(78px, 9vw, 112px);
  height: clamp(78px, 9vw, 112px);
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(23, 32, 51, 0.12));
}

.footer-logo h2 {
  color: var(--text);
  line-height: 1.05;
}

.footer-logo p {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.footer-column h3 {
  color: var(--text);
  margin-bottom: 16px;
  font-size: .95rem;
}

.footer-column ul {
  display: grid;
  gap: .52rem;
  list-style: none;
}

.footer-column a,
.footer-column li {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--primary);
}

.footer-bottom {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 18px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #16a34a, #22c55e);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.36);
}

.wa-icon,
.wa-icon svg {
  width: 24px;
  height: 24px;
}

.btn-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 190;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-brand);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.btn-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   ANIMATION
========================= */
[data-animate] {
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--stagger-delay, 0ms);
}

.js [data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

.js [data-animate="fade-left"] {
  transform: translateX(-28px);
}

.js [data-animate="fade-right"] {
  transform: translateX(28px);
}

[data-animate="fade-left"].animated,
[data-animate="fade-right"].animated {
  transform: translateX(0);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@keyframes float-card-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(1deg);
  }
}

@keyframes float-card-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(1deg);
  }

  50% {
    transform: translate3d(0, 10px, 0) rotate(-1deg);
  }
}

@keyframes slow-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: .78;
  }

  50% {
    transform: translate3d(0, 14px, 0);
    opacity: .95;
  }
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
}

@media (max-width: 1080px) {
  .contact-layout,
  .grid-3,
  .product-card,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .grid-2:not(.solutions-grid):not(.about-mini-grid) {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-story-grid,
  .about-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
  }

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

  .footer-main-inner {
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, .7fr));
  }

}

@media (max-width: 1120px) {
  .btn-mobile {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(23, 32, 51, 0.1);
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 .85rem;
    white-space: normal;
    line-height: 1.25;
  }

  .nav .btn-nav {
    margin-left: 0;
    justify-content: center;
  }

  .footer-main-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero .container {
    width: min(calc(100% - 48px), 1320px);
  }

  .hero-visual {
    width: min(100%, 620px);
    justify-self: center;
  }

  .hero-floating-card-one {
    left: 12px;
    top: 62px;
  }

  .hero-floating-card-two {
    right: 12px;
    bottom: 58px;
  }
}

@media (max-width: 760px) {
  .process-line,
  .solutions-grid,
  .product-resources {
    grid-template-columns: 1fr;
  }

  .solutions-grid .solution-card-wide {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .page-main {
    padding-top: 74px;
  }

  .nav-container {
    min-height: 74px;
  }

  .nav {
    top: 74px;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .logo-name {
    font-size: 1.12rem;
  }

  .logo-tagline {
    max-width: 160px;
    white-space: normal;
  }

  .hero,
  .page-hero {
    padding-block: 72px;
  }

  .page-hero {
    padding-block: 54px 58px;
  }

  .legal-page .page-hero {
    padding-block: 44px 48px;
  }

  .page-hero::after {
    display: none;
  }

  .hero .container {
    width: min(calc(100% - 40px), 1320px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
    line-height: 1.02;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.55rem);
    line-height: 1.07;
  }

  .legal-page .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .hero p,
  .page-hero p {
    font-size: .98rem;
  }

  .hero-actions,
  .footer-legal {
    flex-direction: column;
  }

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

  .btn-primary,
  .btn-secondary,
  .btn-soft {
    width: 100%;
  }

  .grid-3,
  .grid-4,
  .form-grid,
  .footer-main-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    align-items: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card {
    padding: 1.15rem;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -1rem;
    padding: 0 1rem 10px;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-floating-card {
    padding: 9px 12px;
    font-size: .75rem;
  }

  .hero-floating-card-one {
    left: 8px;
    top: 54px;
  }

  .hero-floating-card-two {
    right: 8px;
    bottom: 54px;
  }

  .software-window {
    min-height: 320px;
    padding: 14px;
    overflow: hidden;
  }

  .software-dashboard {
    grid-template-columns: 1fr;
  }

  .software-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-content,
  .indicator-grid {
    grid-template-columns: 1fr;
  }

  .chart-bars {
    height: 78px;
  }

  .mobile-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: auto;
    margin-top: 12px;
    grid-template-columns: 40px 1fr;
    align-items: center;
  }

  .mobile-preview > span,
  .mobile-preview strong {
    margin: 0;
  }

  .mobile-preview .app-line,
  .mobile-preview .app-pill {
    grid-column: 1 / -1;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    justify-content: center;
    right: 16px;
    bottom: 16px;
    padding: 0;
  }

  .wa-text {
    display: none;
  }

  .product-preview {
    min-height: 230px;
    padding: 14px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

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

  .product-card-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .marquee-track,
  .hero-floating-card,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .page-hero::after {
    animation: none !important;
    transform: none !important;
  }
}
.form-botcheck {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
