/* ===== Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1A0146;
  font-family: 'Inter', sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  line-height: 1.5;
}

/* ===== Layout Containers ===== */
.outer-wrapper {
  width: min(961.43px, 100%);
  margin: 0 auto;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6.97px;
  height: 29.85px;
}

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

.content {
  width: min(563.58px, 100%);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== Image Styles ===== */
.iphone-img {
  object-fit: contain;
}

/* Desktop Image */
.desktop-img {
  display: block;
  width: 337.84px;
  height: 1035.15px;
}

/* Mobile Image (hidden by default) */
.mobile-img {
  display: none;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.headline {
  font-weight: 600;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.subtext {
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  color: #E9D7FE;
  margin: 0;
}

/* ===== Form Styles ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.form input {
  padding: 16px 20px;
  border-radius: 8px;
  border: none;
  background: white;
  color: #1A0146;
  font-size: 16px;
  width: 100%;
}

.form input::placeholder {
  color: #A4A7AE;
  opacity: 1;
}

.form button {
  padding: 16px;
  background: #8407CC;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* ===== Mobile Responsive (768px and below) ===== */
@media (max-width: 768px) {
  body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: auto;
    width:auto;
    margin:0;
  }

  .outer-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .container {
    display: flex;
    width: 24.5625rem; /* 393px */
    padding: 2.625rem 2.25rem 0 2.25rem; /* 42px top, 36px sides */
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 0;
    margin: 0 auto;
  }

  /* Hide desktop image */
  .desktop-img {
    display: none;
  }

  /* Mobile image */
  .mobile-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: auto;
  }

  /* Content container */
  .content {
    width: 100%;
    gap: 2.5rem; /* 40px */
    margin-bottom: 2rem;
    order: -1;
  }

  .text-block {
    gap: 1.5rem; /* 24px */
    text-align: left;
    width: 100%;
  }

  .headline {
    font-size: 2.25rem; /* 36px */
    line-height: 2.75rem; /* 44px */
  }

  .subtext {
    font-size: 1rem; /* 16px */
    text-align: left;
  }

  .form {
    gap: 10px; /* 24px */
  }
}

/* ===== Interaction Styles ===== */
@media (hover: hover) {
  .form button:hover {
    background: #5a00d6;
  }
}

.form button:active {
  transform: scale(0.98);
}
