:root {
  --font-arabic: "ElMessiri", "Tahoma", "Arial", sans-serif;
  --ink: #12233d;
  --muted: #607083;
  --line: #dfe8ef;
  --soft: #f4f8fb;
  --brand: #11a36a;
  --brand-dark: #078354;
  --blue: #1478c8;
  --cyan: #2fb7c7;
  --gold: #f3b43f;
  --white: #ffffff;
  font-family: var(--font-arabic);
  color: var(--ink);
  background: var(--white);
}

@font-face {
  font-family: "ElMessiri";
  src: url("../fonts/ElMessiri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ElMessiri";
  src: url("../fonts/ElMessiri-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--white);
  font-family: var(--font-arabic);
}

body.modal-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 35, 61, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 178px;
  object-fit: contain;
}

.footer-logo img {
  height: 68px;
  max-width: 220px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links,
.nav-actions,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  color: #31445c;
  font-size: 0.95rem;
}

.nav-links a:hover,
.login:hover,
.footer a:hover {
  color: var(--brand-dark);
}

.nav-actions {
  gap: 12px;
}

.login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.login svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(17, 163, 106, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: var(--brand-dark);
  background: #eaf8f2;
}

.btn-large {
  min-height: 52px;
  padding: 0 26px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: 690px;
  margin: 0 auto;
  padding: 74px 0 44px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 46px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 18px -52px 20px;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  opacity: 0.55;
  background:
    radial-gradient(circle at 12% 18%, rgba(62, 138, 57, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 78%, rgba(51, 176, 210, 0.13) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 16%, rgba(62, 138, 57, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 56%, rgba(51, 176, 210, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.85), transparent 34%),
    linear-gradient(115deg, transparent 12%, rgba(51, 176, 210, 0.07) 13%, transparent 24%),
    linear-gradient(25deg, transparent 58%, rgba(62, 138, 57, 0.08) 59%, transparent 70%);
  background-size: 320px 240px, 260px 220px, 420px 300px, 360px 280px, 100% 100%, 680px 100%, 760px 100%;
  filter: blur(0.1px);
  animation: techDrift 18s linear infinite;
}

.hero::after {
  inset: 52px -18px 64px;
  opacity: 0.35;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(51, 176, 210, 0.13), transparent 42%),
    radial-gradient(ellipse at 30% 65%, rgba(62, 138, 57, 0.1), transparent 36%),
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.8) 48%, transparent 54% 100%);
  animation: waterSweep 9s ease-in-out infinite;
}

.hero-copy,
.hero-tv {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 2;
}

.trust-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: #38506b;
}

.trust-row span {
  position: relative;
  padding-inline-start: 20px;
  font-weight: 700;
}

.trust-row span::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.dashboard {
  min-height: 470px;
  display: grid;
  grid-template-columns: 78px 1fr;
  overflow: hidden;
  border: 1px solid #d8e7ef;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #eef8fb);
  box-shadow: 0 30px 80px rgba(20, 120, 200, 0.16);
}

.dash-sidebar {
  padding: 28px 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #10233c;
}

.dash-sidebar span {
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.dash-sidebar span:first-child {
  background: var(--brand);
}

.dash-main {
  padding: 28px;
}

.dash-top,
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.dash-top span,
.metric span,
.report-grid span,
.price-card p,
.footer p {
  color: var(--muted);
}

.dash-top button {
  width: 88px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.metric-row {
  margin: 24px 0;
}

.metric {
  flex: 1;
  min-height: 104px;
  padding: 18px;
  border: 1px solid #e0edf4;
  border-radius: 14px;
  background: var(--white);
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-size: 1.55rem;
}

.chart {
  height: 170px;
  padding: 22px;
  display: flex;
  align-items: end;
  gap: 15px;
  border-radius: 18px;
  background: #f7fbfd;
}

.chart i {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--brand));
}

.dash-table {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-table span {
  height: 42px;
  border-radius: 9px;
  background: #e9f1f6;
}

.hero-tv {
  min-height: 500px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-tv svg {
  width: min(112%, 860px);
  height: auto;
  overflow: visible;
}

.hero-tv text {
  direction: rtl;
  font-family: var(--font-arabic);
  fill: #17243a;
  font-weight: 800;
}

.tv-float {
  transform-origin: 50% 50%;
  animation: tvFloat 6s ease-in-out infinite;
}

.tv-depth {
  fill: url(#tvSide);
}

.tv-face {
  fill: url(#tvFace);
  stroke: #cfdee8;
  stroke-width: 1.4;
}

.tv-side-line {
  fill: none;
  stroke: #071326;
  stroke-width: 4;
}

.tv-topbar {
  fill: #ffffff;
  stroke: #d7e3eb;
}

.tv-logo {
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  text-anchor: middle;
  direction: ltr;
}

.tv-user circle {
  fill: #d9e4ea;
}

.tv-user text {
  font-size: 16px;
  text-anchor: start;
}

.tv-top-icons {
  fill: none;
  stroke: #071326;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.tv-content {
  fill: #f7fafc;
  stroke: #4c8d42;
  stroke-width: 1;
}

.tv-grid-lines {
  stroke: rgba(31, 91, 136, 0.08);
  stroke-width: 1;
}

.tv-orbit {
  fill: url(#screenGlow);
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2;
  animation: tvOrbit 8s ease-in-out infinite;
}

.tv-circuit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 16;
  animation: circuitFlow 7s linear infinite;
}

.tv-circuit.two {
  animation-duration: 9s;
}

.tv-circuit.three {
  animation-duration: 6s;
}

.employee-card circle:first-child {
  fill: #3d7180;
}

.employee-card circle:nth-child(2) {
  fill: #c99768;
  stroke: #071326;
  stroke-width: 2;
}

.employee-card path:nth-of-type(1) {
  fill: #e7ebf1;
}

.employee-card path:nth-of-type(2) {
  fill: #f8fafc;
  stroke: #cfd8e2;
  stroke-width: 1;
}

.employee-card path:nth-of-type(3) {
  fill: #f5f7fb;
  stroke: #071326;
  stroke-width: 2;
}

.employee-card text {
  text-anchor: middle;
  font-size: 16px;
}

.employee-card text:nth-of-type(2) {
  fill: #6f7b86;
  font-size: 13px;
}

.employee-card rect {
  fill: rgba(255, 255, 255, 0.76);
  stroke: #4c8d42;
}

.employee-card text:nth-of-type(3) {
  fill: #3e8a39;
  font-size: 13px;
}

.profile-panel rect,
.requests-panel rect,
.notice-panel rect {
  fill: url(#panelFill);
  stroke: rgba(76, 141, 66, 0.7);
}

.profile-panel rect,
.requests-panel rect,
.notice-panel rect,
.employee-card rect {
  animation: panelPulse 4.5s ease-in-out infinite;
}

.profile-tabs text {
  font-size: 15px;
  text-anchor: middle;
}

.profile-tabs path {
  fill: none;
  stroke: #3e8a39;
  stroke-width: 3;
}

.profile-panel text:not(.profile-tabs text) {
  font-size: 14px;
  text-anchor: end;
  fill: #3e8a39;
}

.requests-panel rect:nth-of-type(2) {
  fill: url(#greenStrip);
  stroke: none;
}

.requests-panel text {
  font-size: 15px;
  text-anchor: middle;
}

.requests-panel circle {
  fill: none;
  stroke: #3e8a39;
  stroke-width: 4;
}

.requests-panel text:nth-of-type(5) {
  fill: #3e8a39;
  font-size: 24px;
  font-weight: 900;
}

.requests-panel text:nth-of-type(6),
.notice-panel text:nth-of-type(2) {
  fill: #495566;
  font-size: 16px;
}

.notice-panel text:first-of-type {
  font-size: 18px;
  text-anchor: middle;
}

.notice-panel text:nth-of-type(2) {
  text-anchor: middle;
}

.notice-panel circle {
  fill: #2d6cdf;
  animation: notificationBlink 2.4s ease-in-out infinite;
}

.side-buttons rect {
  fill: rgba(255, 255, 255, 0.16);
}

.side-buttons rect:first-child {
  fill: var(--brand);
  animation: sideButtonGlow 2.8s ease-in-out infinite;
}

.tv-shine {
  fill: rgba(255, 255, 255, 0.4);
  animation: shineSweep 5.8s ease-in-out infinite;
}

@keyframes tvFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-8deg) rotateX(1deg);
  }
  50% {
    transform: translateY(-10px) rotateY(-5deg) rotateX(1.5deg);
  }
}

@keyframes circuitFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -170;
  }
}

@keyframes panelPulse {
  0%,
  100% {
    opacity: 0.86;
  }
  50% {
    opacity: 1;
  }
}

@keyframes notificationBlink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes sideButtonGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(17, 163, 106, 0));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(17, 163, 106, 0.5));
  }
}

@keyframes shineSweep {
  0%,
  100% {
    opacity: 0.12;
    transform: translateX(-18px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(18px);
  }
}

@keyframes tvOrbit {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

.hero-screen-float {
  transform-origin: 50% 50%;
  animation: screenFloat 6s ease-in-out infinite;
}

.hero-screen-side {
  fill: url(#screenSide);
}

.hero-screen-face {
  fill: #ffffff;
  stroke: #cfdee8;
  stroke-width: 1.4;
}

.hero-screen-edge {
  fill: none;
  stroke: #071326;
  stroke-width: 4;
}

.hero-screen-buttons rect {
  fill: rgba(255, 255, 255, 0.16);
}

.hero-screen-buttons rect:first-child {
  fill: var(--brand);
  animation: sideButtonGlow 2.8s ease-in-out infinite;
}

.employee-dashboard-ui {
  position: relative;
  width: 100%;
  height: 100%;
  direction: rtl;
  overflow: hidden;
  border: 1px solid rgba(76, 141, 66, 0.65);
  background:
    linear-gradient(rgba(247, 250, 252, 0.86), rgba(247, 250, 252, 0.86)),
    repeating-linear-gradient(0deg, rgba(31, 91, 136, 0.045) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(31, 91, 136, 0.045) 0 1px, transparent 1px 30px);
  font-family: var(--font-arabic);
}

.employee-topbar {
  position: relative;
  z-index: 2;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(76, 141, 66, 0.65);
  background: rgba(255, 255, 255, 0.92);
}

.employee-brand {
  direction: ltr;
  width: 96px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.employee-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 800;
}

.grid-icon {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #111827 2px, transparent 3px) 0 0 / 8px 8px;
}

.bell-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #111827;
  border-radius: 10px 10px 6px 6px;
}

.bell-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -5px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.employee-avatar-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: linear-gradient(#dbe6ee, #b8c6d2);
  box-shadow: 0 0 0 1px #cdd8e2;
}

.employee-screen-body {
  position: relative;
  z-index: 2;
  height: calc(100% - 52px);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 155px;
  gap: 14px;
}

.employee-main-card,
.employee-requests-card,
.employee-notifications-card {
  min-width: 0;
  border: 1px solid rgba(40, 56, 76, 0.25);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(18, 35, 61, 0.08);
}

.employee-main-card {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  min-height: 0;
  display: grid;
  grid-template-columns: 190px 1fr;
}

.employee-profile-side {
  padding: 20px 16px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  text-align: center;
  border-inline-end: 1px solid rgba(40, 56, 76, 0.18);
}

.employee-avatar {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 50%;
  background: #3d7180;
  box-shadow: inset 0 -12px 24px rgba(7, 19, 38, 0.12);
}

.employee-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.employee-profile-side strong {
  color: #071326;
  font-size: 0.9rem;
}

.employee-profile-side small {
  color: #6f7b86;
  font-weight: 800;
}

.employee-profile-side button {
  width: 100%;
  min-height: 32px;
  border: 1px solid #4c8d42;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  color: #3e8a39;
  font: inherit;
  font-weight: 900;
}

.employee-profile-content {
  min-width: 0;
  padding: 16px;
}

.employee-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(40, 56, 76, 0.16);
}

.employee-tabs span {
  padding-bottom: 12px;
  color: #1f2937;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.employee-tabs .active {
  color: #3e8a39;
  border-bottom: 3px solid #3e8a39;
}

.employee-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.employee-info-grid div {
  min-height: 42px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border-bottom: 1px solid rgba(76, 141, 66, 0.75);
  border-radius: 4px;
  background: rgba(20, 29, 42, 0.08);
  color: #606b78;
  font-size: 0.75rem;
  font-weight: 800;
}

.employee-info-grid .wide {
  grid-column: 1 / -1;
}

.employee-info-grid i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #4c8d42;
  border-radius: 4px;
  opacity: 0.8;
}

.employee-info-grid b {
  color: #3e8a39;
}

.employee-requests-card {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: grid;
  grid-template-rows: auto 1fr;
}

.employee-requests-card header,
.employee-notifications-card header {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(40, 56, 76, 0.15);
  color: #071326;
  font-weight: 900;
}

.employee-requests-card header span {
  width: 22px;
  height: 22px;
  border: 2px solid #f0a43a;
  border-radius: 50%;
}

.employee-requests-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.employee-requests-card th {
  padding: 10px 8px;
  background: rgba(76, 141, 66, 0.22);
  color: #1f2937;
  white-space: nowrap;
}

.employee-requests-card td {
  height: 190px;
  text-align: center;
  color: #4b5563;
}

.employee-requests-card td i {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 3px solid #3e8a39;
  border-radius: 50%;
  color: #3e8a39;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 900;
}

.employee-requests-card td b {
  display: block;
}

.employee-notifications-card {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.employee-notifications-card header span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2d6cdf;
  animation: notificationBlink 2.4s ease-in-out infinite;
}

.employee-notifications-card header em {
  min-width: 22px;
  height: 22px;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #2d6cdf;
  color: #ffffff;
  font-size: 0.72rem;
  font-style: normal;
}

.employee-notifications-card p {
  margin: 0;
  display: grid;
  place-items: center;
  color: #4b5563;
  font-size: 0.78rem;
}

.employee-notifications-card a {
  padding: 10px;
  text-align: center;
  color: #3e8a39;
  font-size: 0.72rem;
  font-weight: 900;
  border-top: 1px solid rgba(40, 56, 76, 0.14);
}

.employee-screen-lines {
  position: absolute;
  inset: 52px 0 0;
  z-index: 1;
  opacity: 0.65;
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55) 21%, transparent 33%);
  animation: screenLines 7s ease-in-out infinite;
}

.employee-screen-orbit {
  position: absolute;
  z-index: 1;
  inset: 105px 285px auto auto;
  width: 370px;
  height: 370px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  animation: orbitPulse 6s ease-in-out infinite;
}

@keyframes screenFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-7deg) rotateX(1deg);
  }
  50% {
    transform: translateY(-9px) rotateY(-4deg) rotateX(1.3deg);
  }
}

@keyframes screenLines {
  0%,
  100% {
    transform: translateX(-10px);
    opacity: 0.42;
  }
  50% {
    transform: translateX(14px);
    opacity: 0.76;
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.03);
  }
}

@keyframes sideButtonGlow {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes notificationBlink {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes techDrift {
  0% {
    background-position: 0 0, 80px 40px, 120px 0, 0 120px, center, -160px 0, 240px 0;
  }
  100% {
    background-position: 320px 240px, 340px 260px, 540px 300px, 360px 400px, center, 520px 0, -520px 0;
  }
}

@keyframes waterSweep {
  0%,
  100% {
    transform: translateX(-18px) scale(0.98);
    opacity: 0.24;
  }
  50% {
    transform: translateX(18px) scale(1.02);
    opacity: 0.42;
  }
}

.logos-band {
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #334a62;
  background: var(--soft);
  font-weight: 800;
}

.logos-band span {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.section,
.feature-section,
.e-invoice,
.reports,
.mobile-apps,
.pricing,
.cta,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.reports,
.pricing {
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-lead {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.08rem;
}

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

.report-grid article,
.price-card {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 35, 61, 0.06);
}

.apps-panel {
  border: 1px solid #5cb7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(18, 35, 61, 0.08);
  overflow: hidden;
}

.apps-panel-title {
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid #b9ddec;
  color: #1a2a3f;
  font-weight: 900;
  font-size: 1.16rem;
}

.apps-panel-title i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.apps-panel-title i::before,
.apps-panel-title i::after {
  content: "";
}

.apps-panel-title i,
.apps-panel-title i::before,
.apps-panel-title i::after {
  background:
    linear-gradient(#5cb7dc 0 0) 0 0 / 7px 7px no-repeat,
    linear-gradient(#5cb7dc 0 0) 11px 0 / 7px 7px no-repeat,
    linear-gradient(#5cb7dc 0 0) 0 11px / 7px 7px no-repeat,
    linear-gradient(#5cb7dc 0 0) 11px 11px / 7px 7px no-repeat;
}

.app-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  min-height: 142px;
  padding: 16px 12px 14px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid #d8dde3;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card::before,
.app-card::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
}

.app-card::before {
  inset-inline-start: -1px;
  top: -1px;
  border-top: 2px solid #59616d;
  border-inline-start: 2px solid #59616d;
}

.app-card::after {
  inset-inline-end: -1px;
  bottom: -1px;
  border-bottom: 2px solid #59616d;
  border-inline-end: 2px solid #59616d;
}

.app-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
}

.app-icon svg {
  width: 44px;
  height: 44px;
}

.app-card h3 {
  margin: 0;
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.45;
}

.app-card p {
  display: none;
}

.app-card:hover {
  border-color: color-mix(in srgb, var(--app-color) 55%, #d8dde3);
  box-shadow: 0 16px 36px rgba(18, 35, 61, 0.09);
  transform: translateY(-3px);
}

.app-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--app-color) 55%, #ffffff);
  outline-offset: 3px;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.app-modal.is-open {
  display: flex;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 32, 0.56);
  backdrop-filter: blur(4px);
}

.app-modal-dialog {
  position: relative;
  width: min(800px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 0;
  border: 1px solid #c9d1da;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(7, 16, 32, 0.24);
}

.app-modal-head {
  min-height: 88px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #c9d1da;
  background: #eef8ff;
}

.app-modal-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--app-color) 13%, #ffffff);
}

.app-modal-icon svg {
  width: 46px;
  height: 46px;
}

.app-modal-dialog h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

#appModalSubtitle {
  margin: 6px 0 0;
  color: #526172;
  font-weight: 700;
}

.app-modal-body {
  padding: 28px 38px 30px;
}

.app-modal-desc {
  margin-bottom: 26px;
  color: #344256;
  line-height: 1.9;
  font-size: 1.08rem;
  font-weight: 700;
}

.app-modal-feature-title {
  margin-bottom: 14px;
  color: #26364d;
  font-weight: 900;
}

.app-modal-points {
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 34px;
  row-gap: 18px;
}

.app-modal-points article {
  min-height: 40px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.app-modal-points span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #4ba3e0;
  font-size: 0.72rem;
  font-weight: 900;
}

.app-modal-points strong {
  color: #3a4657;
  line-height: 1.65;
}

.app-modal-footer {
  padding: 16px;
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid #d9e0e7;
  background: #ffffff;
}

.whatsapp-bot {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.35);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-bot:hover {
  color: #ffffff;
  background: #1fb85a;
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(37, 211, 102, 0.45);
}

.whatsapp-bot-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.whatsapp-bot-icon svg {
  width: 32px;
  height: 32px;
}

.whatsapp-bot-text {
  padding-inline-start: 4px;
  font-size: 1rem;
}

.feature-list p,
.e-invoice p,
.mobile-apps p,
.cta p {
  color: var(--muted);
  line-height: 1.85;
}

.e-invoice {
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 36px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, #10233c, #126b73);
}

.e-invoice .eyebrow,
.e-invoice p {
  color: #d9fff0;
}

.invoice-card {
  min-height: 280px;
  padding: 26px;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
}

.qr {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, #10233c 50%, transparent 0) 0 0 / 24px 24px,
    linear-gradient(#10233c 50%, transparent 0) 0 0 / 24px 24px,
    #edf5f8;
}

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

.sector-grid a {
  min-height: 156px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fcfd;
}

.sector-grid a:hover {
  color: var(--brand-dark);
  border-color: rgba(17, 163, 106, 0.34);
}

.sector-grid strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 900;
}

.sector-grid span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.feature-section {
  padding: 84px 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 50px;
}

.feature-section.flip {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-section.flip .feature-visual {
  order: 2;
}

.feature-visual {
  min-width: 0;
  min-height: 440px;
  padding: 34px;
  display: grid;
  align-items: end;
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf8f2, #edf6ff);
}

.feature-visual.finance {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 32%, rgba(79, 174, 132, 0.15), transparent 34%),
    linear-gradient(135deg, #f6fbff, #fff8ea);
}

.feature-visual.inventory {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 34%, rgba(60, 157, 229, 0.16), transparent 34%),
    linear-gradient(135deg, #e8fbff, #f4f8fb);
}

.feature-visual.hr {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(79, 174, 132, 0.15), transparent 34%),
    linear-gradient(135deg, #f2fbf7, #eef4ff);
}

.feature-visual.sales {
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 48%, rgba(66, 159, 222, 0.16), transparent 34%),
    linear-gradient(135deg, #f3f7fb, #edf6ff);
}

.sales-dashboard-preview {
  width: min(100%, 760px);
  min-width: 0;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(28, 54, 86, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(0deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: 0 26px 70px rgba(18, 35, 61, 0.15);
}

.preview-breadcrumb {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: #415269;
  font-size: 0.78rem;
}

.preview-breadcrumb span {
  padding: 3px 9px;
  border-radius: 8px;
  background: #dcecff;
  color: var(--brand-dark);
  font-weight: 800;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.preview-kpis article {
  position: relative;
  min-height: 78px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(28, 54, 86, 0.15);
  background: rgba(255, 255, 255, 0.82);
}

.preview-kpis span,
.preview-kpis strong {
  display: block;
}

.preview-kpis span {
  max-width: 78%;
  color: #415269;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
}

.preview-kpis strong {
  margin-top: 10px;
  color: #071326;
  font-size: 1.28rem;
}

.preview-kpis i {
  position: absolute;
  left: 12px;
  bottom: 14px;
  color: #3c9de5;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1;
}

.preview-chart-card {
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px 12px;
  border: 1px solid rgba(28, 54, 86, 0.15);
  background: rgba(255, 255, 255, 0.76);
}

.preview-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #17243a;
  font-size: 0.8rem;
}

.preview-card-title span {
  color: #6f8196;
}

.preview-chart {
  height: 210px;
  padding: 18px 8px 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(18px, 1fr));
  align-items: end;
  gap: 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 41px, rgba(28, 54, 86, 0.12) 42px 43px);
}

.preview-bar {
  position: relative;
  height: var(--bar-height);
  min-height: 48px;
  display: flex;
  justify-content: center;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #5fb0ec, #4199dc);
}

.preview-bar b {
  position: absolute;
  top: 8px;
  color: #fff;
  font-size: 0.58rem;
  line-height: 1;
}

.preview-bar span {
  position: absolute;
  bottom: -24px;
  color: #2f3c4f;
  font-size: 0.58rem;
  white-space: nowrap;
}

.finance-dashboard-preview {
  width: min(100%, 780px);
  min-width: 0;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(28, 54, 86, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(0deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: 0 26px 70px rgba(18, 35, 61, 0.14);
}

.finance-crumb span {
  background: #dff4eb;
  color: var(--brand-dark);
}

.finance-period-grid,
.finance-kpis,
.finance-charts {
  display: grid;
  gap: 10px;
}

.finance-period-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 10px;
}

.finance-kpis {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 10px;
}

.finance-period-grid article,
.finance-kpis article,
.finance-chart-card {
  position: relative;
  border: 1px solid rgba(28, 54, 86, 0.15);
  background: rgba(255, 255, 255, 0.82);
}

.finance-period-grid article,
.finance-kpis article {
  min-height: 82px;
  padding: 12px;
}

.finance-period-grid span,
.finance-period-grid strong,
.finance-kpis span,
.finance-kpis strong {
  display: block;
}

.finance-period-grid span,
.finance-kpis span {
  color: #415269;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
}

.finance-period-grid strong,
.finance-kpis strong {
  margin-top: 12px;
  color: #071326;
  font-size: 1.28rem;
}

.finance-period-grid i,
.finance-kpis i {
  position: absolute;
  left: 12px;
  bottom: 14px;
  color: #3c9de5;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1;
}

.finance-period-grid article:first-child i,
.finance-kpis article:nth-child(2) i {
  color: var(--brand);
}

.finance-kpis article:nth-child(3) i {
  color: #e05a73;
}

.finance-charts {
  grid-template-columns: 1.25fr 0.75fr;
}

.finance-chart-card {
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px 12px;
}

.finance-bars {
  height: 150px;
  padding: 18px 8px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(28px, 1fr));
  align-items: end;
  gap: 12px;
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(28, 54, 86, 0.12) 36px 37px);
}

.finance-bar {
  position: relative;
  height: var(--bar-height);
  min-height: 42px;
  display: flex;
  justify-content: center;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #5fb0ec, #4199dc);
}

.finance-bar b {
  position: absolute;
  top: 8px;
  color: #fff;
  font-size: 0.58rem;
}

.finance-bar span {
  position: absolute;
  bottom: -23px;
  color: #2f3c4f;
  font-size: 0.56rem;
  white-space: nowrap;
}

.finance-donut-card {
  display: grid;
  align-content: start;
}

.finance-donut {
  width: 122px;
  height: 122px;
  margin: 10px auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#4fae84 0 76%, #e05a73 76% 94%, #dbe6ef 94% 100%);
}

.finance-donut span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
}

.finance-donut b {
  position: absolute;
  color: #071326;
  font-size: 1.2rem;
}

.finance-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #415269;
  font-size: 0.62rem;
  font-weight: 800;
}

.finance-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-inline-end: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.finance-legend span:last-child i {
  background: #e05a73;
}

.inventory-dashboard-preview {
  width: min(100%, 780px);
  min-width: 0;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(28, 54, 86, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(0deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: 0 26px 70px rgba(18, 35, 61, 0.14);
}

.inventory-crumb span {
  background: #dff5fb;
  color: var(--brand-dark);
}

.warehouse-tabs {
  margin-bottom: 10px;
  padding: 8px;
  display: flex;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(28, 54, 86, 0.13);
  background: rgba(255, 255, 255, 0.78);
}

.warehouse-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(28, 54, 86, 0.12);
  background: #fff;
  color: #415269;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.warehouse-tabs button:first-child {
  border-color: rgba(60, 157, 229, 0.32);
  background: #e9f5ff;
  color: #2675ad;
}

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

.inventory-table-card,
.inventory-chart-card {
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px 12px;
  border: 1px solid rgba(28, 54, 86, 0.15);
  background: rgba(255, 255, 255, 0.82);
}

.inventory-table-card table {
  width: 100%;
  border-collapse: collapse;
  color: #26364a;
  font-size: 0.62rem;
}

.inventory-table-card th {
  padding: 8px 7px;
  background: rgba(60, 157, 229, 0.12);
  color: #17243a;
  text-align: start;
  font-weight: 900;
}

.inventory-table-card td {
  padding: 8px 7px;
  border-bottom: 1px solid rgba(28, 54, 86, 0.1);
  white-space: nowrap;
}

.inventory-table-card td:nth-child(2) {
  color: #d85a72;
  font-weight: 900;
}

.inventory-bars {
  height: 176px;
  padding: 18px 8px 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(24px, 1fr));
  align-items: end;
  gap: 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(28, 54, 86, 0.12) 38px 39px);
}

.inventory-bar-group {
  min-width: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 6px;
}

.inventory-bar-stack {
  width: 100%;
  height: 132px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
}

.inventory-bar-stack b,
.inventory-bar-stack i {
  width: 42%;
  height: var(--bar-height);
  min-height: 22px;
  border-radius: 4px 4px 0 0;
}

.inventory-bar-stack b {
  background: linear-gradient(180deg, #5fb0ec, #4199dc);
}

.inventory-bar-stack i {
  background: linear-gradient(180deg, #778c98, #596d78);
}

.inventory-bar-group span {
  color: #2f3c4f;
  font-size: 0.54rem;
  white-space: nowrap;
}

.inventory-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  color: #415269;
  font-size: 0.58rem;
  font-weight: 800;
}

.inventory-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-inline-end: 4px;
  background: #4199dc;
}

.inventory-legend span:last-child i {
  background: #596d78;
}

.hr-dashboard-preview {
  width: min(100%, 780px);
  min-width: 0;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(28, 54, 86, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(0deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(31, 91, 136, 0.05) 0 1px, transparent 1px 28px);
  box-shadow: 0 26px 70px rgba(18, 35, 61, 0.14);
}

.hr-crumb span {
  background: #dff4eb;
  color: var(--brand-dark);
}

.hr-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.hr-kpis article,
.hr-chart-card {
  position: relative;
  border: 1px solid rgba(28, 54, 86, 0.15);
  background: rgba(255, 255, 255, 0.82);
}

.hr-kpis article {
  min-height: 82px;
  padding: 12px;
}

.hr-kpis span,
.hr-kpis strong {
  display: block;
}

.hr-kpis span {
  color: #415269;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.45;
}

.hr-kpis strong {
  margin-top: 12px;
  color: #071326;
  font-size: 1.16rem;
}

.hr-kpis i {
  position: absolute;
  left: 12px;
  bottom: 14px;
  color: #3c9de5;
  font-style: normal;
  font-size: 1.28rem;
  line-height: 1;
}

.hr-kpis article:first-child i,
.hr-kpis article:nth-child(4) i {
  color: var(--brand);
}

.hr-kpis article:nth-child(3) i {
  color: #e05a73;
}

.hr-grid-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.hr-chart-card {
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px 12px;
}

.hr-bars {
  height: 170px;
  padding: 18px 8px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(42px, 1fr));
  align-items: end;
  gap: 18px;
  background:
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(28, 54, 86, 0.12) 38px 39px);
}

.hr-bar-group {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.hr-bar-stack {
  width: 100%;
  height: 126px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
}

.hr-bar-stack i,
.hr-bar-stack b,
.hr-bar-stack em {
  width: 28%;
  height: var(--bar-height);
  min-height: 18px;
  border-radius: 4px 4px 0 0;
}

.hr-bar-stack i {
  background: linear-gradient(180deg, #5fb0ec, #4199dc);
}

.hr-bar-stack b {
  background: linear-gradient(180deg, #778c98, #596d78);
}

.hr-bar-stack em {
  background: linear-gradient(180deg, #58b88f, #3f9f76);
}

.hr-bar-group span {
  color: #2f3c4f;
  font-size: 0.58rem;
  white-space: nowrap;
}

.hr-legend {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: #415269;
  font-size: 0.56rem;
  font-weight: 800;
}

.hr-legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-inline-end: 4px;
  background: #4199dc;
}

.hr-legend span:nth-child(2) i {
  background: #596d78;
}

.hr-legend span:nth-child(3) i {
  background: #3f9f76;
}

.hr-donut-card {
  display: grid;
  align-content: start;
}

.hr-donut {
  width: 122px;
  height: 122px;
  margin: 10px auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#3f9f76 0 58%, #4199dc 58% 86%, #e05a73 86% 100%);
}

.hr-donut span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
}

.hr-donut b {
  position: absolute;
  color: #071326;
  font-size: 1.2rem;
}

.hr-legend.compact {
  flex-wrap: wrap;
}

.visual-window {
  min-height: 310px;
  padding: 22px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(18, 35, 61, 0.12);
}

.visual-window span {
  border-radius: 12px;
  background: #e7eff5;
}

.visual-window span:first-child {
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-list a {
  color: var(--brand-dark);
  font-weight: 800;
}

.reports {
  padding-inline: 34px;
  border-radius: 24px;
  background: var(--soft);
}

.report-grid article {
  min-height: 150px;
}

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

.report-grid strong {
  margin-bottom: 12px;
}

.mobile-apps {
  padding: 92px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 40px;
}

.phone-row {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.phone {
  width: 168px;
  min-height: 300px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 8px solid #10233c;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 20px 46px rgba(18, 35, 61, 0.12);
}

.phone-speaker {
  width: 42px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #cfd9e2;
}

.phone span {
  height: 34px;
  border-radius: 9px;
  background: #edf4f8;
}

.phone button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 22px 0;
  color: var(--brand-dark);
  font-size: 1.75rem;
  line-height: 1.35;
}

.price-card small {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-renewal {
  display: block;
  margin-top: -10px;
  margin-bottom: 22px;
  color: #34465a;
  font-weight: 800;
}

.price-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.price-details-link {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cta {
  margin-bottom: 92px;
  padding: 54px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), var(--blue));
  text-align: center;
}

.cta p {
  color: #e6fff4;
}

.cta form {
  max-width: 780px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.cta input {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.cta .btn-primary {
  background: #10233c;
  box-shadow: none;
}

.footer {
  padding: 42px 0 54px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.footer div {
  display: grid;
  gap: 10px;
  align-content: start;
}


@media (max-width: 980px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .e-invoice,
  .feature-section,
  .feature-section.flip,
  .mobile-apps {
    grid-template-columns: 1fr;
  }

  .feature-section.flip .feature-visual {
    order: 0;
  }

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

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

@media (max-width: 680px) {
  .navbar,
  .hero,
  .section,
  .feature-section,
  .e-invoice,
  .reports,
  .mobile-apps,
  .pricing,
  .cta,
  .footer {
    width: min(100% - 22px, 1180px);
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero::before,
  .hero::after {
    inset-inline: -18px;
    opacity: 0.32;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-actions,
  .trust-row,
  .phone-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard {
    grid-template-columns: 54px 1fr;
    min-height: 430px;
  }

  .hero-tv {
    min-height: 300px;
    margin-top: 8px;
  }

  .hero-tv svg {
    width: min(118%, 520px);
  }

  .dash-main {
    padding: 18px;
  }

  .metric-row,
  .feature-list,
  .cta form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .metric-row {
    display: grid;
  }

  .app-grid,
  .report-grid,
  .pricing-grid,
  .sector-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .app-grid {
    padding: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .app-card {
    min-height: 124px;
  }

  .app-modal {
    padding: 14px;
  }

  .app-modal-dialog {
    border-radius: 0;
  }

  .app-modal-head {
    padding: 18px;
    align-items: flex-start;
  }

  .app-modal-body {
    padding: 22px 18px;
  }

  .app-modal-points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .whatsapp-bot {
    inset-inline-start: 14px;
    bottom: 14px;
    min-height: 54px;
    padding: 7px;
  }

  .whatsapp-bot-text {
    display: none;
  }

  .whatsapp-bot-icon {
    width: 42px;
    height: 42px;
  }

  .e-invoice,
  .cta {
    padding: 34px 22px;
  }

  .feature-visual {
    min-height: 320px;
    padding: 20px;
  }

  .sales-dashboard-preview {
    padding: 10px;
  }

  .preview-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .preview-kpis article {
    min-height: 68px;
    padding: 10px;
  }

  .preview-kpis span {
    font-size: 0.64rem;
  }

  .preview-kpis strong {
    margin-top: 7px;
    font-size: 1.05rem;
  }

  .preview-chart-card {
    padding: 12px 10px 10px;
    overflow-x: auto;
  }

  .preview-chart {
    min-width: 520px;
    height: 170px;
    gap: 8px;
  }

  .finance-dashboard-preview {
    padding: 10px;
  }

  .finance-period-grid,
  .finance-kpis,
  .finance-charts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .finance-period-grid article,
  .finance-kpis article {
    min-height: 68px;
    padding: 10px;
  }

  .finance-period-grid span,
  .finance-kpis span {
    font-size: 0.64rem;
  }

  .finance-period-grid strong,
  .finance-kpis strong {
    margin-top: 7px;
    font-size: 1.05rem;
  }

  .finance-chart-card {
    padding: 12px 10px 10px;
    overflow-x: auto;
  }

  .finance-bars {
    min-width: 420px;
    height: 145px;
  }

  .finance-donut {
    width: 104px;
    height: 104px;
  }

  .finance-donut span {
    width: 64px;
    height: 64px;
  }

  .inventory-dashboard-preview {
    padding: 10px;
  }

  .warehouse-tabs {
    overflow-x: auto;
  }

  .inventory-grid-preview {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .inventory-table-card,
  .inventory-chart-card {
    padding: 12px 10px 10px;
    overflow-x: auto;
  }

  .inventory-table-card table {
    min-width: 420px;
  }

  .inventory-bars {
    min-width: 440px;
    height: 160px;
  }

  .inventory-bar-stack {
    height: 116px;
  }

  .hr-dashboard-preview {
    padding: 10px;
  }

  .hr-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hr-kpis article {
    min-height: 68px;
    padding: 10px;
  }

  .hr-kpis span {
    font-size: 0.62rem;
  }

  .hr-kpis strong {
    margin-top: 7px;
    font-size: 1rem;
  }

  .hr-grid-preview {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hr-chart-card {
    padding: 12px 10px 10px;
    overflow-x: auto;
  }

  .hr-bars {
    min-width: 390px;
    height: 155px;
  }

  .hr-bar-stack {
    height: 112px;
  }

  .hr-donut {
    width: 104px;
    height: 104px;
  }

  .hr-donut span {
    width: 64px;
    height: 64px;
  }

  .phone {
    width: 100%;
  }
}
