.bg-grey {
  background: #F1F2F3;
}

.bg-white {
  background: #FFFFFF;
}

.bg-red {
  background: #E07252;
}

.bg-dark {
  background: #333333;
}

body {
  margin:0px;
  padding: 0px;
  font-family: "League Spartan";
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  z-index: 1000;
  display: none; 
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:link, a:visited, a:hover, a:focus, a:active {
  text-decoration: none;
}

h1 {
  color: var(--Gray-1, #333);
  margin: 0px auto;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1.44px;
}

h2 {
  color: var(--Gray-1, #333);
  margin: 0px auto;
  font-size: 50px;
  font-size: clamp(36px, 5.5vw, 50px);
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 57.6px */
  letter-spacing: -0.48px;
}

h3 {
  color: var(--Gray-1, #333);
  margin: 0px auto;
  font-size: 40px;
  font-size: clamp(30px, 5.5vw, 40px);
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 57.6px */
  letter-spacing: -0.48px;
}
.head-section-wrapper {
  width: 75%;
  margin: 0px auto;
  padding: 0px;
}

.section-wrapper {
  width: 75%;
  margin: 0px auto;
  padding: 80px 0px;
}

:root {
  --image-width: 50%;
}

/* header */
.pad {
  padding-top: 0px;
}
.padding-bottom {
  padding-bottom: 10px;
}

.header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-item {
  margin: 10px 20px;
  color: var(--Gray-1, #333);
  font-family: "League Spartan";
  font-size: 32px;
  font-weight:bold;
  line-height: 1;
  cursor:pointer;
}

.header-item:first-child {
  margin: auto 30px auto -2%;
}

/* headline */
.headline {
  display:flex;
  justify-content: space-around;
  align-items:center;
  flex-wrap: wrap;
  padding: 30px 0px;
}

.headline-image {
  flex:1.2;
  padding: 30px 10px;
  margin: 0px 10px;
}

.badge-container {
  text-align: left;
  margin-bottom: 2em;
}

.headline-text {
  flex:1;
  margin: 0px 10px;
  padding: 30px 00px;
}

.headline-image {
  position: relative; 
}

.left-image,
.right-image {
  width: var(--image-width);
  min-width: 200px;
  filter: drop-shadow(-16px 16px 32px rgba(0, 0, 0, .1));
}

.left-image {
  display: inline-block;
  margin-left: -6%;
}

.right-image {
  position: absolute;   
  right: 3%;            
  z-index: 1;   
}

.headline-desc {
  margin-top:20px;
  color: var(--Gray-1, #333);
  font-family: "League Spartan";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.36px;
}

.store {
  display:flex;
  justify-content: flex-start;
}

.store a {
  display: inline-flex; 
  align-items: center;

  min-width: 130px;
  padding: 10px;
}
.store a:first-child {
  padding-left:0px;
}

.store img {
  width: 100%; 
  max-width: 260px;
}

@media screen and (max-width: 600px) {
  .nav-tabs ul {
    flex-direction: column;
  }
}

/* feature section */

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

.intro-header, .category-buttons span {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

.category-buttons span {
  text-align: center;
  margin-bottom: 40px;
  background: #666;
  margin: 6px auto;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
  color: white;;
  border-radius: 2em;
  border: none;
  font-family: "League Spartan";
  padding: 0.1em 0.5em;
  transition: color 0.3s ease-in-out;
  white-space: nowrap;
}

.category-button.selected {
  background-color: #E07252;
  animation: bounce 0.5s;
}

span.category-button:hover {
  cursor: pointer;
}

.section-wrapper {
  padding: 20px;
}

/* List of Features Styling */
.list-features {
  display: flex;
  flex-direction: column; 
  gap: 40px;
}

/* Feature Category Styling */
.feature-category {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  border-radius: 4em;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.feature-category.active {
  display: flex;
  flex-wrap: wrap;
  opacity: 1;
  visibility: visible;
}

.category-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  width: 100%; 
  text-align: center;
}

.feature-wrapper {
  display: flex;
  flex-direction: column; 
  align-items: center;
  margin-bottom: 20px;
  font-size: 32px;
  font-size: clamp(24px, 5.5vw, 28px);
  width: calc(33.333% - 20px); 
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-category[data-category="account_creation"] .feature-wrapper {
  width: calc(50% - 20px);
}

.feature-wrapper.visible {
  opacity: 1;
  transform: translateY(0px);
}

.feature-icon {
  flex-shrink: 0;
  margin-bottom: 15px;
}

.feature-text {
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
}

.feature-text p {
  margin-bottom: 10px;
}

.watch-demo {
  font-weight: normal;
  font-size: 20px;
  font-size: clamp(15px, 5.5vw, 20px);
}

/* iPhone Video Container */
.iphone-15 {
  position: relative;
  width: 300px;
  height: 617px;
  filter: drop-shadow(0 1rem .5rem rgba(0,0,0,.25));
  background: url(/images/iphone-15.png) left top / cover no-repeat;  
  margin-right: 25px;
}

.iphone-15:before {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% * 20 / 617);
  left: calc(100% * 107 / 300);
  width: calc(100% * 91 / 300);
  height: calc(100% * 27 / 617);
  background: url(/images/iphone-15-bridge.png) no-repeat;
  background-size: cover;
  z-index: 2;
}

.iphone-15 img, .iphone-15 video {
  position: relative;
  filter: none;
  top: 11px;
  left: 13px;
  width: 275px;
  height: 595px;
  border-radius: 40px;
}


/* faq */
.faq-section {
  display:flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
}

p.language-list {
  font-size: 14px;
  line-height: 18px;
}

.faq-item {
  width: 48%;
}
.faq-left {
  flex: 1;
  padding-right: 5em;
  border-right: .2em solid rgb(227, 226, 226);
}

.faq-right-wrapper {
  flex:1;
  margin-left:20px;
}
.faq-right{
  background: white;
  border-radius: 48px;
  padding-left: 10px;
}

.from-the-blog-title {
  color: var(--Gray-1, #333);
  font-size: 32px;
  font-size: clamp(28px, 5.5vw, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: 110%; 
  margin: 28px 0px;
}

.from-the-blog-desc {
  color: var(--Gray-1, #333);
  margin-top: 0px;
  font-family: "Nunito Sans";
  font-size: 20px;
  font-size: clamp(18px, 5.5vw, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
}

.from-the-blog-readmore {
  color: var(--Gray-1, #333);
  font-family: "Nunito Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  cursor:pointer;
}

.qanda {
  display:flex;
  justify-content: flex-start;
  align-items: base-line;
  padding: 15px 20px 15px 0px;
}

.qanda-text {
  margin: 0px 0px 0px 15px;
  color: var(--Gray-1, #333);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35; 
}

.qanda-index {
  font-family: "League Spartan";
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  line-height: 130%; 
}

.index-wrapper {
  display:flex;
  justify-content: center;
  align-items:center;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  padding: 12px 10px 8px 10px;
  text-align: center;
  background: var(--Yellow, #F2C288);
  box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.10);
}

.qanda-text-answer {
  font-family: "Nunito Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  
}

.qanda-text-answer a{
  color: #E07252;
}

.faq-right-wrapper #socials div {
  margin: 1.5em 0em;
}

.faq-right-wrapper #socials img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

@media only screen and (max-width: 1024px) { 
  .faq-right-wrapper #socials img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }

  .faq-left {
    flex: 1;
    padding-right: 0;
    border-right: none;
  }
}

/* footer */
.footer {
  display:flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  flex:1.15;
  margin: 10px;
}

.footer-right {
  text-align: right;
  flex:1;
}

.footer-right-graphic {
  width: 60%;
  min-width: 200px;
}

.footer-desc {
  color: var(--White, #FFF);
  margin: 15px auto;
  font-size: 36px;
  font-size: clamp(20px, 5.5vw, 36px);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 46.8px */
  letter-spacing: -0.36px;
}

.store-footer {
  display:flex;
  justify-content: flex-start;
}

.store-footer a {
  display: inline-flex; 
  justify-content: flex-start; 
  align-items: center;
  min-width: 130px;
  
}

.store-footer a:last-child {
  margin-left: -35px;
}

.store-footer img {
  width: 80%;
  max-width: 280px;
}

.footer-notify {
  color: #FFF;
  /* Blog Body */
  font-family: "Nunito Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-email, .form-email-pricelockin {
  display:flex;
  width:100%;
  font-family: "Nunito Sans";
  justify-content: flex-start;
}

.email {
  -webkit-appearance: none;
  font-size:20px;
  display: flex;
  font-size:20px;
  height: 59px;
  width: 500px;
  min-width: 180px;
  border-radius: 12px 0px 0px 12px;
  background: var(--White, #FFF);
  border:none;
  align-items:center;
  margin:0px;
  padding: 0px 0px 0px 20px;
}

.submit {
  -webkit-appearance: none;
  font-size:20px;
  font-weight:bold;
  display: flex;
  margin: 0px;
  padding:0px;
  height: 59px;
  width: 91px;
  justify-content: center;
  align-items: center;
  border-radius: 0px 12px 12px 0px;
  border:none;
  background: var(--Light-Primary, #F26940);
  color:white;
  cursor:pointer;
}

.other-info {
  display:flex;
  justify-content: space-between;
  color:#BDBDBD;
  margin-top: 40px;
  font-size: 20px;
  font-family:'Nunito Sans', sans-serif;
}

.other-info-right {
  display:flex;
  justify-content: space-evenly;
}

.other-info-right-item {
  margin:0px 10px;
}

/* demo video */
#unique{
  position: fixed; 
  display: none; 
  width: 100%; 
  height: 100%; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); 
  z-index: 2; 
  cursor: pointer; 
}
.demo:hover {
  cursor: pointer;
}
#vid {
   width: 27%;
   height:300;
}

#dialog-thank{
  position:fixed;
  top:30%;
  text-align:center;
  border:none;
  margin:0 auto;
  max-width: calc(100% - 32px);
  padding: 20px;;
  border-radius: 32px;
}

#close-dialog {
 padding:15px 20px 15px 20px;
 border:none;
 border-radius:20px;
 color:white;
 background:#E98263;
 margin-top:10px;
}

#close-dialog:hover {
  cursor: pointer;
}

/* for blog list */
.blog-list-wrapper{
  padding: 35px 0px;
}
.blog-list {
  padding: 40px 0px;
}

/* for team */
.team-wrapper {
  padding: 30px 0px;
}

.team-wrapper .role {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 200;
}

.team-page.desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 30px 0px;
}

.team-page.mobile {
  display: none;
}

.team-column {
  display: flex;
  flex-direction: column;
}

.team-member {
  text-align: center;
  line-height: 1.35;
  margin-bottom: 35px;
  background: #cccccc4f;
  border-radius: 20px;
  padding: 2em;
  margin: 2em;
  box-sizing: border-box;
}

.team-member.highlight {
  background: #fbe3c19c;
}

.team-member-top {
  display: flex;
  align-items: center;
  text-align: left;
  margin-bottom: 16px;
}

.team-member-photo {
  height: 6em;
  width: auto;
  border-radius: 20%;
  margin-right: 20px;
}

.team-member-name {
  margin-bottom: 0;
  font-size: 2em;
  font-weight: bold;
}

.team-wrapper .role {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #666;
}

.text-page-body {
  font-size: 20px;
  font-weight: normal;
  text-align: left;
}

p.bio {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  /* Switch to mobile layout */
  .team-page.desktop {
    display: none;
  }

  .team-page.mobile {
    display: block;
  }

  .team-column {
    flex: 1 1 100%;
  }

  .team-member{
    margin: 1em 0em;
  }

  .team-member-photo {
    height: 5em;
    margin-right: 1em;
  }

  .team-member-name {
    font-size: 1.5em;
  }

  .team-member .role {
    font-size: 1.2em;
  }
}

/* blog content */
.blog-content-wrapper {
  padding: 30px 0px;
  width: 60%;
  margin:auto;

  a {
    color: #E07252;
  }
}

.blog-content-wrapper .highlight {
  text-align: center;
  font-size: 2em;
}

.blog-author-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 0px;
}

.blog-author-photo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.author-desc {
  margin-left: 20px;
  line-height: 1.25;
  font-size: 20px;
  font-size: clamp(13px, 5.5vw, 20px);
}

.blog-content-desc {
  font-size: 20px;
  font-size: clamp(15px, 5.5vw, 20px);
  line-height: 1.35;
  font-family:'Nunito Sans', sans-serif;
}

.sub-content-block{
  padding: 30px 0px;
}

.sub-content-block p{
  margin: 0;
}

.blog-sub-header-1 {
  display: flex;
  align-items: center;
}

.blog-sub-header-1 img {
  max-width: 50%;
}

.blog-sub-header-desc-1{
  flex-grow: 1;
  padding-left: 20px;
}

.blog-sub-header-2 {
  display: flex; 
  flex-direction: column; 
  align-items: center;
  padding-top:15px
}

.blog-sub-header-2 img {
  margin-bottom: 2em; 
}

.share-icons-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 0px;
}

.share-icon{
  filter: drop-shadow(8px 8px rgba(0, 0, 0, 0.1));
  transition: filter 0.2s, transform 0.2s;
}

.pointer {
  cursor: pointer;
  padding: 0px 20px;
}
.pointer:hover .share-icon {
  filter: drop-shadow(4px 4px rgba(0, 0, 0, 0.1));
  transform: translateY(2px);
}

.page-content p {
  font-size: 20px;
  line-height: 1.35;
}

.page-content .sub-header {
  font-size: 24px;
  text-decoration: underline;
}

.page-content .sub-inner-header {
  font-size: 20px;
  font-style: italic;
  text-decoration: underline;
}

li{
  font-size: 20px;
  padding: 5px 0px;
}

.sub-text {
  margin-left: 20px;
}

.note {
  margin-top: 10px;
}

.data-category {
  margin-left: 10px;
}

.text-underline {
  text-decoration: underline;
}

.text-bold {
  font-weight: bold; 
}

.shared-data-categories {
  margin-left: 20px;
}

.requested-info {
  margin-left: 10px;
}

.email-link {
  font-weight: bold;
}


h3.blurb {
  color: #F27D5A;
}

@media only screen and (min-width: 1700px) {
  .head-section-wrapper {
    width: 60%;
  }
  .section-wrapper {
    width: 60%;
  }
}

@media only screen and (max-width: 1024px) {
  .headline {
    flex-direction: column;
    padding-top: 20px 0px;
  }

  .intro-header,  .category-buttons span {
    font-size: 28px;
    text-align: center;
  }

  .list-features{
    flex-direction: column;
    margin-top:0px;
  }

  .feature-wrapper, .feature-category[data-category="account_creation"] .feature-wrapper  {
    margin-top:0px;
    width:100%;
    flex-wrap:wrap;
    padding: 15px 0px;
    flex-direction:column !important;
  }

  .feature-wrapper:nth-child(even){
    margin-left: 0px;
    flex-direction: row-reverse;
  }  

  #vid {
    width:50%;
    height:300;
  }

  .footer-right {
    display:none;
  }

  .team-member {
    width: 100%;
    margin-right: 0 !important; 
  }

  .blog-sub-header-1 {
    flex-direction: column;
  }

  .blog-sub-header-1 img {
      max-width: 100%;
  }

  .blog-sub-header-desc-1{
      padding-left: 0; 
  }
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 64px;
  }

  .headline {
    padding: 10px 0px;
  }

  .header-item {
    margin: 10px 20px;
    font-size: 16px;
  }

  .header-graphic{
    width: 80%;
    min-width: 150px;
  }

  .feature-wrapper {
    flex-direction:column !important;
  }

  .feature-icon img {  /* added for png with 3x */
    height: 550px;
  }

  .faq-section {
    flex-direction: column;
  }

  .faq-right-wrapper {
    margin-left:0px;
    margin-top: 20px;
  }

  .email {
    width: 350px;
  }
  .blog-content-wrapper {
    width: 95%;
  }

  .other-info {
    padding: 0px;
    flex-direction: column-reverse;
    justify-content: flex-start;
  }
  
  .other-info-right {
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 0px;
  }

  .other-info-right-item {
    margin: 0px;
    padding: 5px 0px;
  }
}

@media only screen and (max-width: 550px) { 
  .section-wrapper {
    width: 90%;
    padding: 60px 0px;
  }

  h1{
    font-size:44px;
  }

  .headline-desc {
    font-size:24px;
  }

  .header {
    justify-content:center;
  }

  .header-item{
    margin: 10px;
  }

  .header-item:first-child {
    margin: auto;
  }
  .headline-image {
    margin:0px;
    padding:0px;
  }

  .right-image {
    right: 1%;                   
  }

  .feature-text p {
    margin-bottom: 5px;
  }
  .form-email {
    justify-content: center;
  }

  .email {
    width: 220px;
  }
}
@media only screen and (max-width: 400px) {
  .left-image {
    margin-left: -10%;
  }

  .right-image {
    right: 5%;                   
  }
} 

@media only screen and (max-width: 300px) { 
  .section-wrapper {
    width: 95%;
  }

  .header-item {
    margin: 10px 5px;
    font-size: 13px;
  }

  .store {
    flex-direction: column;
    justify-content: center;
  }

  .store a {
    width: 80%;
    min-width: 100px;
    text-align: center;
  }
  
  .store img {
    width: 90%;
  }

  .headline-desc {
    font-size: 24px;
  }

  .headline-text {
    padding: 0px 10px;
    margin:0px;
  }
  
  .feature-icon img {
    width: 250px;
    height:auto;
  }

  .email {
    width: 180px;
  }
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  width: 100%;
  overflow: hidden; /* Hide overflow content */
}

.testimonials-header {
  width: 100%;
  text-align: center;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial {
  flex: 0 0 100%; /* Take full width, no shrinking or growing */
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 9em;
  transition: opacity 0.3s ease;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 2em;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background: #E07252;
}

.carousel-button {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  font-size: 3em;
}

.carousel-button:hover {
  background: rgba(0, 0, 0, 0.5);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  z-index: 1;
  flex-direction: column;
  text-align: center;
}

.testimonial-author-pic {
  width: 6em;
  height: 6em;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-author-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Author's name styling */
.testimonial-author-name {
  font-weight: bold;
  color: #333;
  font-size: 20px;
  text-align: right;
}

/* Quote styling */
.testimonial-quote {
  font-size: 20px;
  line-height: 1.3;
  color: #555;
  background: white;
  padding: 2em 4em;
  margin-left: -3em;
  border-radius: 2em 2em 2em 0em;
  position: relative;
}

.testimonial-quote span {
  opacity: 0;
  transition: opacity .2s linear;
  display: none;
}

.testimonial-quote span.active{
  display: inline;
  opacity: 1;
  transition: opacity .2s linear;
}

.translation-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  border-radius: 20%;
  cursor: pointer;
  z-index: 2;
  border: 1px solid #efd2c0;
}

.translation-toggle.active {
  background-color: #FFE9DB;
}

.translation-toggle img {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  #description {
    .section-wrapper {
      width: 100%;
      margin: 0 auto;

      div {
        width: 92%;
      }

      .step {
        display: block;
  
        img {
          max-width: 75%;
        }
      }
    }   
  }

  .testimonial {
    padding: 0 0;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .testimonial-author {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .testimonial-quote {
    margin-left: 0;
    margin-top: -3em;
    padding: 3em 2em 1em 2em;
  }
  
  .carousel-button {
    width: 1em;
    height: 1em;
  }
}

@keyframes scroll-up {
  0% {
      transform: translateY(100%); /* Start below the visible area */
      opacity: 0; /* Hidden */
  }
  10% {
      transform: translateY(0); /* Fully visible */
      opacity: 1; /* Fully opaque */
  }
  75% {
      transform: translateY(0); /* Stay in place */
      opacity: 1; /* Fully opaque */
  }
  100% {
      transform: translateY(-100%); /* Move out of view above */
      opacity: 0; /* Fade out */
  }
}

.pricing {

  .content-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;

    &.visible { 
        opacity: 1;
        transform: translateY(0);
    }
  }

  button {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(to right, #E07252, #0681b5);
    opacity: 0.7;
    margin: 6px auto;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.48px;
    color: white;
    border-radius: 2em;
    border: none;
    font-family: "League Spartan";
    padding: 0.1em 0.5em;
    transition: color 0.3s ease-in-out;
    white-space: nowrap;
  }

  /* Only enable hover effect for active buttons (not disabled) */
  /* Wrapper for the button and tooltip */
  .price-button-wrapper {
    position: relative;
    display: inline-block;
  }

  /* Style for inactive buttons */
  button:disabled {    
    opacity: 0.3;
    cursor: not-allowed; /* Show a disabled cursor */
  }

  /* Tooltip styling */
  .price-button-wrapper::after {
    content: attr(data-hover-text); /* Get the tooltip text from the data attribute */
    position: absolute;
    bottom: 100%; /* Position the tooltip above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px;
    border-radius: 1em;
    opacity: 0;
    white-space: nowrap; /* Prevent the tooltip from breaking into a new line */
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1;
  }

  /* Show the tooltip on hover of the wrapper */
  .price-button-wrapper:hover::after {
    opacity: 1;
  }

  /* Hover style for active (not disabled) buttons */
  .price-button:not(:disabled):hover {
    opacity: 1;
    cursor: pointer;
    background: linear-gradient(to right, #E07252, #0681b5); /* Hover gradient */
  }
  
  text-align: center;

  #translated-hello {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    height: 1em; /* Adjust based on your text size */
    line-height: 1.1em;
  }

  mark {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
      to right,
      rgba(255, 225, 0, 0.1),
      rgba(255, 225, 0, 0.7) 4%,
      rgba(255, 225, 0, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .boosted {
    background: linear-gradient(to right, #5fa4c2 38%, #0681b5 68%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;  
    background-clip: text;
    text-fill-color: transparent;
    white-space: nowrap;
  }

  #now-available {
    padding: 1em;
    color: white;
    background-color: #E07252;
    border-radius: 3em; 
  }

  h2 {
    font-size: 3em;
  }

  h3 {
    width: 75%;
    line-height: normal;
    font-weight: 300;
    color: #333;
    font-size: xx-large;
  }

  #boosted-intro {
    background-color: #000;
    border-radius: 1em;
    color: #fff;
    text-align: center;
    margin-bottom: 1em;
  }
  
  video {
    width: 285px;
    height: 590px;
    background: black;
    border-radius: 39px;
    padding-top: 4px;
    padding-left: 1px;
  }

  .media-text-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
  }

  .media-side {
      flex: 1;

      img {
        max-width: 285px;
      }
  }

  #wingman {
    .media-side img {
      max-width: 700px;
    }
  }

  .text-side {
      flex: 1;
  }

@media (max-width: 768px) {

  .media-text-split {
    flex-direction: column;
    gap: 2rem;
  }

  .media-text-split.reverse {
    flex-direction: column-reverse;
}

  .pricing-header-and-video {
      flex-direction: column;
  }

  #pricing-header h2{
    font-size: 3em; 
  }
}

  #video-wrapper {
    border-radius: 2.5em;
    width: fit-content;
    padding: .1em;
    text-align: center;
  }
  
  #v2v {
    color: #E07252;
    text-decoration: underline;

    &:hover {
      cursor: pointer;
    }
  }

  .tier.highlight {
    background: #fbe3c19c;
  }

  #pricing-buttons {
    margin: 3em 0;
  }

  .form-email-pricelockin {
    justify-content: center;
  }

  #email {
    background: #F1F2F3;
  }

  .tier-comparison {
    display: flex;
    justify-content: center;
    margin: 2em 0;
  }

  .tier {
    background: #F1F2F3;
    border-radius: 2em;
    width: 40%;
    border: 0;
    margin: 0 2em;
    padding: 2em;
  }

  h2 {
      text-align: center;
  }

  ul {
      list-style-type: none;
      padding: 0;
      text-align: left;
  }

  li {
    font-size: 1.5em;
    font-weight: 300;
    padding: .5em 0;
  }

  #email-input {
    display: flex; /* Ensure it's flex but initially hidden with height */
    overflow: hidden; /* Ensures content doesn't overflow */
    max-height: 0; /* Start with max-height 0 to hide it */
    opacity: 0; /* Start with opacity 0 for a smooth fade-in effect */
    transition: max-height 0.5s ease, opacity 0.5s ease; /* Smooth transition */
  }

  #email-input.show {
    max-height: 200px;
    opacity: 1;
    margin: 4em 0;
  }
}

/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed positioning so the modal is relative to the viewport */
  z-index: 1;
  left: 0;
  width: 100%;
  height: 100%;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Shift the modal itself to center it */
  background-color: rgba(0,0,0,0.5); /* Semi-transparent background */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Optional shadow for better visibility */
}

/* Modal content (the video player) */
.modal-content {
  position: fixed; /* Fix the modal content position */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust position to perfectly center */
  padding: 20px;
  width: 80%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Optional shadow for better visibility */
}

/* Close button (the "X" icon) */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .pricing {
    h3 {
      font-size: x-large;
    }

    .boosted {
      white-space: normal;
    }

    .tier-comparison {
      display: block;
      justify-content: center;
      margin: 2em 0;
    }

    .tier {
      background: #F1F2F3;
      border-radius: 2em;
      width: 80%;
      border: 0;
      margin: 0;
    }

    .tier + .tier {
      margin-top: 1em;
    }

    li {
      font-size: 1.2em;
    }

    button {
      font-size: 2rem;
    }
  }
}
@keyframes voice-border-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gradient-border-animation {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}


#description {
  text-align: center;
  margin-bottom: 2em;

  div {
    margin: 0 auto;
  }
  .number {
    background: gray;
    border-radius: 3em;
    color: white;
    font-size: 4em;
  }

  span {
    font-size: 2em;
  }

  .index-wrapper {
    display: inline-flex;
  }

  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem
  }

  .step + .step {
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .step div {
    display: flex;
    flex-direction: column; /* Stack number above text */
    align-items: center; /* Center align */
    text-align: center; /* Ensure text is centered */
    margin-bottom: 20px; /* Add spacing between steps */
  }

  .step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }

  .step.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .step-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .step img {
      flex: 1;
      max-width: 25%;
      height: auto;
  }
  
  .number {
    display: inline-flex;
    font-size: 3empx; /* Adjust size */
    font-weight: bold;
    color: #333;
    margin-bottom: .4em; /* Space between number and text */
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    padding: 12px 10px 8px 10px;
    text-align: center;
    background: var(--Yellow, #F2C288);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.10);
  }
  
  .plus {
    padding: 12px 10px 8px 10px;
    text-align: center;
    background: var(--Yellow, #ffffff);
    box-shadow: 4px 4px 0px 14px #FBE3C1;
    border-radius: 75%;
  }

  video {
    border-radius: 1em;
  }
  
}

#voice-demo {
  justify-content: center;
  align-items: center;
  padding: 4em 0;
  background-image: linear-gradient(#ffffff, rgba(0, 0, 0, .2)), url(/images/v2v-demo/v2v-background.png);
  background-position: 50% 50%;
  background-size: 100% 100%;
  background-repeat: repeat-x;
  transition: height 0.5s ease, padding 0.5s ease;
  box-sizing: border-box;
  
  .two-column-layout {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    align-items: flex-start; /* Aligns items at the top */
    gap: 20px; /* Adds space between the columns */
  }

  h2 {
    text-align: center;
  }

  .demo-header {
    flex: 0 0 30%; /* Takes up 30% of the width */
    margin-left: 15em;
    text-align: right;
  }

  .demo-header h3{
      text-align: right; /* Aligns text to the left */
      color: black;
  }

  .demo-header a {
    text-align: right;
    color: rgba(255, 255, 255, 0.732);
    font-size: 2em;
    display: block;
    margin-top: 1em;

    &:hover {
      color: white;
    }
  }

  .demo-header a:hover {
    cursor: pointer;
  }

  .voice-radio-group {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to new rows */
    justify-content: center;;
    gap: 10px; /* Space between buttons */
}

.voice-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    padding: 10px 15px;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    width: fit-content;
}

.voice-radio input {
    display: none; /* Hide the default radio input */
}

/* Change style when selected */
.voice-radio:has(input:checked) {
    background-color: #0681b5;
    border-color: #0681b5;
    color: #fff;
    font-weight: bold;
}

.voice-radio:has(input:checked) span {
    color: #fff;
}

/* Move items with 'second-row' class to the next line */
.second-row {
  flex: 0 0 auto; /* Prevent second-row buttons from expanding */
  display: inline-flex; /* Align naturally with fit-content */
  justify-content: center; /* Center buttons in their row */
}

/* Optional: Add more styling for second-row items */
.second-row .voice-radio {
    background-color: #f1f1f1; /* Slightly different background */
    border-color: #e0e0e0;
}
  
  #demo-section {
      display: none;
      font-size: 20px;
  }

  #auth-section {
      display: flex;
      flex-direction: column;
      align-items: center;

      #login-google {
        max-width: 50%;
      }
  }
  
  .section-wrapper {
    flex: 1; /* Takes the remaining width */
    border-radius: 15px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.5); /* Inner content background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 30%;
    z-index: 1;
    overflow: hidden; /* Clip the pseudo-element */
    box-sizing: border-box;
    padding: 1em 2em;
    margin-left: 3em;
  }

  .section-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #ffffff 38%, #0681b5 68%);
    background-size: 200% 200%;
    animation: gradient-border-animation 5s ease infinite;
    z-index: -1;
    border-radius: 15px; /* Extend the radius for the border */
    padding: 5px; /* Border thickness */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-sizing: border-box;
  }
  .demo-header {
      margin-bottom: 20px;
  }

  p {
      font-size: 20px;
      margin-bottom: 10px;
  }

  div.script {
    background: #e6e6e67d;
    padding: .6em 2em;
    line-height: 1.2;
    border-radius: 1em;
  }

  .script p{
    text-align: left;
  }

  #auth-section, #demo-section {
      margin-top: 20px;
  }

  #message-input {
      width: 97%;
      margin-top: 10px;
      padding: 10px;
      border-radius: 10px;
      resize: none;
      font-size: 20px;
      border: 0;
  }

  form {
      margin-top: 20px;
  }

  label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      text-align: left;
  }

  .char-count {
    font-size: 0.9em;
    color: black;
    margin-top: 5px;
    text-align: right;
  }

  select {
    border: 0;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    border-right: 16px solid transparent
  }

  select:focus {
    outline: none;
    border-color: #0681b5;
  }

  button {
      width: 100%;
      margin-top: 10px;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
  }

  .demo-button {
      background: #000;
      color: white;
      font-weight: bold;
      border: none;
  }

  .flex-container {
      display: flex;
      gap: 20px;
      justify-content: space-between;
      margin-top: 20px;
  }

  .flex-container div {
      flex: 1;
  }

  audio {
      margin-top: 20px;
  }

  #usage-limit {
      margin-top: 10px;
      font-size: 14px;
      color: #555;
  }

  #recordButton {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    background-color: #E07252; 
    position: relative;
    background-image: url('/images/v2v-demo/mic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.3s ease;
  }

  #recordButton:hover {
    background-color: #ac5034; 
  }

  #recordButton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(
        from 0deg,
        #E07252,
        #0681b5,
        #E07252
    );
    background-size: 200% 200%;    
    z-index: -1;
    border-radius: 5em;
    padding: 5px; /* Border thickness */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-sizing: border-box;
  }

  #recordButton.record-on {
    background-image: url('/images/v2v-demo/stop.png');
  }

  #recordButton.record-on::before {
    animation: voice-border-animation 3s ease infinite;
    z-index: 1;
  }

  input {
      margin-right: 10px;
  }

  #audio-playback {
      display: block;
      margin-top: 10px;
  }

  #error-message, #info-message {
      margin: 10px 0;
  }

  .error-message {
    color: #ffffff;
    display: none;
    background: #be06067a;
    padding: 1em;
    border-left: 1em solid #8b0000;
  }

  #recordingStatus {
      display: block;
      margin-left: 10px;
      font-size: 0.95em;
  }

  .loading {
      opacity: 0.6;
      cursor: wait;
  }

  #audioPlayer {
      display: none;
  }

  .clone-voice-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center */
    justify-content: center; /* Vertically center */
    text-align: center; /* Center text content */
  }

  #button-container, #audio-section {
    margin: 20px 0;
  }

  button {
    margin-top: 10px;
  }

  audio {
      margin: 10px 0;
  }

  #recording-hint {
    margin-top: 10px;
    font-size: 0.85em;
    color: #666;
  }

  #clone-voice-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed positioning so the modal is relative to the viewport */
    z-index: 1010;
    left: 0;
    width: 35%;
    height: auto;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Shift the modal itself to center it */
    background-color: white; /* Semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Optional shadow for better visibility */
    padding: 3em;
    overflow-y: auto;
    max-height: 90%;
  }

  .center-content {
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Horizontally center */
    justify-content: center; /* Vertically center */
    margin: 20px 0; /* Add spacing */
}

/* Style the audio player */
audio {
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
    outline: none;
    border-radius: 5px;
}

/* Style for buttons */
button {
    margin: 10px 5px;
    padding: 10px 15px;
    font-size: 0.9em;
    border: none;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button + button {
    margin: 0px 5px;
  }

  button:disabled {
      background-color: #cccccc;
      cursor: not-allowed;
  }

  button:hover:not(:disabled) {
      background-color: #0681b5;
  }
  
}

@media (max-width: 768px) {
  #voice-demo {
    height: fit-content;
    padding: 4em 0;
    background-size: auto 100%;

    &.expanded {
      height: fit-content;
    }

    .flex-container {
        flex-direction: column;
        gap: 10px;
    }

    .two-column-layout {
        flex-direction: column;
        align-items: center;
    }

    .demo-header, .section-wrapper {
      flex: 1 1 100%;
      text-align: center;
      margin: auto;
      max-width: 100%;
    }

    .demo-header h2, .demo-header h3, .demo-header a {
      text-align: center;
    }

    .demo-header a{
      font-size: 1.5em;
    }

    .flex-container div {
        flex: 1 1 100%;
    }

    button, select, #message-input {
        font-size: 14px;
        padding: 8px;
    }

    .auth-button {
      width: 80%;
    }

    #clone-voice-modal {
      width: 75%;
      padding: 1em;

      div.script {
        padding: 0.6em 1em;
      }

      p {
        font-size: 14px;
      }

      #recordButton {
        width: 5em;
        height: 5em;
      }
    }
  }
}
