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

html,
body {
  margin: 0;
  padding: 0;
}

body.landing-body {
  min-height: 100vh;
  background: #0f172a;
  color: #ffffff;
  font-family: "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.landing-main {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-image: url("../img/trendradar/background-radar.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(24px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 4rem 1rem;
}

.hero-copy {
  flex: 1;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 1.5rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.hero-title {
  margin: 0 0 1.5rem 0;
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.hero-title-break {
  display: none;
}

.hero-subtitle {
  max-width: 38rem;
  margin: 0 auto 1.5rem auto;
  color: #e4e4e7;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: #4c4c4c;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(112, 68, 255, 0.4);
  transition: background-color 150ms ease-in-out;
}

.hero-link:hover {
  background: rgb(112, 68, 255);
}

.hero-preview-wrap {
  flex: 1;
  width: 100%;
}

.hero-preview {
  position: relative;
  min-height: 16rem;
  height: 18rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: url("../img/trendradar/trendradar_screenshot.png");
  background-size: cover;
  background-position: calc(50% + 30px) 50%;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-preview-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(
    circle at 30% 15%,
    rgba(112, 68, 255, 0.45),
    transparent 65%
  );
  opacity: 0.9;
}

.hero-preview-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.preview-badges-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.preview-badges-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  background: rgba(24, 24, 27, 0.7);
  color: #d4d4d8;
  letter-spacing: 0.03em;
  font-size: 0.7rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 5rem 1.5rem;
  }

  .hero-title-break {
    display: block;
  }

  .hero-links {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-preview {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: stretch;
    padding: 7rem 2rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-preview {
    min-height: 20rem;
    height: 100%;
  }
}
