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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: white;
  color: #000;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 60px 6% 0;
  overflow-x: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.hero h1 {
  font-size: clamp(32px, 8vw, 43px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 40px;
  margin-top: -20px;
  text-align: left;
}

.features {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block;
}

.features li {
  font-size: clamp(18px, 5vw, 22px);
  margin-bottom: 14px;
}

.cta {
  background-color: #111;
  color: #fff;
  padding: 18px 40px;
  font-size: clamp(20px, 5vw, 25px);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.cta:hover {
  background-color: #333;
}

.hero-image {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -30px;
  margin-right: -20px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}
/* Popup Overlay */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dimmed background */
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px); /* Modern frosted glass effect */
}

/* Popup Content Box */
.popup-content {
  background-color: white;
  padding: 40px;
  width: 90%;
  max-width: 450px;
  position: relative;
  text-align: center;
  border-radius: 4px;
}

.popup-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.popup-content p {
  margin-bottom: 25px;
  color: #666;
}

/* Close Button (X) */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #aaa;
}

.close:hover {
  color: #000;
}

/* Form Styling */
.popup form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup input[type="email"] {
  padding: 15px;
  border: 1px solid #ddd;
  font-size: 16px;
  width: 100%;
}

.popup button[type="submit"] {
  background-color: #111;
  color: white;
  padding: 15px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.popup button[type="submit"]:hover {
  background-color: #333;
}

/* Class to show the popup */
.popup.active {
  display: flex;
}

/* --- Desktop Refinement --- */
@media (min-width: 768px) {
  .hero {
    flex-direction: row; /* Puts text and image side-by-side */
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto; /* Centers the whole container on ultra-wide screens */
    padding-top: 0;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
    max-width: 600px;
  }

  .hero-image {
    flex: 1;
    margin-top: 0; /* Removes the mobile-specific overlap */
    margin-right: 0;
    justify-content: flex-end;
  }

  .hero-image img {
    max-width: 450px; /* Keeps the phone preview at a crisp size */
    width: 100%;
  }

  .features {
    display: block; /* Ensures list items stay stacked */
    margin-bottom: 30px;
  }

  .cta {
    width: fit-content;
  }

}

@media (min-width: 1200px) {
  body {
    transform: scale(1.1);
  }
}

@media (min-width: 1300px) {
  body {
    transform: scale(1.2);
  }
}

@media (min-width: 1600px) {
  body {
    transform: scale(1.4);
  }
}

@media (min-width: 2000px) {
  body {
    transform: scale(1.6);
  }
}