:root {
  --bg-dark: #050f23;
  --bg-card: rgba(5, 15, 33, 0.62);
  --border-soft: rgba(120, 198, 255, 0.3);
  --text-main: #ffffff;
  --text-muted: #d8e8ff;
  --input-bg: #f6fbff;
  --input-bg-focus: #ffffff;
  --input-text: #10213f;
  --btn-bg: #2a9dff;
  --btn-bg-hover: #1888e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
}

.form-body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.form-body .developer-scene-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(120deg, rgba(6, 11, 28, 0.14), rgba(8, 15, 30, 0.84)),
    url("../images/developer-lab-bg.svg");
  background-size: cover, cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: sceneDrift 18s ease-in-out infinite alternate;
}

.form-body .developer-scene-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 35%, rgba(53, 178, 255, 0.25), rgba(7, 15, 33, 0) 48%),
    radial-gradient(circle at 78% 48%, rgba(28, 201, 183, 0.2), rgba(7, 15, 33, 0) 46%);
  mix-blend-mode: screen;
}

@keyframes sceneDrift {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.07) translate3d(-3%, -1.5%, 0);
  }
}

.form-body > .row {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 20px;
}

.form-holder,
.form-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form-content .form-items {
  width: 50vw;
  min-width: 320px;
  margin: 0 auto;
  padding: 36px 34px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-card);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.form-content .form-items > * {
  width: 100%;
}

.website-logo-inside {
  margin-bottom: 24px;
}

.website-logo-inside a,
.website-logo-inside .logo {
  display: inline-block;
}

.website-logo-inside .logo img.brand-logo {
  width: 170px;
  max-width: 100%;
}

.form-content h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.2;
}

.form-content p {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.form-content .spacer {
  height: 18px;
}

.form-content .newsletter-form {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 24px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(135, 214, 255, 0.35);
  background-color: rgba(5, 15, 33, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-content .newsletter-form .newsletter-input {
  appearance: none;
  width: 100%;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 999px;
  height: 52px;
  padding: 0 24px;
  background: var(--input-bg);
  color: var(--input-text);
  font-size: 1rem;
}

.form-content .newsletter-form .newsletter-input:focus {
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 2px rgba(42, 157, 255, 0.35);
}

.form-content .newsletter-form .newsletter-input::placeholder {
  color: rgba(16, 33, 63, 0.58);
}

.form-content .newsletter-form .newsletter-btn {
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 30px;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--btn-bg);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-content .newsletter-form .newsletter-btn:hover,
.form-content .newsletter-form .newsletter-btn:focus {
  background-color: var(--btn-bg-hover);
}

.form-content .time-counter {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.form-content .time-counter .count {
  padding: 0 10px;
  border-right: 1px solid rgba(217, 234, 255, 0.35);
}

.form-content .time-counter .count:last-child {
  border-right: 0;
}

.form-content .time-counter .count .num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.form-content .time-counter .count .label {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.other-links {
  margin-top: 4px;
  text-align: center;
}

.other-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  margin: 0 6px;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
}

.other-links a:hover,
.other-links a:focus {
  background-color: rgba(255, 255, 255, 0.22);
}

.other-links a i {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 992px) {
  .form-body .developer-scene-bg {
    animation-duration: 26s;
    background-position: 78% center;
  }

  .form-content .form-items {
    width: 92vw;
    min-width: 0;
    padding: 28px 22px;
  }

  .form-content .newsletter-form {
    border-radius: 22px;
    padding: 14px;
    flex-direction: column;
    gap: 12px;
  }

  .form-content .newsletter-form .newsletter-input,
  .form-content .newsletter-form .newsletter-btn {
    width: 100%;
  }

  .form-content .newsletter-form .newsletter-btn {
    padding: 12px 20px;
  }

  .form-content .time-counter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .form-content .time-counter .count {
    border-right: 0;
    border-bottom: 1px solid rgba(217, 234, 255, 0.35);
    padding-bottom: 10px;
  }

  .form-content .time-counter .count:last-child,
  .form-content .time-counter .count:nth-child(3) {
    border-bottom: 0;
  }
}
