:root {
  --purple: #3d0057;
  --white: #ffffff;
  --light: #ececec;
  --text: #1f1f1f;
}

/* RESET */

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--text);
}

/* HERO SECTION */

.hero {
  width: 100%;
  min-height: 65vh;
  background: var(--purple);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.hero-text {
  width: 55%;
  color: var(--white);
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(70px, 10vw, 170px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--white);
}

/* IMAGE + LOGO */

.hero-image-wrap {
  width: 45%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

/* LARGE LOGO */

.badge {
  position: absolute;
  top: 20px;
  right: 40px;
  width: 320px;
  height: auto;
}

/* SIGNUP SECTION */

.signup {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.signup h2 {
  font-size: 32px;
  margin: 0 0 16px 0;
}

.signup p {
  margin: 0 0 28px 0;
  color: #555;
  font-size: 17px;
}

/* FORM */

.form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}

.form input {
  padding: 14px 16px;
  font-size: 16px;
  width: 280px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form button {
  padding: 14px 22px;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.form button:hover {
  opacity: 0.92;
}

/* SOCIAL LINKS */

.social {
  padding: 30px;
  text-align: center;
}

.social a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--purple);
  font-weight: bold;
}

/* MOBILE */

@media (max-width: 900px) {

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .hero-text,
  .hero-image-wrap {
    width: 100%;
  }

  .hero-image {
    max-height: 50vh;
    margin-left: auto;
  }

  .badge {
    width: 180px;
    top: 20px;
    right: 20px;
  }

  .form input,
  .form button {
    width: 100%;
    max-width: 420px;
  }
}