@font-face  {
  font-family: 'Tektur';
  src: url('../fonts/Tektur-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face  {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face  {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

:root  {
  --bg:       #000;
  --bg-panel: #24322B;
  --white:       #E8EDE9;
  --green-light: #5cbd7e;
  /* --green-dark: #417b56; */
  /* --green-dark: #1e412b; */
  --gray:        #5B6E64;
  --gray-light:  #93a69b;
  --gray-muted:  #5B6E6480;
  --f-body:   'Tektur', sans-serif;
  --f-header: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 20px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  line-height: 1.5;
}
h1, h2, h3 {
  font-family: var(--f-header);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1rem;
}
p { margin: 0; }
img, svg { display: block; max-width: 100%; }

.sd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
@media (max-width: 720px) {
  .sd-container { padding: 0 1rem; }
}

/* ----------------------------- HEADER ----------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--gray);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  font-weight: 500;
  letter-spacing: 0.8px;
}
.brand-mark {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-image: url(../images/bullet.png);
  background-size: contain;
}
header .contacts {
  font-family: var(--f-header);
  color: var(--gray);
}

/* ----------------------------- HERO ----------------------------- */
section.hero::after {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 146px);
}
.hero-grid {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 3rem; }
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem; 
  color:var(--gray);
  letter-spacing: 1px;
}
.hero__subtitle .dash { width: 24px; height: 1px; background: var(--gray); }

.hero h1 em {
  font-style: normal;
  color:var(--green-light);
}

/* radar visual */
.radar-stage {
  position:relative;
  aspect-ratio:1/1;
}
.radar-stage svg { width: 100%; height: 100%; }
.radar-ring { fill: none; stroke: var(--bg-panel); stroke-width: 1; }
.radar-crosshair { stroke: var(--bg-panel); stroke-width: 1; }
.radar-sweep-line {
  stroke: var(--green-light);
  stroke-width: 1.5;
  transform-origin: 200px 200px;
  animation: sweep 5.5s linear infinite;
}
.radar-sweep-fill { transform-origin: 200px 200px; animation: sweep 5.5s linear infinite; opacity: 0.9; }
@keyframes sweep { from {transform: rotate(0deg);} to {transform: rotate(360deg);} }

.blip { fill: var(--green-light); }
.blip-1 { animation: blipfade 5.5s linear infinite; }
.blip-2 { animation: blipfade 5.5s linear infinite; animation-delay: 1.8s; }
.blip-3 { animation: blipfade 5.5s linear infinite; animation-delay: 3.4s; }
@keyframes blipfade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  18% { opacity: 0.15; }
  100% { opacity: 0.15; }
}

/* ----------------------------- Technology STRIP ----------------------------- */
.strip {
  background: var(--bg-panel);
}
.strip__inner {
  padding: 1rem 0;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.strip__item {
  flex-grow: 1;
  padding: 0 1rem;
  border-left: 1px solid var(--gray);
  font-size: 1.2rem;
  color: var(--green-light);
  letter-spacing: 1px;
  text-align: center;
}
.strip__item:first-child { border-left: none; }

/* ----------------------------- SECTIONS ----------------------------- */
.section-inner {
  padding-top: 6rem;
}
.section-head {
  max-width: 62%;
  margin: 0 0 0 auto;
}
.section-body {
  padding-top: 2.5rem;
}
 
section p.description,
.section-head p,
.section-body p {
  color: var(--gray-light);
}
.section-head p {
  padding-top: 1rem;
}

/* About */
.section-body.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:3rem;
}
@media(max-width: 800px) { .section-body.about { grid-template-columns: 1fr; gap: 1.5rem; } }

.section-body.about p:not(:last-child) { margin-bottom: 0.8rem; }
.about__fact {
  font-family: var(--f-header);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--white);
  padding: 0.6rem 0;
  border-top: 1px solid var(--gray-muted);
}
.about__fact:last-child { border-bottom: 1px solid var(--gray-muted); }
.about__fact span.head { color: var(--gray); }

/* Platform / solution cards */
.section-body.platform {
  display: flex;
  gap: 0.5rem;
}

.card {
  position:relative;
  padding: 1rem 1.5rem;
  border: 1px solid var(--bg-panel);
}
.card::before,
.card::after {
  content:"";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-color: var(--green-light);
  border-style: solid;
}
.card::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.card::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.card__subtitle {
  font-family: var(--f-header);
  color:var(--gray);
  font-size: 0.8rem;
}
.card h3 { margin: 1rem 0; }

/* How it works - stages */
#how-it-works {
  position: relative;
}
#how-it-works::after {
  content: '';
  display: inline-block;
  position: absolute;
  inset: 0;
  background-image: url(../images/platform_op_20.png);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding-bottom: 4rem;
}
#how-it-works .section-inner {
  padding-bottom: 6rem;
}

.section-body.stages { display: flex; flex-direction: column; }
.stage {
  display: grid; 
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-muted);
}
@media(max-width: 600px) { .stage { grid-template-columns: 1fr; gap: 0.5rem; } }

.stage:last-child { border-bottom: 1px solid var(--gray-muted); }
.stage-index { color: var(--green-light); }
.stage p { max-width: 88%;  padding-top: 0.5rem; }

/* ----------------------------- Footer ----------------------------- */
footer {
  padding: 1rem 0;
  background: var(--bg-panel);
}
.footer-inner {
  position: relative;
  font-size: 0.8rem;
  color:var(--gray);
  display: grid;
  gap: 1rem;
  grid-template-columns: max-content 1fr;
}
.footer-inner .imprint {
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  font-family: var(--f-header);
  color: var(--white);
  font-weight: 200;
}
.imprint span.company {
  font-weight: 400;
  padding-bottom: 0.5rem;
}
.footer-inner .copyright {
  grid-row: 2/3;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-inner .footer__links {
  display: flex;
  gap: 8px;
}
.footer-inner a { color: var(--gray); text-decoration: none; }
.footer-inner a:hover { color:var(--gray-light); }

.footer-inner .cookie-link {
  appearance: none;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  color: var(--gray);
  padding: 0;
}
.footer-inner .cookie-link:hover {
  color: var(--gray-light);
}

.footer-inner .cookie-popover {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 480px;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--gray);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  color: var(--gray-light);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.footer-inner .cookie-link:hover + .cookie-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
