:root {
  color-scheme: dark;
  --bg: #07110f;
  --panel: #0f1917;
  --panel-strong: #16231f;
  --text: #f4f7f2;
  --muted: #a7b5ae;
  --line: rgba(255, 255, 255, 0.13);
  --green: #5ee083;
  --blue: #67b7ff;
  --red: #ff625f;
  --amber: #ffc04d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(7, 17, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.topbar nav,
.hero-actions,
.section-heading,
.module-copy,
.contact {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 68% 28%, var(--blue) 0 12%, transparent 13%),
    radial-gradient(circle at 35% 64%, var(--green) 0 14%, transparent 15%),
    linear-gradient(135deg, #19372f, #27596b);
}

.topbar nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.topbar nav a:hover {
  color: var(--text);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
}

.nav-cta,
.primary-action {
  background: #f3f7ef;
  color: #07110f;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 104px clamp(20px, 6vw, 96px) 72px;
  overflow: hidden;
}

#municipality-map,
.slovenia-outline,
.hero-signals,
.hero-shade {
  position: absolute;
  inset: 0;
}

#municipality-map {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.slovenia-outline {
  z-index: 2;
  width: min(82vw, 1320px);
  height: auto;
  margin: auto;
  transform: translate(18vw, -4vh) rotate(-3deg);
  opacity: 0.78;
  overflow: visible;
  pointer-events: none;
}

.slovenia-land {
  fill: rgba(94, 224, 131, 0.04);
  stroke: rgba(244, 247, 242, 0.25);
  stroke-width: 3.2;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 2px rgba(244, 247, 242, 0.22))
    drop-shadow(0 24px 90px rgba(94, 224, 131, 0.14));
}

.slovenia-topography path {
  fill: none;
  stroke: rgba(244, 247, 242, 0.13);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero-signals {
  z-index: 2;
  pointer-events: none;
}

.hero-signal {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--signal);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 22px currentColor;
  animation: heroSignal 3.4s ease-out infinite;
  animation-delay: var(--delay);
}

.hero-signal::before,
.hero-signal::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0;
  animation: heroSignalRing 3.4s ease-out infinite;
  animation-delay: var(--delay);
}

.hero-signal::after {
  animation-delay: calc(var(--delay) - 1.15s);
}

.hero-signal.red {
  --signal: var(--red);
}

.hero-signal.green {
  --signal: var(--green);
}

.hero-signal.blue {
  --signal: var(--blue);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.93) 0%, rgba(7, 17, 15, 0.68) 42%, rgba(7, 17, 15, 0.24) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}

.hero-content,
.video-teaser {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-contact {
  display: inline-flex;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero-contact:hover,
.hero-contact:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-teaser {
  position: relative;
  align-self: end;
  aspect-ratio: 9 / 16;
  min-height: 360px;
  max-height: min(62vh, 620px);
  border: 0;
  border-radius: 8px;
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: image-set(
      url("assets/sensus-civic-field-demo-poster.webp") type("image/webp"),
      url("assets/sensus-video-teaser.png") type("image/png")
    )
    center / cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.video-teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 17, 15, 0.02) 0%, rgba(7, 17, 15, 0.14) 44%, rgba(7, 17, 15, 0.82) 100%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f3f7ef;
}

.play-button::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 21px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #07110f;
}

.video-teaser p {
  color: var(--muted);
  margin-bottom: 8px;
}

.video-teaser strong {
  position: relative;
  z-index: 2;
  max-width: 360px;
  font-size: 22px;
  line-height: 1.18;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.54);
}

.section,
.module,
.contact {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 96px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.problem {
  background: #f4f1ea;
  color: #101313;
}

.problem .eyebrow {
  color: #8d3d32;
}

.problem .section-heading p,
.problem p {
  color: #515a55;
}

.comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.paper-stack,
.decision-map {
  min-height: 430px;
  border-radius: 8px;
}

.paper-stack {
  display: grid;
  place-content: center;
  gap: 14px;
}

.paper-stack span {
  width: min(420px, 72vw);
  padding: 18px 22px;
  border-radius: 6px;
  background: white;
  color: #28302d;
  box-shadow: 0 12px 34px rgba(33, 24, 16, 0.14);
  transform: rotate(var(--tilt, -2deg));
}

.paper-stack span:nth-child(2) {
  --tilt: 1deg;
}

.paper-stack span:nth-child(3) {
  --tilt: -1deg;
}

.paper-stack span:nth-child(4) {
  --tilt: 2deg;
}

.paper-stack span:nth-child(5) {
  --tilt: -1.4deg;
}

.arrow {
  color: #345248;
  font-weight: 780;
  white-space: nowrap;
}

.decision-map {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 98, 95, 0.18), transparent 18%),
    radial-gradient(circle at 64% 34%, rgba(94, 224, 131, 0.16), transparent 20%),
    radial-gradient(circle at 50% 56%, rgba(103, 183, 255, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(75, 139, 112, 0.24), rgba(58, 105, 145, 0.22)),
    #17231f;
  color: white;
}

.map-grid,
.insight-map::before,
.module-map::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  content: "";
}

.decision-map h3 {
  position: absolute;
  z-index: 5;
  left: 26px;
  right: 26px;
  bottom: 26px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.decision-map-outline {
  position: absolute;
  z-index: 1;
  inset: 8% 4% 12%;
  width: 92%;
  height: auto;
  opacity: 0.82;
  pointer-events: none;
}

.decision-land {
  fill: rgba(244, 247, 242, 0.025);
  stroke: rgba(244, 247, 242, 0.2);
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 18px 54px rgba(94, 224, 131, 0.12));
}

.decision-contours path,
.decision-routes path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.decision-contours path {
  stroke: rgba(244, 247, 242, 0.11);
  stroke-width: 1.2;
}

.decision-routes path {
  stroke: rgba(103, 183, 255, 0.15);
  stroke-width: 1.7;
  stroke-dasharray: 8 12;
}

.map-illustration {
  position: absolute;
  z-index: 2;
  width: 96px;
  height: 74px;
  opacity: 0.7;
  pointer-events: none;
}

.map-illustration span {
  position: absolute;
  display: block;
}

.waste-visual {
  left: 11%;
  top: 17%;
}

.trash-bin {
  left: 26px;
  top: 20px;
  width: 38px;
  height: 42px;
  border: 2px solid rgba(244, 247, 242, 0.32);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  transform: rotate(-6deg);
}

.trash-bin::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -9px;
  width: 48px;
  height: 7px;
  border-radius: 4px;
  background: rgba(244, 247, 242, 0.22);
}

.trash-bag {
  left: 58px;
  top: 34px;
  width: 28px;
  height: 24px;
  border-radius: 12px 12px 9px 9px;
  background: rgba(255, 98, 95, 0.22);
  border: 1px solid rgba(255, 98, 95, 0.42);
}

.trash-mark {
  left: 16px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 98, 95, 0.48);
}

.road-visual {
  left: 41%;
  top: 42%;
  transform: rotate(-18deg);
}

.road-line {
  left: 6px;
  top: 28px;
  width: 88px;
  height: 24px;
  border-radius: 50%;
  border-top: 3px solid rgba(244, 247, 242, 0.3);
}

.road-crack {
  width: 2px;
  background: rgba(255, 192, 77, 0.62);
  transform-origin: top;
}

.road-crack.one {
  left: 42px;
  top: 24px;
  height: 32px;
  transform: rotate(22deg);
}

.road-crack.two {
  left: 56px;
  top: 34px;
  height: 24px;
  transform: rotate(-28deg);
}

.light-visual {
  right: 11%;
  top: 20%;
}

.lamp-post {
  left: 44px;
  top: 18px;
  width: 3px;
  height: 54px;
  border-radius: 3px;
  background: rgba(244, 247, 242, 0.28);
}

.lamp-head {
  left: 44px;
  top: 16px;
  width: 30px;
  height: 18px;
  border: 2px solid rgba(244, 247, 242, 0.3);
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.lamp-glow {
  left: 62px;
  top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 224, 131, 0.35), transparent 66%);
}

.map-label {
  position: absolute;
  z-index: 4;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(7, 17, 15, 0.42);
  color: rgba(244, 247, 242, 0.74);
  font-size: 12px;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.waste-label {
  left: 16%;
  top: 35%;
}

.road-label {
  left: 47%;
  top: 60%;
}

.light-label {
  right: 7%;
  top: 42%;
}

.pin {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: pulse 2.8s infinite;
}

.pin.red {
  left: 26%;
  top: 24%;
  background: var(--red);
}

.pin.green {
  left: 65%;
  top: 34%;
  background: var(--green);
}

.pin.blue {
  left: 48%;
  top: 52%;
  background: var(--blue);
}

.pin.amber {
  left: 72%;
  top: 64%;
  background: var(--amber);
}

.flow {
  background: var(--bg);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(94, 224, 131, 0.14);
  color: var(--green);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.steps p,
.module-copy p,
.story p,
.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.module-copy .product-name,
.quality-index .product-name {
  font-weight: 820;
}

.module-copy .product-vibe {
  color: var(--green);
}

.module-copy .product-pulse {
  color: var(--amber);
}

.quality-index .product-insight {
  color: var(--blue);
}

.module {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

.module-map,
.insight-map {
  position: relative;
  min-height: min(68vh, 700px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 98, 95, 0.28), transparent 18%),
    radial-gradient(circle at 68% 58%, rgba(103, 183, 255, 0.24), transparent 22%),
    linear-gradient(145deg, #13211d, #0a1412);
}

.pulse-trace,
.pulse-field,
.insight-glasses,
.insight-routes {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pulse-trace {
  opacity: 0.46;
  filter: drop-shadow(0 0 22px rgba(94, 224, 131, 0.16));
}

.pulse-baseline,
.pulse-echo {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.pulse-baseline {
  stroke: rgba(94, 224, 131, 0.34);
  stroke-width: 4;
}

.pulse-echo {
  stroke: rgba(103, 183, 255, 0.18);
  stroke-width: 2;
  stroke-dasharray: 10 16;
}

.pulse-field {
  opacity: 0.55;
}

.pulse-field path,
.insight-routes path {
  fill: none;
  stroke: rgba(244, 247, 242, 0.09);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 9 14;
  vector-effect: non-scaling-stroke;
}

.insight-glasses {
  opacity: 0.42;
  filter: drop-shadow(0 0 26px rgba(103, 183, 255, 0.12));
}

.glasses-frame circle,
.glasses-frame path,
.glasses-scan path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.glasses-frame circle,
.glasses-frame path {
  stroke: rgba(244, 247, 242, 0.2);
  stroke-width: 3;
}

.glasses-scan path {
  stroke: rgba(103, 183, 255, 0.16);
  stroke-width: 1.7;
}

.insight-routes {
  opacity: 0.8;
}

.hotspot,
.layer {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(7, 17, 15, 0.74);
  backdrop-filter: blur(10px);
  font-weight: 760;
  animation: float 4s ease-in-out infinite;
}

.waste {
  left: 18%;
  top: 22%;
  color: var(--red);
}

.road {
  right: 15%;
  top: 46%;
  color: var(--amber);
  animation-delay: -1.2s;
}

.light {
  left: 36%;
  bottom: 20%;
  color: var(--blue);
  animation-delay: -2s;
}

.vibe {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  background:
    linear-gradient(135deg, rgba(94, 224, 131, 0.11), rgba(103, 183, 255, 0.09)),
    var(--bg);
}

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

.ratings article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 78% 24%, rgba(94, 224, 131, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.ratings article::before {
  content: attr(data-vibe);
  position: absolute;
  right: 20px;
  bottom: 2px;
  font-size: clamp(78px, 9vw, 132px);
  line-height: 1;
  opacity: 0.12;
  filter: saturate(0.72);
  transform: rotate(-8deg);
  pointer-events: none;
}

.ratings article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 66px;
  height: 34px;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent, rgba(94, 224, 131, 0.34), transparent) 0 50% / 100% 1px no-repeat,
    radial-gradient(circle at 10% 50%, rgba(94, 224, 131, 0.52) 0 3px, transparent 4px),
    radial-gradient(circle at 34% 40%, rgba(103, 183, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 58%, rgba(94, 224, 131, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 46%, rgba(255, 192, 77, 0.38) 0 2px, transparent 3px);
  pointer-events: none;
  animation: moodPulse 4.8s ease-in-out infinite;
}

.ratings article:nth-child(2)::after {
  animation-delay: -1.1s;
}

.ratings article:nth-child(3)::after {
  animation-delay: -2.2s;
}

.ratings article:nth-child(4)::after {
  animation-delay: -3.1s;
}

.ratings strong {
  position: relative;
  z-index: 1;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--green);
}

.ratings span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-weight: 700;
}

@keyframes moodPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.28;
  }

  50% {
    transform: translateY(-3px);
    opacity: 0.5;
  }
}

.insight {
  background: #09100f;
}

.insight-map {
  background:
    radial-gradient(circle at 40% 34%, rgba(94, 224, 131, 0.22), transparent 20%),
    radial-gradient(circle at 62% 62%, rgba(103, 183, 255, 0.23), transparent 24%),
    radial-gradient(circle at 68% 24%, rgba(255, 192, 77, 0.18), transparent 18%),
    #101916;
}

.traffic {
  left: 16%;
  top: 18%;
  color: var(--amber);
}

.green {
  right: 16%;
  top: 28%;
  color: var(--green);
  animation-delay: -1.5s;
}

.services {
  left: 28%;
  bottom: 24%;
  color: var(--blue);
  animation-delay: -2.4s;
}

.mood {
  right: 20%;
  bottom: 18%;
  color: #f1a5ff;
  animation-delay: -3s;
}

.quality-index {
  position: relative;
  z-index: 2;
}

.gauge {
  width: min(330px, 74vw);
  aspect-ratio: 1;
  margin: 30px 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #09100f 0 54%, transparent 55%),
    conic-gradient(var(--green) calc(var(--score) * 1%), rgba(255, 255, 255, 0.1) 0);
}

.gauge span {
  font-size: 80px;
  font-weight: 820;
}

.pilots {
  background:
    linear-gradient(135deg, rgba(103, 183, 255, 0.08), rgba(94, 224, 131, 0.07)),
    #0a1311;
}

.pilots .section-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.pilot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.pilot-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 310px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(94, 224, 131, 0.28), transparent 20%),
    radial-gradient(circle at 78% 30%, rgba(103, 183, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #17251f 0%, #0c1715 54%, #07110f 100%);
}

.pilot-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 78%);
  pointer-events: none;
}

.pilot-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(7, 17, 15, 0.04) 0%, rgba(7, 17, 15, 0.1) 42%, rgba(7, 17, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(7, 17, 15, 0.22), rgba(7, 17, 15, 0.04) 58%, rgba(7, 17, 15, 0.28));
  pointer-events: none;
}

.pilot-visual picture {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  display: block;
  width: min(74%, 460px);
  height: 58%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(244, 247, 242, 0.08);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.pilot-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.pilot-visual img {
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.02);
}

.pilot-shot-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(7, 17, 15, 0.68);
  color: rgba(244, 247, 242, 0.82);
  font-size: 12px;
  font-weight: 780;
  backdrop-filter: blur(12px);
}

.pilot-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(7, 17, 15, 0.72);
  backdrop-filter: blur(12px);
}

.pilot-panel strong {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1;
}

.pilot-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.pilot-copy {
  padding: clamp(22px, 3vw, 34px);
}

.pilot-label {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.pilot-card.oreli .pilot-label {
  color: var(--blue);
}

.pilot-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.pilot-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.pilot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pilot-tags span {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 247, 242, 0.78);
  font-size: 12px;
  font-weight: 760;
}

.story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  background: #f4f1ea;
  color: #101313;
}

.story .eyebrow {
  color: #326b57;
}

.story p {
  color: #4f5a54;
  font-size: 18px;
}

.story-board {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 34%, rgba(94, 224, 131, 0.24), transparent 22%),
    radial-gradient(circle at 72% 32%, rgba(255, 192, 77, 0.2), transparent 20%),
    radial-gradient(circle at 62% 74%, rgba(103, 183, 255, 0.2), transparent 22%),
    linear-gradient(135deg, #35594f, #172521 56%, #283326);
  box-shadow: inset 0 0 0 1px rgba(16, 19, 19, 0.12);
}

.story-board::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 8px;
  pointer-events: none;
}

.story-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 241, 234, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  pointer-events: none;
}

.story-scene {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  opacity: 0.9;
}

.story-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-route.main {
  stroke: rgba(244, 241, 234, 0.22);
  stroke-width: 34;
}

.story-route.soft {
  stroke: rgba(244, 241, 234, 0.18);
  stroke-width: 4;
}

.story-park,
.story-road,
.story-landmark,
.story-citizen {
  fill: none;
  stroke: rgba(244, 241, 234, 0.56);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-park {
  stroke: rgba(94, 224, 131, 0.58);
}

.story-road {
  stroke: rgba(103, 183, 255, 0.52);
}

.story-landmark {
  stroke: rgba(255, 192, 77, 0.56);
}

.story-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  background: rgba(11, 21, 18, 0.68);
  color: #fff;
  font-size: 18px;
  font-weight: 780;
  backdrop-filter: blur(10px);
}

.story-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.story-tag.park {
  left: 16%;
  top: 24%;
  color: var(--green);
}

.story-tag.road {
  right: 16%;
  bottom: 22%;
  color: var(--blue);
}

.story-tag.tourist {
  right: 17%;
  top: 28%;
  color: var(--amber);
}

.story-tag.citizen {
  left: 28%;
  bottom: 25%;
  color: #f4f1ea;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: #0c1513;
}

.about-intro {
  position: sticky;
  top: 104px;
}

.about-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.inline-link {
  color: inherit;
  font-weight: 700;
  text-decoration-color: rgba(126, 217, 87, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.inline-link:hover {
  color: #f4f1ea;
  text-decoration-color: rgba(126, 217, 87, 0.95);
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.trust-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.trust-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.12;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact {
  min-height: 70svh;
  display: grid;
  align-content: center;
  justify-items: start;
  background:
    linear-gradient(135deg, rgba(94, 224, 131, 0.08), rgba(103, 183, 255, 0.1)),
    #07110f;
}

.contact h2,
.contact p {
  max-width: 780px;
}

.presentation-link {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(244, 241, 234, 0.76);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.28);
}

.presentation-link:hover {
  color: #f4f1ea;
  border-color: rgba(244, 241, 234, 0.64);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 currentColor;
    transform: scale(1);
  }
  55% {
    box-shadow: 0 0 0 18px transparent;
    transform: scale(1.08);
  }
}

@keyframes heroSignal {
  0%,
  100% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.92);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@keyframes heroSignalRing {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  78%,
  100% {
    opacity: 0;
    transform: scale(4.8);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .topbar nav {
    display: none;
  }

  .hero,
  .comparison,
  .module,
  .vibe,
  .pilot-grid,
  .story,
  .about {
    grid-template-columns: 1fr;
  }

  .about-intro {
    position: static;
  }

  .video-teaser {
    align-self: stretch;
    justify-self: center;
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    min-height: 340px;
    max-height: 520px;
  }

  .slovenia-outline {
    width: 118vw;
    transform: translate(18vw, -2vh) rotate(-3deg);
    opacity: 0.58;
  }

  .hero-signal {
    width: 11px;
    height: 11px;
  }

  .comparison {
    gap: 18px;
  }

  .decision-map-outline {
    inset: 9% -4% 16%;
    width: 108%;
  }

  .map-illustration {
    transform: scale(0.9);
  }

  .road-visual {
    transform: rotate(-18deg) scale(0.9);
  }

  .map-label {
    font-size: 11px;
  }

  .arrow {
    text-align: center;
  }

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

  .steps li {
    min-height: 180px;
  }

  .module {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 96px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions,
  .ratings,
  .story-board {
    grid-template-columns: 1fr;
  }

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

  .paper-stack,
  .decision-map,
  .module-map,
  .insight-map,
  .story-board {
    min-height: 360px;
  }

  .video-teaser {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: 420px;
    padding: 18px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  }

  .play-button {
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
  }

  .play-button::after {
    top: 13px;
    left: 17px;
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 13px;
  }

  .video-teaser strong {
    font-size: 18px;
  }

  .pilot-visual {
    aspect-ratio: 16 / 9;
    min-height: 250px;
  }

  .pilot-visual picture {
    top: 20px;
    left: 20px;
    width: min(72%, 300px);
    height: 44%;
  }

  .pilot-shot-label {
    left: 14px;
    bottom: 14px;
    min-height: 28px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .pilot-panel {
    right: 14px;
    bottom: 14px;
    min-width: 108px;
    padding: 11px 12px;
  }

  .pilot-panel strong {
    font-size: 22px;
  }

  .pilot-panel small {
    font-size: 11px;
  }

  .decision-map h3 {
    font-size: 29px;
  }

  .map-illustration {
    opacity: 0.54;
    transform: scale(0.72);
  }

  .road-visual {
    transform: rotate(-18deg) scale(0.72);
  }

  .waste-visual {
    left: 6%;
    top: 15%;
  }

  .light-visual {
    right: 1%;
    top: 18%;
  }

  .road-visual {
    left: 35%;
    top: 40%;
  }

  .map-label {
    display: none;
  }
}
