.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8, 1, 18, 0.72);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__logo {
  width: 118px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(57, 255, 20, 0.34));
}

.brand__logo--small {
  width: 104px;
  height: 42px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--color-primary);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.55);
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-primary);
}

.language-select .material-symbols-outlined {
  font-size: 18px;
}

.language-select select {
  width: 82px;
  height: 30px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-code);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  appearance: auto;
}

.language-select select option {
  background: #080112;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(57, 255, 20, 0.14), transparent 28%),
    radial-gradient(circle at 58% 46%, rgba(214, 168, 79, 0.16), transparent 28%),
    rgba(8, 1, 18, 0.98);
  transition: opacity 620ms ease, visibility 620ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__stage {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 1;
}

.page-loader__slice {
  position: absolute;
  inset: 0;
  will-change: transform, opacity, filter;
}

.page-loader__slice--top {
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-loader__slice--bottom {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.page-loader__logo {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(360px, 74vw);
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(57, 255, 20, 0.42))
    drop-shadow(0 0 28px rgba(214, 168, 79, 0.28));
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.page-loader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-top-color: rgba(214, 168, 79, 0.78);
  border-right-color: rgba(57, 255, 20, 0.78);
  box-shadow:
    0 0 28px rgba(57, 255, 20, 0.16),
    inset 0 0 32px rgba(214, 168, 79, 0.08);
}

.page-loader__line {
  position: absolute;
  width: min(290px, 56vw);
  height: 2px;
  margin-top: min(245px, 46vw);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.page-loader__slash {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 139%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 174, 0.96), var(--color-gold), transparent);
  box-shadow:
    0 0 18px rgba(214, 168, 79, 0.85),
    0 0 42px rgba(214, 168, 79, 0.45);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

.page-loader__slash::before,
.page-loader__slash::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  border-radius: inherit;
  background: rgba(57, 255, 20, 0.56);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.44);
}

.page-loader__slash::before {
  left: 16%;
  transform: translateY(-10px);
}

.page-loader__slash::after {
  right: 16%;
  transform: translateY(10px);
}

.page-loader__line::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-gold), transparent);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147482500;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.55);
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  border: 1px solid rgba(57, 255, 20, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(8, 1, 18, 0.28);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 16px 42px rgba(57, 255, 20, 0.14);
  backdrop-filter: blur(16px);
}

.btn--primary::before,
.btn--primary::after {
  content: "";
  position: absolute;
  inset: auto -18% -72% -18%;
  z-index: 1;
  height: 96%;
  pointer-events: none;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.btn--primary::before {
  border-radius: 48% 52% 0 0;
  background:
    radial-gradient(circle at 22% 35%, rgba(255, 255, 255, 0.42), transparent 18%),
    radial-gradient(circle at 72% 28%, rgba(214, 168, 79, 0.34), transparent 19%),
    radial-gradient(circle at 48% 72%, rgba(255, 255, 255, 0.22), transparent 13%),
    linear-gradient(135deg, rgba(57, 255, 20, 0.95), rgba(19, 189, 88, 0.92));
  background-size: 230% 100%, 210% 100%, 180% 100%, 180% 100%;
  opacity: 0.9;
  transform: translateY(2%) rotate(3deg);
}

.btn--primary::after {
  border-radius: 43% 57% 0 0;
  background:
    radial-gradient(circle at 36% 38%, rgba(255, 255, 255, 0.24), transparent 16%),
    radial-gradient(circle at 68% 72%, rgba(214, 168, 79, 0.24), transparent 15%),
    linear-gradient(135deg, rgba(191, 255, 177, 0.72), rgba(57, 255, 20, 0.52));
  background-size: 210% 100%, 190% 100%, 180% 100%;
  opacity: 0.7;
  transform: translateY(8%) translateX(8%) rotate(5deg);
  transition-delay: 40ms;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: rgba(57, 255, 20, 0.7);
  background: linear-gradient(135deg, var(--color-primary), #8fff75);
  color: var(--color-primary-dark);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 58px rgba(57, 255, 20, 0.28);
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before {
  opacity: 0;
  transform: translateY(-12%) rotate(0deg);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  opacity: 0;
  transform: translateY(-8%) translateX(0) rotate(0deg);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.btn--ghost:hover {
  border-color: rgba(57, 255, 20, 0.45);
  background: rgba(57, 255, 20, 0.06);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 13px;
  border: 1px solid rgba(57, 255, 20, 0.26);
  background: rgba(57, 255, 20, 0.08);
  border-radius: 999px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 16px var(--color-primary);
}

.hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.hero__meta div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.hero__meta strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.65rem;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.38);
}

.hero__meta span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.device-stack {
  position: relative;
  min-height: 560px;
}

.device-card {
  border-radius: var(--radius-lg);
}

.device-card--main {
  position: relative;
  width: min(100%, 720px);
  padding: 16px;
  margin-left: auto;
  box-shadow: var(--shadow-purple);
}

.device-card__top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.device-card__top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.device-card__top span:first-child {
  background: var(--color-gold);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 400px;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0715;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-preview__sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  background: rgba(109, 40, 217, 0.18);
}

.dashboard-preview__sidebar span {
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-preview__content {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card,
.chart-card,
.list-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card {
  min-height: 90px;
}

.metric-card--green {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.18), rgba(214, 168, 79, 0.09));
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 16px;
  min-height: 180px;
  padding: 22px;
}

.chart-card span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-purple));
}

.chart-card span:nth-child(1) { height: 42%; }
.chart-card span:nth-child(2) { height: 72%; }
.chart-card span:nth-child(3) { height: 58%; }
.chart-card span:nth-child(4) { height: 86%; }
.chart-card span:nth-child(5) { height: 64%; }

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

.list-card span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.device-card--phone {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 190px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.phone-notch {
  width: 54px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.qr-tile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(57, 255, 20, 0.09);
  border: 1px solid rgba(57, 255, 20, 0.25);
}

.qr-tile span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--color-primary);
}

.device-card--phone p {
  margin: 16px 0 0;
  color: #fff;
  font-weight: 800;
}

.orbit-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(8, 1, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.orbit-badge .material-symbols-outlined {
  color: var(--color-primary);
}

.orbit-badge--ai {
  top: 40px;
  right: 24px;
}

.orbit-badge--secure {
  left: 8px;
  bottom: 104px;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-md);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: var(--shadow-green);
}

.service-card--wide {
  grid-column: span 2;
}

.service-card__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(57, 255, 20, 0.10);
  border: 1px solid rgba(57, 255, 20, 0.28);
  box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.08);
}

.service-card h3,
.project-card h3,
.workflow-step h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0;
}

.service-card p,
.project-card p,
.workflow-step p,
.why-list p {
  margin: 0;
  color: rgba(229, 226, 225, 0.64);
  line-height: 1.65;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 280ms ease, border-color 280ms ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(214, 168, 79, 0.42);
}

.project-card__visual {
  min-height: 250px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.42), rgba(30, 64, 175, 0.20)),
    #0c0618;
}

.project-card__visual--catalog {
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.34), rgba(57, 255, 20, 0.12)),
    #0c0618;
}

.project-card__visual--dashboard {
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.40), rgba(109, 40, 217, 0.24)),
    #0c0618;
}

.project-card__visual .material-symbols-outlined {
  font-size: 72px;
  color: var(--color-primary);
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.6);
}

.project-card__body {
  padding: 26px;
}

.project-card__body > span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-gold);
  font-family: var(--font-code);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.workflow-step {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--color-primary);
  font-family: var(--font-code);
  font-size: 0.88rem;
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.why-list .material-symbols-outlined {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border-radius: var(--radius-md);
  background: rgba(57, 255, 20, 0.09);
}

.contact-card {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: 58px;
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.16), transparent 34rem);
}

.contact-card > * {
  position: relative;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.34);
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 1, 18, 0.72);
}

.site-footer p,
.site-footer a:last-child {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

[dir="rtl"] .hero__content,
[dir="rtl"] .section-heading,
[dir="rtl"] .about-copy,
[dir="rtl"] .project-card__body,
[dir="rtl"] .workflow-step,
[dir="rtl"] .why-list,
[dir="rtl"] .contact-card {
  text-align: right;
}

[dir="rtl"] .section-heading--center,
[dir="rtl"] .contact-card {
  text-align: center;
}

.scroll-top {
  position: fixed !important;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 255, 20, 0.38);
  border-radius: var(--radius-md);
  background: rgba(8, 1, 18, 0.72);
  color: var(--color-primary);
  box-shadow: var(--shadow-green);
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, background 220ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: rgba(57, 255, 20, 0.12);
}

.floating-contact {
  position: fixed !important;
  right: max(20px, env(safe-area-inset-right));
  left: auto;
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 76px);
  z-index: 2147483000;
  display: grid;
  gap: 12px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  isolation: isolate;
}

.floating-contact__item {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 1;
  visibility: visible;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.floating-contact__item:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: var(--shadow-green);
  border-color: rgba(57, 255, 20, 0.45);
}

.floating-contact__item--whatsapp {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.95), rgba(18, 128, 72, 0.95));
}

.floating-contact__item--email {
  background: linear-gradient(145deg, rgba(109, 40, 217, 0.88), rgba(214, 168, 79, 0.58));
}

.floating-contact__item svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}
