* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  background-color: lightgray;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page {
  width: 100%;
  max-width: 1080px;
  padding: 3.75rem 2.5rem;
}
.content {
  position: relative;
  background-color: white;
  padding: 3.75rem 7.5rem 3.75rem 11.5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -67px;
  width: 30%;
  height: 85%;
  background: linear-gradient(180deg, #d53af9, #8739f9);
  border-radius: 0 0 17rem 17rem;
  z-index: 0;
}
.content::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -67px;
  width: 30%;
  height: 85%;
  background: linear-gradient(0deg, #d53af90d, #8739f90d);
  border-radius: 15.625rem 15.625rem 0 0;
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 230px;
  background: white;
  border: 6px solid white;
  border-radius: 30px;
  padding: 0.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.screen {
  position: relative;
  background-color: #f5f3f7;
  border-radius: 20px;
  overflow: hidden;
}
.notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 20px;
  background: white;
  border-radius: 0 0 15px 15px;
  z-index: 10;
}
.screen-header {
  background: linear-gradient(90deg, #8739f9, #d53af9);
  padding: 1.875rem 1rem 0.625rem 1rem;
  border-radius: 20px 20px 6px 6px;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.back-arrow {
  background: none;
  border: none;
  color: white;
  font-size: 0.75rem;
  cursor: pointer;
  line-height: 1;
}
.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid white;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-text {
  flex: 1;
}
.name {
  color: white;
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1;
}
.status {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.4rem;
  margin-top: 0.125rem;
  line-height: 1;
}
.menu {
  background: white;
  border: none;
  width: 3px;
  height: 3px;
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.menu::before,
.menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
}
.menu::before {
  top: -6px;
}
.menu::after {
  bottom: -6px;
}
.screen-body {
  padding: 0.75rem;
}
.messages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.bubble {
  max-width: 65%;
  padding: 0.25rem 0.5rem;
  font-size: 0.45rem;
  line-height: 1.4;
}
.bubble.left {
  background: #e5e5ea;
  color: #9341c8;
  align-self: flex-start;
  border-radius: 10px 10px 10px 4px;
}
.bubble.right {
  background: white;
  color: #6e5d7e;
  align-self: flex-end;
  border-radius: 10px 10px 4px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}
.bubble.images {
  display: flex;
  gap: 0.25rem;
  padding: 0;
  background: transparent;
  max-width: 75%;
}
.bubble.images img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.bubble.option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #d53af9, #8739f9);
  color: white;
  padding: 0.625rem;
}
.radio {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}
.label {
  flex: 1;
  font-size: 0.45rem;
}
.price {
  font-size: 0.5rem;
  font-weight: 600;
}
.input-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 0.25rem 0.5rem 0.25rem 1rem;
  gap: 0.5rem;
}
.placeholder {
  flex: 1;
  color: #c6cacd;
  font-size: 0.5rem;
}
.send {
  width: 24px;
  height: 24px;
  background: #3e2753;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  text-align: center;
}
.text {
  flex: 1;
  z-index: 1;
}
.text h1 {
  color: #3e2753;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.text p {
  color: #a39da9;
  font-size: 0.9rem;
  line-height: 1.7;
}
footer {
  margin-top: 2rem;
  text-align: center;
}
.attribution {
  font-size: 0.75rem;
  color: #6e5d7e;
}
.attribution a {
  color: #8739f9;
  text-decoration: none;
}
.attribution a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  body {
    justify-content: flex-start;
  }
  .page {
    padding: 1rem 1.5rem;
  }
  .content {
    flex-direction: column;
    padding: 2rem 1.5rem 2rem 1.5rem;
    gap: 2rem;
    align-items: center;
  }
  .content::before {
    left: -100px;
    width: 50%;
    height: 50%;
    border-radius: 0 0 12rem 12rem;
  }
  .content::after {
    right: -100px;
    width: 50%;
    height: 50%;
  }
  .phone {
    width: 220px;
  }
  .text {
    text-align: center;
  }
  .text h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
  .text p {
    font-size: 0.875rem;
  }
  .label {
    font-size: 0.4rem;
  }
  footer {
    margin-top: 1rem;
  }
}
