.home-page .wts-code-rain {
  display: none !important;
}

.home-page .content-wrapper.background-blue > .code-rain-layer {
  display: none !important;
}

/* The decorative full-screen canvas must never block hero links or controls. */
.home-page #second-canvas {
  pointer-events: none !important;
}

.cinar-home-hero {
  --cinar-bg-start: #fff7ed;
  --cinar-bg-middle: #f1fff8;
  --cinar-bg-end: #e8f7ff;
  --cinar-title: #07111f;
  --cinar-highlight: #1f9d72;
  --cinar-text: #607286;
  --cinar-primary: #1f9d72;
  --cinar-secondary: #f59e0b;
  --cinar-card-bg: #ffffff;
  --cinar-card-one: #1f9d72;
  --cinar-card-two: #f59e0b;
  position: relative;
  min-height: 850px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 130px clamp(28px, 6vw, 108px) 92px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--cinar-secondary) 22%, transparent), transparent 30%),
    radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--cinar-highlight) 22%, transparent), transparent 32%),
    linear-gradient(135deg, var(--cinar-bg-start), var(--cinar-bg-middle) 52%, var(--cinar-bg-end));
}

.cinar-home-hero::before,
.cinar-home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.cinar-home-hero::before {
  width: 430px;
  height: 430px;
  right: -120px;
  top: -140px;
  background: color-mix(in srgb, var(--cinar-secondary) 23%, transparent);
}

.cinar-home-hero::after {
  width: 560px;
  height: 560px;
  right: 105px;
  bottom: -290px;
  background: color-mix(in srgb, var(--cinar-highlight) 19%, transparent);
}

.cinar-hero__copy,
.cinar-hero__visual {
  position: relative;
  z-index: 4;
}

.cinar-hero__logo {
  width: min(440px, 100%);
  display: block;
  margin-bottom: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
  animation: cinarSoftFloat 5.8s ease-in-out infinite;
}

.cinar-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  margin-bottom: 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .9);
  color: var(--cinar-highlight);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.cinar-hero__eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--cinar-highlight) 14%, transparent);
  animation: cinarDotPulse 1.8s ease-in-out infinite;
}

.cinar-hero__title {
  margin: 0;
  max-width: 760px;
  color: var(--cinar-title);
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 950;
}

.cinar-hero__title strong {
  display: block;
  color: var(--cinar-highlight);
  font-weight: inherit;
}

.cinar-hero__description {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--cinar-text);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
  font-weight: 750;
}

.cinar-hero__description span,
.cinar-hero__description b,
.cinar-hero__description strong {
  color: var(--cinar-highlight);
}

.cinar-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cinar-hero__btn {
  position: relative;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 950;
  overflow: hidden;
  background: var(--cinar-primary);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--cinar-primary) 28%, transparent);
}

.cinar-hero__btn::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -60%;
  width: 44%;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, .34);
  animation: cinarShine 3.2s ease-in-out infinite;
}

.cinar-hero__btn--secondary {
  background: var(--cinar-secondary);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--cinar-secondary) 28%, transparent);
}

.cinar-hero__visual {
  min-height: 520px;
}

.cinar-tree-core {
  position: absolute;
  inset: 36px 54px 54px;
  display: grid;
  place-items: center;
  border-radius: 44px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 0 0 1px rgba(219, 232, 242, .86), 0 24px 60px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.cinar-tree-core::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, color-mix(in srgb, var(--cinar-secondary) 28%, transparent), color-mix(in srgb, var(--cinar-highlight) 28%, transparent), rgba(9, 147, 250, .22), color-mix(in srgb, var(--cinar-secondary) 28%, transparent));
  animation: cinarRotateSlow 12s linear infinite;
}

.cinar-tree-core::after {
  content: "";
  position: absolute;
  width: 98px;
  height: 194px;
  border-radius: 82px 8px 82px 8px;
  background: linear-gradient(135deg, var(--cinar-secondary), var(--cinar-highlight));
  transform: rotate(25deg);
  box-shadow: -58px 22px 0 color-mix(in srgb, var(--cinar-highlight) 82%, transparent), 56px 34px 0 rgba(9, 147, 250, .72);
  animation: cinarLeafBreathe 3.6s ease-in-out infinite;
}

.cinar-hero-card {
  position: absolute;
  width: min(260px, 46%);
  padding: 24px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--cinar-card-bg) 94%, transparent);
  box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
  border: 1px solid rgba(219, 232, 242, .85);
  backdrop-filter: blur(12px);
  animation: cinarCardFloat 5.5s ease-in-out infinite;
}

.cinar-hero-card--one {
  left: 0;
  top: 42px;
}

.cinar-hero-card--two {
  right: 0;
  bottom: 48px;
  animation-delay: -1.4s;
}

.cinar-hero-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 17px;
  color: #fff;
  background: var(--card-accent, var(--cinar-highlight));
  font-size: 24px;
  font-weight: 950;
}

.cinar-hero-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cinar-title);
  font-size: 22px;
}

.cinar-hero-card small {
  display: block;
  color: var(--cinar-text);
  font-weight: 800;
  line-height: 1.35;
}

.cinar-leaf {
  position: absolute;
  width: 22px;
  height: 34px;
  border-radius: 24px 2px 24px 2px;
  background: linear-gradient(135deg, var(--cinar-secondary), var(--cinar-highlight));
  opacity: .72;
  animation: cinarLeafFall 8s linear infinite;
  z-index: 2;
}

.cinar-leaf:nth-child(2n) {
  width: 18px;
  height: 28px;
  background: linear-gradient(135deg, var(--cinar-highlight), #0993fa);
  animation-duration: 10s;
}

.cinar-leaf:nth-child(3n) {
  animation-duration: 12s;
  opacity: .55;
}

.cinar-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--cinar-text);
  font-size: 14px;
  font-weight: 850;
}

.cinar-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.cinar-hero__trust span::before {
  content: "✓";
  color: var(--cinar-highlight);
  font-weight: 950;
}

.cinar-hero__down {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: var(--cinar-highlight);
  text-decoration: none;
  font-size: 34px;
  line-height: 1;
  animation: cinarDown 1.8s ease-in-out infinite;
  z-index: 5;
}

.home-page .cinar-services-phone {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.home-page .cinar-phone-mockup.particular-image {
  position: relative;
  width: min(340px, 100%);
  height: 560px;
  margin: -20px auto 0;
  isolation: isolate;
}

.home-page .cinar-phone-mockup::before {
  content: "";
  position: absolute;
  inset: 66px 8px 36px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 157, 114, .28), rgba(9, 147, 250, .12) 44%, transparent 72%);
  filter: blur(26px);
  transform: rotate(-9deg);
  z-index: -2;
}

.home-page .cinar-phone-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(31, 157, 114, .22);
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 158, 11, .16), transparent 30%),
    radial-gradient(circle at 70% 76%, rgba(9, 147, 250, .14), transparent 32%);
  animation: cinarPhoneOrbit 9s ease-in-out infinite;
  z-index: -1;
}

.home-page .cinar-phone-orbit--one {
  width: 310px;
  height: 310px;
  left: 8px;
  top: 76px;
}

.home-page .cinar-phone-orbit--two {
  width: 210px;
  height: 210px;
  right: 2px;
  bottom: 48px;
  animation-delay: -3s;
}

.home-page .cinar-phone-frame {
  position: absolute;
  inset: 14px 42px;
  padding: 10px;
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.58), transparent 28%),
    linear-gradient(160deg, #08211b 0%, #102a43 46%, #1f9d72 100%);
  box-shadow:
    0 34px 70px rgba(15, 23, 42, .26),
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 -24px 36px rgba(0, 0, 0, .24);
  transform: rotate(-4deg);
  transform-style: preserve-3d;
  animation: cinarPhoneFloat 5.8s ease-in-out infinite;
}

.home-page .cinar-phone-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  width: 82px;
  height: 23px;
  border-radius: 999px;
  background: #07111f;
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12);
}

.home-page .cinar-phone-frame::after {
  content: "";
  position: absolute;
  right: 23px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #c7f9e8, #1f9d72 62%, #07111f 64%);
  z-index: 5;
}

.home-page .cinar-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 34px 17px 20px;
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 247, 237, .96), rgba(241, 255, 248, .94) 47%, rgba(232, 247, 255, .96)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78);
}

.home-page .cinar-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 157, 114, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 157, 114, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  pointer-events: none;
}

.home-page .cinar-phone-status,
.home-page .cinar-phone-brand,
.home-page .cinar-phone-dashboard,
.home-page .cinar-phone-card,
.home-page .cinar-phone-chart,
.home-page .cinar-phone-grid {
  position: relative;
  z-index: 2;
}

.home-page .cinar-phone-status {
  display: flex;
  justify-content: space-between;
  color: #31445a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
}

.home-page .cinar-phone-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.home-page .cinar-phone-leaf {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 22px 7px 22px 7px;
  background: linear-gradient(135deg, #f59e0b, #1f9d72);
  transform: rotate(18deg);
  box-shadow:
    -13px 11px 0 rgba(31, 157, 114, .28),
    13px 13px 0 rgba(9, 147, 250, .2);
}

.home-page .cinar-phone-brand strong,
.home-page .cinar-phone-card strong {
  display: block;
  color: #07111f;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.home-page .cinar-phone-brand small,
.home-page .cinar-phone-card small,
.home-page .cinar-phone-grid small {
  display: block;
  margin-top: 4px;
  color: #607286;
  font-size: 11px;
  font-weight: 850;
}

.home-page .cinar-phone-dashboard {
  display: flex;
  gap: 7px;
  margin-top: 15px;
}

.home-page .cinar-chip {
  flex: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #607286;
  font-size: 10px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(219, 232, 242, .9);
}

.home-page .cinar-chip--active {
  background: #1f9d72;
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 157, 114, .26);
}

.home-page .cinar-phone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 15px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .66));
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.home-page .cinar-phone-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #1f9d72, #0993fa);
  font-size: 18px;
  font-weight: 950;
}

.home-page .cinar-phone-chart {
  height: 126px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 158, 11, .18), transparent 36%),
    linear-gradient(135deg, rgba(7, 17, 31, .92), rgba(16, 42, 67, .92));
  box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.home-page .cinar-phone-chart span {
  flex: 1;
  height: var(--bar-height);
  min-height: 28px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(to top, #1f9d72, #f59e0b);
  box-shadow: 0 0 24px rgba(31, 157, 114, .3);
  animation: cinarPhoneBars 3s ease-in-out infinite;
}

.home-page .cinar-phone-chart span:nth-child(2n) {
  animation-delay: -.8s;
  background: linear-gradient(to top, #0993fa, #1f9d72);
}

.home-page .cinar-phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 15px;
}

.home-page .cinar-phone-grid div {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 0 0 1px rgba(219, 232, 242, .9);
}

.home-page .cinar-phone-grid b {
  color: #1f9d72;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

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

@keyframes cinarCardFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(1.5deg); }
}

@keyframes cinarDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.74); opacity: .58; }
}

@keyframes cinarShine {
  0%, 45% { left: -70%; }
  70%, 100% { left: 135%; }
}

@keyframes cinarLeafFall {
  0% { transform: translate3d(0, -80px, 0) rotate(0deg); opacity: 0; }
  12% { opacity: .72; }
  100% { transform: translate3d(-60px, 920px, 0) rotate(280deg); opacity: 0; }
}

@keyframes cinarRotateSlow {
  to { transform: rotate(360deg); }
}

@keyframes cinarLeafBreathe {
  0%, 100% { transform: rotate(25deg) scale(1); }
  50% { transform: rotate(20deg) scale(1.08); }
}

@keyframes cinarDown {
  0%, 100% { transform: translate(-50%, 0); opacity: .56; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

@keyframes cinarPhoneFloat {
  0%, 100% { transform: rotate(-4deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-2deg) translate3d(0, -14px, 28px); }
}

@keyframes cinarPhoneOrbit {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: .86; }
  50% { transform: rotate(9deg) scale(1.06); opacity: .58; }
}

@keyframes cinarPhoneBars {
  0%, 100% { transform: scaleY(.86); transform-origin: bottom; }
  50% { transform: scaleY(1.08); transform-origin: bottom; }
}

@media (max-width: 1100px) {
  .cinar-home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
  }

  .cinar-hero__visual {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .cinar-home-hero {
    padding: 92px 18px 72px;
  }

  .cinar-hero__logo {
    width: 100%;
  }

  .cinar-hero__actions {
    flex-direction: column;
  }

  .cinar-hero__btn {
    width: 100%;
  }

  .cinar-hero__visual {
    min-height: 390px;
  }

  .cinar-tree-core {
    inset: 44px 24px 44px;
  }

  .cinar-hero-card {
    width: 230px;
    padding: 18px;
  }

  .cinar-hero-card--one {
    left: 0;
    top: 24px;
  }

  .cinar-hero-card--two {
    right: 0;
    bottom: 30px;
  }

  .home-page .cinar-services-phone {
    min-height: 490px;
  }

  .home-page .cinar-phone-mockup.particular-image {
    width: min(300px, 100%);
    height: 500px;
  }

  .home-page .cinar-phone-frame {
    inset: 12px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinar-home-hero *,
  .cinar-home-hero *::before,
  .cinar-home-hero *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
