:root {
  --cat-blue: #0057d9;
  --cat-blue-dark: #072b67;
  --cat-green: #16a34a;
  --cat-green-2: #4fa536;
  --cat-text: #1f2937;
  --cat-muted: #5f6f89;
  --cat-white: #ffffff;
  --cat-light: #f8fafc;
  --cat-border: rgba(0, 87, 217, 0.12);
  --cat-shadow: 0 18px 45px rgba(15, 45, 90, 0.1);
  --cat-bg-1: #ffffff;
  --cat-bg-2: #f8fbff;
}

.cat-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 87, 217, 0.08), transparent 30%),
    linear-gradient(180deg, var(--cat-bg-1) 0%, var(--cat-bg-2) 100%);
  padding: clamp(48px, 6vw, 80px) 20px 36px;
  font-family: "Inter", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cat-hero__container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.cat-hero__content {
  position: relative;
  z-index: 2;
}

.cat-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--cat-blue-dark);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(28px, 5.3vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.cat-hero h1 span {
  display: block;
  color: var(--cat-green);
}

.cat-hero__description {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--cat-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.65;
}

.cat-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.cat-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 0 28px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cat-btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex: 0 0 auto;
}

.cat-btn--primary {
  background: var(--cat-green);
  color: var(--cat-white);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.25);
}

.cat-btn--primary:hover {
  background: #13803a;
  color: var(--cat-white);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(22, 163, 74, 0.32);
}

.cat-btn--secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--cat-blue);
  border: 2px solid rgba(0, 87, 217, 0.28);
}

.cat-btn--secondary:hover {
  background: var(--cat-blue);
  color: var(--cat-white);
  border-color: var(--cat-blue);
  transform: translateY(-2px);
}

.cat-hero__badges {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
}

.cat-hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cat-blue-dark);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.cat-badge-icon svg,
.cat-badge-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.cat-badge-icon.cat-icon--blue svg { fill: var(--cat-blue); }
.cat-badge-icon.cat-icon--blue i { color: var(--cat-blue); }

.cat-badge-icon.cat-icon--green svg { fill: var(--cat-green); }
.cat-badge-icon.cat-icon--green i { color: var(--cat-green); }

.cat-hero__visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cat-hero__visual::before {
  content: "";
  position: absolute;
  width: min(520px, 92%);
  height: min(420px, 76%);
  right: 0;
  bottom: 8px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(0, 87, 217, 0.08), rgba(22, 163, 74, 0.04));
  filter: blur(0.2px);
}

.cat-hero__visual img {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(14, 46, 88, 0.12));
}

.cat-hero__dots {
  position: absolute;
  top: 36px;
  left: 20px;
  width: 140px;
  height: 140px;
  opacity: 0.35;
  background-image: radial-gradient(rgba(0, 87, 217, 0.45) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  z-index: 1;
}

.cat-floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 87, 217, 0.12);
  border-radius: 16px;
  box-shadow: var(--cat-shadow);
  backdrop-filter: blur(10px);
}

.cat-floating-card--method {
  top: 92px;
  left: 34px;
  width: 178px;
  padding: 18px;
}

.cat-floating-card--method strong {
  display: block;
  color: var(--cat-blue-dark);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cat-floating-card--method span {
  display: block;
  height: 8px;
  margin-top: 9px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--cat-green), rgba(22, 163, 74, 0.12));
}

.cat-floating-card--method span:nth-child(3) {
  width: 82%;
}

.cat-floating-card--method span:nth-child(4) {
  width: 68%;
}

.cat-floating-card--chart {
  top: 52px;
  right: 0;
  width: 135px;
  height: 112px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 18px;
}

.cat-floating-card--chart span {
  width: 18px;
  border-radius: 10px 10px 0 0;
  background: rgba(0, 87, 217, 0.18);
}

.cat-floating-card--chart span:nth-child(1) {
  height: 38px;
}

.cat-floating-card--chart span:nth-child(2) {
  height: 58px;
}

.cat-floating-card--chart span:nth-child(3) {
  height: 76px;
  background: rgba(22, 163, 74, 0.32);
}

.cat-hero__features {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 217, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(15, 45, 90, 0.07);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.cat-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 22px 28px;
}

.cat-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  width: 1px;
  height: calc(100% - 48px);
  background: rgba(0, 87, 217, 0.14);
}

.cat-feature-icon {
  flex: 0 0 auto;
}

.cat-feature-icon svg,
.cat-feature-icon i {
  width: 42px;
  height: 42px;
  font-size: 42px;
}

.cat-feature-icon.cat-feature-icon--blue svg { fill: var(--cat-blue); }
.cat-feature-icon.cat-feature-icon--blue i { color: var(--cat-blue); }

.cat-feature-icon.cat-feature-icon--green svg { fill: var(--cat-green); }
.cat-feature-icon.cat-feature-icon--green i { color: var(--cat-green); }

.cat-feature h3 {
  margin: 0;
  color: var(--cat-blue-dark);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .cat-hero__container {
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
  }
  .cat-hero__visual {
    min-height: 430px;
  }
  .cat-floating-card--chart {
    right: 10px;
  }
  .cat-hero__features {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-feature:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .cat-hero {
    padding-top: 42px;
  }
  .cat-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cat-hero h1,
  .cat-hero__description {
    margin-left: auto;
    margin-right: auto;
  }
  .cat-hero__actions,
  .cat-hero__badges {
    justify-content: center;
  }
  .cat-hero__visual {
    min-height: auto;
    margin-top: 12px;
  }
  .cat-floating-card {
    display: none;
  }
  .cat-hero__visual::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .cat-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cat-hero h1 {
    letter-spacing: -0.03em;
  }
  .cat-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
  }
  .cat-hero__badges {
    align-items: flex-start;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 14px;
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
  .cat-hero__features {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .cat-feature {
    min-height: 82px;
    padding: 20px;
  }
  .cat-feature::after {
    display: none;
  }
  .cat-feature:not(:last-child) {
    border-bottom: 1px solid rgba(0, 87, 217, 0.1);
  }
}
