:root {
  --bg: #fff;
  --text: #101010;
  --primary: #00a2e7;
  --secondary: #004080;
  --button-gradient: linear-gradient(90deg, #4481eb 0%, #04befe 100%);
  --subtitle: #727272;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Lato", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
}

.left-part button,
.contact-form button {
  padding: 1rem 4.5rem;
}

.menu-toggle {
  display: none;
}

.hero {
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
  /* padding: 7.5rem 1.5rem 4rem; */
  img {
    border-bottom-right-radius: 5rem;
    border-bottom-left-radius: 5rem;
    width: 100%;
  }

  /* background:
    linear-gradient(
      83.08deg,
      rgba(25, 118, 210, 0.8) 1.28%,
      rgba(25, 118, 210, 0) 40.49%
    ),
    url("/static/images/landing/images/PlayeGamesNow_5.jpg") center / contain
      no-repeat; */
}

/* .hero-visual {
  display: none;
} */

.hero-section {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}
.mobile-points {
  display: none;
}

.hero-content {
  display: flex;
  /* flex-direction: column; */
  gap: 3rem;
  width: 100%;
  /* max-width: 59.625rem; */
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  .title {
    flex: 3;
  }
  .content {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
  }
}

.hero-content > img {
  width: 20.125rem;
  height: auto;
  object-fit: contain;
}

.hero-content h1 {
  max-width: 57.875rem;
  /* color: #fff; */
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  max-width: 46.25rem;
  margin: 0;
  /* color: #fff; */
  font-size: 1.25rem;
  line-height: 1.5;
}

.hero-content h3 {
  /* max-width: 22.125rem; */
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

main {
  display: flex;
  flex-direction: column;
  gap: 6.25rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-bottom: 8.75rem;
}

.solution-container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.solution-container:first-child {
  padding-top: 8.75rem;
  padding-bottom: 6.25rem;
  border-bottom: 0.0625rem solid #1976d2;
}

.left-part {
  flex: 1;
}

.left-part .subtitle {
  margin-bottom: 0.5rem;
  color: var(--subtitle);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.left-part h2 {
  margin-bottom: 2.25rem;
  font-size: 4rem;
  line-height: 1.1;
}

.left-part h3 {
  margin-bottom: 2.25rem;
  color: var(--primary);
  font-size: 1.375rem;
  line-height: 1.3;
}

.left-part p {
  &:not(:last-child) {
    margin-bottom: 2.25rem;
  }
  font-size: 1.25rem;
  line-height: 1.5;
}

.right-part {
  display: flex;
  flex: 2;
  flex-direction: column;
  gap: 4rem;
}

.right-part h4 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}

.right-part ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services li {
  display: flex;
  align-items: center;
  min-height: 5.25rem;
}

.services li:not(:last-child) {
  border-bottom: 0.0625rem solid #d7d7d7;
}

.services .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
  border-radius: 0.375rem;
  background: #f0f8ff;
  flex-shrink: 0;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits ul {
  padding: 0.625rem 1.5rem;
  border-radius: 1.5rem;
}

.benefits li {
  display: flex;
  align-items: center;
  min-height: 4rem;
}

.benefits li::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  margin-right: 0.75rem;
  border: 0.125rem solid #42a0fe;
  border-radius: 0.375rem;
  flex-shrink: 0;
  line-height: initial;
}

.benefits .processors {
  background: #f2f9ff;
  color: var(--secondary);
}

.benefits .processors li:not(:last-child) {
  border-bottom: 0.0625rem solid #d4e2ee;
}

.benefits .processors li::before {
  content: url("/static/images/landing/check-white.svg");
  background: #1976d2;
}

.benefits .operators {
  background: #1976d2;
  color: #fff;
}

.benefits .operators li:not(:last-child) {
  border-bottom: 0.0625rem solid #3289df;
}

.benefits .operators li::before {
  content: url("/static/images/landing/check-blue.svg");
  background: #fff;
}

/* smaller screens */
@media screen and (max-width: 1300px) {
  body main {
    padding-inline: 1rem;
  }
  .hero-section {
    padding: 0 1rem;
  }
}

/* Tablet */
@media screen and (max-width: 68rem) {
  .hero-content h1 {
    font-size: 3rem;
  }

  main {
    padding-inline: 1.5rem;
  }

  .left-part h2 {
    font-size: 3.25rem;
  }
}

/* Mobile */
@media screen and (max-width: 48rem) {
  .hero {
    padding: 3.95rem 1rem 2.5rem;
    border-radius: 0;
    background: #fff;
  }

  .hero-section {
    padding: 0;
  }
  /* =========================
   Mobile points
   ========================= */

  .mobile-points {
    width: 100%;
  }

  /* Shared card */
  .mobile-points .mobile-point {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 7rem;
    padding: 1.2rem 1rem;

    border-radius: 1rem;
    background: var(--button-gradient) border-box;
    color: #fff;

    font-size: 0.915rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
  }

  /* Override global .hero img styles */
  .hero .mobile-points .mobile-point img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;

    border-radius: 0;

    filter: brightness(0) invert(1);

    flex-shrink: 0;
  }

  /* =========================
   GRID
   ========================= */

  .mobile-points-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .mobile-points-grid .mobile-point {
    flex-direction: column;
    min-width: 0;
    min-height: 8.5rem;

    text-align: center;
  }

  .hero-visual {
    display: block;
    width: calc(100% + 2rem);
    /* height: clamp(15rem, 95vw, 22rem); */
    margin: 0 -1rem 1.75rem;
    img {
      border-bottom-right-radius: 2rem;
      border-bottom-left-radius: 2rem;
    }

    /* background:
      linear-gradient(180deg, rgba(25, 118, 210, 0.15), rgba(0, 26, 54, 0.1)),
      url("/static/images/landing/images/hero-mobile.jpeg") center / cover
        no-repeat; */
  }

  .hero-content {
    align-items: center;
    gap: 1rem;
    max-width: none;
    padding: 0;
    text-align: center;
    flex-direction: column;
  }

  .hero-content > img {
    display: none;
  }

  .hero-content h1 {
    max-width: 22rem;
    color: var(--text);
    font-size: clamp(1.45rem, 6.4vw, 1.85rem);
    line-height: 1.05;
  }

  .hero-content p {
    max-width: 28rem;
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .hero-content h4 {
    max-width: 20rem;
    font-size: 1rem;
    line-height: 1.15;
  }

  main {
    gap: 4.5rem;
    padding: 0 1rem 4rem;
  }

  .solution-container {
    flex-direction: column;
    gap: 2rem;
  }

  .solution-container:first-child {
    padding-top: 2.5rem;
    padding-bottom: 4.5rem;
  }

  .left-part {
    text-align: center;
  }

  .left-part .subtitle {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
  }

  .left-part h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
  }

  .left-part h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.3;
  }

  .left-part p {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .left-part a {
    display: block;
  }

  .left-part button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .right-part {
    gap: 2rem;
  }

  .right-part h4 {
    font-size: 1rem;
    text-align: center;
  }

  .services {
    gap: 0.5rem;
  }

  .services li {
    min-height: 3.5rem;
    font-size: 0.825rem;
    line-height: 1.35;
  }

  .services .icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.75rem;
  }

  .services .icon img {
    max-width: 1rem;
    max-height: 1rem;
  }

  .benefits {
    gap: 0.75rem;
  }

  .benefits ul {
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
  }

  .benefits li {
    min-height: 3rem;
    font-size: 0.825rem;
    line-height: 1.3;
  }

  .benefits li::before {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.625rem;
    border-radius: 0.3rem;
  }
}
