/* ===== FONTS ===== */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest/OnestRegular1602-hint.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest/OnestMedium1602-hint.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest/OnestBold1602-hint.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest/OnestExtraBold1602-hint.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded/WOFF/Unbounded-Regular.woff2') format('woff2'),
       url('../fonts/unbounded/TTF/Unbounded-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded/WOFF/Unbounded-Medium.woff2') format('woff2'),
       url('../fonts/unbounded/TTF/Unbounded-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded/WOFF/Unbounded-Bold.woff2') format('woff2'),
       url('../fonts/unbounded/TTF/Unbounded-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded/WOFF/Unbounded-Black.woff2') format('woff2'),
       url('../fonts/unbounded/TTF/Unbounded-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --green: #00A89B;
  --green-dark: #008F84;
  --grey: #FAFAFA;
  --violet: #6B53FD;
  --orange: #F47536;
  --sky: #6DBEF9;
  --sun: #FFDA61;

  --font-body: 'Onest', sans-serif;
  --font-accent: 'Unbounded', sans-serif;

  --container: 1200px;
  --container-md: 768px;
  --gap: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: #091a1c;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 50% 50%, rgba(0, 210, 190, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(0, 150, 140, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(0, 180, 165, 0.12) 0%, transparent 60%);
  background-size: 200% 200%, 150% 150%, 170% 170%;
  animation: bgFloat 6s ease-in-out infinite;
  will-change: background-position;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ===== CONTAINER ===== */
.container {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section-container {
  padding: 100px 0;
  overflow: hidden;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(0, 168, 155, 0.3);
  animation: btnGlow 2.5s ease-in-out infinite;
}
.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 28px rgba(0, 168, 155, 0.45);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn_bg_white--outline {
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn_bg_white--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: var(--violet);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.badge__kapot {
  padding: 6px 18px;
  border-radius: 50px;
  background-image: linear-gradient(67.64deg, #BA80E9 0%, #6B53FD 30.18%, #00CEBE 65.99%, #00A89B 100%);
}
.badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3.5s ease-in-out infinite;
}

/* ===== TAG ===== */
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  background: var(--violet);
  color: var(--white);
  border: 1px solid #eee;
  transition: all var(--transition);
  cursor: default;
}
.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 168, 155, 0.15);
  border-color: var(--green);
}
.tag--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ===== SECTION HEAD ===== */
.section-title {
  font-family: var(--font-accent);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 16px;
}
.section-desc {
  line-height: 1.2;
  margin-top: 16px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
}

.check_engine {
  position: absolute;
  bottom: 22%;
  left: 45%;
  width: 50px;
  z-index: 5;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header__logo-img {
  height: 36px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  text-shadow: 0 2px 3px rgba(128, 128, 128, 0.5);
}

.header__link.active {
  color: var(--green);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.header__actions .btn {
  padding: 10px 24px;
  font-size: 13px;
}

/* Burger */
.header__nav-cta {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.active span {
  background: var(--black);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 140px 0 80px;
  color: var(--grey);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero__title {
  font-family: var(--font-accent);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin: 20px 0 8px;
}
.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--sky);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero__text {
  margin-bottom: 24px;
  max-width: 540px;
  line-height: 1.4;
}

.hero__tags {
  display: none;
}

@media (max-width: 1023px) {
  .hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .hero__tags .tag {
    cursor: pointer;
    transition: opacity 0.4s ease,
                transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    white-space: nowrap;
    background-image: linear-gradient(67.64deg, #BA80E9 0%, #6B53FD 30.18%, #00CEBE 65.99%, #00A89B 100%);
  }
}

/* Hero Channels */
.hero__channels {
  position: relative;
  container-type: inline-size;
}

.hero__channel {
  display: inline-block;
  padding: 2cqi 3cqi;
  border-radius: 5cqi;
  font-weight: 500;
  font-size: 3.5cqi;
  position: absolute;
  white-space: nowrap;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hero__channel:hover {
  transform: scale(1.1);
}

.hero__channel--marketplaces {
  background: var(--green);
  color: var(--white);
  top: 32%;
  left: 34%;
  border-bottom-right-radius: 0;
}

.hero__channel--seo {
  background: var(--white);
  color: var(--black);
  top: 36%;
  right: 13%;
  border-bottom-left-radius: 0;
}

.hero__channel--classifieds {
  background: var(--black);
  color: var(--white);
  top: 45%;
  left: 11%;
  border-bottom-right-radius: 0;
}

.hero__channel--media {
  background: var(--violet);
  color: var(--white);
  bottom: 28%;
  left: 16%;
  border-top-right-radius: 0;
}

.hero__channel--context {
  background: var(--orange);
  color: var(--white);
  bottom: 33%;
  right: 9%;
  border-top-left-radius: 0;
  rotate: -15deg;
}

.hero__channel-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--violet);
  border-radius: 50%;
}
.hero__channel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--violet);
  border-radius: 50%;
}
.hero__channel-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero__channel-dot--1 { top: 55%; left: 40%; }
.hero__channel-dot--2 { top: 58%; left: 54%; }
.hero__channel-dot--3 { top: 56%; right: 31%; }
.hero__channel-dot--4 { top: 46%; right: 25%; }
.hero__channel-dot--5 { top: 42%; right: 31%; }

.hero__cta {
  animation: float 6s ease-in-out infinite;
}
.hero__cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   SERVICES
   ============================================ */
/* Solution tags inside solution-cards */
.solution-tag {
  opacity: 0;
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 8cqw;
  font-weight: 900;
  color: var(--white);
  background-image: linear-gradient(67.64deg, #BA80E9 0%, #6B53FD 30.18%, #00CEBE 65.99%, #00A89B 100%);
  border: none;
  padding: 5cqw 13cqw;
  border-radius: 13cqw;
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.35);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: opacity 3.5s cubic-bezier(.22,1,.36,1),
              transform 3.5s cubic-bezier(.22,1,.36,1);
}

.solution-card:nth-child(1) .solution-tag {
  transform: rotate(12deg) translateY(30px) scale(0.9);
  top: 0;
  right: 0;
}
.solution-card:nth-child(1) .solution-tag.visible {
  opacity: 1;
  transform: rotate(12deg) translateY(0) scale(1);
}

.solution-card:nth-child(3) .solution-tag {
  transform: rotate(353deg) translateY(30px) scale(0.9);
  transition-delay: 1s;
  left: 100px;
  top: 0;
}
.solution-card:nth-child(3) .solution-tag.visible {
  opacity: 1;
  transform: rotate(353deg) translateY(0) scale(1);
}

.solution-card:nth-child(5) .solution-tag {
  transform: rotate(-4deg) translateY(30px) scale(0.9);
  transition-delay: 1s;
  bottom: 0;
  left: 0;
}
.solution-card:nth-child(5) .solution-tag.visible {
  opacity: 1;
  transform: rotate(-4deg) translateY(0) scale(1);
}

/* ===== SERVICES: car + dots + lines + tags ===== */
.si {
  position: relative;
  height: 400px;
  margin-top: 32px;
  overflow: visible;
}

/* car wrap slides as one unit with the dots on it */
.si__car-wrap {
  position: absolute;
  left: min(-750px, -65%);
  top: 0;
  height: 400px;
  transform: translateX(-120vw);
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.si--in .si__car-wrap {
  transform: translateX(0);
}

.si__car {
  height: 400px;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* ---- dots ---- */
.si__dot {
  position: absolute;
  width: 26px;
  height: 26px;
  background: url('../img/05.png') center / contain no-repeat;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity   0.3s  ease;
}

.si__dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  transform: scale(0.7);
}

.si--drawn .si__dot {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.si--drawn .si__dot::after {
  animation: si-pulse 2.2s ease-out infinite;
}

/* dot positions — tweak % to match car anatomy */
.si__dot[data-idx="0"] { top: 55%; left: 80%; transition-delay: 0.00s; }
.si__dot[data-idx="1"] { top: 56%; left: 87%; transition-delay: 0.15s; }
.si__dot[data-idx="2"] { top: 62%; left: 92%; transition-delay: 0.30s; }
.si__dot[data-idx="3"] { top: 77%; left: 84%; transition-delay: 0.45s; }

.si__dot[data-idx="0"]::after { animation-delay: 0.0s; }
.si__dot[data-idx="1"]::after { animation-delay: 0.4s; }
.si__dot[data-idx="2"]::after { animation-delay: 0.8s; }
.si__dot[data-idx="3"]::after { animation-delay: 1.2s; }

@keyframes si-pulse {
  0%   { opacity: 0.85; transform: scale(0.7); }
  65%  { opacity: 0;    transform: scale(2.5); }
  100% { opacity: 0;    transform: scale(2.5); }
}

/* ---- SVG lines ---- */
.si__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* ---- tags ---- */
.si__tag {
  position: absolute;
  opacity: 0;
  left: 25%;
  cursor: pointer;
  transform: translateX(20px);
  transition: opacity 0.4s ease,
              transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  white-space: nowrap;
  background-image: linear-gradient(67.64deg, #BA80E9 0%, #6B53FD 30.18%, #00CEBE 65.99%, #00A89B 100%);
}

.si--drawn .si__tag {
  opacity: 1;
  transform: translateX(0);
}

/* tag positions — right side, staggered vertically */
.si__tag[data-idx="0"] {top: 3%; transition-delay: 0.50s; }
.si__tag[data-idx="1"] {top: 22%; transition-delay: 0.65s; }
.si__tag[data-idx="2"] {top: 41%; transition-delay: 0.80s; }
.si__tag[data-idx="3"] {top: 61%; transition-delay: 0.95s; }
.si__tag.btn {transition-delay: 1.1s; }
.si__cta {position: absolute; bottom: 0%; left: 25%; }

/* ---- guide line SVG ---- */
.si__guide-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
  overflow: visible;
}

/* ---- tag active state ---- */
.si__tag--active {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  z-index: 5;
}

.si--has-active span.si__tag:not(.si__tag--active) {
  opacity: 0.4;
  filter: grayscale(0.3);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* ---- detail panel ---- */
.si__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 53%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* ---- card (clip-path strip reveal) ---- */
.si__card {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50% 0 50% 0);
  will-change: clip-path;
  pointer-events: none;
  transition: clip-path 0.4s ease-in,
              opacity  0.25s ease 0.05s;
}
.si__card.active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
  transition: clip-path 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity  0.15s ease;
}

/* ---- inspection-act styling ---- */
.si__act {
  padding: 24px 28px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* staggered text reveal */
.si__act > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.si__card.si--revealed .si__act > * {
  opacity: 1;
  transform: translateY(0);
}
.si__card.si--revealed .si__act > *:nth-child(1) { transition-delay: 0.00s; }
.si__card.si--revealed .si__act > *:nth-child(2) { transition-delay: 0.04s; }
.si__card.si--revealed .si__act > *:nth-child(3) { transition-delay: 0.08s; }
.si__card.si--revealed .si__act > *:nth-child(4) { transition-delay: 0.12s; }
.si__card.si--revealed .si__act > *:nth-child(5) { transition-delay: 0.16s; }
.si__card.si--revealed .si__act > *:nth-child(6) { transition-delay: 0.20s; }
.si__card.si--revealed .si__act > *:nth-child(7) { transition-delay: 0.24s; }
.si__card.si--revealed .si__act > *:nth-child(8) { transition-delay: 0.28s; }

.si__act-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.si__act-stamp {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.si__act-sep {
  border-bottom: 1px dashed #ddd;
  margin: 8px 0;
}

.si__act-row {
  font-size: 13px;
}
.si__act-row strong {
  color: var(--black);
}

.si__act-checks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.si__act-checks li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: #444;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.si__card.si--revealed .si__act-checks li {
  opacity: 1;
  transform: translateY(0);
}
.si__act-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  background: #f8fffe;
}
.si__act-checks li::after {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  opacity: 0;
  transform: scale(0);
  transition: opacity .25s ease, transform .25s ease;
}
.si__card.si--revealed .si__act-checks li::after {
  opacity: 1;
  transform: scale(1);
}
/* stagger: li appearance + checkmark delay relative to its li */
.si__act-checks li:nth-child(1) { transition-delay: 0s }
.si__act-checks li:nth-child(2) { transition-delay: .2s }
.si__act-checks li:nth-child(3) { transition-delay: .4s }
.si__act-checks li:nth-child(4) { transition-delay: .6s }
.si__act-checks li:nth-child(5) { transition-delay: .8s }
.si__act-checks li:nth-child(6) { transition-delay: 1s }
.si__act-checks li:nth-child(7) { transition-delay: 1.2s }
.si__act-checks li:nth-child(8) { transition-delay: 1.4s }
.si__card.si--revealed .si__act-checks li:nth-child(1)::after { transition-delay: .25s }
.si__card.si--revealed .si__act-checks li:nth-child(2)::after { transition-delay: .45s }
.si__card.si--revealed .si__act-checks li:nth-child(3)::after { transition-delay: .65s }
.si__card.si--revealed .si__act-checks li:nth-child(4)::after { transition-delay: .85s }
.si__card.si--revealed .si__act-checks li:nth-child(5)::after { transition-delay: 1.05s }
.si__card.si--revealed .si__act-checks li:nth-child(6)::after { transition-delay: 1.25s }
.si__card.si--revealed .si__act-checks li:nth-child(7)::after { transition-delay: 1.45s }
.si__card.si--revealed .si__act-checks li:nth-child(8)::after { transition-delay: 1.65s }

/* ---- logo carousel inside card ---- */
.si__logos {
  overflow: hidden;
  margin-top: auto;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.si__logos-track {
  display: flex;
  gap: 25px;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.si__logos-track img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  opacity: .6;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}
.si__logos-track img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================
   ANALYTICS
   ============================================ */
.analytics {
  position: relative;
}
.analytics::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 155, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: analyticsGlow 6s ease-in-out infinite alternate;
}

.analytics__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gap);
  margin-top: 25px;
  align-items: stretch;
}

/* Dashboard carousel block */
.analytics__dashboards {
  min-width: 0;
}

.dash-carousel {
  position: relative;
}

.dash-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  display: grid;
}

.dash-slide {
  grid-area: 1 / 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.dash-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.dash-slide__title {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

/* Carousel dots */
.dash-carousel__dots {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dash-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.dash-carousel__dot--active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.2);
}

/* KPI metrics grid (slide 1) */
.dash-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.dash-kpi__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* First row: 2 items */
.dash-kpi__item:first-child {
  grid-column: 1 / 2;
}
.dash-kpi__item:nth-child(2) {
  grid-column: 2 / 4;
}
.dash-kpi__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.dash-kpi__value {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--white);
}

/* Line chart (slide 2) */
.dash-chart {
  position: relative;
}
.dash-chart__svg {
  width: 100%;
  height: 260px;
  display: block;
}
.dash-chart__line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: none;
}
.dash-chart__line--animated {
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-dashoffset: 0;
}
.dash-chart__guide {
  opacity: 0;
  transition: none;
}
.dash-chart__guide--animating {
  opacity: 0.6;
  transition: x1 2.5s cubic-bezier(0.4, 0, 0.2, 1), x2 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-chart__legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  justify-content: center;
}
.dash-chart__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.dash-chart__legend-item i {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

/* Summary row (slide 3 top) */
.dash-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-summary__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-summary__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.dash-summary__value {
  font-family: var(--font-accent);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--green);
}

/* Donut + Bar charts row */
.dash-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.dash-donut-wrap,
.dash-bars-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.dash-donut__title,
.dash-bars__title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 12px;
}
.dash-donut {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto;
}
.dash-donut__seg {
  transition: stroke-dasharray 1.5s cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-donut__labels {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.dash-donut__labels span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.dash-donut__labels i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Bar chart */
.dash-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}
.dash-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  height: 140px;
  justify-content: flex-end;
}
.dash-bar__fill {
  width: 36px;
  border-radius: 6px 6px 0 0;
  height: 0;
  flex-shrink: 0;
  transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dash-bar__fill--green { background: var(--green); }
.dash-bar__fill--violet { background: var(--violet); }
.dash-bar__val {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.dash-bar__label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* Action card (Что делаем с данными) */
.analytics__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.analytics__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 168, 155, 0.3);
}

.analytics__card-title {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.analytics__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.analytics__list li {
  color: rgba(255, 255, 255, 0.75);
  padding-left: 18px;
  position: relative;
  font-size: 15px;
}
.analytics__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================
   WHY US
   ============================================ */
.why-us__problems {
  position: relative;
  margin-top: 48px;
}

.why-us__problem-row {
  display: flex;
  align-items: center;
  gap: 10%;
}

.why-us__connector-img {
  flex: 1;
  min-width: 0;
  height: auto;
  position: relative;
  z-index: 2;
}

.why-us__connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.why-us__block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid #eee;
  width: 50%;
  z-index: 3;
}
.why-us__block--pain {
  border-left: 4px solid var(--orange);
}
.why-us__block--result {
  border-left: 4px solid #e74c3c;
}

.why-us__block-title {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}
.why-us__block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}
.why-us__block li::before {
  content: '✕';
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #e53935;
  border: 1.5px solid #e53935;
  border-radius: 3px;
}

.why-us__solution-title {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin: 64px 0 40px;
}

.why-us__solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
  overflow: visible;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid #eee;
  transition: all var(--transition);
  position: relative;
  container-type: inline-size;
  container-name: text-container;
}
.solution-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.solution-card__num {
  font-family: var(--font-accent);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  margin-bottom: 12px;
  transition: opacity var(--transition);
}
.solution-card:hover .solution-card__num {
  opacity: 0.8;
}

.solution-card h4 {
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
  min-height: 2lh;
}
.solution-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ============================================
   CASES
   ============================================ */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 48px;
}

.case-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.case-card:hover {
  box-shadow: 0 16px 48px rgba(0, 168, 155, 0.12);
  transform: translateY(-6px);
  border-color: var(--green);
}

.case-card__metric {
  font-family: var(--font-accent);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.case-card__desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.5;
}
.case-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: letter-spacing var(--transition);
}
.case-card:hover .case-card__link {
  letter-spacing: 1px;
}
.case-card:hover .case-card__metric {
  animation: metricPulse 0.6s ease;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 48px 48px;
  max-width: 780px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal.active .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color var(--transition);
}
.modal__close:hover {
  color: var(--green);
}

.modal__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green);
}
.modal__badge--context { background: var(--violet); }
.modal__badge--target { background: var(--orange); }
.modal__badge--classifieds { background: var(--sky); color: var(--black); }

.modal__title {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--black);
}

.modal__body {
  color: #444;
  line-height: 1.7;
  font-size: 15px;
}

.modal__url {
  display: inline-block;
  color: var(--green);
  font-size: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  border-bottom: 1px dashed var(--green);
}

.modal__section {
  margin-top: 24px;
}
.modal__section-title {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 12px;
}

.modal__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.modal__stat {
  flex: 1;
  min-width: 120px;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.modal__stat-value {
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.modal__stat-label {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  line-height: 1.3;
}

.modal__progress {
  margin-top: 16px;
}
.modal__progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}
.modal__progress-label {
  min-width: 100px;
  color: #888;
  font-size: 13px;
}
.modal__progress-bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.modal__progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.modal__progress-value {
  min-width: 40px;
  text-align: right;
  font-weight: 600;
  font-size: 13px;
  color: var(--green);
}

.modal__tasks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal__tasks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.modal__tasks li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.modal__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}
.modal__table th,
.modal__table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.modal__table th {
  background: #f7f8fa;
  font-weight: 600;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.modal__table td {
  color: #444;
}
.modal__table tr:last-child td {
  border-bottom: none;
  font-weight: 600;
  color: var(--green);
}

/* ============================================
   FAQ
   ============================================ */
.faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--white);
  transition: color var(--transition);
}
.faq__question:hover {
  color: var(--green);
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  border: 1px solid #eee;
  transition: all var(--transition);
}
.faq__item.active .faq__icon {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s ease;
}
.faq__item.active .faq__answer {
  max-height: 300px;
}
.faq__answer p {
  padding-bottom: 24px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__info {
  color: var(--grey);
}

.contact__title {
  font-family: var(--font-accent);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  margin: 20px 0 12px;
}
.contact__subtitle {
  margin-bottom: 16px;
}

.contact__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}
.contact__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.contact__note {
  margin-top: 24px;
  font-size: 14px;
}

.contact__form {
  background: var(--grey);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid #eee;
}

.form-group {
  margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
  background: var(--white);
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 168, 155, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group--error input,
.form-group--error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.form-group--error.form-group--shake input,
.form-group--error.form-group--shake textarea {
  animation: formShake 0.4s ease;
}
.form-group--success input,
.form-group--success textarea {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 168, 155, 0.1);
}
.form-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  animation: formErrorIn 0.25s ease;
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(2px); }
}
@keyframes formErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-checkboxes {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 8px;
  font-size: 12px;
  color: #aaa;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #555;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  margin-top: 1px;
  transition: border-color .2s, background .2s;
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8.5L6.5 11L12 5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.form-checkbox.has-error input[type="checkbox"] {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.form-checkbox.has-error.form-checkbox--shake input[type="checkbox"] {
  animation: formShake 0.4s ease;
}
.form-checkbox .form-error {
  width: 100%;
  margin-top: 0;
  padding-left: 24px;
}
.form-checkbox a {
  color: var(--green);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer__brand strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}
.footer__brand p {
  font-size: 13px;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 14px;
  transition: color var(--transition);
}
.footer__nav a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.footer__bottom a:hover {
  color: var(--green);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bgFloat {
  0%, 100% {
    background-position: 40% 40%, 70% 30%, 30% 70%;
  }
  33% {
    background-position: 55% 55%, 45% 50%, 60% 40%;
  }
  66% {
    background-position: 45% 50%, 60% 45%, 35% 60%;
  }
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50%, 55% { left: 100%; }
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 168, 155, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(0, 168, 155, 0.6), 0 0 12px rgba(0, 168, 155, 0.2); }
}

@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes metricPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes analyticsGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

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

/* ===== SMOKE ANIMATION ===== */
.smoke-container {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 150px;
  height: 230px;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

.smoke {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 38%,
    rgba(145, 141, 137, 0.98) 0%,
    rgba(125, 121, 117, 0.90) 25%,
    rgba(105, 102, 99, 0.65) 50%,
    rgba(90,  88,  86, 0.22) 72%,
    transparent 90%
  );
  filter: blur(13px);
  opacity: 0;
  will-change: transform, opacity;
  animation: smokeRise ease-out infinite;
}

@keyframes smokeRise {
  0%   { transform: translateY(0)      scale(0.30); opacity: 0;    }
  10%  { transform: translateY(-22px)  scale(0.55); opacity: 0.95; }
  45%  { transform: translateY(-100px) scale(2.20); opacity: 0.82; }
  80%  { transform: translateY(-175px) scale(3.60); opacity: 0.28; }
  100% { transform: translateY(-230px) scale(4.80); opacity: 0;    }
}

.smoke--1 { width: 52px; height: 52px; left: 28%; animation-duration: 5.0s; animation-delay: 0.00s; }
.smoke--2 { width: 44px; height: 44px; left: 54%; animation-duration: 4.4s; animation-delay: 0.65s; }
.smoke--3 { width: 60px; height: 60px; left: 14%; animation-duration: 5.6s; animation-delay: 1.30s; }
.smoke--4 { width: 38px; height: 38px; left: 66%; animation-duration: 4.2s; animation-delay: 1.95s; }
.smoke--5 { width: 66px; height: 66px; left: 36%; animation-duration: 6.1s; animation-delay: 2.55s; }
.smoke--6 { width: 48px; height: 48px; left: 20%; animation-duration: 4.9s; animation-delay: 3.20s; }
.smoke--7 { width: 56px; height: 56px; left: 58%; animation-duration: 5.4s; animation-delay: 0.38s; }
.smoke--8 { width: 42px; height: 42px; left: 44%; animation-duration: 4.6s; animation-delay: 1.72s; }
.smoke--9 { width: 50px; height: 50px; left: 32%; animation-duration: 5.2s; animation-delay: 0.90s; }
.smoke--10 { width: 68px; height: 68px; left: 50%; animation-duration: 6.3s; animation-delay: 3.60s; }
.smoke--11 { width: 40px; height: 40px; left: 10%; animation-duration: 4.7s; animation-delay: 2.20s; }
.smoke--12 { width: 58px; height: 58px; left: 62%; animation-duration: 5.8s; animation-delay: 1.05s; }
.smoke--13 { width: 46px; height: 46px; left: 38%; animation-duration: 4.3s; animation-delay: 0.50s; }
.smoke--14 { width: 62px; height: 62px; left: 24%; animation-duration: 5.9s; animation-delay: 2.85s; }
.smoke--15 { width: 36px; height: 36px; left: 70%; animation-duration: 4.1s; animation-delay: 1.45s; }
.smoke--16 { width: 54px; height: 54px; left: 46%; animation-duration: 5.5s; animation-delay: 3.90s; }
.smoke--17 { width: 44px; height: 44px; left: 16%; animation-duration: 4.8s; animation-delay: 0.75s; }
.smoke--18 { width: 70px; height: 70px; left: 40%; animation-duration: 6.5s; animation-delay: 2.10s; }
.smoke--19 { width: 38px; height: 38px; left: 56%; animation-duration: 4.0s; animation-delay: 3.30s; }
.smoke--20 { width: 52px; height: 52px; left: 30%; animation-duration: 5.7s; animation-delay: 1.60s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
  .section-container {
    padding: 80px 0;
  }
  .container {
    max-width: var(--container-md);
  }
  .hero {
    padding: 120px 0 30px;
  }
  .hero__inner {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
   .hero__channels img {
    max-width: initial;
    width: 400px;
  }
  .hero__channels span {
    display: none;
  }
  .why-us__block {
    padding: 20px;
    width: auto;
  }
  .why-us__block li {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.3;
  }
  .why-us__block li::before {
    top: 0px;
  }
  .why-us__block-title {
    font-size: 18px;
  }
  .check_engine {
    width: 33px;
  }
  .why-us__problem-row {
    gap: 5%;
  }
  .why-us__solutions {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us__solution-title {
    line-height: 1.3;
  }
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .si__car-wrap {
    left: min(-800px, -55%);
  }
  .si__act {
    padding: 18px;
    line-height: 1.3;
  }
  .hero__text {
    font-size: 15px;
    line-height: 1.2;
    max-width: none;
  }
  .hero__cta {
    text-align: center;
  }
  .hero__cta-buttons {
    justify-content: center;
  }
  .si__tag {
    font-size: 12px;
    padding: 5px 14px;
    left: 23%;
  }
  .header__nav {
    display: none;
  }
  .header__nav.active {
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
  .header__nav.active .header__link {
    font-size: 17px;
    color: var(--black);
    text-shadow: none;
  }
  .header__nav.active .header__link.active {
    color: var(--green);
  }
  .header__actions {
    margin-left: auto;
  }
  .burger {
    display: flex;
  }
  .dash-kpi {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-kpi__item:nth-child(2) {
    grid-column: auto;
  }
  .dash-kpi__item:first-child  {
    grid-column: auto;
  }
  .dash-summary,
  .dash-charts-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-summary__item:nth-child(2) {
    display: none;
  }
  .dash-bars-wrap {
    display: none;
  }
  .contact__inner {
    gap: 25px;
  }
  .contact__info {
    line-height: 1.3;
  }
  .contact__form {
    padding: 20px;
  }
  .form-group input, .form-group textarea {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .header__inner {
    justify-content: space-between;
  }
  .header__nav.active {
    flex-direction: column;
    bottom: auto;
    gap: 12px;
    padding: 10px 0;
  }
  .header__actions,
  .hero__channels {
    display: none;
  }
  .section-container {
    padding-top: 85px;
    padding-bottom: 0;
  }
  .hero {
    padding-top: 90px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__channels {
    height: 220px;
    margin: 10px 0;
  }
  .hero__channel {
    font-size: 2.3cqi;
    padding: 2cqi 4cqi;
  }
  .hero__channel--marketplaces {
    font-size: 2.6cqi;
    padding: 2.3cqi 4.6cqi;
    left: 20%;
  }
  .hero__channel--seo {
    font-size: 2cqi;
    padding: 1.7cqi 3.4cqi;
  }
  .hero__channel--classifieds {
    font-size: 2.6cqi;
    padding: 2.3cqi 4.6cqi;
    top: 10cqi;
  }
  .hero__channel--media {
    font-size: 2.3cqi;
    padding: 2cqi 4cqi;
    left: 10%;
  }
  .hero__channel--context {
    font-size: 2.3cqi;
    padding: 2cqi 4cqi;
  }
  .hero__cta {
    padding: 28px 28px 0 28px;
  }

  .hero__text {
    margin-bottom: 0;
  }

  .why-us__problems,
  .why-us__block--result {
    margin-top: 30px;
  }

  .why-us__block {
    width: 100%;
    padding: 24px;
  }

  .why-us__problem-row {
    flex-direction: column;
  }
  .why-us__problem-row--bottom {
    margin-left: 0;
    margin-top: 24px !important;
  }
  .why-us__connector-svg,
  .why-us__connector-img {
    width: 100%;
    max-width: 400px;
  }
  .why-us__connector-img {
    margin-top: 30px;
  }
  .check_engine {
    width: 10%;
    bottom: 20%;
  }
  .why-us__solutions {
    grid-template-columns: 1fr;
  }

  .section-desc {
    font-size: 15px;
  }

  .analytics__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .analytics__list {
    margin-bottom: 20px;
  }
  .dash-kpi {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-kpi__item:nth-child(2) {
    grid-column: auto;
  }
  
  .dash-slide {
    padding: 20px;
  }
  .dash-carousel__viewport {
    touch-action: pan-y;
  }
  
  .cases__grid {
    grid-template-columns: 1fr;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__cta-buttons {
    flex-direction: column;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Modal mobile */
  .modal__content {
    width: 95%;
    padding: 24px 20px 32px;
    max-height: 90vh;
  }
  .modal__title {
    font-size: 18px;
  }
  .modal__stats {
    flex-direction: column;
  }
  .modal__stat {
    min-width: auto;
  }
  .modal__progress-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .modal__progress-label {
    min-width: 60px;
  }
  .modal__table {
    font-size: 11px;
  }
  .modal__table th,
  .modal__table td {
    padding: 6px 4px;
  }

  .contact__form {
    padding: 24px;
  }
  .solution-card h4 {
    min-height: auto;
  }
  .solution-card:nth-child(5) .solution-tag {
    top: -50px;
    bottom: auto;
  }

  .si {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: hidden;
  }
  .si__car-wrap {
    position: relative;
    left: auto;
    transform: none;
    height: clamp(100px, 30vw, 200px);
    width: 100%;
    display: flex;
    justify-content: center;
    order: 0;
  }
  .si--in .si__car-wrap {
    transform: none;
  }
  .si__car {
    height: clamp(100px, 30vw, 200px);
    width: auto;
  }
  .si__dot,
  .si__svg,
  .si__guide-svg { display: none; }

  /* Tags row */
  .si__tag {
    order: 1;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 18px;
    transition: background 0.3s ease, color 0.3s ease !important;
    cursor: pointer;
  }
  .si__tag--active {
    background: var(--white) !important;
    color: var(--black) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .si--has-active .si__tag:not(.si__tag--active) {
    opacity: 1;
    filter: none;
  }

  /* Panel becomes stacked cards */
  .si__panel {
    position: static;
    width: 100%;
    height: auto;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 2;
  }

  .si__card {
    position: relative;
    opacity: 1;
    border-radius: 0;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .si__card.active {
    max-height: 600px;
  }
  .si__card .si__act > *,
  .si__card .si__act-checks li {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }
  .si__card .si__act-checks li::after {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0s !important;
  }

  .si__act {
    padding: 16px 20px;
  }
  .si__act-stamp {
    font-size: 16px;
  }

  .form-checkbox {
    flex-wrap: nowrap;
  }
}
/* ============================================
   SMALL MOBILE (480px)
   ============================================ */
@media (max-width: 479px) {
  .hero__channels {
    height: 180px;
  }
  .hero__title {
    font-size: 28px;
  }
  .hero__text {
    font-size: 14px;
  }

  .dash-kpi {
    grid-template-columns: 1fr;
  }
  .dash-kpi__item:nth-child(2) {
    grid-column: auto;
  }
  .dash-slide__title {
    font-size: 15px;
  }
  .dash-donut {
    width: 80px;
    height: 80px;
  }

  .section-title {
    font-size: 24px;
  }

  .solution-card {
    padding: 20px;
  }
  .solution-card__num {
    font-size: 28px;
  }
  .solution-card h4 {
    font-size: 15px;
    min-height: auto;
  }

  .case-card {
    padding: 24px 16px;
  }
  .case-card__metric {
    font-size: 32px;
  }

  .faq__question {
    font-size: 15px;
    padding: 18px 0;
  }

  .footer__nav {
    gap: 16px;
  }
}
/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .fade-in {
    opacity: 1;
  }
  .smoke { display: none; }
  .si__car-wrap { transition: none; }
  .btn--primary { animation: none; }
  body::before { animation: none; }
}