/* Dawn Security Landing Page */

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

html, body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Background ── */

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Content ── */

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.content > * {
  pointer-events: auto;
}

.headline {
  position: absolute;
  top: 109px;
  text-align: center;
  font-weight: 700;
  font-size: 76px;
  line-height: 104px;
  color: #1B1B1B;
  width: 741px;
  max-width: 90%;
}

.headline .line {
  display: block;
}

.subtitle {
  position: absolute;
  top: 460px;
  text-align: center;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: #000;
  width: 732px;
  max-width: 90%;
}

.logo {
  position: absolute;
  top: 555px;
  width: 220px;
  height: 61px;
}

.logo img {
  width: 100%;
  height: 100%;
}

.cta {
  position: absolute;
  top: 670px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-text {
  font-weight: 300;
  font-size: 17px;
  color: #000;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 157px;
  height: 42px;
  border: 2px solid #FF9700;
  border-radius: 100px;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #1B1B1B;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: linear-gradient(to right, #FF9700, #FFCA27);
  border-color: transparent;
  background-origin: border-box;
  color: #fff;
}

/* ── Tablet (601px - 1024px) ── */

@media (max-width: 1024px) {
  .content {
    justify-content: center;
  }

  .headline,
  .subtitle,
  .logo,
  .cta {
    position: static;
  }

  .headline {
    margin-bottom: 29px;
  }

  .subtitle {
    margin-bottom: 37px;
  }

  .logo {
    margin-bottom: 127px;
  }
}

/* ── Phone (<=600px) ── */

@media (max-width: 600px) {
  .headline {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.35;
    width: 400px;
    max-width: 92%;
    margin-bottom: 24px;
  }

  .headline .line {
    display: block;
  }

  .subtitle {
    font-size: 18px;
    width: 360px;
    max-width: 88%;
    margin-bottom: 30px;
  }

  .logo {
    width: 180px;
    height: 50px;
    margin-bottom: 80px;
  }

  .cta {
    gap: 20px;
  }

  .cta-text {
    font-size: 15px;
  }

  .btn {
    width: 145px;
    height: 40px;
    font-size: 18px;
  }
}

/* ── Phone landscape: tablet layout scaled to fit ── */

@media (max-height: 600px) and (orientation: landscape) {
  .content {
    transform: scale(0.55);
    transform-origin: center center;
  }

  .headline {
    font-size: 68px;
    line-height: 94px;
  }

  .logo {
    margin-bottom: 40px;
  }
}