:root {
  --container: 1240px;
  --line: rgba(16, 33, 47, 0.10);
  --line-strong: rgba(16, 33, 47, 0.16);
  --shadow-soft: 0 10px 30px rgba(16, 33, 47, 0.06);
  --shadow-panel: 0 20px 60px rgba(16, 33, 47, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.site-shell { overflow: clip; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 247, 244, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #0B6822;
  box-shadow: 0 0 0 6px rgba(11, 104, 34, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.brand:hover .brand-mark {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(11, 104, 34, 0.10);
}
.brand-text { font-size: 1.02rem; color: #0f2233; letter-spacing: -.03em; }
.brand-text em { font-style: normal; color: #0B6822; }

.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.nav-link {
  position: relative;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: #0B6822;
  transform: translateX(-50%);
  transition: width 240ms ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: calc(100% - 28px);
}

.nav-cta {
  background: #0B6822;
  box-shadow: 0 10px 24px rgba(11, 104, 34, 0.18);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 9999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 33, 47, 0.1);
}
.nav-toggle span { width: 18px; height: 2px; background: #10212f; border-radius: 9999px; }

.section-platform { background: #f1f3ef; }
.section-results { background: #10293f; color: #fff; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-seq {
  opacity: 0;
  animation: hero-rise 0.72s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-seq:nth-child(1) { animation-delay: 80ms; }
.hero-seq:nth-child(2) { animation-delay: 160ms; }
.hero-seq:nth-child(3) { animation-delay: 240ms; }
.hero-seq:nth-child(4) { animation-delay: 320ms; }
.hero-seq:nth-child(5) { animation-delay: 400ms; }
.hero-seq:nth-child(6) { animation-delay: 480ms; }

.hero-panel {
  opacity: 0;
  animation: hero-rise 0.82s cubic-bezier(.22, 1, .36, 1) 220ms forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s cubic-bezier(.22, 1, .36, 1),
    transform 0.72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-lift,
.stat-card,
.input-card,
.result-card,
.user-card,
.integration-pill,
.company-card,
.architecture-module,
.algo-card,
.output-card,
.user-badge,
.btn-micro,
.hero a,
.main-nav a {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    color 260ms ease;
}

.card-lift:hover,
.stat-card:hover,
.input-card:hover,
.result-card:hover,
.user-card:hover,
.company-card:hover,
.architecture-module:hover,
.algo-card:hover,
.output-card:hover {
  transform: translateY(-4px);
}

.integration-pill:hover,
.user-badge:hover,
.hero a:hover,
.btn-micro:hover {
  transform: translateY(-2px);
}

.card-lift:hover,
.stat-card:hover,
.input-card:hover,
.user-card:hover,
.output-card:hover,
.company-card:hover,
.integration-pill:hover,
.user-badge:hover,
.architecture-module:hover,
.algo-card:hover {
  box-shadow: 0 18px 38px rgba(0, 41, 77, 0.10);
}

.input-card:hover,
.user-card:hover,
.output-card:hover,
.architecture-module:hover,
.algo-card:hover,
.integration-pill:hover,
.user-badge:hover {
  border-color: rgba(11, 104, 34, 0.22);
}

.result-card:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  border-color: rgba(205, 229, 138, 0.22);
}

.icon-circle {
  transition: transform 300ms ease, background-color 300ms ease, color 300ms ease;
}

.input-card:hover .icon-circle,
.result-card:hover .icon-circle,
.user-card:hover .icon-circle,
.output-card:hover .icon-circle,
.architecture-module:hover .icon-circle,
.algo-card:hover .icon-circle,
.user-badge:hover i {
  transform: scale(1.08) rotate(2deg);
}

.company-card img {
  transition: transform 280ms ease, opacity 280ms ease;
}
.company-card:hover img {
  transform: scale(1.04);
}

.site-footer { padding: 20px 0 40px; }

:focus-visible {
  outline: 2px solid #0B6822;
  outline-offset: 3px;
  border-radius: 10px;
}

.company-card {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 41, 77, 0.10);
  border-color: rgba(11, 104, 34, 0.18);
}

.company-card img {
  transition: transform 280ms ease, opacity 280ms ease;
}

.company-card:hover img {
  transform: scale(1.04);
}

.companies-marquee { overflow: hidden; }
.companies-track.is-marquee {
  display: flex;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: companies-marquee var(--marquee-duration, 28s) linear infinite;
}
.companies-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: max-content;
}
.companies-shell:hover .companies-track.is-marquee { animation-play-state: paused; }

@keyframes companies-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
  .companies-track.is-marquee { animation-duration: 22s !important; }
}

@media (max-width: 920px) {
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 90px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-panel);
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .container { width: min(calc(100% - 22px), var(--container)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-seq,
  .hero-panel,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .card-lift,
  .stat-card,
  .input-card,
  .result-card,
  .user-card,
  .integration-pill,
  .company-card,
  .architecture-module,
  .algo-card,
  .output-card,
  .user-badge,
  .btn-micro,
  .hero a,
  .main-nav a,
  .brand-mark,
  .nav-toggle,
  .icon-circle,
  .company-card img {
    transition: none !important;
  }

  .companies-track.is-marquee {
    animation: none !important;
  }
}

.hero-pipeline {
  position: relative;
}

.hero-pipeline-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-pipeline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-pipeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(205, 229, 138, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 1024px) {
  .hero-pipeline-row {
    min-height: 96px;
  }

  .hero-pipeline-row:nth-child(odd) > div:nth-child(2) article {
    margin-right: 12px;
  }

  .hero-pipeline-row:nth-child(even) > div:nth-child(2) article {
    margin-left: 12px;
  }
}



.social-link:hover,
#mainNav a[href^="http"]:hover {
  color: #0B6822;
  transform: translateY(-1px);
  border-color: rgba(11, 104, 34, 0.30);
}