:root {
  --fx-bg: #02060c;
  --fx-bg-soft: #03122a;
  --fx-panel: rgba(10, 20, 38, 0.72);
  --fx-panel-strong: rgba(9, 18, 34, 0.94);
  --fx-line: rgba(239, 167, 7, 0.18);
  --fx-line-bright: rgba(245, 199, 90, 0.58);
  --fx-text: #f5f4f4;
  --fx-muted: #aeb5c4;
  --fx-gold: #efa707;
  --fx-gold-light: #f5c75a;
  --fx-gold-deep: #b97800;
  --fx-cyan: var(--fx-gold);
  --fx-blue: var(--fx-gold-light);
  --fx-violet: var(--fx-gold-deep);
  --fx-green: #42f5b3;
  --fx-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ink: #02060c;
  --indigo: var(--fx-gold);
  --indigo-dark: var(--fx-gold-deep);
  --cyan: var(--fx-gold-light);
  --rose: var(--fx-gold);
  --mist: #07101f;
  --paper: #02060c;
  --line: rgba(239, 167, 7, 0.18);
}

/* Static presentation: no automatic or scroll-triggered animation. */
*,
*::before,
*::after {
  animation: none !important;
}

.reveal,
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.flow-path-draw {
  stroke-dashoffset: 0 !important;
}

.flow-dot,
.fx-pointer,
body::after {
  display: none !important;
}

html {
  background: var(--fx-bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  color: var(--fx-text);
  background:
    radial-gradient(circle at 8% 3%, rgba(73, 136, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(239, 167, 7, 0.12), transparent 28rem),
    linear-gradient(180deg, #030712 0%, #050b17 50%, #030712 100%);
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(239, 167, 7, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 167, 7, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(239, 167, 7, 0.025), transparent);
  transform: translateX(-100%);
  animation: fx-scan 13s linear infinite;
}

@keyframes fx-scan {
  to { transform: translateX(100%); }
}

::selection {
  color: #020812;
  background: var(--fx-cyan);
}

/* Navigation */
.nav {
  background: rgba(3, 7, 18, 0.68) !important;
  border-bottom: 1px solid rgba(239, 167, 7, 0.1) !important;
  box-shadow: none !important;
  backdrop-filter: blur(22px) saturate(145%);
}

.nav.scrolled {
  background: rgba(3, 7, 18, 0.9) !important;
  border-bottom-color: var(--fx-line) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}

.logo,
.nav-links a,
.nav-toggle {
  color: var(--fx-text) !important;
}

.logo {
  letter-spacing: -0.02em;
}

.logo-mark {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, var(--fx-blue), var(--fx-cyan)) !important;
  box-shadow: 0 0 30px rgba(239, 167, 7, 0.24);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(239, 167, 7, 0.24);
  border-radius: 12px;
}

.logo-mark.logo-mark-image {
  width: 42px;
  height: 42px;
  padding: 4px;
  overflow: hidden;
  background: #070f1d !important;
}

.logo-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links a {
  opacity: 0.62 !important;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--fx-cyan), var(--fx-blue));
  transition: right 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff !important;
  opacity: 1 !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta,
.btn-primary {
  color: #1b1202 !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: linear-gradient(110deg, var(--fx-gold), var(--fx-gold-light)) !important;
  box-shadow: 0 12px 34px rgba(239, 167, 7, 0.22) !important;
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(110deg, #ffd873, #efa707) !important;
  box-shadow: 0 16px 44px rgba(239, 167, 7, 0.34) !important;
}

.btn-ghost {
  color: #d8e6f7 !important;
  border-color: var(--fx-line) !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.btn-ghost:hover {
  color: var(--fx-cyan) !important;
  border-color: var(--fx-line-bright) !important;
  background: rgba(239, 167, 7, 0.07) !important;
}

/* Type and shared section styling */
h1,
h2,
h3,
h4,
.hero-stat b,
.process-step,
.price-card .amt,
.svc-copy,
.contact-side {
  color: var(--fx-text);
}

p,
.section-head p,
.hero p.lede,
.page-hero p,
.teaser-card p,
.process-item p,
.cap-card p,
.svc-copy > p,
.contact-side > p,
.contact-item p,
.contact-item a,
.expect-list li,
.form-note,
.success-panel p {
  color: var(--fx-muted) !important;
}

.eyebrow,
.eyebrow.on-dark {
  color: var(--fx-cyan) !important;
}

.eyebrow::before {
  background: var(--fx-gold-light) !important;
  box-shadow: 0 0 0 5px rgba(239, 167, 7, 0.1), 0 0 18px rgba(239, 167, 7, 0.65);
}

.accent,
.hero h1 .accent,
.page-hero .accent {
  color: transparent !important;
  background: linear-gradient(95deg, #ffffff 5%, var(--fx-gold-light) 48%, var(--fx-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-head h2 {
  color: var(--fx-text);
}

section.pad,
.svc-block,
.contact-wrap {
  background: transparent !important;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--fx-text);
  background:
    radial-gradient(circle at 50% -25%, rgba(239, 167, 7, 0.2), transparent 45%),
    linear-gradient(180deg, #050b18 0%, rgba(5, 11, 24, 0.2) 100%) !important;
  border-bottom: 1px solid var(--fx-line);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -110px;
  width: 620px;
  height: 220px;
  transform: translateX(-50%);
  border: 1px solid rgba(239, 167, 7, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(239, 167, 7, 0.1);
}

/* Home hero */
.hero {
  position: relative;
  color: var(--fx-text);
  background:
    radial-gradient(circle at 72% 42%, rgba(73, 136, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 20% 5%, rgba(239, 167, 7, 0.1), transparent 27rem),
    linear-gradient(180deg, #030712 0%, #050b17 100%) !important;
  border-bottom: 1px solid var(--fx-line);
}

.hero::before {
  content: "REVIONIS / OPERATIONS OS";
  position: absolute;
  right: 3%;
  bottom: 4%;
  color: rgba(148, 194, 234, 0.12);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
}

.hero-grid {
  isolation: isolate;
}

.hero-grid::before {
  content: "SYSTEM ONLINE";
  position: absolute;
  right: 32px;
  top: -35px;
  padding: 6px 11px 6px 26px;
  color: #9effd7;
  border: 1px solid rgba(66, 245, 179, 0.2);
  border-radius: 999px;
  background: rgba(66, 245, 179, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-grid::after {
  content: "";
  position: absolute;
  right: 137px;
  top: -26px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-green);
  box-shadow: 0 0 12px var(--fx-green);
  animation: fx-status 1.8s ease-in-out infinite;
}

@keyframes fx-status {
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero-stat {
  padding-left: 14px;
  border-left: 1px solid var(--fx-line-bright);
}

.hero-stat span {
  color: var(--fx-muted) !important;
}

.flow-wrap {
  border: 1px solid var(--fx-line);
  background:
    linear-gradient(rgba(239, 167, 7, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 167, 7, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(73, 136, 255, 0.12), rgba(4, 9, 19, 0.5));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 70px rgba(2, 7, 18, 0.8), var(--fx-shadow);
}

.hero-logo-card {
  position: relative;
  border: 1px solid var(--fx-line);
  background:
    radial-gradient(circle at 50% 45%, rgba(73, 136, 255, 0.16), transparent 70%),
    rgba(2, 6, 15, 0.76);
  box-shadow: inset 0 0 70px rgba(2, 7, 18, 0.7), var(--fx-shadow);
}

.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(239, 167, 7, 0.1);
  border-radius: 16px;
}

.hero-logo-card img {
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.flow-node {
  background: linear-gradient(145deg, var(--fx-gold-deep), var(--fx-gold-light)) !important;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 70px rgba(239, 167, 7, 0.3) !important;
}

.flow-label.g,
.flow-label.c {
  color: var(--fx-cyan) !important;
}

/* Home sections */
.teaser-card,
.why-grid,
.pricing-strip,
.price-card,
.form-card,
.svc-visual,
.funnel-node,
.platform-pill {
  border: 1px solid var(--fx-line) !important;
  background: linear-gradient(145deg, rgba(13, 27, 50, 0.82), rgba(6, 13, 26, 0.7)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.teaser-card {
  position: relative;
  overflow: hidden;
}

.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 35%, rgba(239, 167, 7, 0.09), transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
}

.teaser-card:hover {
  border-color: var(--fx-line-bright) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), 0 0 36px rgba(239, 167, 7, 0.1) !important;
}

.teaser-card:hover::before {
  transform: translateX(110%);
}

.teaser-icon {
  color: var(--fx-cyan) !important;
  border: 1px solid var(--fx-line);
  background: rgba(239, 167, 7, 0.07) !important;
}

.teaser-link {
  color: var(--fx-cyan) !important;
}

.cap-section {
  background: rgba(4, 10, 21, 0.56) !important;
  border-block: 1px solid var(--fx-line);
}

.cap-card {
  padding: 28px 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--fx-line);
  background: rgba(239, 167, 7, 0.04);
}

.cap-icon svg {
  stroke: var(--fx-cyan) !important;
  filter: drop-shadow(0 0 12px rgba(239, 167, 7, 0.28));
}

.why-bg {
  background:
    radial-gradient(circle at 50% 50%, rgba(73, 136, 255, 0.1), transparent 45%),
    #030712 !important;
  border-block: 1px solid var(--fx-line);
}

.why-grid {
  gap: 1px;
  overflow: hidden;
  background: var(--fx-line) !important;
}

.why-card {
  background: #07101f !important;
}

.why-card:hover {
  background: #0a1930 !important;
}

.why-num,
.process-step,
.price-card .amt,
.process-tag {
  color: var(--fx-cyan) !important;
}

.process-item,
.process-item:last-child {
  border-color: var(--fx-line) !important;
}

.process-tag {
  border: 1px solid var(--fx-line);
  background: rgba(239, 167, 7, 0.065) !important;
}

.price-card .lbl {
  color: var(--fx-muted) !important;
}

.cta-section,
.services-page .cta-section {
  background:
    linear-gradient(120deg, rgba(111, 76, 8, 0.62), rgba(239, 167, 7, 0.24)),
    #061226 !important;
  border-block: 1px solid rgba(239, 167, 7, 0.28);
}

.cta-section h2 {
  color: #ffffff !important;
}

.cta-section p {
  color: rgba(239, 249, 255, 0.78) !important;
}

/* Logistics scene */
.logi-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 167, 7, 0.09), transparent 34rem),
    #020611 !important;
  border-block: 1px solid var(--fx-line);
}

.scene-card {
  border-color: rgba(239, 167, 7, 0.24) !important;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.58), 0 0 80px rgba(239, 167, 7, 0.1) !important;
}

.logi-scene img.base-illustration {
  filter: saturate(0.94) contrast(1.03);
}

.scene-controls {
  color: var(--fx-text);
  background: #07101f !important;
  border-top: 1px solid var(--fx-line);
}

.scene-btn {
  color: #c8d8ea !important;
  border-color: var(--fx-line) !important;
  background: #0a1628 !important;
}

.scene-btn:hover {
  color: var(--fx-cyan) !important;
  border-color: var(--fx-line-bright) !important;
  background: rgba(239, 167, 7, 0.08) !important;
}

.scene-btn.primary {
  color: #1b1202 !important;
  background: linear-gradient(110deg, var(--fx-gold), var(--fx-gold-light)) !important;
}

/* Services */
.svc-block {
  border-bottom-color: var(--fx-line) !important;
}

.svc-tag {
  color: var(--fx-cyan) !important;
  border: 1px solid var(--fx-line);
  background: rgba(239, 167, 7, 0.065) !important;
}

.svc-list li {
  color: #c7d4e4;
}

.svc-check {
  color: #1b1202 !important;
  background: linear-gradient(135deg, var(--fx-gold), var(--fx-gold-light)) !important;
  box-shadow: 0 0 18px rgba(239, 167, 7, 0.22);
}

.svc-visual {
  min-height: 360px;
  box-shadow: var(--fx-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.svc-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  background: rgba(239, 167, 7, 0.13);
  filter: blur(40px);
}

.visual-line,
.visual-stat {
  color: #b9c8da !important;
  border: 1px solid rgba(239, 167, 7, 0.11) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.visual-line[style] {
  color: #b9c8da !important;
  border-color: rgba(239, 167, 7, 0.11) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.funnel-node,
.platform-pill {
  color: #dce8f6;
}

/* Contact */
.contact-item-icon {
  border: 1px solid var(--fx-line);
  background: rgba(239, 167, 7, 0.06) !important;
}

.contact-whatsapp-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.expect-list {
  border-top-color: var(--fx-line) !important;
}

.expect-list .num,
.field-input:focus + .field-label,
.field-input:not(:placeholder-shown) + .field-label,
.field-textarea:focus + .field-label,
.field-textarea:not(:placeholder-shown) + .field-label {
  color: var(--fx-cyan) !important;
}

.form-card {
  box-shadow: var(--fx-shadow);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fx-cyan), transparent);
}

.field-input,
.field-textarea,
.field-select {
  color: var(--fx-text) !important;
  border-color: var(--fx-line) !important;
  background-color: rgba(2, 8, 18, 0.72) !important;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: var(--fx-line-bright) !important;
  box-shadow: 0 0 0 4px rgba(239, 167, 7, 0.1) !important;
}

.field-select option {
  color: var(--fx-text);
  background: #07101f;
}

.field-label,
.select-label {
  color: var(--fx-muted) !important;
}

.success-panel .check-circle {
  color: #06150f;
  background: var(--fx-green) !important;
  box-shadow: 0 0 34px rgba(66, 245, 179, 0.24);
}

/* Footer */
footer {
  color: var(--fx-muted) !important;
  background: #02050d !important;
  border-top: 1px solid var(--fx-line);
  padding: 30px 0 18px !important;
}

.footer-top {
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(210px, 260px);
  align-items: start !important;
  gap: clamp(48px, 9vw, 150px) !important;
  margin-bottom: 22px !important;
}

.footer-brand-block,
.footer-right {
  min-width: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  width: 100%;
  max-width: 260px;
  gap: 18px;
}

.footer-bottom {
  border-top-color: var(--fx-line) !important;
  padding-top: 14px !important;
  font-size: 11.5px !important;
}

footer .foot-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px !important;
  font-size: 17px !important;
  font-weight: 600;
}

footer .foot-links a {
  line-height: 1.35;
}

footer .foot-links a:hover {
  color: var(--fx-cyan) !important;
}

.footer-brand-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.footer-address {
  max-width: 520px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.footer-address span {
  color: var(--fx-gold);
  font-weight: 700;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dfffea;
  font-size: 14px;
  font-weight: 700;
}

.whatsapp-link:hover {
  color: #25d366;
}

.whatsapp-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-icon img {
  display: block;
  width: 34px;
  height: 34px;
}

/* Small ambient pointer glow */
.fx-pointer {
  position: fixed;
  z-index: 80;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(239, 167, 7, 0.08), transparent 68%);
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

body.fx-pointer-active .fx-pointer {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-grid::before,
  .hero-grid::after,
  .hero::before,
  .fx-pointer {
    display: none;
  }

  .nav-links[style] {
    color: var(--fx-text) !important;
    border-bottom: 1px solid var(--fx-line) !important;
    background: rgba(3, 7, 18, 0.98) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding-top: 110px;
  }

  .flow-wrap {
    border-radius: 18px;
  }

  .hero-logo-card {
    border-radius: 18px;
  }

  footer {
    padding: 26px 0 16px !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-right {
    align-items: flex-start;
    justify-self: start;
    max-width: none;
    gap: 16px;
  }

  .footer-brand-logo {
    width: 140px;
  }

  footer .foot-links {
    gap: 16px !important;
    justify-content: flex-start;
  }

  .svc-visual {
    min-height: 300px;
    padding: 30px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .hero-grid::after {
    animation: none !important;
  }

  .fx-pointer {
    display: none;
  }
}
