@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: #f7f9ff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: #060b12 url("./bg.jpg")
    center/cover no-repeat fixed;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 55% 15%, rgba(24, 89, 149, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(4, 8, 16, 0.3) 0%, rgba(4, 8, 16, 0.9) 100%);
}

.container {
  position: relative;
  z-index: 2;
  width: min(92vw, 760px);
  padding: clamp(24px, 5vw, 46px);
  text-align: center;
  margin: 24px auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brand-mark {
  width: min(62vw, 360px);
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.hero {
  margin-top: 20px;
}

.tagline {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ecfff;
  margin-top: 10px;
  margin-bottom: 70px;
}

.title {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 4.3vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.58);
}

.subtitle {
  max-width: 56ch;
  margin: 14px auto 0;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(233, 242, 255, 0.84);
}

.description {
  max-width: 60ch;
  margin: 12px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(222, 236, 255, 0.8);
}

.form {
  margin: 44px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: min(100%, 790px);
}

.form input {
  flex: 1;
  min-width: 0;
  padding: 18px 44px;
  border-radius: 999px;
  border: 1px solid rgba(175, 198, 226, 0.2);
  background: linear-gradient(135deg, rgba(20, 30, 45, 0.64), rgba(21, 39, 63, 0.52));
  color: #f3f8ff;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 400;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.form input::placeholder {
  color: rgba(220, 232, 252, 0.48);
}

.form input:focus {
  border-color: rgba(193, 217, 249, 0.45);
  box-shadow: 0 0 0 4px rgba(152, 188, 233, 0.12);
  background: linear-gradient(135deg, rgba(24, 36, 54, 0.78), rgba(25, 48, 76, 0.64));
}

.form button {
  border: none;
  border-radius: 999px;
  padding: 18px 52px;
  min-width: 230px;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0f1722;
  cursor: pointer;
  background: #f3f3f4;
  box-shadow: 0 10px 30px rgba(230, 237, 248, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(232, 240, 250, 0.33);
  filter: brightness(1.02);
}

.form button:active {
  transform: translateY(0);
}

.social-block {
  margin-top: 72px;
  display: grid;
  place-items: center;
  gap: 20px;
}

.social-title {
  font-size: 0.98rem;
  letter-spacing: 0.2em;
  color: rgba(212, 226, 249, 0.42);
}

.linkedin-link {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: rgba(205, 221, 246, 0.5);
  text-decoration: none;
  border: 2px solid rgba(198, 213, 236, 0.2);
  background: rgba(11, 22, 38, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.linkedin-link:hover {
  transform: translateY(-1px);
  color: rgba(233, 242, 255, 0.86);
  border-color: rgba(229, 239, 255, 0.42);
}

.linkedin-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-card {
  display: block;
  margin: clamp(24px, 4vw, 30px) auto 0;
  width: min(100%, 340px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.brand-gallery {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-gallery .brand-card {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-gallery .brand-card:first-child {
  grid-column: 1 / -1;
}

.brand-card.secondary {
  aspect-ratio: 4 / 3;
}

@media (max-width: 700px) {
  .container {
    padding: 22px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
  }

  .description {
    font-size: 0.92rem;
  }

  .form {
    flex-direction: column;
    gap: 14px;
  }

  .form input,
  .form button {
    width: 100%;
    min-width: 0;
  }

  .form input {
    padding-inline: 22px;
  }

  .social-block {
    margin-top: 54px;
    gap: 16px;
  }

  .social-title {
    font-size: 0.88rem;
    letter-spacing: 0.16em;
  }

  .brand-gallery {
    grid-template-columns: 1fr;
  }

  .brand-gallery .brand-card:first-child {
    grid-column: auto;
  }
}