html {
  font-family: "Avenir", sans-serif;
  font-weight: 500;
  color: #fff;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 375px;
  min-height: 100vh;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #022335;
  /* чтоб не светило белым */
}

/* flex оставляем только если есть main+footer */
main {
  width: 100%;
  flex: 1;
}

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

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

a,
button {
  outline: none;
}

.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}




.btn {
  border-radius: 9px;
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  box-shadow: 0 7px 20px -7px #00e0ff;
  background: linear-gradient(180deg, rgba(3, 225, 255, 0.66) 0%, #13cdc2 100%);
  padding: 22px 13px 25px;
  max-width: 479px;
  transition: .6s background-color;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  cursor: pointer;
}

@media (max-width: 740px) {
  .btn {
    display: block;
    max-width: 300px;
    padding: 14px 2px 8px 2px;
  }
}

/* @media (max-width: 488px) {
  .btn {
    letter-spacing: 0em;
  }
} */


.btn:hover {
  background: linear-gradient(180deg, #02cfe4 0%, #0fb8ae 100%);
  box-shadow: 0 12px 28px -8px rgba(0, 224, 255, 0.6);
  transform: translateY(-2px);
}




.title {
  color: #fff;
  font-weight: 500;
  font-size: 54px;
  max-width: 776px;
  text-transform: uppercase;
}

.title span {
  color: #4abcec;
}

@media(max-width:770px) {
  .title {
    font-size: 34px;
    text-align: center;
  }
}


.call-fab {
  position: fixed;
  left: 24px;
  top: 140px;
  /* можешь подвинуть */
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 7px 20px -7px #00e0ff;
  border: 1px solid rgba(0, 224, 255, 0.35);
  background: linear-gradient(180deg, rgba(3, 225, 255, 0.66) 0%, #13cdc2 100%);
  ;
  color: #eaffff;
  cursor: pointer;
  z-index: 200;
  display: grid;
  place-items: center;
  isolation: isolate;
  transition: transform .15s;
}

.call-fab__svg {
  filter: drop-shadow(0 0 12px rgba(0, 224, 255, 0.22));
}

.call-fab::before,
.call-fab::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 2px solid rgba(0, 224, 255, 0.35);
  opacity: 0;
  animation: callPulse 2.2s infinite;
  z-index: -1;
}

.call-fab::after {
  inset: -22px;
  animation-delay: .75s;
}

@keyframes callPulse {
  0% {
    transform: scale(.86);
    opacity: 0;
  }

  18% {
    opacity: .55;
  }

  70% {
    transform: scale(1.18);
    opacity: 0;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.call-fab:hover {
  transform: translateY(-1px);
}

.call-fab:active {
  transform: translateY(0);
}

.call-fab-label {
  --offset-y: 130px;
  position: fixed;
  left: 52px;
  top: 140px;
  width: 100px;
  display: flex;
  justify-content: center;
  transform: translateY(var(--offset-y));
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 199;

  writing-mode: vertical-rl;
  transform: translateY(var(--offset-y)) rotate(180deg);

  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(0, 224, 255, 0.95);
}


/* ====== Модалка ====== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 500;
}

.modal.is-open {
  display: block;
}

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

/* ====== Модалка как на скрине ====== */
.modal-webinar {
  width: 420px;
  max-width: 90vw;
  /* как на скрине */
  border-radius: 14px;
  padding: 22px 18px 18px;
  margin: 8vh auto 0;
  position: relative;

  background: rgba(5, 40, 54, 0.85);
  border: 1px solid rgba(0, 224, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 224, 255, .06) inset,
    0 22px 60px rgba(0, 0, 0, .55);
  color: #fff;
  transform: translateY(16px);
  opacity: 0;
  transition: .25s;
}

.modal.is-open .modal-webinar {
  transform: translateY(0);
  opacity: 1;
}

/* декоративные точки по углам (как будто "винтики") */
.modal-webinar::before,
.modal-webinar::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(0, 224, 255, 0.6);
  opacity: .9;
}

.modal-webinar::before {
  top: 10px;
  left: 10px;
}

.modal-webinar::after {
  bottom: 10px;
  left: 10px;
}

.modal-webinar__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(0, 224, 255, .85);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-webinar__title {
  margin: 6px 40px 18px 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* форма */
.modal-webinar__form {
  display: grid;
  gap: 14px;
}

.modal-webinar__field {
  display: grid;
  gap: 8px;
}

.modal-webinar__label {
  font-weight: 600;
  font-size: 13px;
  color: #00e0ff;
  /* бирюзовые подписи */
}

/* инпуты как "стеклянные" */
.modal-webinar__input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 224, 255, .12);
  background: rgba(0, 224, 255, 0.08);
  color: #fff;
  outline: none;

  box-shadow:
    0 0 0 1px rgba(0, 224, 255, .05) inset,
    0 10px 20px rgba(0, 0, 0, .25);
}

.modal-webinar__input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.modal-webinar__input:focus {
  border-color: rgba(0, 224, 255, .35);
  box-shadow:
    0 0 0 3px rgba(0, 224, 255, .12),
    0 0 0 1px rgba(0, 224, 255, .05) inset,
    0 10px 20px rgba(0, 0, 0, .25);
}

/* кнопка как на скрине */
.modal-webinar__btn {
  height: 62px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-top: 6px;

  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);

  background: linear-gradient(90deg, #00e0ff 0%, #00c2ff 100%);
  box-shadow:
    0 12px 30px rgba(0, 224, 255, .22),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
}

.modal-webinar__btn:hover {
  filter: brightness(1.03);
}

.modal-webinar__btn:active {
  transform: translateY(1px);
}

/* ===== Toast (успех) ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  border: 1px solid rgba(0, 224, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  transition: .25s;
  z-index: 600;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}