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

body {
  font-family: "Rubik", sans-serif;
  background-color: #f5f3f7;
  color: #3e2753;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  position: relative;
}

.purple-bg {
  position: absolute;
  top: 0;
  left: -10%;
  width: 40%;
  height: 85%;
  background: linear-gradient(to bottom, #8838ff, #e942ff);
  border-radius: 0 0 50% 50%;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.phone {
  width: 300px;
  height: 600px;
  background-color: white;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  padding: 10px;
}

.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background-color: white;
  border-radius: 0 0 15px 15px;
  z-index: 3;
}

.header {
  background: linear-gradient(to right, #8838ff, #e942ff);
  border-radius: 20px 20px 5px 5px;
  padding: 30px 15px 15px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  z-index: 2;
}

.back-button {
  margin-right: 10px;
  font-weight: bold;
  background-color: transparent;
  border: none;
  color: #f5f3f7;
}

.profile {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

img.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid white;
}

.profile-info h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.profile-info p {
  font-size: 10px;
  opacity: 0.8;
}

.menu {
  font-weight: bold;
  font-size: 18px;
}

.dots {
  background-color: transparent;
  color: #f5f3f7;
  border: none;
}

.chat-container {
  padding: 10px;
  position: relative;
  top: -80px;
  height: calc(100%);

  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 8px;
  border-radius: 20px;
  background-color: #f5f3f7;
}

.message {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.received {
  align-self: flex-start;
  background-color: #ede5f4;
  color: #9241c8;
  border-radius: 10px 10px 10px 4px;
}

.sent {
  align-self: flex-end;
  background-color: white;
  color: #6e5d7e;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 10px 10px 4px 10px;
}

.dog-images {
  display: flex;
  gap: 8px;
  align-self: flex-end;
}

.image {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80%;
}

.pricing-option {
  background: linear-gradient(to right, #e942ff, #8838ff);
  color: white;
  padding: 10px 15px;
  border-radius: 10px 10px 10px 4px;
  display: flex;
  align-items: center;
  font-size: 12px;
}

.circle {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin-right: 8px;
}

.pricing-option p {
  flex-grow: 1;
}

.price {
  font-weight: bold;
  font-size: 14px;
}

.message-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  padding: 8px 6px 8px 15px;
  margin-top: 10px;
}

.message-input input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 12px;
  color: #6e5d7e;
}

.send-button {
  width: 30px;
  height: 30px;
  background-color: #3e2753;
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.text-content {
  max-width: 450px;
}

.text-content h1 {
  font-size: 40px;
  margin-bottom: 25px;
  color: #3e2753;
}

.text-content p {
  color: #a39daa;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1000px) {
  .content {
    gap: 60px;
  }

  .text-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 850px) {
  .purple-bg {
    width: 50%;
    height: 60%;
  }

  .content {
    flex-direction: column;
    gap: 60px;
  }

  .text-content {
    text-align: center;
    padding: 0 20px;
  }
}

@media (max-width: 500px) {
  .phone {
    width: 280px;
    height: 550px;
  }

  .text-content h1 {
    font-size: 28px;
  }

  .text-content p {
    font-size: 14px;
  }
}
