@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.header {
  background: #fff;
  padding: 20px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
}

.logo__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__list a {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__list a:hover {
  opacity: 0.6;
}

/* Hero */
.hero {
  background: #f9f9f9;
  padding: 100px 0 80px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  max-width: 920px;
  font-size: clamp(1.85rem, 1.85rem + ((1vw - 0.2rem) * 1.083), 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.hero__text {
  max-width: 780px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
}

.hero__line {
  width: 48px;
  height: 1px;
  margin-top: 56px;
  background: #111;
}

/* Scale */
.scale {
  background: #fff;
  padding: 0 0 80px;
}

.scale__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.scale__title {
  font-size: clamp(1.85rem, 1.85rem + ((1vw - 0.2rem) * 1.083), 2.5rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}

.scale__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.scale-card {
  background: #fff;
  border: 1px solid #f0a94a;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scale-card__value {
  font-size: clamp(1.85rem, 1.85rem + ((1vw - 0.2rem) * 1.083), 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.scale-card__text {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
  max-width: 320px;
}

.scale__line {
  width: 48px;
  height: 1px;
  margin-top: 56px;
  background: #111;
}

/* Platforms */
.platforms {
  background: #f0f0f0;
  padding: 80px 0;
}

.platforms__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.platforms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.platforms-row--reverse {
  direction: rtl;
}

.platforms-row--reverse > * {
  direction: ltr;
}

.platforms-row__title {
  font-size: clamp(1.5rem, 1.4rem + 0.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 20px;
}

.platforms-row__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #111;
}

.platforms-row__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.platforms-row__list li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #111;
}

.platforms-row__media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

/* Directions */
.directions {
  background: #f0f0f0;
  padding: 0 0 80px;
}

.directions__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.directions__line {
  width: 48px;
  height: 1px;
  margin-bottom: 56px;
  background: #111;
}

.directions__title {
  font-size: clamp(1.5rem, 1.4rem + 0.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #111;
}

.directions__text {
  max-width: 820px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: #111;
}

.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  margin-top: 48px;
}

.directions-card {
  display: block;
  transition: opacity 0.2s ease;
}

.directions-card:hover {
  opacity: 0.85;
}

.directions-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.directions-card__title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
}

/* Partners */
.partners {
  background: #fff;
  padding: 80px 0;
}

.partners__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners__title {
  font-size: clamp(1.5rem, 1.4rem + 0.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #111;
  margin-bottom: 48px;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  align-items: center;
}

.partners-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 160px;
}

.partners-card__logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: contain;
  object-position: center;
}

/* Products page */
.products-hero {
  background: #fff;
  padding: 72px 0 48px;
}

.products-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.products-hero__title {
  font-size: clamp(1.85rem, 1.85rem + ((1vw - 0.2rem) * 1.083), 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.products-hero__text {
  max-width: 720px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
}

.products-hero__text strong {
  font-weight: 700;
}

.products {
  background: #fff;
  padding: 0 0 80px;
}

.products__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.product-row--reverse {
  direction: rtl;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.product-row--reverse > * {
  direction: ltr;
}

.product-row__media img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  display: block;
}

.product-row__title {
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.product-row__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-row__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
}

.product-row__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

/* Product detail page */
.product-detail {
  background: #fff;
  padding: 56px 0 80px;
}

.product-detail__inner {
  max-width: 860px;
}

.product-detail__title {
  font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 28px;
}

.product-detail__inner > p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
  margin-bottom: 16px;
}

.product-detail__heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin-top: 36px;
  margin-bottom: 16px;
}

.product-detail__modules {
  list-style: decimal;
  padding-left: 22px;
  margin-top: 12px;
}

.product-detail__modules > li {
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  margin-bottom: 16px;
}

.product-detail__modules > li > strong {
  font-weight: 700;
}

.product-detail__modules ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 8px;
}

.product-detail__modules ul li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 4px;
}

.product-detail__tech {
  list-style: disc;
  padding-left: 22px;
  margin-top: 8px;
}

.product-detail__tech li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
  margin-bottom: 4px;
}

.product-detail__example-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  color: #111;
  margin-top: 28px;
  margin-bottom: 12px;
}

/* Footer */
.footer {
  background: #f0f0f0;
  padding: 64px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.footer__info {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
}

.footer__company {
  font-weight: 700;
}

.footer__info a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__info a:hover {
  opacity: 0.7;
}

.footer__codes {
  margin-top: 28px;
}

.footer__nav-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: #111;
  margin-bottom: 4px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__nav-list a {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
  transition: opacity 0.2s ease;
}

.footer__nav-list a:hover {
  opacity: 0.6;
}

/* Adaptive */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav__list {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero__text {
    font-size: 15px;
  }

  .scale {
    padding-bottom: 56px;
  }

  .scale__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scale-card {
    padding: 28px 20px;
  }

  .platforms {
    padding: 56px 0;
  }

  .platforms__inner {
    gap: 48px;
  }

  .platforms-row,
  .platforms-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .platforms-row--reverse .platforms-row__media {
    order: -1;
  }

  .directions {
    padding-bottom: 56px;
  }

  .directions__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partners {
    padding: 56px 0;
  }

  .partners__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .partners-card {
    height: 140px;
  }

  .partners-card__logo {
    height: 120px;
  }

  .products-hero {
    padding: 48px 0 32px;
  }

  .products {
    padding-bottom: 56px;
  }

  .products__inner {
    gap: 48px;
  }

  .product-row,
  .product-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  .product-row--reverse .product-row__media {
    order: -1;
  }

  .product-row__title {
    white-space: normal;
  }

  .product-detail {
    padding: 40px 0 56px;
  }

  .footer {
    padding: 48px 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Technologies page */
.stack {
  background: #fff;
  padding: 72px 0 64px;
}

.stack__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stack__title {
  font-size: clamp(1.75rem, 1.5rem + 0.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #111;
}

.stack__intro {
  max-width: 820px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  color: #111;
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  width: 100%;
  margin-top: 56px;
}

.stack-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stack-card__logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}

.stack-card__logo--dark {
  background: #111;
  border-radius: 8px;
  padding: 8px 12px;
  height: 56px;
}

.stack-card__logo--spss {
  height: 40px;
  border-radius: 4px;
}

.stack-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 10px;
}

.stack-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
}

.stack-benefits {
  background: #fff;
  padding: 64px 0 80px;
}

.stack-benefits__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stack-benefits__star {
  font-size: 18px;
  line-height: 1;
  color: #666;
  margin-bottom: 16px;
}

.stack-benefits__title {
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #111;
}

.stack-benefits__intro {
  max-width: 780px;
  margin-top: 20px;
  margin-bottom: 56px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  color: #111;
}

.stack-benefit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 56px;
}

.stack-benefit:last-child {
  margin-bottom: 0;
}

.stack-benefit--reverse {
  direction: rtl;
}

.stack-benefit--reverse > * {
  direction: ltr;
}

.stack-benefit__star {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.stack-benefit__heading {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 16px;
}

.stack-benefit__content p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #111;
  margin-bottom: 12px;
}

.stack-benefit__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .stack {
    padding: 48px 0 40px;
  }

  .stack__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }

  .stack-benefits {
    padding: 48px 0 56px;
  }

  .stack-benefits__intro {
    margin-bottom: 40px;
  }

  .stack-benefit,
  .stack-benefit--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
    margin-bottom: 40px;
  }

  .stack-benefit--reverse .stack-benefit__media {
    order: -1;
  }
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid rgba(240, 169, 74, 0.45);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.12);
}

.cookie__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: #111;
}

.cookie__text strong {
  font-weight: 700;
}

.cookie__btn {
  flex-shrink: 0;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 10px;
  background: #f0a94a;
  color: #111;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie__btn:hover {
  background: #e89a35;
  transform: translateY(-1px);
}

.cookie__btn:active {
  transform: translateY(0);
}

@media (max-width: 700px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .cookie__btn {
    width: 100%;
    text-align: center;
  }
}
