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

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background-image: radial-gradient(rgba(126, 126, 126, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;

  opacity: 0.03;

  pointer-events: none;
  z-index: 999;
}

/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  padding-left: 7vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  transition: transform 0.3s ease-out;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.5s ease forwards;
}

/* LOGO */

.logo {
  width: 475px;
  margin-bottom: 30px;
  transition: transform 0.7s ease;
}

.logo-link {
  display: inline-block;
}

.logo-link:hover .logo {
  transform: scale(1.02);
}

.logo:hover {
  transform: scale(1.02);
}

/* TITLE */

.title {
  font-size: 18px;
  font-weight: 400;
  color: #cbcbcb;
  max-width: 500px;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* CTA */

.cta {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 0ch solid #3f3f3f;
  padding-bottom: 4px;
  transition: all 0.4s ease;
}

.cta:hover {
  border-color: #fff;
}

/* ANIMATION */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MODAL BASE */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ACTIVE STATE */

.modal.active {
  opacity: 1;
  visibility: visible;
}

/* CONTENT */

.modal-content {
  position: relative;

  background: #00000077;
  border: 1px solid #222;
  border-radius: 12px;

  padding: 40px;
  width: 90%;
  max-width: 420px;

  text-align: center;

  box-shadow: 0 10px 40px rgba(88, 88, 88, 0.05);

  transform: scale(0.9) translateY(20px);
  opacity: 0;

  transition: all 0.6s ease;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: -1px;

  border-radius: 12px;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.08)
  );

  opacity: 0;
  transition: opacity 0.4s ease;

  pointer-events: none;
}

.modal.active .modal-content::before {
  opacity: 1;
}

/* CONTENT ANIMATION */

.modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@keyframes glowPulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

.modal.active .modal-content::before {
  animation: glowPulse 3s ease-in-out infinite;
}

/* TEXT */

.modal-content h2 {
  margin-bottom: 25px;
  color: #dddddd;
}

.modal-content p {
  color: #a8a8a8;
  margin-bottom: 25px;
}

/* LINK */

.modal-content a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #444;
  padding-bottom: 3px;
  transition: 0.3s;
}

.modal-content a:hover {
  border-color: #fff;
}

/* CLOSE */

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 22px;
  cursor: pointer;
  color: #777;
  transition: 0.3s;
}

.close:hover {
  color: #fff;
}

/* ADAPTIVE */

@media (max-width: 768px) {

  body {
    overflow: auto;
  }

  .hero-content {
    padding-left: 5vw;
  }

  .logo {
    width: 345px;
  }

  .title {
    font-size: 13px;
  }

  .cta {
    font-size: 14px;
  }
}