*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
button {
  cursor: pointer;
}
body {
  background-color: #f8f8f8;
  color: #292f2b;
  overflow-x: hidden;

  color: #1f2937;
  margin: 0;
  background-color: #f8f8f8;

  display: grid;
  grid-template-columns: 10% 80% 10%;
}

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

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

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Golos-text";
  src: url("./fonts/GolosText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos-text";
  src: url("./fonts/GolosText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos-text";
  src: url("./fonts/GolosText-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1.17;
  margin: 0;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 2.22vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
}

h3 {
  font-family: "Golos-text", sans-serif;
  font-size: clamp(1.375rem, 1.53vw, 1.75rem);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  letter-spacing: 0.01em;
}

h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.33;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  font-family: "Golos-text", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.01em;
}

small {
  font-family: "Golos-text", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.43;
  margin: 0;
  letter-spacing: 0.01em;
}

.small {
  font-family: "Golos-text", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.43;
  margin: 0;
  letter-spacing: 0.01em;
}

.nav {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.01em;
}

/* header */
.header {
  grid-column: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 1rem;
  margin-bottom: 7rem;
}

.header-download-btn {
  padding: 0.6rem 2rem;
  color: #342f89;
  background-color: transparent;
  border: 1.5px solid #342f89;
  border-radius: 6px;

  transition: all 0.3s ease;
  outline: none;
}

/* hero */
.hero {
  grid-column: 2;
  display: grid;
  grid-template-columns: 5% 90% 5%;
  margin-bottom: 10rem;
}
.container {
  grid-column: 2;
  display: grid;
  grid-template-columns: 55% 6% 39%;
  align-items: center;
}
.hero-content {
  grid-column: 1;
}
.paragraph-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.accent-text {
  color: #342f89;
}
.hero_store-links {
  display: flex;
  gap: 1.5rem;
}
.hero_store-links a {
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.2s ease;
}

.hero__image {
  grid-column: 3;
  filter: drop-shadow(120px 122px 68px rgba(0, 0, 0, 0.01))
    drop-shadow(67px 69px 58px rgba(0, 0, 0, 0.05))
    drop-shadow(30px 30px 43px rgba(0, 0, 0, 0.09))
    drop-shadow(7px 8px 23px rgba(0, 0, 0, 0.1));
}
/* 2 */
.intercom-feature {
  grid-column: 2;
  position: relative;
  z-index: 1;
  margin-bottom: 10rem;
}

.intercom-feature::before {
  content: "";
  position: absolute;
  top: 40%;
  left: -20vw;
  right: -20vw;
  height: 313px;

  background-color: #e4e4ed;

  transform: skewY(12deg);

  z-index: -1;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.feature-block {
  display: grid;
  grid-template-columns: 47% 4% 49%;
  align-items: center;
}
.left-content {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.left-image {
  max-height: 87%;
  filter: drop-shadow(0px 168px 67px rgba(0, 0, 0, 0.01))
    drop-shadow(0px 95px 57px rgba(0, 0, 0, 0.05))
    drop-shadow(0px 42px 42px rgba(0, 0, 0, 0.08))
    drop-shadow(0px 11px 23px rgba(0, 0, 0, 0.09));
}
.paragraph-container-two {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.right-content {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-item {
  border-left: 3px solid #ffffff;
  padding-left: 0.5rem;
  filter: drop-shadow(24px 0px 10px rgba(0, 0, 0, 0.02))
    drop-shadow(13px 0px 8px rgba(0, 0, 0, 0.08))
    drop-shadow(6px 0px 6px rgba(0, 0, 0, 0.13))
    drop-shadow(1px 0px 3px rgba(0, 0, 0, 0.15));
}
.right-image {
  filter: drop-shadow(0px 170px 68px rgba(0, 0, 0, 0.01))
    drop-shadow(0px 96px 57px rgba(0, 0, 0, 0.03))
    drop-shadow(0px 42px 42px rgba(0, 0, 0, 0.04))
    drop-shadow(0px 11px 23px rgba(0, 0, 0, 0.05));
}

/* cameras */

.monitoring {
  grid-column: 2;
  margin-bottom: 10rem;
}
.monitoring-container {
  display: grid;
  grid-template-rows: 22% 7% 49% 7% 15%;
}
.monitoring-head {
  text-align: center;
  grid-row: 1;
}
.monitoring-head h2 {
  margin-bottom: 0.9rem;
}
.monitoring-cameras {
  grid-row: 3;
  display: flex;
  justify-content: center;
  position: relative;
}
.camera-one {
  margin-right: -11.5rem;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(1px) drop-shadow(0px 69px 41px rgba(0, 0, 0, 0.02))
    drop-shadow(0px 31px 31px rgba(0, 0, 0, 0.03))
    drop-shadow(0px 8px 17px rgba(0, 0, 0, 0.03));
}
.camera-two {
  z-index: 2;
  position: relative;
  height: auto;

  filter: drop-shadow(0px 210px 84px rgba(0, 0, 0, 0.01))
    drop-shadow(0px 118px 71px rgba(0, 0, 0, 0.05))
    drop-shadow(0px 52px 52px rgba(0, 0, 0, 0.09))
    drop-shadow(0px 13px 29px rgba(0, 0, 0, 0.1));
}
.camera-three {
  margin-left: -11.5rem;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(1px) drop-shadow(0px 69px 41px rgba(0, 0, 0, 0.02))
    drop-shadow(0px 31px 31px rgba(0, 0, 0, 0.03))
    drop-shadow(0px 8px 17px rgba(0, 0, 0, 0.03));
}

.camera-one,
.camera-three {
  z-index: 1;
  max-height: 14rem;
  align-self: center;
}

.monitorig-caption {
  grid-row: 5;
  display: flex;
  text-align: center;

  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

/* cta */

.cta {
  grid-column: 2;
  margin-bottom: 10rem;
  position: relative;
}
.cta-block {
  padding: 3rem 5rem;
  background-color: #f8f8f8;
  box-shadow:
    0px 349px 139px rgba(0, 0, 0, 0.01),
    0px 196px 118px rgba(0, 0, 0, 0.05),
    0px 87px 87px rgba(0, 0, 0, 0.09),
    0px 22px 48px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta-content {
  display: flex;
  align-items: center;
  gap: 6rem;
  justify-content: space-between;

  position: relative;
  z-index: 2;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: 16%;
  left: -20vw;
  right: -20vw;
  height: 20rem;
  z-index: -1;

  background-color: #e4e4ed;

  transform: skewY(-14deg);
}
.cta::before {
  content: "";
  position: absolute;
  top: 45%;
  left: -50vw;
  right: -50vw;
  height: 20rem;
  background-color: #e4e4ed;
  transform: translateY(-50%) skewY(-14deg);
  z-index: -1;
}
.cta-content img {
  filter: drop-shadow(0px 189px 75px rgba(0, 0, 0, 0.01))
    drop-shadow(0px 106px 64px rgba(0, 0, 0, 0.05))
    drop-shadow(0px 47px 47px rgba(0, 0, 0, 0.09))
    drop-shadow(0px 12px 26px rgba(0, 0, 0, 0.1));
}
.cta-paragraph {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cta-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: right;
}
.cta-btn {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.cta-btn a {
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.2s ease;
}

/* collaboration */

.collaboration {
  grid-column: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10rem;
}
.collaboration-paragraph {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.collaboration-form {
  padding: 59px 85px 60px;

  background: #f8f8f8;
  box-shadow:
    0px 211px 84px rgba(0, 0, 0, 0.01),
    0px 119px 71px rgba(0, 0, 0, 0.05),
    0px 53px 53px rgba(0, 0, 0, 0.09),
    0px 13px 29px rgba(0, 0, 0, 0.1);
}
.form {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-label {
  margin-bottom: 0.5rem;
}
.form-input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 27px 25px;
  width: 100%;
  appearance: none;
  background-color: #f8f8f8;
  outline: none;
  border: 1px solid #d1d5db;
  color: #292f2b;
}
.form-input::placeholder {
  color: #6b7280;
}

.form-agreement {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.form-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 2rem;
  height: 2rem;
  margin: 0;
  cursor: pointer;
  border: 1px solid #d1d5db;
  flex-shrink: 0;
  border-radius: 0;
  position: relative;
  display: flex;
  background-color: #f8f8f8;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-checkbox:hover {
  border-color: #342f89;
  background-color: #f0f0f5;
}

.form-checkbox:checked {
  border-color: #342f89;
  background-color: #ffffff;
}

.form-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  width: 1rem;
  height: 0.7rem;
  background-image: url("../images/check-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s;
}

.form-checkbox:checked::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.form-checkbox:active {
  transform: scale(0.9);
}

.form-agreement-text {
  cursor: pointer;
  user-select: none;
  color: #6b7280;
}
.form-agreement-text a {
  color: #1f2937;
  text-decoration: underline;
  transition: color 0.2s;
}
.form-submit {
  box-sizing: border-box;
  align-items: center;
  padding: 1rem 9rem;
  background-color: transparent;
  color: #342f89;

  border: 1.5px solid #342f89;
  border-radius: 6px;
  transition: all 0.3s ease;
  outline: none;
}

.form-submit:hover {
  background-color: #342f89;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(52, 47, 137, 0.2);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 4px rgba(52, 47, 137, 0.1);
}
/* footer */

.footer {
  grid-column: 1 / 4;

  display: flex;
  justify-content: space-between;
  padding: 2rem 5rem;
  align-items: center;

  background: #ffffff;
}
.footer-left img {
  margin-bottom: 1rem;
}
.footer-left nav {
  color: #70707c;
}
.footer-right {
  display: flex;
  align-items: flex-start;

  gap: 0.5rem;
}
.contact-email {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.contact-email a {
  text-decoration: none;
  color: #292f2b;
}

.user-agreement {
  color: #292f2b;
  text-align: none;
}

/* анимации */

.header-download-btn:hover {
  background-color: #342f89;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(52, 47, 137, 0.2);
  transform: translateY(-1px);
}

.header-download-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 4px rgba(52, 47, 137, 0.1);
}

.hero_store-links a:hover {
  transform: translateY(-1px);
  filter: brightness(1.1) contrast(1.1);
}

.hero_store-links a:active {
  transform: translateY(-1px) scale(0.97);
}
.cta-btn a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1) contrast(1.1);
}

.cta-btn a:active {
  transform: translateY(-1px) scale(0.97);
}

/* картинка 1 */

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

.hero__image img {
  animation: float 6s ease-in-out infinite;
}

/* текст в хиро */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-content h1,
.hero-content p,
.hero_store-links {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}

.hero-content p {
  animation-delay: 0.4s;
}

.hero_store-links {
  animation-delay: 0.6s;
}
/* появление всех блоков */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*  */

@media (max-width: 768px) {
  body {
    grid-template-columns: 5% 90% 5%;
  }
  h1 {
    line-height: 1.1;
    order: 1;
    width: 100%;
  }
  section {
    margin-bottom: 5rem;
  }
  br {
    display: none;
  }
  .header {
    margin-bottom: 3rem;
    align-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    display: block;
  }
  .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    order: 2;
  }
  .hero-content,
  .paragraph-container {
    display: contents;
  }

  .hero_store-links {
    gap: 1rem;
  }
  .hero__image {
    order: 2;
    margin: 0 auto 1rem;
  }

  .paragraph-container p {
    order: 3;
    width: 100%;
  }
  .hero_store-links {
    order: 4;
    width: 100%;
  }

  .feature-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .left-content,
  .right-content {
    flex-direction: column;
  }
  .paragraph-container-two {
    text-align: left;
    gap: 1rem;
  }

  .left-image {
    display: none;
  }

  .right-image {
    max-width: 80%;
  }

  .monitoring-container {
    display: flex;
    flex-direction: column;
  }
  .monitoring-cameras {
    margin: 2rem 0;
  }
  .camera-one,
  .camera-three {
    display: none;
  }
  .monitorig-caption {
    flex-direction: column;
    gap: 2rem;
  }

  /*CTA */
  .cta-block {
    padding: 2rem 1rem;
  }
  .cta-content {
    flex-direction: column;
    gap: 2rem;
  }
  .cta-text {
    text-align: center;
  }
  .cta-btn {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Collaboration */
  .collaboration {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  .collaboration-paragraph {
    align-items: center;
  }
  .collaboration-form {
    padding: 2rem 1.5rem;
    width: 100%;
  }
  .form-submit {
    padding: 1rem 2rem;
    width: 100%;
  }

  /* подвал */
  .footer {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer-right,
  .contact-email {
    align-items: center;
  }

  .hero,
  .intercom-feature,
  .monitoring,
  .cta,
  .collaboration {
    margin-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  .hero_store-links img,
  .cta-btn img {
    height: 40px;
  }
}
