/* override */

.web-toolbar {
  display: none;
}

/* onboarding */

.onboard-header {
  display: none;
  text-align: center;
  padding: 2px 0px 0px 0px;
  position: relative;
  position: sticky;
  top: 0px;
  z-index: 1000; /* Above iOS overlay and blocker */
}
.onboard-header-inner {
  max-width: 455px;
  margin: 0px auto;
  padding: 0px;
  position: relative;
}
@media (min-width: 600px) {
  .onboard-header-inner {
    max-width: 420px;
  }
}
.onboard-header .logo {
  transform: scale(0.85) translateY(-5px);
  padding-bottom: 2px;
}

.onboard-header-skip {
  position: absolute;
  top: 50%;
  right: 19px;
  transform: translateY(-23%);
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.6;
}
.onboard-header-skip b {
  font-weight: 600;
}

.onboard-progress-container {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  display: none;
  max-width: 420px;
  margin: 7px auto 0px auto;
  padding: 0px 16px;
}
.onboard-progress-container-back {
  top: 0px;
  margin-top: 0px;
  margin-bottom: -8px;
}

.onboard-container-web .onboard-progress-container {
  
}

.onboard-back,
.onboard-back div {
  width: 36px;
  height: 36px;
}
.onboard-back {
  background: var(--bg5);
  border-radius: 100px;
  flex-shrink: 0;
  margin-right: 2px;
  cursor: pointer;
  display: none;
}
.onboard-back div {
  background: transparent
    url("https://files.sobrief.com/public/icon-arrow-left.png") no-repeat 50%
    50%;
  background-size: 14px;
  filter: var(--image-invert);
}

.onboard-language {
  position: absolute;
  display: inline-block;
  display: none;
  height: 31px;
  width: auto;
  top: 16px;
  right: 20px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;
  color: var(--text-color);
  background: var(--bg5);
  padding: 10px 12px 6px 33px;
  border-radius: 100px;
  cursor: pointer;
  z-index: 2;
}
.onboard-container-web .onboard-language {
  left: 20px;
  right: auto;
}
.onboard-language span {
  display: block;
  width: 17px;
  height: 17px;
  position: absolute;
  top: 7px;
  left: 11px;
  background: transparent url("https://files.sobrief.com/public/icon-lang.png")
    no-repeat 50% 50%;
  background-size: 17px;
  filter: var(--image-invert);
}
.onboard-language b {
  font-weight: 500;
}

.onboard-language-select {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.onboard-progress-container-back .onboard-back {
  display: block;
}

.onboard-progress-wrap {
  flex-grow: 1;
  padding: 0px 2px;
}
.onboard-progress-container-back .onboard-progress-wrap {
  padding: 0px 12px;
}
.onboard-progress {
  height: 3px;
  background: transparent;
  width: 100%;
  margin: 0px 0px 0px 0px;
}

/* Legacy single progress bar (for fallback) */
.onboard-progress > div:not(.onboard-progress-sections) {
  height: 3px;
  border-radius: 100px;
  background: var(--onboard-progress-bg);
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  width: 0%;
  transition: width 0.2s ease;
}

/* Sectional Progress Bar */
.onboard-progress-sections {
  display: flex;
  gap: 3px;
  width: 100%;
  align-items: center;
}

.onboard-progress-sections .onboard-progress-section {
  flex: 1;
  height: 4px;
  background: var(--bg5);
  border-radius: 0px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  width: auto !important; /* Override any conflicting width rules */
}

.onboard-progress-sections .onboard-progress-section:first-child {
  border-radius: 100px 0px 0px 100px;
}

.onboard-progress-sections .onboard-progress-section:last-child {
  border-radius: 0px 100px 100px 0px;
}

.onboard-progress-sections .onboard-progress-section:first-child:last-child {
  border-radius: 100px;
}

.onboard-progress-sections .onboard-progress-section-fill {
  height: 100%;
  width: 0%;
  border-radius: 0px;
  transition: width 0.4s ease;
  position: relative;
  background-repeat: no-repeat;
}

.onboard-progress-sections .onboard-progress-section:first-child .onboard-progress-section-fill {
  border-radius: 100px 0px 0px 100px;
}

.onboard-progress-sections .onboard-progress-section:last-child .onboard-progress-section-fill {
  border-radius: 0px 100px 100px 0px;
}

.onboard-progress-sections .onboard-progress-section:first-child:last-child .onboard-progress-section-fill {
  border-radius: 100px;
}

/* Progress section states */
.onboard-progress-sections .onboard-progress-section.active {
  background: var(--bg4);
  transform: scale(1.05);
}

.onboard-progress-sections .onboard-progress-section.completed {
  background: var(--bg4);
}

.onboard-progress-sections .onboard-progress-section.completed .onboard-progress-section-fill {
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
}

/* Enhanced visual for active section */
.onboard-progress-sections .onboard-progress-section.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, rgba(255, 107, 107, 0.3), rgba(255, 167, 38, 0.3));
  border-radius: 100px;
  z-index: -1;
}

/* Dark theme adjustments */
.theme-dark .onboard-progress-sections .onboard-progress-section {
  background: rgb(50, 50, 50);
}

.theme-dark .onboard-progress-sections .onboard-progress-section.active,
.theme-dark .onboard-progress-sections .onboard-progress-section.completed {
  background: rgb(60, 60, 60);
}

.theme-dark .onboard-progress-sections .onboard-progress-section.active::after {
  background: linear-gradient(90deg, rgba(255, 107, 107, 0.2), rgba(255, 167, 38, 0.2));
}

.onboard-footer {
  position: fixed;
  left: 0px;
  /*
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  bottom: 30px;*/
  bottom: 0px;
  width: 100%;
  background: var(--page-bg);
  z-index: 1000;
  padding: 16px 17px 16px 17px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  text-align: center;
  box-shadow: 0px -1px 7px -2px rgba(0, 0, 0, 0.1);
  box-shadow: none;
  display: none;
  /*
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(var(--page-bg-colors), 0.6);*/
}
.onboard-footer-inner {
  max-width: 375px;
  margin: 0px auto;
}
@media (min-width: 600px) {
  .onboard-footer-inner {
    padding-bottom: 20px;
  }
}

.onboard-footer-transparent {
  background: transparent;
}


.onboard-wrap {
  max-width: 455px;
  margin: 0px auto;
  padding: 0px 20px 0px 20px;
}
@media (min-width: 600px) {
  .onboard-wrap {
    max-width: 420px;
  }
}

.onboard-container {
  display: block;
}

.onboard-container-web .onboard-wrap {
  padding: 0px 20px 20px 20px;
}

.onboard-section {
  display: none;
  padding-bottom: 30px;
}
.onboard-wrap-native .onboard-section {
  padding-bottom: 0px;
}
#onboard_page_32 {
  padding-bottom: 0;
}

.onboard-heading,
.onboard-heading2,
.onboard-heading3 {
  font-size: 22px;
  line-height: 30px;
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  padding: 25px 0px 10px 0px;
  text-align: center;
}
.onboard-heading2 {
  font-size: 26px;
  line-height: 34px;
  padding-bottom: 0px;
}
.onboard-heading3 {
  font-size: 25px;
  line-height: 33px;
  padding-bottom: 0px;
}
.onboard-heading-no-tagline {
  padding-bottom: 22px;
}
.onboard-intro-heading,
.onboard-intro-heading2 {
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  padding: 27px 0px 20px 0px;
  text-align: left;
  color: var(--text-color);
  
  font-size: 52px;
  line-height: 51px;
  font-size: 40px;
  line-height: 46px;
  font-family: var(--font-serif);
  letter-spacing: -1px;
}
.onboard-intro-heading2 {
  padding: 15px 0px 10px 0px;
}
.onboard-intro-video {
  margin: 10px 0px 30px 0px;
  text-align: center;
}
.onboard-intro-video video {
  width: 100%;
  max-width: 350px;
}
.onboard-subheading {
  font-size: 15px;
  line-height: 23px;
  font-weight: 500;
  opacity: 0.55;
  opacity: 1;
  text-align: center;
  padding: 17px 0px 10px 0px;
}
.onboard-text {
  font-size: 14px;
  line-height: 23px;
  font-weight: 500;
  opacity: 1;
  text-align: center;
  padding: 18px 0px 0px 0px;
}
.onboard-text2 {
  font-size: 15px;
  line-height: 23px;
}
.onboard-text ol {
  padding-left: 20px;
}
.onboard-text ol li {
  padding: 0px 0px 20px 5px;
}
.onboard-tagline {
  font-size: 15px;
  line-height: 23px;
  font-size: 16px;
  line-height: 23px;
  color: var(--text-color);
  padding: 0px 0px 10px 0px;
  text-align: left;
  opacity: 1;
  color: var(--text-color2);
}
.onboard-tagline-swipe {
  font-size: 16px;
  line-height: 22px;
  padding: 11px 14px;
  text-align: left;
  opacity: 1;
  color: var(--text-color);
  font-family: var(--font-sans);
  border-radius: 12px;
  background: var(--bg3);
  margin: 15px 0px 28px 0px;
  margin: 14px 0px 26px 0px;
  border: 0px solid var(--border-color3);
}
.theme-light .onboard-tagline-swipe {
  border: none;
}
.onboard-tagline b {
  font-weight: 600;
  color: var(--text-color);
  font-size: 20px;
  position: relative;
  top: 1px;
}
.onboard-screenshot {
  text-align: center;
  padding: 20px 0px 5px 0px;
}
.onboard-screenshot img {
  display: inline-block;
  max-width: 100%;
  max-height: 200px;
  border-radius: 16px;
}
.onboard-screenshot video {
  border-radius: 40px;
  overflow: hidden;
  max-width: 100%;
  max-height: 600px;
}

.onboard-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  /*
  min-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  */
  text-align: center;
  padding: 30px 0px 0px 0px;
}
@media (min-width: 380px) {
  .onboard-screen {
    padding-top: 30px;
  }
}
.onboard-screen img {
  display: flex;
  max-width: 64%;
  border-radius: 30px;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.15);
}
@media (min-width: 600px) {
  .onboard-screen img {
  }
}

.onboard-screen-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.onboard-screen-dot {
  width: 9px;
  height: 9px;
  border-radius: 100px;
  background: var(--bg5);
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.4s ease;
}
.theme-dark .onboard-screen-dot {
  background: rgb(50, 50, 50);
}
.onboard-screen-dot-active {
  background: var(--text-color) !important;
  transform: scale(1.2);
}

.onboard-link {
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  margin: 20px 0px 7px 0px;
  text-align: center;
  cursor: pointer;
}
.onboard-link b {
  font-weight: 600;
}

.onboard-button-info {
  font-size: 12px;
  color: var(--text-color2);
  text-align: center;
  padding: 0px 0px 15px 0px;
}

.onboard-box {
  margin-top: 10px;
  padding: 20px 30px 25px 30px;
  background: var(--box-bg);
  border: 1px solid var(--box-border);
  border-radius: 16px;
  box-shadow:
    rgba(0, 0, 0, 0.04) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px 0px,
    rgba(0, 0, 0, 0.04) 0px 10px 20px 0px;
}
.onboard-box-centered {
  text-align: center;
}

.onboard-info {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.55;
  text-align: center;
  padding: 18px 0px 5px 0px;
}

.onboard-button-full {
  width: 100%;
  border-radius: 100px;
  background: var(--filled-button-bg);
  color: var(--filled-button-color);
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  padding: 20px;
  text-align: center;
  margin-top: 0px;
  cursor: pointer;
  transition: transform 0.11s ease-in;
  will-change: transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: none;
}
.onboard-button-full-disabled {
  opacity: 0.8;
  opacity: 1;
}

/* iOS Hard Paywall - dim results content when paywall is re-shown */
.ios-paywall-dimmed {
  filter: blur(2px);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* iOS Hard Paywall - dim the onboard header when paywall is shown (applied directly to header) */
.onboard-header.ios-paywall-dimmed {
  filter: blur(2px);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* iOS Hard Paywall - transparent overlay to block all interactions */
.ios-hard-paywall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500; /* Below header/paywall but above content */
  cursor: pointer;
  background: transparent;
  /* Ensure it doesn't interfere with paywall close button */
  pointer-events: auto;
  /* Prevent touch scrolling during animation */
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Allow scrolling but block interactions after paywall close */
.ios-hard-paywall-overlay.allow-scroll {
  touch-action: auto;
}

/* Inline button container needs to be above the overlay */
.onboard-inline-button-container {
  position: relative;
  z-index: 1000;
}

.onboard-button-pressed {
  transition: transform 0.11s ease-in;
  transform: scale(0.96);
}

.onboard-loading {
  display: none;
  text-align: center;
}
.onboard-loading div {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: transparent url("https://files.sobrief.com/public/loading.gif")
    no-repeat 0px 0px;
  background-size: 30px;
  margin: 40px 0px;
  filter: var(--image-invert);
}

.onboard-book-loading {
  display: none;
  text-align: center;
}
.onboard-book-loading-text {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: transparent url("https://files.sobrief.com/public/loading.gif")
    no-repeat 0px 0px;
  background-size: 30px;
  margin: 110px 0px 0px 0px;
  filter: var(--image-invert);
}

.onboard-book-loading-text:after {
  content: "\00a0\00a0\00a0";
  animation: dots 1.2s steps(1, end) infinite;
}

/* New styles for generating indicator */
.onboard-book-generating {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
}

.onboard-book-generating-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.onboard-book-generating-progress {
  width: 200px;
  height: 4px;
  background: var(--bg5);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}

.onboard-book-generating-progress-bar {
  height: 100%;
  background: var(--progress-bg);
  background: rgb(0, 222, 137);
  border-radius: 100px;
  width: 0%;
  animation: generatingProgress 30s ease-out forwards;
}

@keyframes generatingProgress {
  0% { width: 0%; }
  10% { width: 15%; }
  30% { width: 40%; }
  50% { width: 60%; }
  70% { width: 80%; }
  90% { width: 95%; }
  100% { width: 100%; }
}

.onboard-book {
  display: none;
  padding: 0px 0px 90px 0px;
  text-align: center;
  will-change: transform, opacity;
  width: 100%;
  max-width: 450px;
  margin-top: 28px;
}
.onboard-book * {
  user-select: none;
}

.onboard-book-image-container {
  position: relative;
  display: inline-block;
  margin-top: 0px;
}

.onboard-book-image,
.onboard-book-image-shadow {
  height: 235px;
  border-radius: 10px;
}
.onboard-book-image {
  display: block;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  box-shadow:
    0px 5px 26px 0px rgba(0, 0, 0, 0.15),
    0px 0px 1px rgba(0, 0, 0, 0.25);
}
.onboard-book-image-shadow {
  position: absolute;
  top: 3px;
  left: 0;
  filter: blur(17px);
  opacity: 0.2;
  z-index: 1;
  transform: scale(1.05);
  will-change: transform, opacity;
}

.theme-dark .onboard-book-image {
  border-radius: 10px;
  box-shadow: none;
}

.theme-dark .onboard-book-image-shadow {
  opacity: 0.6;
  filter: blur(20px);
  transform: scale(1.0);
}

.onboard-book-title {
  font-size: 18px;
  font-weight: 500;
  margin-top: 27px;
}

.onboard-book-subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-color2);
  margin-top: 5px;
}

.onboard-book-author {
  font-size: 14px;
  color: var(--text-color2);
  margin-top: 10px;
}
.onboard-book-author span {
  color: var(--text-color);
}
.onboard-book-author i {
  font-style: normal;
  opacity: 0.5;
  margin-left: 8px;
  margin-right: 8px;
  position: relative;
  top: -1px;
}

.onboard-book-genres {
  padding: 0px 0px 12px 0px;
}
.onboard-book-genre {
  display: inline-block;
  background: var(--bg3);
  border-radius: 100px;
  margin: 0 6px 6px 0;
  padding: 5px 14px;
  font-size: 14px;
}

.onboard-book-summary {
  padding: 0px 5px 0px 5px;
  font-size: 16px;
  line-height: 22px;
  color: var(--text-color);
  text-align: left;
}
.onboard-book-summary-heading {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 20px 0px 8px 0px;
  color: var(--text-color);
}
.onboard-book-summary-subheading {
  font-weight: 400;
  font-size: 17px;
  color: var(--text-color2);
  margin-bottom: 0px;
  line-height: 22px;
}
.onboard-book-summary-quote {
  font-style: italic;
  font-size: 15px;
  color: var(--text-color2);
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--border-color);
  line-height: 20px;
  margin-top: 15px;
}
.onboard-book-summary-text {
  font-size: 15px;
  line-height: 20px;
  color: var(--text-color);
  padding: 25px 0px 0px 0px;
}

/* New styles for ideas and explanation */
.onboard-book-ideas-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
  text-align: left;
  display: none;
}

.onboard-book-ideas-list {
  margin-bottom: 20px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0px 0px 0px 0px;
  white-space: nowrap;
  position: relative;
  /* Hide scrollbar for better aesthetics */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.onboard-book-ideas-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.onboard-book-idea {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color);
  padding: 6px 15px 6px 43px;
  border-bottom: 0px solid var(--border-color2);
  font-weight: 400;
  border-radius: 144px;
  background: var(--bg3);
  margin: 0px 6px 6px 0px;
  cursor: default;
  display: inline-block;
  position: relative;
  font-family: var(--font-sans);
  vertical-align: top;
}
.onboard-book-idea span {
  font-size: 22px;
  display: block;
  position: absolute;
  top: 6px;
  left: 11px;
}

.onboard-book-idea:last-child {
  border-bottom: none;
}

.onboard-book-explanation-container {
  margin-top: 15px;
  padding: 10px 0px 12px 0px;
  overflow: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.15s ease;
  border-radius: 8px;
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 12px;
  padding-right: 8px;
}

.onboard-book-explanation {
  font-size: 20px;
  line-height: 26px;
  color: var(--text-color);
  font-family: var(--font-serif);
  letter-spacing: -0.2px;
  display: inline;
  transition: opacity 0.12s ease,
              transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left top;

  font-size: 19px;
  line-height: 23px;
}

.onboard-book-explanation.expanded {
  font-size: 17px;
  line-height: 22px;
}

.onboard-book-explanation.morphing {
  opacity: 0;
  transform: scale(0.98);
}

.onboard-book-more-link {
  font-size: 15px;
  line-height: 26px;
  color: var(--text-color);
  font-family: var(--font-sans);
  font-weight: 400;
  text-decoration: none !important;
  display: inline;
  transition: opacity 0.12s ease;
  padding-left: 5px;
  opacity: 0.5;
}

.onboard-book-more-link.morphing {
  opacity: 0;
}



/* Review summary styles */
.onboard-book-review-summary {
  margin-top: 0px;
  padding: 24px 20px;
  background: var(--bg2);
  border-radius: 17px;
  margin-bottom: 24px;
}

.onboard-book-review-summary .rating-stars {
  padding-bottom: 12px;
  display: flex;
  align-items: center;
}

.onboard-book-review-summary .rating-value {
  margin-right: 10px;
  font-weight: 600;
  padding-left: 0px;
  position: relative;
  top: 0px;
}

.onboard-book-review-summary .ratings-value {
  margin-left: 2px;
  color: var(--text-color2);
  top: 1px;
}

.onboard-book-review-heading {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
  text-align: left;
}

.onboard-book-review-text {
  font-size: 16px;
  line-height: 21px;
  color: var(--text-color);
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.1px;
  margin-top: 6px;
}

.onboard-book-review-text p {
  margin: 0px;
}

.onboard-book-review-text p:last-child {
  margin-bottom: 0;
}


.onboard-book-heading-small {
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text-color);
  margin: 10px 0px 10px 0px;
  text-align: left;
}

.onboard-book-year {
  font-size: 15px;
  color: var(--text-color);
}

.onboard-book-year-text {
  display: inline-block;
  background: var(--bg3);
  border-radius: 100px;
  margin: 0 10px 0px 0;
  padding: 5px 14px;
  font-size: 14px;
}

.onboard-book-year-age {
  font-size: 14px;
  color: var(--text-color2);
}

/* Links Section */
.onboard-book-links-heading {
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text-color);
  margin: 20px 0px 10px 0px;
  text-align: left;
}

.onboard-book-links {
  padding: 0px 0px 12px 0px;
}

.onboard-book-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border-radius: 100px;
  margin: 0 6px 6px 0;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.onboard-book-link:hover {
  background: var(--bg4);
  transform: translateY(-1px);
}

.onboard-book-link-icon {
  font-size: 16px;
  line-height: 1;
  opacity: 0.8;
  font-style: normal;
  display: inline-block;
  width: 20px;
  height: 16px;
  margin-right: -2px;
  background: transparent no-repeat 50% 50%;
  filter: var(--image-invert);
}

/* Specific icons for each service */
.onboard-book-link-amazon .onboard-book-link-icon {
  background-image: url("https://files.sobrief.com/public/logo-amazon.png");
  background-size: 20px;
}

.onboard-book-link-kindle .onboard-book-link-icon {
  background-image: url("https://files.sobrief.com/public/logo-kindle.png");
  background-size: 18px;
  width: 18px;
}

.onboard-book-link-audible .onboard-book-link-icon {
  background-image: url("https://files.sobrief.com/public/logo-audible.png");
  background-size: 20px;
}

/* Remove the ::before pseudo-elements */
.onboard-book-link-amazon .onboard-book-link-icon::before,
.onboard-book-link-kindle .onboard-book-link-icon::before,
.onboard-book-link-audible .onboard-book-link-icon::before {
  content: none;
}

.onboard-recommendations-wrap {
  text-align: center;
  margin-top: 100px;
  margin-top: 0px;
}
.onboard-recommendations-percent {
  font-size: 60px;
  font-weight: 600;
  padding-top: 20px;
}

.onboard-recommendations-progress,
.onboard-recommendations-progress div {
  height: 10px;
  border-radius: 100px;
}
.onboard-recommendations-progress {
  background: var(--bg5);
  width: 100%;
  margin: 30px 0px 24px 0px;
}
.onboard-recommendations-progress div {
  background: var(--progress-bg);
  background: rgb(0, 222, 137);
  width: 0%;
  transition: width 0.2s ease;
}

.onboard-recommendations-heading {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  margin-top: 10px;
}
.onboard-recommendations-tagline {
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  margin-top: 6px;
}
.onboard-recommendations-tagline-ready {
  margin-top: 12px;
  opacity: 0.7;
}

.onboard-recommendations-content {
  margin-top: 20px;
}

.onboard-results-container {
  text-align: center;
  padding: 0px;
}

.onboard-results-content {
  margin-top: 15px;
  transition: opacity 0.5s ease;
}

.onboard-results-progress {
  background: var(--bg4);
  height: 7px;
  border-radius: 100px;
  margin: 8px auto 14px 0px;
  overflow: hidden;
  max-width: 400px;
}

.onboard-results-progress-bar {
  background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
  height: 100%;
  border-radius: 100px;
  width: 0%;
  animation: resultsProgress 55s ease-out forwards;
}

@keyframes resultsProgress {
  0% { width: 0%; }
  10% { width: 15%; }
  20% { width: 25%; }
  30% { width: 35%; }
  40% { width: 45%; }
  50% { width: 55%; }
  60% { width: 65%; }
  70% { width: 75%; }
  80% { width: 85%; }
  90% { width: 95%; }
  100% { width: 100%; }
}

/* Multi-stage progress styles */
.onboard-results-stages {
  margin: 30px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.onboard-stage {
  margin-bottom: 15px;
  transition: opacity 0.5s ease;
}

.onboard-stage:last-child {
  margin-bottom: 0;
}

.onboard-stage-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
  text-align: left;
}

.onboard-stage-progress {
  background: var(--bg4);
  height: 6px;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.onboard-stage-progress-bar {
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  height: 100%;
  border-radius: 100px;
  width: 0%;
  transition: none;
}

.onboard-users-say {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 15px 10px 25px 10px;
  background: var(--page-bg);
}
.onboard-users-say-higher {
  bottom: 90px;
  bottom: 65px;
  padding-top: 1px;
  padding-bottom: calc(35px + env(safe-area-inset-bottom, 0px));
}

/* Mobile spacing for onboard-users-say-higher */
@media (max-width: 600px) {
  .onboard-users-say-higher {
    bottom: 60px;
    bottom: 45px;
  }
}

.onboard-users-say-inline {
  position: relative;
  bottom: auto;
  left: auto;
  padding-bottom: 0px;
  background: transparent;
}

/* Fixed catalog switcher positioned above continue button (matches onboard-users-say-higher) */
.onboard-catalog-switcher-fixed {
  position: fixed;
  bottom: 90px;
  bottom: 65px;
  left: 0px;
  width: 100%;
  padding-top: 8px;
  padding-bottom: calc(35px + env(safe-area-inset-bottom, 0px));
  background: var(--page-bg);
}

/* Mobile spacing for catalog switcher */
@media (max-width: 600px) {
  .onboard-catalog-switcher-fixed {
    bottom: 60px;
    bottom: 45px;
  }
}

/* Feedback buttons fixed at bottom (similar to catalog switcher) */
.onboard-feedback-buttons-fixed {
  position: fixed;
  bottom: 90px;
  bottom: 65px;
  left: 0px;
  width: 100%;
  padding-top: 12px;
  padding-bottom: calc(35px + env(safe-area-inset-bottom, 0px));
  background: var(--page-bg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 600px) {
  .onboard-feedback-buttons-fixed {
    bottom: 60px;
    bottom: 45px;
  }
}

.onboard-feedback-buttons-inner {
  max-width: 375px;
  margin: 0px auto;
  width: 100%;
}

.onboard-feedback-buttons-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 0px 20px 12px 20px;
}

.onboard-feedback-button {
  background: var(--box-bg);
  border: 1.5px solid var(--box-border);
  border-radius: 16px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    rgba(0, 0, 0, 0.04) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px 0px;
}

.onboard-feedback-button:hover {
  border-color: rgba(98, 222, 153, 0.5);
}

.onboard-feedback-button:active {
  transform: scale(0.95);
}

.onboard-feedback-button.selected {
  background: rgba(98, 222, 153, 0.12);
  border-color: rgb(98, 222, 153);
  border-width: 2px;
}

.theme-light .onboard-feedback-button {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.theme-light .onboard-feedback-button:hover {
  border-color: rgba(98, 222, 153, 0.6);
}

.theme-light .onboard-feedback-button.selected {
  background: rgba(98, 222, 153, 0.08);
  border-color: rgb(98, 222, 153);
}

.onboard-feedback-emoji {
  font-size: 36px;
  line-height: 1;
  user-select: none;
}



/* Feedback bubble (chat-style response) */
.onboard-feedback-bubble {
  margin: 0px 0px 18px 0px;
  padding: 12px 17px 14px 17px;
  background: rgba(98, 222, 153, 0.12);
  border: 1.5px solid rgba(98, 222, 153, 0.3);
  border-radius: 16px;
  text-align: left;
  animation: feedbackBubbleSlideDown 0.4s ease-out;
}

.theme-light .onboard-feedback-bubble {
  background: rgba(98, 222, 153, 0.08);
  border-color: rgba(98, 222, 153, 0.25);
}

@keyframes feedbackBubbleSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.onboard-feedback-bubble-header {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-color);
}

.onboard-feedback-bubble-body {
  margin-top: 6px;
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
  color: var(--text-color);
  opacity: 0.85;
}

/* Typewriter cursor */
.onboard-feedback-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--text-color);
  margin-left: 2px;
  animation: cursorBlink 0.6s infinite;
  vertical-align: text-bottom;
  position: relative;
  top: -1px;
}

@keyframes cursorBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.onboard-box-quote {
  margin-top: 10px;
  padding: 29px 25px 24px 28px;
  text-align: left;
  display: none;
}

.onboard-quote {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}
.onboard-quote-author {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  margin-top: 14px;
  opacity: 0.7;
  font-style: italic;
}

.onboard-rating {
  display: block;
  padding-bottom: 18px;
}
.onboard-rating .rating-star,
.onboard-rating .rating-star-half,
.onboard-rating .rating-star-off {
  background-size: 24px;
  width: 24px;
  height: 24px;
}



.onboard-sign-in-buttons {
  margin-top: 30px;
}
.onboard-sign-in-buttons .firebaseui-idp-button {
  transform: scale(1.22);
  margin-bottom: 5px;
}

.onboard-summary-wrap {
  text-align: left;
  margin-top: 0px;
  overflow: hidden;
  padding: 0px;
  margin-bottom: 70px;
  background: var(--box-bg);
  border: 1px solid var(--box-border);
  border-radius: 16px;
  box-shadow:
    rgba(0, 0, 0, 0.04) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px 0px,
    rgba(0, 0, 0, 0.04) 0px 10px 20px 0px;
}

.onboard-summary-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0px;
  background: var(--bg2);
  background: transparent;
  padding: 20px 20px 8px 20px;
}

.onboard-summary-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.onboard-summary-image {
  width: 70px;
  height: 102px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 9px;
}

.onboard-summary-title {
  letter-spacing: -0.5px;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 31px;
  font-weight: 600;
  color: var(--text-color);
  padding-top: 1px;
}

.onboard-summary-subtitle {
  font-size: 14px;
  line-height: 19px;
  color: var(--text-color2);
  margin-top: 0px;
}

.onboard-summary-author {
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  font-family: var(--font-sans);
  color: var(--text-color);
  padding: 0px 0px 0px 0px;
  font-weight: 400;
  color: var(--text-color2);
}
.onboard-summary-author b {
  color: var(--text-color);
  font-weight: 500;
}
.onboard-summary-year,
.onboard-summary-pages {
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  font-family: var(--font-sans);
  position: relative;
  top: -1px;
  color: var(--text-color2);
  border-left: 1px solid var(--border-color);
  margin-left: 9px;
  padding-left: 14px;
}

.onboard-summary-content {
  margin-top: 0px;
  padding: 5px 20px 10px 20px;
}
.onboard-summary-heading {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 20px 0px 0px 0px;
  color: var(--text-color);
}
.onboard-summary-heading2 {
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  padding: 14px 0px 0px 0px;
  color: var(--text-color2);
}
.onboard-summary-quote {
  display: none;
  font-style: italic;
  font-size: 16px;
  line-height: 23px;
  text-align: left;
  font-weight: 400;
  margin: 20px 0px 20px 0px;
  padding: 14px 19px 14px 19px;
  font-family: var(--font-sans);
  background: var(--bg2);
  border-radius: 0px;
  border-left: 3px solid var(--text-color5);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.onboard-summary-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-color);
  margin-top: 10px;
}

.onboard-summary-fade {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--box-bg) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.theme-dark .onboard-summary-fade {
  background: linear-gradient(
    to bottom,
    var(--box-bg) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}



.onboard-button-choice-share,
.onboard-button-choice-share span {
  width: 56px;
  height: 56px;
}
.onboard-button-choice-share span {
  background-image: url("https://files.sobrief.com/public/icon-share2.png");
  background-size: 27px;
  transform: translateY(-1px);
  filter: var(--image-invert);
}

.onboard-button-results-continue {
  
}

/* Character traits section */
.onboard-character-section {
  padding: 0px 2px 40px 2px;
  text-align: center;
}

.onboard-results-label {
  font-size: 27px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 26px;
  text-align: center;
  padding: 0px 0px;
}

.onboard-character-header {
  background: var(--bg2);
  border-radius: 12px;
  border: 1px solid var(--border-color2);
  padding: 20px;
  margin: 0px 0px 30px 0px;
  text-align: left;
  display: none;
}

.onboard-character-heading {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  margin-bottom: 15px;
}

.onboard-character-description {
  font-size: 16px;
  line-height: 22px;
  color: var(--text-color2);
  margin-bottom: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.onboard-character-traits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}

.onboard-character-trait {
  display: flex;
  flex-direction: column;
  text-align: left;
  opacity: 0;
  transform: translateX(0px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.onboard-character-trait-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.onboard-character-trait-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  flex: 1;
}

.onboard-character-trait-percentage {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  flex-shrink: 0;
}

.onboard-character-trait-bar {
  width: 100%;
  height: 8px;
  background: var(--bg5);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.onboard-character-trait-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 4px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Books section */
.onboard-books-section {
  padding: 0px 0px 0px 0px;
  text-align: center;
}

.onboard-books-heading {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  text-align: left;
  padding-bottom: 20px;
}

.onboard-books-heading-button {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  text-align: left;
  padding: 15px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.onboard-books-heading-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.onboard-books-heading-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.onboard-book-match-pitch {
  font-size: 16px;
  line-height: 20px;
  color: var(--text-color);
  margin-top: 10px;
  background: var(--bg2);
  border-radius: 16px;
  padding: 10px 15px;
  font-family: var(--font-serif);
  margin-bottom: 10px;
}

.onboard-books-description {
  margin: 0px 0px 28px 0px;
  text-align: left;
  font-size: 16px;
  line-height: 22px;
  color: var(--text-color2);
}

.onboard-books-preview {
  display: flex;
  gap: 12px;
  margin: 20px 0 30px 0;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.onboard-book-preview-cover {
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: blur(4px);
}

.onboard-book-preview-cover img {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-dark .onboard-book-preview-cover img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.onboard-book-preview-more {
  width: 60px;
  height: 90px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 400;
  color: var(--text-color);
  border: 2px solid var(--border-color2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-dark .onboard-book-preview-more {
  background: rgb(40, 40, 40);
  border-color: rgb(60, 60, 60);
}

.onboard-books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.onboard-book-match {
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 15px;
  background: var(--bg2);
  border-radius: 12px;
  border: 1px solid var(--border-color2);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}

.onboard-book-match:hover {
  background: var(--bg3);
  border-color: var(--border-color3);
}

.onboard-book-match-cover {
  width: 50px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.onboard-book-match-info {
  flex: 1;
  min-width: 0;
}

.onboard-book-match-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  color: var(--text-color);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.onboard-book-match-author {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-color2);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboard-book-match-dna {
  font-size: 13px;
  font-weight: 600;
  color: #00de89;
  background: rgba(0, 222, 137, 0.1);
  padding: 4px 10px 7px 10px;
  border-radius: 8px;
  display: inline-block;
}

.onboard-book-match-dna span {
  display: block;
  margin-bottom: 4px;
}

.onboard-book-match-dna-progress {
  width: 100%;
  height: 3px;
  background: rgba(0, 222, 137, 0.2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.onboard-book-match-dna-fill {
  height: 100%;
  background: #00de89;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.onboard-book-match-reason {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-color2);
  margin-top: 10px;
}

.onboard-share-button-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.onboard-share-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.onboard-share-button:hover {
  transform: translateY(-2px);
}

/* Reader Type Section */
.onboard-reader-type-section {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.onboard-reader-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.onboard-reader-type-emoji {
  font-size: 20px;
}

.onboard-reader-type-label {
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

.onboard-reader-type-title {
  font-weight: 600;
  padding-bottom: 15px;
  font-size: 23px;
  line-height: 27px;
  text-align: center;
  font-family: var(--font-serif);
}

/* Overview Section */
.onboard-overview-section {
  margin-bottom: 35px;
}
.onboard-overview-section.blurred {
  filter: blur(3px);
  opacity: 0.6;
}

.onboard-overview-card {
  background: var(--bg2);
  border: 3px solid var(--border-color2);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}

.onboard-overview-quote {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--text-color);
  opacity: 0.1;
  display: none;
}

.onboard-overview-text {
  font-size: 17px;
  line-height: 22px;
  color: var(--text-color);
  margin: 0;
  position: relative;
  z-index: 1;
  font-style: normal;
  font-family: var(--font-serif);
  letter-spacing: -0.1px;
}

/* Taste Profile Section */
.onboard-taste-section {
  margin-bottom: 50px;
}



.onboard-profile-heading {
  font-size: 18px;
  font-weight: 500;
  margin: 27px 0px 10px 0px;
  text-align: left;
}



.onboard-taste-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.onboard-taste-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 11px 18px;
  padding-right: 40px;
  background: var(--bg2);
  border: 2px solid var(--border-color2);
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.onboard-taste-item::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  width: 18px;
  height: 18px;
  background: url("https://files.sobrief.com/public/icon-chevron-down-thin.png") no-repeat center center;
  background-size: contain;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.theme-dark .onboard-taste-item::after {
  filter: invert(1);
}

.onboard-taste-item.clickable {
  cursor: pointer;
  pointer-events: auto;
}

.onboard-taste-item:not(.clickable) {
  pointer-events: none;
}

.onboard-taste-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.onboard-taste-text {
  font-size: 16px;
  line-height: 20px;
  color: var(--text-color);
  flex: 1;
  text-align: left;
  font-family: var(--font-serif);
}

/* Handpicked Recommendations Section */
.onboard-handpicked-section {
  margin-bottom: 50px;
}



.onboard-handpicked-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.onboard-handpicked-book {
  position: relative;
  padding: 25px;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border: 1px solid var(--border-color2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.onboard-handpicked-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.onboard-handpicked-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.onboard-handpicked-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  margin: 0 50px 8px 0;
  color: var(--text-color);
}

.onboard-handpicked-author {
  font-size: 14px;
  color: var(--text-color2);
  margin: 0 0 15px 0;
}

.onboard-handpicked-description {
  font-size: 15px;
  line-height: 23px;
  color: var(--text-color);
  margin: 0;
}

@media (max-width: 420px) {
  .onboard-books-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .onboard-character-trait-name {
    font-size: 15px;
  }
  
  .onboard-character-trait-percentage {
    font-size: 15px;
  }
    
  .onboard-handpicked-title {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Swipe History Button and Panel */
.onboard-button-choice-history {
  border: 1.8px solid rgba(255,255,255,0.9);
  position: relative;
}
.theme-dark .onboard-button-choice-history {
  border: 1.5px solid rgba(255,255,255,0.07);
}

.onboard-button-choice-history span {
  background-image: url('https://files.sobrief.com/public/icon-history2.png');
  background-image: url('https://files.sobrief.com/public/icon-list.png');
  background-image: url('https://files.sobrief.com/public/icon-swipe.png');
  background-size: 29px;
  transform: none;
  filter: var(--image-invert);
}

.onboard-button-choice-history:hover {
  transform: scale(1.02);
}

.onboard-button-choice-history-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: rgb(98, 222, 153);
  color: rgba(255,255,255,0.98);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 21px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 21px;
  line-height: 17px;
  display: none;
}
.theme-dark .onboard-button-choice-history-badge {
  color: rgba(0,0,0,0.98);
}

/* Swipe History Backdrop */
.swipe-history-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  touch-action: none; /* Prevent touch scrolling on backdrop */

  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.theme-dark .swipe-history-backdrop {
  background: rgba(0,0,0,0.8);
  background: rgba(255,255,255,0.09);
}

.swipe-history-backdrop-visible {
  opacity: 1;
  pointer-events: all;
}

/* Swipe History Panel */
.swipe-history-panel {
  position: fixed;
  bottom: -100px; /* Extended below viewport to hide gap during bounce */
  left: 0;
  right: 0;
  height: calc(65vh + 100px); /* Add extra height to compensate */
  max-height: 700px; /* Increased to account for extra height */
  background: var(--page-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(var(--page-bg-colors), 0.98);
  transform: translateY(calc(100% + 100px)); /* Match animation start position */
  z-index: 1000;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  visibility: hidden;
  will-change: transform;
  touch-action: none; /* Prevent default touch behaviors */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;

  background: rgba(var(--page-bg-colors), 0.87);
}
.theme-light .swipe-history-panel {
  background: rgba(var(--page-bg-colors), 0.7);
}

@keyframes slideUpBounce {
  0% {
    transform: translateY(calc(100% + 50px));
  }
  65% {
    transform: translateY(-0.02%);
  }
  80% {
    transform: translateY(0.02%);
  }
  95% {
    transform: translateY(-0.01%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideDownBounce {
  0% {
    transform: translateY(0);
  }
  5% {
    transform: translateY(-0.1%);
  }
  100% {
    transform: translateY(calc(100% + 50px));
  }
}

.swipe-history-panel-visible {
  visibility: visible;
  animation: slideUpBounce 0.5s cubic-bezier(0.34, 1, 0.64, 1) forwards;
}

.swipe-history-panel-closing {
  animation: slideDownBounce 0.18s cubic-bezier(0.36, 0, 0.66, -0.2) forwards;
}

.swipe-history-inner {
  height: calc(100% - 100px); /* Subtract the extra bottom extension */
  display: flex;
  flex-direction: column;
  padding: 15px;
  padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
  touch-action: auto; /* Allow touch events within the inner content */
}

.swipe-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  padding: 1px 0px 0px 9px;
}

.swipe-history-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  padding: 5px 0px 0px 32px;
  width: 100%;
  text-align: center;
  display: none;
}

.swipe-history-close {
  width: 36px;
  height: 36px;
  background: var(--bg3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: -17px;
}

.swipe-history-close:hover {
  background: var(--bg4);
  transform: scale(1.05);
}

.swipe-history-close span {
  display: block;
  width: 20px;
  height: 20px;
  background: url("https://files.sobrief.com/public/icon-cross-thin.png") no-repeat center;
  background-size: 16px;
  filter: var(--image-invert);
}

.swipe-history-switcher-wrap {
  margin-bottom: 0px;
  padding: 0px 0px 7px 0px;
  text-align: center;
}

.swipe-history-switcher-wrap .switcher {
  background: var(--bg3);
  border-radius: 100px;
  padding: 0px;
  display: inline-flex;
  gap: 4px;
  margin: 10px 0px 10px 1px;
}

.swipe-history-switcher-wrap .swipe-switch {
  position: relative;
  padding: 11px 23px 9px 41px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-color2);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.8px solid transparent;
  border: none;
}

.swipe-history-switcher-wrap .swipe-switch-selected {
  background: var(--bg6);
  color: var(--text-color);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05), 0px 0px 1px rgb(245, 245, 245);
  box-shadow: 0px 2px 10px -2px rgba(0, 0, 0, 0.12), 0px 0px 1px rgb(245, 245, 245);
}
.theme-dark .swipe-history-switcher-wrap .swipe-switch-selected {
  border-color: rgba(255,255,255,0.07);
  box-shadow: none;
}

.switch-icon {
  display: block;
  width: 18px;
  height: 18px;
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  filter: var(--image-invert);
  filter: none;
  opacity: 0.8;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.swipe-switch-selected .switch-icon {
  opacity: 1;
}

.switch-icon-liked {
  background-image: url("https://files.sobrief.com/public/icon-heart-green2.png");
}

.switch-icon-disliked {
  background-image: url("https://files.sobrief.com/public/icon-cross-red2.png");
}

.switch-icon-recommended {
  background-image: url("https://files.sobrief.com/public/icon-wand.png");
  filter: var(--image-invert);
}

.switch-count {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.swipe-switch-selected .switch-count {
  color: var(--text-color);
}

.swipe-history-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  overscroll-behavior: contain;
  touch-action: pan-y; /* Allow vertical scrolling only */
  -webkit-user-select: none;
  user-select: none;
}

.swipe-history-list {
  display: none;
  opacity: 0;
  transform: translateX(20px);
}

.swipe-history-list-visible {
  display: block;
  animation: fadeInList 0.3s ease-out forwards;
}

@keyframes fadeInList {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.swipe-history-item {
  display: flex;
  align-items: flex-start;
  padding: 17px 12px;
  margin-bottom: 12px;
  background: var(--bg2);
  border-radius: 16px;
  transition: all 0.2s ease;
  cursor: pointer;

  background: rgba(250,250,250,0.9);
  background: transparent;
  /*
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);*/
}

.swipe-history-item:hover {
  
}

.swipe-history-item-cover {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swipe-history-item-info {
  flex: 1;
  padding-left: 0px;
  min-width: 0;
}

.swipe-history-item-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.swipe-history-item-author {
  font-size: 14px;
  color: var(--text-color2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swipe-history-empty {
  text-align: center;
  padding: 120px 20px;
  color: var(--text-color2);
  font-size: 16px;
}

/* Make sure the panel is above other elements */
.swipe-history-panel-visible + .onboard-footer {
  z-index: 999;
}

/* Scrollbar styling for the content area */
.swipe-history-content::-webkit-scrollbar {
  width: 6px;
}

.swipe-history-content::-webkit-scrollbar-track {
  background: transparent;
}

.swipe-history-content::-webkit-scrollbar-thumb {
  background: var(--text-color5);
  border-radius: 3px;
}

.swipe-history-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-color4);
}

/* Profile loading state */
.onboard-profile-loading {
  text-align: center;
  padding: 40px 20px;
}

.onboard-profile-loading-text {
  font-size: 16px;
  color: var(--text-color2);
  margin-bottom: 20px;
}

.onboard-profile-loading-progress {
  width: 100%;
  max-width: 300px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.onboard-profile-loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 2px;
}

/* Sign-up close button */
.onboard-sign-up-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--bg5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.onboard-sign-up-close:hover {
  background: var(--bg4);
  transform: scale(1.05);
}

.onboard-sign-up-close span {
  display: block;
  width: 20px;
  height: 20px;
  background: url("https://files.sobrief.com/public/icon-cross-thin.png") no-repeat center;
  background-size: 16px;
  filter: var(--image-invert);
}

/* Email sign-in back link */
#email_signin_back_link {
  padding: 12px;
  font-size: 15px;
}

#email_signin_back_link a {
  transition: opacity 0.2s ease;
}

#email_signin_back_link a:hover {
  opacity: 0.8;
}


/* Video gradient fade */
.onboard-intro-video {
  position: relative;
}

.onboard-intro-video::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent 0%, var(--page-bg) 100%);
  pointer-events: none;
}

/* Scrollbar styling for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg5);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb {
  background: var(--text-color5);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-color4);
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--text-color5) var(--bg5);
}

/* Swipe completion page styles */
.onboard-email-preference {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 0px 0 0px 0;
}

.onboard-button-email {
  flex: 1;
  max-width: 180px;
  padding: 15px 17px;
  font-size: 16px;
  text-align: center;
}

.onboard-feedback-section {
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 18px 15px 18px 15px;
  background: var(--bg3);
  border-radius: 12px;
}

.onboard-feedback-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 11px;
  text-align: center;
  padding-top: 0px;
}

.onboard-feedback-textarea {
  width: 100%;
  padding: 15px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text-color);
  font-family: Inter, sans-serif;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 10px;
}

.onboard-feedback-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.onboard-button-feedback {
  width: auto;
  margin: 0 auto;
  background: var(--page-bg);
  padding: 9px 18px;
  font-size: 15px;
  display: inline-block;
  border-radius: 14px;
}
.onboard-button-feedback:hover {
  background: var(--page-bg);
}

/* Inline swipe history section */
.onboard-swipe-history-section {
  margin-top: 25px;
  padding: 0 0px;
}

.onboard-swipe-history-header {
  text-align: center;
  margin-bottom: 20px;
}

.onboard-swipe-history-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  text-align: left;
  padding-bottom: 5px;
}

.onboard-swipe-history-switcher-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.onboard-swipe-history-switcher-wrap .switcher {
  background: var(--bg3);
  border-radius: 100px;
  padding: 0px;
  display: inline-flex;
  gap: 0px;
  margin: 0 auto;
}

.onboard-swipe-history-switcher-wrap .swipe-switch {
  position: relative;
  padding: 11px 23px 9px 41px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-color2);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.onboard-swipe-history-switcher-wrap .swipe-switch-selected {
  background: var(--bg6);
  color: var(--text-color);
  box-shadow: 0px 2px 10px -2px rgba(0, 0, 0, 0.12), 0px 0px 1px rgb(245, 245, 245);
}

.theme-dark .onboard-swipe-history-switcher-wrap .swipe-switch-selected {
  box-shadow: none;
}

.onboard-swipe-history-content {
  /*
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;*/
  position: relative;
  margin-bottom: 20px;
  text-align: left;
}

/* Copy switch icon styles from the panel CSS */
.switch-icon {
  display: block;
  width: 18px;
  height: 18px;
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.swipe-switch-selected .switch-icon {
  opacity: 1;
}

.switch-icon-liked {
  background-image: url("https://files.sobrief.com/public/icon-heart-green2.png");
}

.switch-icon-disliked {
  background-image: url("https://files.sobrief.com/public/icon-cross-red2.png");
}

.switch-count {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}

.swipe-switch-selected .switch-count {
  color: var(--text-color);
}

.swipe-history-list {
  display: none;
  opacity: 0;
  transform: translateX(20px);
}

.swipe-history-list-visible {
  display: block;
  animation: fadeInList 0.3s ease-out forwards;
}

@keyframes fadeInList {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.swipe-history-item {
  display: flex;
  align-items: flex-start;
  padding: 17px 12px;
  margin-bottom: 4px;
  background: transparent;
  border-radius: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.swipe-history-item:hover {
  
}

.swipe-history-item-cover {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swipe-history-item-info {
  flex: 1;
  padding-left: 0px;
  min-width: 0;
}

.swipe-history-item-author {
  font-size: 14px;
  color: var(--text-color2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swipe-history-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-color2);
  font-size: 16px;
}

/* Profile book action button */
.profile-book-actions {
  margin-left: 12px;
  flex-shrink: 0;
}

.profile-book-button {
  display: inline-flex;
  align-items: center;
  background: var(--input-bg);
  border-radius: 100px;
  padding: 8px 8px 8px 12px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 32px;
  text-decoration: none;
  transition: border-color 0.17s ease, background-color 0.17s ease;
  user-select: none;
  box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.07);
  position: relative;
  color: var(--text-color);
  min-width: 0;
  gap: 0;

  padding: 0px 6px 0px 12px;
  font-size: 14px;
  height: auto;
  font-weight: 400;
}

.theme-dark .profile-book-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-book-button:hover {
  box-shadow: 0px 4px 12px -2px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--text-color);
}

.theme-dark .profile-book-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-book-button-text {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  margin-right: 6px;
  padding: 7px 8px 7px 2px;
}
.theme-dark .profile-book-button-text {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-book-button-icon {
  width: 20px;
  height: 20px;
  background: var(--play-button-bg);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-book-button-icon-inner {
  width: 20px;
  height: 20px;
  background: transparent url("https://files.sobrief.com/public/icon-play.png") no-repeat 57% 50%;
  background-size: 9px;
  filter: var(--image-invert2);
}

/* Responsive adjustments */
/* Two-column rating layout */
.rating-social-wrap-two-columns {
  justify-content: center;
  align-items: center;
  gap: 26px;
  max-width: 400px;
  margin: 0 auto;
}

.rating-social-column {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.rating-trustpilot-column {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding-right: 7px;
}

.rating-trustpilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trustpilot-logo-container {
  display: flex;
  align-items: center;
  gap: 0px;
}

.trustpilot-logo-star {
  height: 24px;
  width: auto;
}

.trustpilot-logo-text {
  height: 24px;
  width: auto;
}

/* Dark theme - invert the text logo */
.theme-dark .trustpilot-logo-text {
  filter: invert(1);
}



/* Override styles for 2-column layout to make elements smaller */
.rating-social-wrap-two-columns .rating-social.rating-social-laurel {
  padding: 0 32px; 
}

.rating-social-wrap-two-columns .rating-social.rating-social-laurel::before {
  transform: translateY(-50%) scaleX(-1) rotate(-6deg) scale(0.8); /* Preserve original transforms and scale down */
  width: 28px; 
  height: 70px;
}

.rating-social-wrap-two-columns .rating-social.rating-social-laurel::after {
  transform: translateY(-50%) rotate(-6deg) scale(0.8); /* Preserve original transforms and scale down */
  width: 28px; /* Smaller laurel */
  height: 70px;
}

.rating-social-wrap-two-columns .rating-info {
  font-size: 14px; /* Make readers text smaller */
}

.rating-social-wrap-two-columns .rating-info b {
  font-size: 14px; /* Make bold number smaller too */
}


@media (max-width: 480px) {
  .profile-book-actions {
    margin-left: 8px;
  }
  
  .profile-book-button {
    
  }
  
  .profile-book-button-text {
    
  }
  
  .profile-book-button-icon {
    width: 18px;
    height: 18px;
  }
  
  .profile-book-button-icon-inner {
    width: 18px;
    height: 18px;
    background-size: 9px;
  }
  
  .swipe-history-item {
    padding: 7px 4px;
  }
  
  .swipe-history-item-info {
    
  }
}

/* Override default swipe-history-list styles for profile - moved from inline JS */
#profile_history_liked.profile-list-visible,
#profile_history_disliked.profile-list-visible {
  display: block;
  opacity: 1;
  transform: none;
}

/* Profile loading progress animation - moved from inline JS */
@keyframes profileLoadProgress {
  from { width: 0%; }
  to { width: 100%; }
}




.onboard-generating-container-v2 {
  padding: 0px;
  margin: 0 auto;
}

.onboard-generating-container-v2 .onboard-heading,
.onboard-generating-container-v2 .onboard-tagline {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease;
}

.onboard-generating-container-v2 .onboard-heading.visible,
.onboard-generating-container-v2 .onboard-tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

.onboard-generating-stages-v2 {
  margin: 40px 0px 12px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease;
}

.onboard-generating-stages-v2.visible {
  opacity: 1;
  transform: translateY(0);
}

.onboard-generating-stage-v2 {
  display: none;
  align-items: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease;
}

.onboard-generating-stage-v2.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.onboard-generating-stage-v2.active .onboard-generating-stage-label-v2 {
  opacity: 0;
  transition: opacity 1s ease;
}

.onboard-generating-stage-v2.active .onboard-generating-stage-label-v2.visible {
  opacity: 1;
}

.onboard-generating-stage-v2.active .onboard-generating-stage-progress-v2 {
  opacity: 0;
  transition: opacity 1s ease;
}

.onboard-generating-stage-v2.active .onboard-generating-stage-progress-v2.visible {
  opacity: 1;
}

.onboard-generating-stage-v2.complete {
  display: flex;
  opacity: 1;
}

.onboard-generating-stage-v2.complete .onboard-generating-stage-label-v2 {
  opacity: 1 !important;
}

.onboard-generating-stage-icon-v2 {
  display: none;
}

.onboard-generating-stage-content-v2 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.onboard-generating-stage-label-wrap-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.onboard-generating-stage-label-v2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  margin-right: 5px;
  text-overflow: ellipsis;
  position: relative;
}

/* Text wrapper for stage labels */
.onboard-generating-stage-text-v2 {
  display: inline;
}

/* Shimmer effect for active stage labels - applied to text span only */
.onboard-generating-stage-v2.active .onboard-generating-stage-label-v2.visible .onboard-generating-stage-text-v2 {
  background: linear-gradient(
    90deg,
    var(--text-color) 0%,
    var(--text-color) 43%,
    rgba(0, 0, 0, 0.25) 50%,
    var(--text-color) 57%,
    var(--text-color) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 3s ease-in-out infinite;
}

/* Dark mode shimmer effect for text span */
.theme-dark .onboard-generating-stage-v2.active .onboard-generating-stage-label-v2.visible .onboard-generating-stage-text-v2 {
  background: linear-gradient(
    90deg,
    var(--text-color) 0%,
    var(--text-color) 43%,
    rgba(255, 255, 255, 0.5) 50%,
    var(--text-color) 57%,
    var(--text-color) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes textShimmer {
  0% {
    background-position: 120% 0;
  }
  50% {
    background-position: -20% 0;
  }
  100% {
    background-position: 120% 0;
  }
}

.onboard-generating-stage-emoji-v2 {
  font-size: 28px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  line-height: 41px;
}

.onboard-generating-stage-tick-v2 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.onboard-generating-stage-tick-v2 img {
  width: 12px;
  height: 12px;
  filter: invert(1);
}

.onboard-generating-stage-v2.complete .onboard-generating-stage-tick-v2 {
  opacity: 1;
  transform: scale(1);
}

.onboard-generating-stage-v2.complete .onboard-generating-covers-v2,
.onboard-generating-stage-v2.complete .onboard-generating-ideas-v2,
.onboard-generating-stage-v2.complete .onboard-generating-reviews-v2 {
  display: none !important;
}

.onboard-generating-stage-v2.complete .onboard-generating-stage-progress-v2 {
  display: none !important;
}



.onboard-generating-stage-v2.complete {
  margin-bottom: -10px;
}

.onboard-generating-stage-progress-v2 {
  position: relative;
}

.onboard-generating-stage-bar-v2 {
  background: var(--bg5);
  height: 10px;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.onboard-generating-stage-fill-v2 {
   height: 100%;
   border-radius: 100px;
   width: 0%;
   background: linear-gradient(90deg, #ff6b6b, #ffa726);
   background: linear-gradient(90deg, rgb(255, 108, 108), rgb(255, 167, 41));
   transition: width 0.3s ease;
   position: relative;
   overflow: hidden;
 }

.onboard-generating-stage-fill-v2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.onboard-generating-stage-v2.active .onboard-generating-stage-fill-v2.animate {
  animation: fillProgress var(--stage-duration) linear forwards;
}

@keyframes fillProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.onboard-generating-covers-v2 {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  overflow-x: auto;
  overflow: visible;
  padding: 7px 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}

.onboard-generating-covers-v2::-webkit-scrollbar {
  display: none;
}

.onboard-generating-cover-v2 {
  width: 40px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.7) translateY(-30px);
  transition: all 0.15s ease;
  will-change: transform, opacity, width;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow: hidden;
}

.onboard-generating-cover-v2.visible {
  width: 40px;
  opacity: 1;
  transform: scale(1);
}

.theme-dark .onboard-generating-cover-v2 {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}



.onboard-generating-ideas-v2 {
  margin-top: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  max-height: 65px;
  overflow-y: hidden;
}

.onboard-generating-ideas-v2::-webkit-scrollbar {
  display: none;
}

.onboard-generating-idea-v2 {
  background: var(--bg2);
  border: 0px solid var(--border-color);
  border-radius: 16px;
  padding: 6px 0px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  opacity: 1;
  transform: scale(0.8);
  transition: all 0.4s ease;
  flex-shrink: 0;
  overflow: hidden;

  transform: scale(1) translateY(0px);
  transition: all 0.1s ease;
  will-change: transform, opacity, width;
}

.onboard-generating-idea-v2.visible {
  opacity: 1;
  transform: scale(1);
}

.theme-dark .onboard-generating-idea-v2 {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.1);
}

.onboard-generating-reviews-v2 {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  max-height: 55px;
  overflow: hidden;
}

.onboard-generating-review-v2 {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  opacity: 0;
  transform: translateY(0px);
  transition: all 0.15s ease;
}

.onboard-generating-review-v2.visible {
  opacity: 1;
  transform: translateY(0);
}

.onboard-generating-review-icon-v2 {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.4;
  position: relative;
  top: 3px;
  left: 3px;
}
.theme-dark .onboard-generating-review-icon-v2 {
  filter: invert(1);
}

.onboard-generating-review-text-v2 {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.8;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Dark mode adjustments */
 .theme-dark .onboard-generating-stage-bar-v2 {
   background: rgba(255, 255, 255, 0.1);
 }
 
 .theme-dark .onboard-generating-stage-fill-v2 {
   background: linear-gradient(90deg, #ff6b6b, #ffa726);
 }






 .onboard-finalizing-section {
  margin: 15px auto;
  max-width: 400px;
  padding: 0px;
}

.onboard-finalizing-progress {
  background: var(--bg5);
  height: 12px;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.onboard-finalizing-progress-bar {
  height: 100%;
  border-radius: 100px;
  width: 0%;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  transition: width 30s linear;
  position: relative;
  overflow: hidden;
}

.onboard-finalizing-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.theme-dark .onboard-finalizing-progress {
  background: rgba(255, 255, 255, 0.1);
}

/* Polling Progress Styles */
.onboard-polling-progress {
  margin: 40px auto 30px auto;
  text-align: center;
  max-width: 400px;
}

.onboard-polling-spinner {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.onboard-spinner-ring {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg5);
  border-top: 3px solid #222;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.onboard-polling-message {
  color: var(--text3);
  font-size: 16px;
  line-height: 21px;
  margin: 20px 0;
  padding: 0px 30px;
  text-align: center;
}

.onboard-polling-bar {
  width: 100%;
  height: 6px;
  background: var(--bg5);
  border-radius: 100px;
  overflow: hidden;
  margin: 20px auto;
  position: relative;
}

.onboard-polling-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 100px;
  transition: none;
}

.onboard-polling-fill.animate {
  animation: pollingProgress 45s ease-out forwards;
}

@keyframes pollingProgress {
  0% { width: 0%; }
  10% { width: 20%; }
  25% { width: 35%; }
  40% { width: 50%; }
  55% { width: 65%; }
  70% { width: 78%; }
  85% { width: 88%; }
  95% { width: 95%; }
  100% { width: 100%; }
}

/* Dark theme adjustments for polling */
.theme-dark .onboard-spinner-ring {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #eee;
}

.theme-dark .onboard-polling-bar {
  background: rgba(255, 255, 255, 0.1);
}

/* New layout structure for book recommendations */
.swipe-history-item-content {
  flex: 1;
  padding-left: 16px;
  min-width: 0;
}

.swipe-history-item-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.swipe-history-item-info {
  flex: 1;
  min-width: 0;
  margin-right: 12px;
  padding-left: 0px;
}

/* Paywall overlay styles */
.onboard-results-container-paywall {
  position: relative;
}

.onboard-paywall-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(var(--page-bg-colors),0.7) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.onboard-paywall-fade-overlay.show {
  opacity: 1;
}

/* Blur only books after the first 2 in paywall mode (during animation) */
.onboard-results-container-paywall .onboard-swipe-history-section {
  opacity: 0.9 !important;
}

/* Books 3+ container starts with no blur */
.onboard-results-container-paywall .books-container-blurred {
  filter: none;
  will-change: filter;
}

/* Progressive blur animation for books 3+ container during waterfall */
.onboard-results-container-paywall .books-container-blurred.start-blur-animation {
  animation: containerProgressiveBlur 3s ease-out forwards;
}

@keyframes containerProgressiveBlur {
  0% {
    filter: none;
  }
  30% {
    filter: blur(0.5px) saturate(110%);
  }
  60% {
    filter: blur(1.5px) saturate(130%);
  }
  100% {
    filter: blur(4px) saturate(150%);
    opacity: 0.5;
  }
}



/* Paywall interaction blocker */
.onboard-paywall-blocker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 998; /* Below paywall panel (999) but above content */
  touch-action: none;
  user-select: none;
  pointer-events: auto;
}

/* Allow interaction with marketing sections and button even when blocker is active */
.onboard-results-marketing {
  pointer-events: auto !important;
  position: relative;
  z-index: 600; /* Above iOS overlay (500) and blocker (998) */
}

.onboard-inline-button-container {
  pointer-events: auto !important;
  position: relative;
  z-index: 600; /* Above iOS overlay (500) and blocker (998) */
}

/* Waterfall animation for results elements */
.onboard-results-waterfall {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.onboard-results-waterfall.show {
  opacity: 1;
  transform: translateY(0);
}

/* Initial state for heading and tagline */
.onboard-results-container-paywall .onboard-heading,
.onboard-results-container-paywall .onboard-tagline {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.onboard-results-container-paywall .onboard-heading.show,
.onboard-results-container-paywall .onboard-tagline.show {
  opacity: 1;
  transform: translateY(0);
}

.onboard-results-container .onboard-tagline {
  text-align: center;
}

/* Individual taste items animation */
.onboard-taste-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out;
}

.onboard-taste-item.show {
  opacity: 1;
  transform: translateX(0);
}

.onboard-taste-item.blurred {
  filter: blur(3px);
  opacity: 0.6;
}

/* Individual book items animation */
.swipe-history-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.swipe-history-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Make swipe-history-item elements visible on profile page */
.profile-books-section .swipe-history-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.theme-dark .onboard-paywall-fade-overlay {
  background: linear-gradient(to bottom, transparent 0%, var(--page-bg) 100%);
}

.onboard-paywall-plans {
  position: fixed;
  bottom: calc(0px + env(safe-area-inset-bottom, 0px));
  left: 10px;
  right: 10px;
  z-index: 999; /* Below onboard-footer which is z-index: 1000 */
  max-width: 400px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 0px 10px;
  background: rgba(var(--page-bg-colors),0.82);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.6s ease-out;
}

.onboard-paywall-plans.show {
  opacity: 1;
  transform: translateY(0);
}

.onboard-paywall-close {
  position: fixed;
  top: calc(23px + env(safe-area-inset-top, 0px));
  left: 23px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 99999;
  filter: var(--image-invert);
  transition: all 0.2s ease;
}

.onboard-paywall-close img {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transition: opacity 0.2s ease;
}
.theme-dark .onboard-paywall-close img {
  opacity: 0.4;
}

.theme-dark .onboard-paywall-plans {
  background: rgba(var(--page-bg-colors),0.7);
  backdrop-filter: blur(5px);
}

.onboard-paywall-overlay {
  text-align: center;
  margin-bottom: 24px;
}

.onboard-paywall-heading {
  font-size: 24px;
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  margin-top: 0px;
  padding-top: 1px;
  font-family: var(--font-serif);
  letter-spacing: -0.2px;
}

.onboard-paywall-features {
  margin-bottom: 30px;
  margin-top: 17px;
  padding-left: 7px;
}

.onboard-paywall-feature {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  text-align: left;
}

.onboard-paywall-feature-checkmark {
  color: #22c55e;
  margin-right: 12px;
  font-size: 24px;
  align-self: flex-start;
}

.onboard-paywall-feature-text {
  color: var(--text-color);
  font-size: 17px;
  line-height: 19px;
  font-family: var(--font-serif);
}
.onboard-paywall-feature-text b {
  color: var(--text-color);
  font-weight: 600;
}



.onboard-plan-yearly {
  background: transparent;
  color: var(--text-color);
  border: 2px solid #007bff;
}

.onboard-plan-monthly {
  background: transparent;
  color: var(--text-color);
  border: 2px solid #e5e7eb;
}

.theme-dark .onboard-plan-monthly {
  border-color: #374151;
}

.onboard-plan-button {
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.onboard-plan-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.onboard-plan-info {
  display: flex;
  flex-direction: column;
}

.onboard-plan-name {
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 2px;
}

.onboard-plan-price {
  font-size: 14px;
  opacity: 0.9;
}

.onboard-plan-monthly .onboard-plan-price {
  opacity: 0.7;
}

.onboard-plan-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.onboard-plan-badge {
  position: absolute;
  top: -11px;
  right: 11px;
  padding: 4px 10px;
  border-top-left-radius: 0px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 0px;
  border-radius: 700px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}
.theme-dark .onboard-plan-badge {
  color: #000;
}

/* Badge styles for selected/unselected states */
.onboard-plan-yearly .onboard-plan-badge {
  background: #007bff;
  color: white;
}

.onboard-plan-monthly .onboard-plan-badge {
  background: #e5e7eb;
}

.onboard-plan-price-right {
  font-size: 15px;
  color: var(--text-color);
  margin-top: 4px;
  text-align: right;
  padding-bottom: 8px;
}
.onboard-plan-price-right strike {
  opacity: 0.4;
  padding-right: 1px;
}
.theme-dark .onboard-plan-price-right strike {
  opacity: 0.5;
}

/* Paywall content wrapper for smooth transitions */
.onboard-paywall-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 220ms ease-out;
}

.onboard-paywall-subheading {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--text-color);
  margin-top: 10px;
  font-family: var(--font-serif);
  letter-spacing: -0.2px;
}
.onboard-paywall-subheading span {
  display: inline-block;
  background: rgba(255, 252, 121, 0.5);
  border-radius: 80px;
  padding: 4px 14px;
  font-size: 17px;
  font-weight: 500;
  font-family: var(--font-sans);
  position: relative;
  top: -1px;
  margin-left: 2px;
  background: rgba(91, 241, 143, 0.09);
  border: 1px solid rgba(91, 241, 143, 0.9);
}
.theme-dark .onboard-paywall-subheading span {
  background: rgba(255, 252, 121, 0.25);
  background: rgba(91, 241, 143, 0.3);
  border: 1px solid rgba(91, 241, 143, 0.8);
}

/* Paywall footer with inline buttons */
.onboard-paywall-footer {
  padding-top: 15px;
}

.onboard-paywall-footer .onboard-button-full {
  margin-bottom: 16px;
}

/* Paywall Web Page Styles */
.onboard-paywall-web-content {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 20px 40px 20px;
}

/* X / gift pill button in paywall corner */
.paywall-corner-action {
  position: absolute;
  top: 24px;
  right: 22px;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 11;
  transition: opacity 0.5s ease;
  background: transparent;
  padding: 0;
  width: 32px;
  height: 32px;
}
@media (max-width: 600px) {
  .paywall-corner-action {
    top: max(24px, env(safe-area-inset-top, 24px));
    right: 20px;
  }
}
/* X icon (default state) */
.paywall-corner-action::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url("https://files.sobrief.com/public/icon-cross.png") no-repeat 50% 50%;
  background-size: 16px;
  filter: brightness(0);
  opacity: 1;
}
.theme-dark .paywall-corner-action::before {
  filter: brightness(0) invert(1);
}
.paywall-corner-action .paywall-corner-pill {
  display: none;
}
.paywall-corner-action.paywall-corner-visible {
  opacity: 0.25;
  pointer-events: auto;
}
.paywall-corner-action.paywall-corner-visible:hover {
  opacity: 0.8;
}
/* Gift pill state */
.paywall-corner-action.paywall-corner-gift {
  width: auto;
  height: auto;
  opacity: 1;
  padding: 6px 10px 6px 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.theme-dark .paywall-corner-action.paywall-corner-gift {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.1);
}
.paywall-corner-action.paywall-corner-gift::before {
  display: none;
}
.paywall-corner-action.paywall-corner-gift .paywall-corner-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.paywall-corner-pill-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0);
}
.theme-dark .paywall-corner-pill-icon {
  filter: brightness(0) invert(1);
}
.paywall-corner-pill-label {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.theme-dark .paywall-corner-pill-label {
  color: #fff;
}
.paywall-corner-pill-timer {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 4px 8px;
  white-space: nowrap;
  display: none;
}
.theme-dark .paywall-corner-pill-timer {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.paywall-corner-pill-timer:not(:empty) {
  display: inline-block;
}
.paywall-corner-action.paywall-corner-gift:hover {
  background: rgba(0, 0, 0, 0.12);
}
.theme-dark .paywall-corner-action.paywall-corner-gift:hover {
  background: rgba(255, 255, 255, 0.25);
}
/* Gift pill inside countdown bar (improved variant) */
.paywall-long-countdown-bar .paywall-corner-action.paywall-corner-gift {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}
.theme-dark .paywall-long-countdown-bar .paywall-corner-action.paywall-corner-gift {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}
.theme-dark .paywall-long-countdown-bar .paywall-corner-pill-icon {
  filter: brightness(0);
}
.theme-dark .paywall-long-countdown-bar .paywall-corner-pill-label {
  color: #000;
}
.paywall-long-countdown-bar .paywall-corner-action.paywall-corner-gift:hover {
  background: #f0f0f0;
}
.theme-dark .paywall-long-countdown-bar .paywall-corner-action.paywall-corner-gift:hover {
  background: #f0f0f0;
}

#onboard_page_32 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  background:
    radial-gradient(circle at top center, rgba(98, 222, 153, 0.16), transparent 44%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%);
}

#onboard_page_32 #paywall {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

#onboard_page_32 .paywall-variant-long {
  position: relative;
  overflow: visible;
  max-width: 520px;
  margin: 0 auto;
}

#onboard_page_32 .onboarding-paywall-shell {
  position: relative;
  width: 100%;
  min-height: min(760px, calc(100vh - 48px));
  padding: clamp(42px, 10vh, 88px) 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#onboard_page_32 .onboarding-paywall-shell .onboarding-paywall-logo {
  margin-top: 20px;
}

@media (max-width: 600px) {
  #onboard_page_32 {
    overflow: hidden;
  }

  #onboard_page_32 #paywall {
    max-width: 100%;
    height: 100%;
  }

  #onboard_page_32 .onboarding-paywall-shell {
    height: 100%;
    min-height: 100dvh;
    padding: max(48px, env(safe-area-inset-top, 48px)) 20px max(22px, env(safe-area-inset-bottom, 22px));
  }

  #onboard_page_32 .onboarding-paywall-shell .onboarding-paywall-logo {
    margin-top: 40px;
    margin-bottom: 28px;
    font-size: 28px;
    line-height: 28px;
  }

  #onboard_page_32 .onboarding-paywall-taglines {
    min-height: 116px;
  }

  #onboard_page_32 .onboarding-paywall-tagline {
    font-size: 28px;
    line-height: 32px;
  }

  #onboard_page_32 .onboarding-paywall-main {
    margin-top: 24px;
  }

  #onboard_page_32 .onboarding-paywall-plan {
    padding: 14px 14px 13px 14px;
  }

  #onboard_page_32 .onboarding-paywall-plan .dialog-price-label,
  #onboard_page_32 .onboarding-paywall-plan .dialog-price-amount {
    max-width: calc(100% - 112px);
  }

  #onboard_page_32 .onboarding-paywall-plan .dialog-price-monthly {
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: 0;
    transform: translateY(-50%);
    font-size: 15px;
  }

  #onboard_page_32 .paywall-wallet-more {
    min-height: 44px;
  }

  #onboard_page_32 .onboarding-paywall-shell {
    min-height: 0;
    height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - env(safe-area-inset-top, 0px));
    border-radius: 18px;
  }

  /* Long paywall variant: allow scrolling on page 32 */
  #onboard_page_32 .paywall-variant-long {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    height: 100%;
  }
}

.onboard-paywall-web-plans {
  margin-top: 30px;
  margin-bottom: 30px;
}

.onboard-paywall-web-plans .onboard-plan-button {
  margin-bottom: 12px;
}

.onboard-paywall-web-footer {
  padding-top: 20px;
}

.onboard-paywall-web-footer .onboard-button-full {
  margin-bottom: 12px;
}

.onboard-paywall-web-footer .onboard-button-info {
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-color);
  opacity: 0.6;
  margin-bottom: 8px;
}

/* Checkout Overlay Styles */
.onboard-checkout-overlay {
  position: fixed;
  top: env(safe-area-inset-top);
  left: env(safe-area-inset-left);
  right: env(safe-area-inset-right);
  bottom: env(safe-area-inset-bottom);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.onboard-checkout-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.onboard-checkout-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 410px;
  max-height: calc(100vh - 30px);
  overflow-y: auto;
}

.onboard-checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-color-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.onboard-checkout-close img {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.onboard-checkout-content {
  padding: 0px;
  padding-top: 10px; 
  background: #fff;
}

.onboard-checkout-header {
  text-align: center;
  margin-bottom: 15px;
}

.onboard-checkout-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.onboard-checkout-subtitle {
  font-size: 16px;
  color: var(--text-color2);
  opacity: 0.8;
}

.onboard-checkout-stripe {
  margin: 0px 0;
  min-height: 300px;
}

.onboard-checkout-success-content {
  padding: 0;
}

/* Dark mode adjustments */
.theme-dark .onboard-checkout-dialog {
  background: var(--bg-color);
  border-color: var(--border-color);
}

.theme-dark .onboard-checkout-close {
  background: var(--bg-color-alt);
  border-color: var(--border-color);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .onboard-checkout-overlay {
    padding: 12px;
  }
  
  .onboard-checkout-dialog {
    max-height: calc(100vh - 105px);
  }
  
  .onboard-checkout-content {
    padding: 0px;
    padding-top: 10px;
  }
  
  .onboard-checkout-title {
    font-size: 22px;
  }
  
  .onboard-checkout-close {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
  }
  
  .onboard-checkout-close img {
    width: 16px;
    height: 16px;
  }
}

.onboard-video {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 10px;
}

.onboard-video video {
  display: block;
  width: 100%;
  height: 100%;
}

/* Auto swipe onboarding footer */
.onboard-swipe-footer {
  display: flex;
  gap: 16px;
  padding: 0px;
  padding-top: 0px;
}

.onboard-button-swipe-continue,
.onboard-button-swipe-dismiss {
  padding: 18px 20px;
}

/* Auto swipe continue button - same styling as onboard-button-full */
.onboard-button-swipe-continue {
  flex: 1;
  border-radius: 100px;
  background: var(--filled-button-bg);
  color: var(--filled-button-color);
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 0px;
  cursor: pointer;
  transition: transform 0.11s ease-in;
  will-change: transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid var(--filled-button-bg);
}

/* About You onboarding textarea styles */
.onboard-textarea-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 120px;
}

.onboard-textarea-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.onboard-textarea-label {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
}
.onboard-textarea-label span {
  font-size: 20px;
  display: inline-block;
  padding-right: 4px;
}

.onboard-textarea {
  width: 100%;
  height: 72px; /* 3 lines height approximately */
  min-height: 72px;
  max-height: 120px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.onboard-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.onboard-textarea::placeholder {
  color: var(--text-color2);
  opacity: 0.6;
}

/* Dark theme adjustments */
.theme-dark .onboard-textarea {
  background: var(--bg2);
  border-color: var(--border-color2);
}

.theme-dark .onboard-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Auto swipe dismiss button - gray version */
.onboard-button-swipe-dismiss {
  flex: 1;
  border-radius: 100px;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 0px;
  cursor: pointer;
  transition: transform 0.11s ease-in;
  will-change: transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid var(--border-color);
  opacity: 0.8;
}

/* Import bookshelf footer */
.onboard-import-footer {
  display: flex;
  gap: 12px;
  padding: 0px;
  padding-top: 0px;
}

.onboard-button-import-continue,
.onboard-button-import-dismiss {
  padding: 16px 20px;
  border-radius: 100px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 0px;
  cursor: pointer;
  transition: transform 0.11s ease-in;
  will-change: transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* Import continue button - 2/3 width, primary style */
.onboard-button-import-continue {
  flex: 2;
  background: var(--filled-button-bg);
  color: var(--filled-button-color);
  border: 2px solid var(--filled-button-bg);
}

/* Import dismiss button - 1/3 width, secondary style */
.onboard-button-import-dismiss {
  flex: 1;
  background: var(--card-bg);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  opacity: 0.8;
}

/* Import button icons */
.onboard-button-import-icon {
  width: 23px;
  height: 23px;
  filter: var(--image-invert);
}

/* Adjust filter for primary button icon */
.onboard-button-import-continue .onboard-button-import-icon {
  filter: invert(1);
}

.theme-dark .onboard-button-import-continue .onboard-button-import-icon {
  filter: invert(0);
}

/* Solid background for footer when auto_swipe buttons are shown */
.onboard-footer-solid-bg {
  background: var(--page-bg) !important;
}

/* Paywall logo styles */
.onboard-paywall-logo {
  text-align: center;
  margin-top: 17px;
  margin-bottom: 12px;
}

.onboard-paywall-logo span {
  display: inline-block;
  width: 178px;
  height: 30px;
  background: url("https://files.sobrief.com/public/logo-pro.png") no-repeat center;
  background-size: contain;
  filter: var(--image-invert);
  aspect-ratio: 1;
}

/* Onboarding toolbar button */
.onboard-toolbar-button-container {
  position: absolute;
  right: 20px;
  top: 23px;
  transform: translateY(-50%);
}

.onboard-header #toolbar_button {
  font-size: 14px;
  padding: 8px 16px;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .onboard-toolbar-button-container {
    right: 15px;
  }
  
  .onboard-header #toolbar_button {
    
  }
}

/* Header layout adjustment when toolbar button is visible */
.onboard-header.onboard-header-with-toolbar .onboard-header-inner {
  text-align: left;
  padding-left: 12px;
}

/* Import iframe wrapper */
.onboard-import-iframe-wrap {
  width: 100%;
  margin: 20px 0;
  position: relative;
  overflow: visible;
}

.onboard-import-iframe-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .onboard-import-iframe-wrap iframe {
    min-height: 500px;
  }
}

/* Voice selection grid */
.onboard-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
  padding: 10px 4px 70px 4px;
}

.onboard-voice-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

.onboard-voice-card:active {
  transform: scale(0.97);
}

.onboard-voice-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 16px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.onboard-voice-video.loaded {
  opacity: 1;
}

.onboard-voice-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}

.onboard-voice-placeholder.hidden {
  opacity: 0;
}

.onboard-voice-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 4px 10px 5px 10px;
  border-radius: 34px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  z-index: 2;
  line-height: 14px;
}

.onboard-voice-play {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.onboard-voice-play i {
  display: block;
  width: 20px;
  height: 20px;
  background: transparent url("https://files.sobrief.com/public/icon-play.png") no-repeat 50% 50%;
  background-size: 14px;
  filter: invert(1) brightness(2);
  position: relative;
  left: 1px;
}

.onboard-voice-card.onboard-voice-playing .onboard-voice-play i {
  background-image: url("https://files.sobrief.com/public/icon-pause.png");
  left: 0;
}

.onboard-voice-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: var(--filled-button-bg);
  color: var(--filled-button-color);
  font-size: 11px;
  line-height: 11px;
  border-radius: 100px;
  padding: 6px 10px 5px 10px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 3;
  display: none;
}

.onboard-voice-card.onboard-voice-selected {
  box-shadow: 0 0 0 3px var(--text-color);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 380px) {
  .onboard-voice-grid {
    gap: 12px;
  }
  
  .onboard-voice-label {
    
  }
  
  .onboard-voice-play {
    width: 36px;
    height: 36px;
  }
}

/* Mini switcher for catalog chart */
.switcher-mini {
  border-radius: 100px;
  margin: 0px 0px 10px 0px;
  padding: 4px;
}
.switcher-mini .switch {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
}

/* Catalog comparison chart */
.onboard-catalog-chart-wrap {
  padding: 30px 0px 40px 0px;
  margin: 0 auto;
  max-width: 100%;
}

.onboard-catalog-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: calc(100vh - 455px);
  height: calc(100svh - 455px);
  min-height: 100px;
  max-height: 250px;
  gap: 12px;
  padding: 0px 10px;
  position: relative;
}

.onboard-catalog-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
  height: 100%;
}

.onboard-catalog-bar-inner {
  width: 100%;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: 0%;
  transform-origin: bottom;
  max-height: 100%;
  will-change: height;
}

/* Subtle white highlight at the top of all bars */
.onboard-catalog-bar-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

/* Premium styling for SoBrief bar */
.onboard-catalog-bar-premium .onboard-catalog-bar-inner {
box-shadow: 0 4px 12px rgba(246, 174, 45, 0.35);
}

.onboard-catalog-bar-premium {
  position: relative;
}
.onboard-catalog-bar-premium.animated {
  position: relative;
  top: -5px;
  transition: top 0.3s ease;
}

.onboard-catalog-bar.animated .onboard-catalog-bar-inner {
  /* Height will be set via inline style when animated */
}

.onboard-catalog-bar-label {
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(1);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
  z-index: 2;
  will-change: opacity, transform;
}

/* Bounce animation for the SoBrief label - quick up, slower down */
@keyframes bounceNumber {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  22% {
    transform: translateX(-50%) translateY(-3px) scale(1.12);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.onboard-catalog-bar-premium .onboard-catalog-bar-label.bounce {
  animation: bounceNumber 0.9s ease;
  animation-fill-mode: none;
}

.onboard-catalog-bar.animated .onboard-catalog-bar-label {
  opacity: 0.9;
}

.onboard-catalog-bar-name {
  margin-top: 10px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  word-wrap: break-word;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
  will-change: opacity;
  height: 30px;
}

.onboard-catalog-bar.animated .onboard-catalog-bar-name {
  opacity: 0.65;
}

.onboard-catalog-bar.animated .onboard-catalog-bar-name-sobrief {
  opacity: 1;
}

.onboard-catalog-bar-name-sobrief img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.theme-dark .onboard-catalog-bar-name-sobrief img {
  filter: invert(1);
}

@media (max-width: 380px) {
  .onboard-catalog-chart {
    gap: 8px;
    padding: 0px 5px;
  }
  
  .onboard-catalog-bar-label {
    font-size: 14px;
  }
  
  .onboard-catalog-bar-name {
    font-size: 11px;
    line-height: 15px;
  }
}

/* Time Comparison Chart (Step 33 - Read More) */
.onboard-time-comparison {
  padding: 50px 0px 40px 0px;
  max-width: 100%;
  margin: 0 auto;
}

.onboard-time-chart-wrap {
  padding: 0px;
  margin: 0 auto;
  max-width: 100%;
}

.onboard-time-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(100vh - 373px);
  min-height: 100px;
  max-height: 250px;
  gap: 20px;
  padding: 0px 20px;
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.onboard-time-bar {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
  height: 100%;
}

.onboard-time-bar-inner {
  width: 100%;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: 0%;
  transform-origin: bottom;
  max-height: 100%;
  will-change: height;
}

/* Subtle white highlight at the top of all bars */
.onboard-time-bar-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

/* Premium styling for SoBrief bar */
.onboard-time-bar-premium .onboard-time-bar-inner {
  box-shadow: 0 4px 12px rgba(246, 174, 45, 0.35);
}

.onboard-time-bar-premium {
  position: relative;
}

.onboard-time-bar-label {
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(1);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
  will-change: opacity;
}

.onboard-time-bar.animated .onboard-time-bar-label {
  opacity: 0.9;
}

.onboard-time-bar-name {
  margin-top: 10px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  word-wrap: break-word;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
  will-change: opacity;
  height: 30px;
  padding-bottom: 60px;
}

.onboard-time-bar.animated .onboard-time-bar-name {
  opacity: 0.65;
}

.onboard-time-bar.animated .onboard-time-bar-name-sobrief {
  opacity: 1;
}

.onboard-time-bar-name-sobrief {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  position: relative;
}

.onboard-time-bar-name-sobrief img {
  width: auto;
  height: 20px;
  max-width: 90px;
  object-fit: contain;
}

.theme-dark .onboard-time-bar-name-sobrief img {
  filter: invert(1);
}

@media (max-width: 380px) {
  .onboard-time-chart {
    gap: 16px;
    max-width: 260px;
  }
  
  .onboard-time-bar {
    flex: 0 0 85px;
  }
  
  .onboard-time-bar-label {
    font-size: 14px;
  }
  
  .onboard-time-bar-name {
    font-size: 11px;
    line-height: 15px;
  }
  
  .onboard-time-bar-name-sobrief img {
    height: 18px;
    max-width: 75px;
  }
}

/* Step 30 specific styling - testimonial card */
#onboard_quote_30 {
  /*
  box-shadow: 0 8px 32px rgba(246, 174, 45, 0.15), 
              0 4px 16px rgba(255, 215, 180, 0.2);
  box-shadow: none;*/
}

/* Fade-in animation for stars */
@keyframes fadeInStar {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Staggered star animation for step 30 only */
#onboard_quote_30 .rating-star {
  opacity: 0;
  animation: fadeInStar 0.6s ease-out forwards;
}

#onboard_quote_30 .rating-star:nth-child(1) {
  animation-delay: 0.1s;
}

#onboard_quote_30 .rating-star:nth-child(2) {
  animation-delay: 0.2s;
}

#onboard_quote_30 .rating-star:nth-child(3) {
  animation-delay: 0.3s;
}

#onboard_quote_30 .rating-star:nth-child(4) {
  animation-delay: 0.4s;
}

#onboard_quote_30 .rating-star:nth-child(5) {
  animation-delay: 0.5s;
}

/* Fade-in animation for quote text */
@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInTextAuthor {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 0.6;
    transform: translateY(0);
  }
}

/* Quote text appears after stars complete */
#onboard_quote_30 .onboard-quote {
  opacity: 0;
  animation: fadeInText 0.8s ease-out 0.9s forwards;
}

#onboard_quote_30 .onboard-quote-author {
  opacity: 0;
  animation: fadeInTextAuthor 0.7s ease-out 1.2s forwards;
}

/* Company Logos Infinite Scroll */
.onboard-companies {
  width: 100%;
  margin: 40px 0px 0px 0px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInCompanies 2s ease 1.5s forwards;
}

@keyframes fadeInCompanies {
  from {
    opacity: 0;
    transform: translateY(0px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

.companies-scroll {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.companies-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scrollLogos 22s linear 0.5s infinite;
  width: max-content;
}

.company-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%) brightness(1) opacity(0.4);
  flex-shrink: 0;
}

.theme-dark .company-logo {
  filter: grayscale(0%) brightness(1) opacity(0.7) invert(1);
}

/* Opacity boost for specific logos */
.company-logo[src*="harvard"],
.company-logo[src*="oxford"] {
  filter: grayscale(0%) brightness(1) opacity(0.6);
}

.theme-dark .company-logo[src*="harvard"],
.theme-dark .company-logo[src*="oxford"] {
  filter: grayscale(0%) brightness(1) opacity(0.9) invert(1);
}

.company-logo[src*="stanford"] {
  filter: grayscale(0%) brightness(1) opacity(0.5);
}

.theme-dark .company-logo[src*="stanford"] {
  filter: grayscale(0%) brightness(1) opacity(0.7) invert(1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Checkbox Button Overrides (for problems multi-select) */
.onboard-multiselect {
  padding-bottom: 70px;
  padding-top: 8px;
}

.onboard-checkbox-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px 14px 18px;
  margin-bottom: 10px;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 500;
  line-height: 21px;
  border-radius: 12px;
}

.onboard-checkbox-button * {
  user-select: none;
}

.onboard-checkbox-button .onboard-checkbox-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.onboard-checkbox-button i {
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  margin: 0;
  left: -3px;
  top: 0px;
}

.onboard-checkbox-button .onboard-checkbox-label {
  flex: 1;
  text-align: left;
  padding-right: 10px;
}

.onboard-checkbox-button .onboard-checkbox-input {
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  width: 19px;
  height: 19px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* Selected state */
.onboard-checkbox-button.onboard-button-selected {
  background: var(--bg2);
  border-color: var(--primary-color);
  box-shadow: none;

  border-color: rgba(0, 116, 232,0.8);
  background: rgba(0, 116, 232, 0.07);

  border-color: rgba(255, 110, 103, 0.8);
  background: rgba(255, 110, 103,0.09);
}

.theme-dark .onboard-checkbox-button.onboard-button-selected {
  border-color: rgba(0, 116, 232,0.82);
  background: rgba(0, 116, 232, 0.3);

  border-color: rgba(255, 110, 103, 0.8);
  background: rgba(255, 110, 103,0.09);

  border-color: rgba(255, 110, 103, 0.6);
  background: rgba(255, 110, 103,0.3);
}

/* Small button variant (for choice questions with long text) */
.onboard-button-small {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 14px 21px 14px 20px;
  margin-bottom: 8px;
  margin-top: 9px;
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  border-radius: 11px;
  text-align: left;
}

.onboard-button-small i {
  font-size: 26px;
  margin-right: 10px;
  position: relative;
  left: -3px;
  top: 0px;
  flex-shrink: 0;
  width: 25px;
}

/* Two-part button variant (main label + secondary label on right) */
.onboard-button-two-part {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 17px 18px 17px 18px;
}

.onboard-button-two-part i {
  margin-right: 7px;
  position: relative;
  top: 0px;
  left: 2px;
}

.onboard-button-two-part .onboard-button-label {
  flex: 0 0 auto;
  font-weight: 500;
}

.onboard-button-two-part .onboard-button-secondary {
  flex: 1;
  text-align: right;
  color: var(--text-color);
  opacity: 0.5;
  font-weight: 400;
  font-size: 15px;
}

.theme-dark .onboard-button-two-part .onboard-button-secondary {
  opacity: 0.45;
}

/* Two-part button with small variant - larger font size override */
.onboard-button-small.onboard-button-two-part {
  font-size: 18px;
  padding: 16px 21px 17px 20px;
}

/* Retention question button - override flex-direction to stack content */
.onboard-button-small:has(.onboard-retention-percent) {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}

.onboard-button-small:has(.onboard-retention-percent) i {
  flex-shrink: 0;
  align-self: flex-start;
}

/* Retention question percentage styling */
.onboard-retention-percent {
  display: block;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
  width: calc(100% - 40px);
  line-height: 1.2;
}

.onboard-retention-desc {
  display: block;
  font-size: 15px;
  font-weight: 400;
  width: calc(100% - 40px);
  margin-left: 35px;
  line-height: 1.3;
}

/* Interests Grid */
.onboard-interests-grid {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0px 70px 0px;
  line-height: 1;
}

.onboard-button-interest {
  display: inline-block;
  padding: 11px 11px 10px 40px;
  margin: 4px 0px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  background: var(--bg3) !important;
  color: var(--text-color);
  border: 0px solid transparent;
  border: none !important;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: auto;
  position: relative;
}
.theme-dark .onboard-button-interest {
  background: var(--bg4) !important;
}

.onboard-button-interest i {
  font-style: normal;
  font-size: 20px;
  position: absolute;
  top: 6px;
  left: 11px;
  display: inline-block;
}

.onboard-button-interest.onboard-button-selected {
  background: rgba(255, 110, 103, 0.09) !important;
  color: var(--text-color);
  box-shadow: 0px 0px 0px 1px rgba(255, 110, 103, 0.8);
}

.theme-dark .onboard-button-interest.onboard-button-selected {
  background: rgba(255, 110, 103, 0.3) !important;
  color: var(--text-color);
  box-shadow: 0px 0px 0px 1px rgba(255, 110, 103, 0.6);
}

@media (max-width: 400px) {
  .onboard-button-interest {
    font-size: 13px;
    padding: 9px 11px 8px 36px;
  }
  
  .onboard-button-interest i {
    font-size: 17px;
    top: 4px;
    left: 9px;
  }
}

/* ========================================
   WEB PAYWALL STYLES (PAGE 32)
   ======================================== */

/* Header Section */
.web-paywall-header {
  margin: 0px;
  padding: 0px;
  position: fixed;
  top: 0px;
  z-index: 10;
  width: 100%;
  display: none;
  background: var(--bg3);
  border-bottom: 1px solid var(--border-color3);
}

.theme-light .web-paywall-header {
  background: #F8F9FA;
}

.theme-dark .web-paywall-header {
  background: #2A2A2A;
}

.web-paywall-header-wrap {
  max-width: 1107px;
  margin: 0 auto;
  width: 100%;
}

.web-paywall-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 0px;
}

/* Countdown Timer (Inline) */
.web-paywall-countdown-inline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.web-paywall-countdown-text {
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
  color: var(--text-color);
  opacity: 1;
  padding-top: 2px;
}

.web-paywall-countdown-time {
  font-size: 18px;
  line-height: 16px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 0px;
}

.web-paywall-countdown-inline.hidden {
  display: none;
}

/* Continue Button in Header */
.web-paywall-continue-button-header {
  display: inline-block;
  border-radius: 200px;
  cursor: pointer;
  font-weight: 500;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0px 4px 20px -2px rgba(0, 0, 0, 0.07);
  transition: border-color 0.17s ease, background-color 0.17s ease;
  font-size: 14px;
  line-height: 15px;
  padding: 9px 17px 0px 17px;
  height: 35px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgb(51, 51, 54);
  color: #fff;

  background: #007bff;
}

/*
.theme-dark .web-paywall-continue-button-header {
  background: #eee;
  color: #000;
}
*/

/* Main Content Container */
.web-paywall-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 96px 0px 40px 0px;
}

/* Heading */
.web-paywall-heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-color);
}
.web-paywall-reviews-section .web-paywall-heading {
  margin-top: 32px;
}

/* Plan Cards */
.web-paywall-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.web-paywall-plan-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px 21px 16px 21px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #F8F9FA;
  border-color: #E9ECEF;
}

.theme-dark .web-paywall-plan-card {
  background: #2A2A2A;
  border-color: #3A3A3A;
}

.web-paywall-plan-card-selected {
  border-color: #007bff !important;
  background: rgba(74, 144, 226, 0.05);
  background: rgba(2, 123, 255, 0.09);
}

.theme-dark .web-paywall-plan-card-selected {
  background: rgba(74, 144, 226, 0.15);
}

.web-paywall-plan-card-popular {
  padding-top: 37px;
}

/* Popular Badge */
.web-paywall-plan-popular-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #007bff;
  color: white;
  text-align: center;
  padding: 4px 0px 5px 0px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 11px 11px 0 0;
}

/* Plan Content - 2 Column Layout */
.web-paywall-plan-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

/* Left Column */
.web-paywall-plan-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-paywall-plan-duration {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.web-paywall-plan-badge {
  padding: 3px 5px 3px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: fit-content;
}

.web-paywall-plan-badge-save {
  background: #E3F2FD;
  color: #1976D2;
}

.theme-dark .web-paywall-plan-badge-save {
  background: rgba(25, 118, 210, 0.25);
  color: #64B5F6;
}

.web-paywall-plan-card-selected .web-paywall-plan-badge-save {
  background: #007bff;
  color: white;
}

.theme-dark .web-paywall-plan-card-selected .web-paywall-plan-badge-save {
  background: #007bff;
  color: white;
}

.web-paywall-plan-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.web-paywall-plan-price-old,
.web-paywall-plan-price-current {
  font-size: 16px;
  color: var(--text-color3);
  opacity: 1;
  font-weight: 400;
}

.web-paywall-plan-price-old {
  text-decoration: line-through;
}

.web-paywall-plan-price-current {
  
}

/* Right Column - 3 Sub-columns */
.web-paywall-plan-right {
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

/* Col 1: Strikethrough price and dollar sign */
.web-paywall-plan-price-col1 {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 13px;
  padding-top: 6px;
}

.web-paywall-plan-price-perday-old {
  font-size: 16px;
  color: var(--text-color3);
  opacity: 1;
  font-weight: 300;
  line-height: 1;
  text-decoration: line-through rgb(255, 51, 51);
}

.web-paywall-plan-price-dollar {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-color3);
  line-height: 1;
}

/* Col 2: Large number (the "0") */
.web-paywall-plan-price-col2 {
  display: flex;
  align-items: flex-start;
}

.web-paywall-plan-price-large {
  font-size: 56px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 0.9;
  letter-spacing: 0px;
}

/* Col 3: Decimal and "PER DAY" */
.web-paywall-plan-price-col3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-left: 2px;
}

.web-paywall-plan-price-decimal {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color3);
  line-height: 0.9;
  letter-spacing: 0px;
  margin-top: 7px;
}

.web-paywall-plan-per-label {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-color3);
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-top: 4px;
}

/* Renewal Notice */
.web-paywall-renewal-notice {
  background: var(--bg4);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-color3);
  margin-bottom: 12px;
  border: 1px solid var(--border-color3);
}

.theme-light .web-paywall-renewal-notice {
  background: #F1F3F5;
}

.theme-dark .web-paywall-renewal-notice {
  background: #2A2A2A;
}

.web-paywall-renewal-notice b {
  font-weight: 600;
}

/* Continue Button */
.web-paywall-continue-button {
  width: 100%;
  padding: 18px;
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

/* Payment Security */
.web-paywall-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 14px auto;
  color: #059669;
  font-size: 14px;
  font-weight: 400;
  background: rgba(91, 241, 143, 0.15);
  background: rgb(242, 252, 248);
  padding: 6px 10px;
  border-radius: 8px;
  width: fit-content;
}

.theme-dark .web-paywall-secure {
  color: #5BF18F;
  background: rgba(91, 241, 143, 0.1);
}

.web-paywall-secure-icon {
  width: 19px;
  height: 19px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(74%) saturate(700%) hue-rotate(120deg);
}

.theme-dark .web-paywall-secure-icon {
  filter: brightness(0) saturate(100%) invert(85%) sepia(28%) saturate(1200%) hue-rotate(70deg);
}

/* Payment Methods */
.web-paywall-payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 0 10px;
}
.web-paywall-reviews-section .web-paywall-payment-methods {
  margin-bottom: 2px;
}

.web-paywall-payment-methods img {
  height: 24px;
  width: auto;
  opacity: 1;
}

.theme-dark .web-paywall-payment-methods img {
  opacity: 1;
}

/* Features Section */
.web-paywall-features-section {
  background: rgba(91, 241, 143, 0.05);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 32px;
}

.theme-light .web-paywall-features-section {
  background: #F0FDF4;
  border: 1px solid #D1FAE5;
}

.theme-dark .web-paywall-features-section {
  background: rgba(91, 241, 143, 0.08);
  border: 1px solid rgba(91, 241, 143, 0.2);
}

.web-paywall-section-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 20px;
}

.web-paywall-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.web-paywall-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.web-paywall-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.web-paywall-feature-text {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color);
}

/* FAQ Section */
.web-paywall-faq-section {
  background: var(--bg3);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 32px;
}

.theme-light .web-paywall-faq-section {
  background: #FEF3E2;
  border: 1px solid #FDE1C8;
}

.theme-dark .web-paywall-faq-section {
  background: rgba(255, 167, 38, 0.08);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.web-paywall-faq-item {
  border-bottom: 1px solid var(--border-color3);
  padding: 16px 0;
  cursor: pointer;
}

.web-paywall-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.web-paywall-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  gap: 12px;
}

.web-paywall-faq-toggle {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-color2);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.web-paywall-faq-item.open .web-paywall-faq-toggle {
  transform: rotate(45deg);
}

.web-paywall-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-color2);
  padding-top: 0;
}

.web-paywall-faq-item.open .web-paywall-faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* Reviews Section */
.web-paywall-reviews-section {
  background: rgba(74, 144, 226, 0.05);
  border-radius: 16px;
  padding: 24px 14px;
  margin-bottom: 10px;
}

.theme-light .web-paywall-reviews-section {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
}

.theme-dark .web-paywall-reviews-section {
  background: rgba(74, 144, 226, 0.08);
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.web-paywall-reviews-subheading {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color2);
  text-align: center;
  margin-bottom: 24px;
}

.web-paywall-review-card {
  background: var(--page-bg);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.theme-light .web-paywall-review-card {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.theme-dark .web-paywall-review-card {
  background: #2A2A2A;
}

.web-paywall-review-card:last-child {
  margin-bottom: 0;
}

.web-paywall-review-stars {
  color: #FFA726;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.web-paywall-review-text {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.web-paywall-review-author {
  font-size: 13px;
  color: var(--text-color2);
  font-weight: 500;
}

/* Money-Back Guarantee Section */
.web-paywall-guarantee-section {
  background: rgba(147, 197, 253, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.theme-light .web-paywall-guarantee-section {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.theme-dark .web-paywall-guarantee-section {
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(147, 197, 253, 0.2);
}

.web-paywall-guarantee-icon {
  margin-bottom: 12px;
}

.web-paywall-guarantee-icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0) saturate(100%) invert(50%) sepia(50%) saturate(3000%) hue-rotate(200deg);
}

.theme-dark .web-paywall-guarantee-icon img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(50%) saturate(2000%) hue-rotate(200deg);
}

.web-paywall-guarantee-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
}

.web-paywall-guarantee-text {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-color2);
  margin-bottom: 12px;
}

.web-paywall-guarantee-link {
  font-size: 14px;
  font-weight: 600;
  color: #4A90E2;
  text-decoration: none;
  border-bottom: 0px solid #4A90E2;
}

.web-paywall-guarantee-link:hover {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 375px) {
  .web-paywall-plan-price-large {
    
  }
  
  .web-paywall-plan-price-decimal {
    
  }
  
  .web-paywall-plan-price-dollar {
    
  }
  
  .web-paywall-plan-duration {
    
  }
  
  .web-paywall-heading {
    
  }
  
  .web-paywall-plan-content {
    gap: 12px;
  }
}

/* Request Animation Styles */
.onboard-request-card {
  margin: 40px auto 30px auto;
  padding: 20px 30px;
  background: var(--bg2);
  border: 2px solid var(--border-color2);
  border-radius: 18px;
  box-shadow: 
    rgba(0, 0, 0, 0.04) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px 0px,
    rgba(0, 0, 0, 0.04) 0px 10px 20px 0px;
  position: relative;
  overflow: hidden;
  min-height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-dark .onboard-request-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    rgba(255, 255, 255, 0.02) 0px 0px 1px 0px,
    rgba(0, 0, 0, 0.2) 0px 2px 6px 0px,
    rgba(0, 0, 0, 0.3) 0px 10px 20px 0px;
}

/* Stage 1: Button with Pointer */
.onboard-request-button-stage {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
}

.onboard-request-button-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.onboard-request-button {
  display: inline-block;
  padding: 15px 28px 0px 28px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 16px;
  line-height: 16px;
  height: 46px;
  font-weight: 500;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0px 4px 20px -2px rgba(0, 0, 0, 0.07);
  background: var(--toolbar-cta-bg, #000);
  color: var(--toolbar-cta-color, #fff);
  transition: 
    transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.15s ease;
  cursor: default;
  opacity: 0.9;
}

.theme-dark .onboard-request-button {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0px 4px 20px -2px rgba(0, 0, 0, 0.3);
}


/* Pointer Animation */
.onboard-request-pointer {
  position: absolute;
  width: 32px;
  height: 32px;
  bottom: -40px;
  right: -40px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}

.theme-dark .onboard-request-pointer {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4)) invert(1);
}

/* Stage 2: Progress Messages */
.onboard-request-progress-stage {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.onboard-request-emoji {
  font-size: 56px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.onboard-request-message {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-color);
  transition: opacity 0.2s ease;
  text-align: center;
}

.onboard-request-progress {
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: var(--bg5);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.theme-dark .onboard-request-progress {
  background: rgba(255, 255, 255, 0.1);
}

.onboard-request-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b6b, #ffa726);
  border-radius: 100px;
  transition: none;
}

.onboard-request-progress-bar.animate {
  animation: requestProgress 10s ease-out forwards;
}

@keyframes requestProgress {
  0% { width: 0%; }
  20% { width: 20%; }
  40% { width: 40%; }
  60% { width: 60%; }
  80% { width: 80%; }
  95% { width: 95%; }
  100% { width: 100%; }
}

/* Visualization Cards */
.visualization-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 16px;
}

.visualization-header h2 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.2;
}

.visualization-header p {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--text-color2);
  line-height: 1.5;
}

.onboard-visualization-wrapper {
  padding: 27px 0px 50px 0px;
}

/* Questions section - add extra padding to buttons */
#onboard_page_34 .onboard-buttons {
  padding-top: 10px;
}

.visualization-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 14px;
  margin: 0 auto 20px auto;
  max-width: 550px;
  box-shadow: none;
}

.theme-dark .visualization-card {
  background: transparent;
  border: none;
}

.visualization-card .card-title {
  font-size: clamp(18px, 4.5vw, 20px);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 28px;
  margin-top: 0px;
  text-align: center;
  line-height: 1.3;
  position: static;
}

.visualization-card:first-of-type {
  position: relative;
  padding-bottom: 40px;
}

.visualization-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}

/* Emotional State Card */
.before-after {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}

.state-column {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  min-width: 0;
}

.state-column:first-child {
  border-right: 1px solid var(--border-color2);
}

.theme-dark .state-column:first-child {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.badge {
  font-size: clamp(9px, 2.5vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color2);
  margin-bottom: 16px;
}

.badge-positive {
  color: #059669;
}

.theme-dark .badge-positive {
  color: #5BF18F;
}

.illustration {
  font-size: clamp(48px, 12vw, 56px);
  margin-bottom: 20px;
  line-height: 1;
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.metric {
  text-align: center;
}

.metric-label {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--text-color2);
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}

.bar-chart {
  height: 10px;
  background: var(--bg4);
  border-radius: 5px;
  overflow: hidden;
  margin: 0 auto 8px auto;
  max-width: min(160px, 80%);
}

.theme-dark .bar-chart {
  background: rgba(255, 255, 255, 0.1);
}

.bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.bar-negative {
  background: #EF4444;
}

.bar-positive {
  background: #10B981;
}

.metric-value {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  color: var(--text-color);
}

.arrow {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  font-size: 32px;
  color: var(--text-color2);
}

/* TBR Card */
.tbr-stats {
  text-align: center;
  margin-bottom: 20px;
}

.big-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
  margin-bottom: 8px;
}

.label {
  font-size: 15px;
  color: var(--text-color2);
  margin-bottom: 12px;
}

.cost {
  font-size: 17px;
  font-weight: 600;
  color: #EF4444;
}

.arrow-down {
  text-align: center;
  font-size: 32px;
  color: var(--text-color2);
  margin: 16px 0;
}

.solution {
  background: transparent;
  border-radius: 0;
  padding: 16px;
  margin-bottom: 16px;
}

.theme-dark .solution {
  background: transparent;
}

.benefit, .prop {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.benefit:last-child, .prop:last-child {
  margin-bottom: 0;
}

.cta-text {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #10B981;
}

.theme-dark .cta-text {
  color: #5BF18F;
}

/* Modern Emotional State Card Redesign - Minimal theme */
.emotional-card-redesign {
  background: transparent;
  border: none;
  padding: 0px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}

.theme-dark .emotional-card-redesign {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Remove decorative background elements for minimal design */
.emotional-card-redesign::before {
  display: none;
}

.emotional-card-redesign::after {
  display: none;
}

/* Header */
.emotional-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.emotional-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
}

.emotional-card-heading {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 32px;
}

/* Transformation Container */
.transformation-container {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Transform Sides - Minimal */
.transform-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  padding: 0px 10px 8px 10px;
  position: relative;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-dark .transform-side {
  background: transparent;
  box-shadow: none;
}

.transform-before {
  border: none;
}

.theme-dark .transform-before {
  border: none;
}

.transform-after {
  border: none;
  box-shadow: none;
}

.theme-dark .transform-after {
  border: none;
  box-shadow: none;
}

/* Badges - Minimal - Generic class for all viz section badges */
.transform-badge,
.viz-section-badge {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0px;
  padding: 7px 18px;
  border-radius: 100px;
  align-self: center;
  margin-bottom: 0px;
  box-shadow: none;
  background: var(--bg3);
  color: var(--text-color2);
  border: 0px solid var(--border-color);
  display: inline-block;
}

.theme-dark .transform-badge,
.theme-dark .viz-section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

/* Reset margin for badges inside transform sides */
.transform-side .viz-section-badge,
.transform-side .transform-badge {
  margin-bottom: 0px;
}


/* Emoji Circles */
.transform-emoji-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.emoji-circle {
  width: 80px;
  height: 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.emoji-circle::before {
  display: none;
}

.emoji-before {
  background: transparent;
  box-shadow: none;
  animation: sway 8s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.4)) drop-shadow(0 0 24px rgba(239, 68, 68, 0.2));
}

.theme-dark .emoji-before {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(248, 113, 113, 0.5)) drop-shadow(0 0 24px rgba(248, 113, 113, 0.3));
}

/* Swaying animation for stressed emoji */
@keyframes sway {
  0%, 100% {
    transform: translateX(-8px) translateY(6px) rotate(-3deg);
  }
  50% {
    transform: translateX(8px) translateY(6px) rotate(3deg);
  }
}

.emoji-after {
  background: transparent;
  box-shadow: none;
  animation: float-zen 2.5s ease-in-out infinite;
}

.theme-dark .emoji-after {
  background: transparent;
  box-shadow: none;
  animation: float-zen-dark 2.5s ease-in-out infinite;
}

/* Dark theme floating yoga animation */
@keyframes float-zen-dark {
  0%, 100% {
    transform: translateY(8px);
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.4)) drop-shadow(0 0 24px rgba(52, 211, 153, 0.2));
  }
  50% {
    transform: translateY(3px);
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.5)) drop-shadow(0 0 32px rgba(52, 211, 153, 0.3));
  }
}

/* Floating yoga animation - enlightened yogi hovering */
@keyframes float-zen {
  0%, 100% {
    transform: translateY(8px);
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.35)) drop-shadow(0 0 24px rgba(16, 185, 129, 0.2));
  }
  50% {
    transform: translateY(3px);
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.45)) drop-shadow(0 0 32px rgba(16, 185, 129, 0.25));
  }
}

/* Transform Arrow */
.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  position: relative;
}

.arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  animation: arrow-pulse 2s ease-in-out infinite;
}

.theme-dark .arrow-circle {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.arrow-icon {
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .arrow-icon {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes arrow-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Metrics */
.transform-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.metric-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.metric-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.3;
  text-align: left;
}

/* Progress Bars */
.progress-bar {
  height: 17px;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  /*
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);*/
}

.progress-bar-negative {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
}

.theme-dark .progress-bar-negative {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(239, 68, 68, 0.4) 100%);
}

.progress-bar-positive {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.theme-dark .progress-bar-positive {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.3) 100%);
}

.progress-fill {
  height: 100%;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.progress-negative {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.theme-dark .progress-negative {
  background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
}

.progress-positive {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.theme-dark .progress-positive {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}

/* Animated shimmer effect on progress bars */
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.metric-result {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 1px 0px 6px 0px;
}

.metric-bad {
  color: #DC2626;
}

.theme-dark .metric-bad {
  color: #FCA5A5;
}

.metric-good {
  color: #059669;
}

.theme-dark .metric-good {
  color: #6EE7B7;
}

/* Stat Badge */
.emotional-stat-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.2);
  border-radius: 18px;
  padding: 11px 21px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.theme-dark .emotional-stat-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.stat-text {
  font-size: 16px;
  font-weight: 500;
  color: #92400E;
  line-height: 1.4;
  text-align: left;
  padding: 0px 10px 0px 4px;
}


.theme-dark .stat-text {
  color: #FCD34D;
}

/* Modern TBR Card Redesign - Female-coded, infographic style */
.tbr-card-redesign {
  background: transparent;
  border: none;
  padding: 0px;
  overflow: hidden;
  position: relative;
}

.theme-dark .tbr-card-redesign {
  background: transparent;
  border: none;
}

/* Remove decorative background elements for minimal design */
.tbr-card-redesign::before {
  display: none;
}

.tbr-card-redesign::after {
  display: none;
}

.tbr-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tbr-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
}

.tbr-card-heading {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 24px;
}

.card-title-new {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.theme-dark .card-title-new {
  background: linear-gradient(135deg, #FF6B9D 0%, #C77DFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Problem Section */
.tbr-problem-section {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.tbr-stats-modern {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tbr-stat-box {
  background: var(--bg3);
  border: 1px solid var(--border-color3);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 140px;
  text-align: center;
}

.theme-dark .tbr-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-box-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-box-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color2);
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

/* Legacy bubble styles for compatibility */
.tbr-stat-bubble {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px 20px;
  min-width: 140px;
  text-align: center;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.bubble-money {
  background: transparent;
  border: none;
}

.bubble-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 4px;
}

.bubble-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color2);
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

/* Pain Points - Minimal */
.tbr-pain-points {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-dark .tbr-pain-points {
  background: transparent;
  border: none;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.pain-emoji {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.pain-text {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

.theme-dark .pain-text {
  color: var(--text-color);
}

/* Divider */
.tbr-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

.divider-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 20px;
  box-shadow: none;
}

.theme-dark .divider-circle {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Solution Section */
.tbr-solution-modern {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.solution-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
}

.solution-emoji {
  font-size: 24px;
  line-height: 1;
}

.solution-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-modern {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: transparent;
  border-radius: 0;
  padding: 14px;
  border: none;
}

.theme-dark .benefit-modern {
  background: transparent;
  border: none;
}

.theme-dark .benefit-modern:hover {
  border: none;
  box-shadow: none;
}

.benefit-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-content {
  flex: 1;
  padding-top: 2px;
}

.benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 3px;
  line-height: 1.3;
}

.benefit-subtitle {
  font-size: 13px;
  color: var(--text-color2);
  line-height: 1.4;
  font-weight: 500;
}

/* CTA Badge */
.tbr-cta-modern {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-color);
  padding: 10px 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.theme-dark .cta-badge {
  background: transparent;
  border: none;
  color: var(--text-color);
}

.cta-badge-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border-color3);
  color: var(--text-color);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.theme-dark .cta-badge-highlight {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.cta-emoji {
  font-size: 18px;
  line-height: 1;
}

.cta-text-new {
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 380px) {
  .tbr-emoji-large {
    font-size: 48px;
  }
  
  .tbr-card-heading {
    font-size: 24px;
    line-height: 30px;
  }
  
  .card-title-new {
    font-size: 22px;
  }
  
  .tbr-stat-box {
    min-width: 130px;
    padding: 16px 20px;
  }
  
  .stat-box-number {
    font-size: 28px;
  }
  
  .tbr-stat-bubble {
    min-width: 130px;
    padding: 14px 16px;
  }
  
  .bubble-number {
    font-size: 24px;
  }
  
  .pain-emoji {
    font-size: 20px;
  }
  
  .benefit-icon {
    font-size: 24px;
  }
}

/* Modern Capacity Card Redesign - Fresh green/lime theme */
.capacity-card-redesign {
  background: transparent;
  border: none;
  padding: 0px 10px;
  overflow: hidden;
  position: relative;
}

.theme-dark .capacity-card-redesign {
  background: transparent;
  border: none;
}

/* Remove decorative background elements for minimal design */
.capacity-card-redesign::before {
  display: none;
}

.capacity-card-redesign::after {
  display: none;
}

/* Header */
.capacity-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.capacity-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-title-capacity {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 32px;
}

/* Stats Row */
.capacity-stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.capacity-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid #D1FAE5;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
  min-width: 0;
}

.theme-dark .capacity-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(34, 197, 94, 0.2);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
}

.stat-card-label {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 5px;
}

.theme-dark .stat-card-label {
  
}

.stat-card-value {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}

.theme-dark .stat-card-value {
  background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-unit {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-color);
}

.theme-dark .stat-card-unit {
  
}

/* Comparison Section */
.capacity-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.comparison-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 10px;
  border-radius: 0;
  background: transparent;
}

.theme-dark .comparison-row {
  background: transparent;
}

.comparison-before {
  border: none;
}

.theme-dark .comparison-before {
  border: none;
}

.comparison-after {
  border: none;
  background: transparent;
}

.theme-dark .comparison-after {
  background: transparent;
  border: none;
}

.comparison-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* DEPRECATED: Use .viz-section-badge instead */
.comparison-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-bar-wrap {
  height: 28px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-dark .comparison-bar-wrap {
  background: var(--bg4);
}

.comparison-bar {
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
}

.comparison-bar-low {
  background: linear-gradient(90deg, #EF4444 0%, #DC2626 100%);
}

.theme-dark .comparison-bar-low {
  background: linear-gradient(90deg, #F87171 0%, #EF4444 100%);
}

.comparison-bar-high {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.theme-dark .comparison-bar-high {
  background: linear-gradient(90deg, #34D399 0%, #10B981 100%);
}

/* Bar shimmer effect */
.bar-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmerBar 2.5s infinite;
}

@keyframes shimmerBar {
  0% { left: -100%; }
  100% { left: 100%; }
}

.comparison-result {
  flex-shrink: 0;
  text-align: center;
  min-width: 85px;
}

.result-number {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.comparison-result-low .result-number {
  color: #DC2626;
}

.theme-dark .comparison-result-low .result-number {
  color: #FCA5A5;
}

.comparison-result-high .result-number {
  color: #059669;
}

.theme-dark .comparison-result-high .result-number {
  color: #34D399;
}

.result-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
  line-height: 1.3;
}

/* Multiplier Badge */
.capacity-multiplier-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 18px;
  position: relative;
  z-index: 1;
}

.theme-dark .capacity-multiplier-badge {
  background: transparent;
  border: none;
}

.multiplier-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.multiplier-text {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  line-height: 1.3;
  text-align: center;
}

.theme-dark .multiplier-text {
  color: #6EE7B7;
}

.multiplier-text strong {
  font-weight: 800;
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TIME CARD - "What If..." dreamy magazine-style design
   ═══════════════════════════════════════════════════════════════════════════ */

.time-card-hero {
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
  position: relative;
}

/* Header - Dreamy "What If" styling */
.time-hero-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.time-hero-emoji {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
  animation: crystalFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(167, 139, 250, 0.3));
}

@keyframes crystalFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
}

.time-hero-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  padding-top: 0px;
}

.time-hero-subtitle {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-color2);
  margin: 0;
}

.time-hero-subtitle strong {
  color: var(--text-color);
  font-weight: 600;
}

/* Value Exchange - Side by side books ↔ time */
.time-value-exchange {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
}

.theme-dark .time-value-exchange {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
  border-color: rgba(52, 211, 153, 0.25);
}

.value-column {
  flex: 1;
  text-align: center;
}

.value-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 0px;
}

.value-number {
  font-size: clamp(32px, 10vw, 48px);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 4px;
}

.value-get .value-number {
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .value-get .value-number {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-give .value-number {
  color: var(--text-color);
}

.value-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
}

.value-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  flex-shrink: 0;
}

.value-divider-line {
  width: 1px;
  height: 20px;
  background: rgba(16, 185, 129, 0.3);
}

.theme-dark .value-divider-line {
  background: rgba(52, 211, 153, 0.4);
}

.value-divider-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
  white-space: nowrap;
}

/* Unified Footer - Two column layout */
.time-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.2);
  border-radius: 16px;
}

.theme-dark .time-footer {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-color: rgba(251, 191, 36, 0.25);
}

.footer-multiplier {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.theme-dark .footer-multiplier {
  background: linear-gradient(135deg, #FBBF24 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-footer-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.time-footer-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color2);
  line-height: 1.3;
}

/* Mobile Responsive */
@media (max-width: 400px) {
  .time-value-exchange {
    padding: 16px 12px;
  }
  
  .value-emoji {
    font-size: 28px;
  }
  
  .value-label {
    font-size: 13px;
  }
  
  .value-divider {
    padding: 0 8px;
  }
  
  .value-divider-text {
    font-size: 11px;
  }
  
  .time-footer {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .footer-multiplier {
    font-size: 30px;
  }
  
  .time-footer-sub {
    font-size: 13px;
  }
}

/* Mobile Responsive */
@media (max-width: 400px) {
  .time-hero-title {
    font-size: 24px;
  }
  
  .time-hero-subtitle {
    font-size: 16px;
  }
  
  .time-hero-number {
    padding: 16px;
  }
  
  .time-number-label {
    font-size: 15px;
  }
  
  .time-number-context {
    font-size: 13px;
  }
  
  .time-comparison {
    padding: 14px;
    gap: 12px;
  }
  
  .time-compare-label {
    font-size: 12px;
  }
  
  .multiplier-badge {
    font-size: 14px;
    padding: 8px 14px;
  }
  
  .time-footer-badge {
    padding: 10px 16px;
  }
  
  .time-badge-icon {
    font-size: 18px;
  }
  
  .time-badge-text {
    font-size: 13px;
  }
}

/* ============================================ */
/* LEGACY CAPACITY CARD (kept for compatibility) */
/* ============================================ */

.capacity-card-hero {
  background: transparent;
  border: none;
  padding: 0px 0px;
  overflow: visible;
  position: relative;
}

.theme-dark .capacity-card-hero {
  background: transparent;
  border: none;
}

/* Header Section - Matches emotional-card-heading style */
.capacity-hero-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  animation: sparkleFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.3));
}

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.hero-title {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 6px;
  margin-top: 0px;
  padding-top: 0px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  color: var(--text-color2);
  margin: 0;
}

/* Hero Number - The Big Moment */
.capacity-hero-number {
  text-align: center;
  margin: 24px 0;
  padding: 14px 20px 18px 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
  border-radius: 20px;
  border: 2px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.theme-dark .capacity-hero-number {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
  border-color: rgba(52, 211, 153, 0.25);
}

/* Subtle shine effect */
.capacity-hero-number::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: heroShine 3s ease-in-out infinite;
}

@keyframes heroShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.hero-number-main {
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.theme-dark .hero-number-main {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-number-label {
  font-size: 17px;
  line-height: 23px;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}

/* Reality Check - Clean Before/After Comparison */
.capacity-reality-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 28px 0 24px;
  padding: 0 8px;
}

.reality-stat {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .reality-stat {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.reality-stat-potential {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.theme-dark .reality-stat-potential {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(52, 211, 153, 0.25);
}

.reality-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color2);
  margin-bottom: 6px;
  white-space: nowrap;
}

.reality-number {
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-color);
}

.reality-stat-potential .reality-number {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .reality-stat-potential .reality-number {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reality-divider {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color2);
  opacity: 0.5;
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Footer Insight - Emotional Payoff */
.capacity-footer {
  margin-top: 24px;
  padding-top: 5px;
  border-top: 0px solid rgba(0, 0, 0, 0.06);
}

.theme-dark .capacity-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.footer-insight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.15);
}

.theme-dark .footer-insight {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-color: rgba(251, 191, 36, 0.2);
}

.insight-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .hero-emoji {
    font-size: 52px;
    margin-bottom: 10px;
  }
  
  .hero-title {
    font-size: 24px;
    line-height: 30px;
  }
  
  .hero-number-main {
    font-size: 64px;
  }
  
  .hero-number-label {
    font-size: 16px;
  }
  
  .capacity-reality-check {
    gap: 10px;
    margin: 24px 0 20px;
  }
  
  .reality-stat {
    padding: 14px 8px;
  }
  
  .reality-divider {
    width: 20px;
    height: 20px;
  }
  
  .footer-insight {
    padding: 12px 16px;
  }
}

/* Modern Money Card Redesign - Warm amber/orange theme */
.money-card-redesign {
  background: transparent;
  border: none;
  padding: 0px 10px;
  overflow: hidden;
  position: relative;
}

.theme-dark .money-card-redesign {
  background: transparent;
  border: none;
}

/* Remove decorative background elements for minimal design */
.money-card-redesign::before {
  display: none;
}

.money-card-redesign::after {
  display: none;
}

/* Header */
.money-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.money-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
}

.money-card-heading {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 32px;
}

.card-title-money {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #C2410C 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.theme-dark .card-title-money {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* New Money Card Styles */
/* DEPRECATED: Use .viz-section-badge instead */
.money-section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  padding: 0px 0px 0px 0px;
  border-radius: 0;
  align-self: center;
  margin-bottom: 12px;
  box-shadow: none;
  color: var(--text-color2);
}

.money-comparison-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.money-comparison-side {
  flex: 1;
  text-align: center;
}

.money-amount-display {
  margin-bottom: 16px;
}

.money-amount-large {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.1;
  margin-bottom: 4px;
}

.money-amount-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .money-amount-green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.money-amount-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color2);
}

.money-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.money-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-color);
}

.breakdown-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.breakdown-text {
  font-weight: 500;
}

.money-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vs-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border-color3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color2);
}

.theme-dark .vs-circle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.vs-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-color3) 0%, transparent 100%);
}

.money-savings-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.theme-dark .money-savings-banner {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(52, 211, 153, 0.25);
}

.savings-banner-content {
  text-align: center;
}

.savings-banner-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #059669;
  margin-bottom: 8px;
}

.theme-dark .savings-banner-label {
  color: #10b981;
}

.savings-banner-amount {
  font-size: 52px;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.theme-dark .savings-banner-amount {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-banner-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
}

.money-footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border-color3);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 24px;
}

.theme-dark .money-footer-cta {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.money-footer-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.money-footer-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  padding: 0px 10px 0px 4px;
}

/* ========================================
   SIMPLIFIED MONEY CARD (EMOTIONAL)
   ======================================== */

.money-card-simple {
  background: transparent;
  border: none;
  padding: 0px 0px;
  overflow: visible;
  text-align: center;
  margin-top: -8px;
}

.theme-dark .money-card-simple {
  background: transparent;
  border: none;
}

/* Header */
.money-header-simple {
  text-align: center;
  margin-bottom: 28px;
}

.money-emoji-hero {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 8px;
  animation: fadeInOut 4s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.money-headline {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
  margin-top: 0px;
  padding-top: 0px;
  text-align: center;
}

.money-subheadline {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color2);
  line-height: 23px;
  max-width: 400px;
  margin: 0 auto;
}
.money-subheadline span {
  color: var(--text-color);
  display: inline-block;
  font-size: 21px;
  position: relative;
  top: 1px;
  left: 1px;
}

/* Money Display - The Hero Number (softer framing) */
.money-waste-display {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
  border: 2px solid rgba(251, 146, 60, 0.25);
  border-radius: 20px;
  padding: 15px 24px;
  margin-bottom: 32px;
}

.theme-dark .money-waste-display {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
  border-color: rgba(251, 146, 60, 0.35);
}

.waste-amount-hero {
  font-size: 46px;
  font-weight: 600;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 1px;
}

.waste-label {
  font-size: 18px;
  font-weight: 600;
  color: #EA580C;
  margin-bottom: 4px;
}

.theme-dark .waste-label {
  color: #FDBA74;
}

.waste-detail {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
  opacity: 1;
}

/* Solution Section */
.money-solution-simple {
  margin-bottom: 17px;
}

.solution-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-color3);
}

.divider-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  background: var(--bg3);
  border: 1px solid var(--border-color2);
  border-radius: 16px;
  padding: 20px;
}

.theme-dark .solution-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
}

.step-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color2);
  line-height: 1.4;
}

/* Value Prop */
.money-value-prop {
  margin-top: 0px;
}

.value-prop-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 12px 14px;
}

.theme-dark .value-prop-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.value-emoji {
  font-size: 33px;
  flex-shrink: 0;
}

.value-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 380px) {
  .money-card-heading {
    font-size: 24px;
    line-height: 30px;
  }
  
  .emotional-card-heading {
    font-size: 24px;
    line-height: 30px;
  }
  
  .card-title-capacity {
    font-size: 24px;
    line-height: 30px;
  }
  
  .card-title-retention {
    font-size: 24px;
    line-height: 30px;
  }
  
  .card-title-discovery {
    font-size: 24px;
    line-height: 30px;
  }
  
  .money-footer-text {
    font-size: 14px;
  }
}

/* Comparison Container */
.money-comparison-container {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.money-problem-side,
.money-solution-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.money-side-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 5px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.money-label-problem {
  background: transparent;
  color: var(--text-color2);
}

.theme-dark .money-label-problem {
  background: transparent;
  color: var(--text-color2);
}

.money-label-solution {
  background: transparent;
  color: var(--text-color2);
}

.theme-dark .money-label-solution {
  background: transparent;
  color: var(--text-color2);
}

/* Problem Box - Minimal */
.money-problem-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.theme-dark .money-problem-box {
  background: transparent;
  border: none;
}

.money-stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-color);
}

.stat-icon-small {
  font-size: 14px;
  flex-shrink: 0;
}

.stat-text-small {
  flex: 1;
  font-weight: 500;
}

.stat-text-small strong {
  font-weight: 700;
  color: var(--text-color);
}

.money-waste-highlight {
  opacity: 1;
}

.money-waste-highlight .breakdown-text {
  color: #e74c3c;
  font-weight: 500;
}

.theme-dark .money-waste-highlight .breakdown-text {
  color: #ff6b6b;
}

.waste-number {
  font-size: 22px;
  font-weight: 800;
  color: #DC2626;
  line-height: 1.1;
  margin-bottom: 2px;
}

.theme-dark .waste-number {
  color: #FCA5A5;
}

/* VS Divider */
.money-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
}

.vs-circle {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-color2);
  box-shadow: none;
}

.theme-dark .vs-circle {
  background: transparent;
  border: none;
}

/* Solution Box - Minimal */
.money-solution-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.theme-dark .money-solution-box {
  background: transparent;
  border: none;
}

.money-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-color);
}

.value-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.value-text {
  flex: 1;
}

.money-savings-highlight {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px;
  text-align: center;
  margin-top: 4px;
}

.theme-dark .money-savings-highlight {
  background: transparent;
  border: none;
}

.savings-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9A3412;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.theme-dark .savings-label {
  color: #FDBA74;
}

.savings-number {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #C2410C 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 2px;
}

.theme-dark .savings-number {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.savings-period {
  font-size: 10px;
  font-weight: 600;
  color: #9A3412;
}

.theme-dark .savings-period {
  color: #FDBA74;
  opacity: 0.8;
}

/* Footer */
.money-stat-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg3);
  border: 1.5px solid var(--border-color2);
  border-radius: 20px;
  padding: 10px 16px;
  position: relative;
  z-index: 1;
}

.theme-dark .money-stat-footer {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color2);
  line-height: 1.3;
  text-align: left;
}

.theme-dark .footer-text {
  color: var(--text-color2);
}

/* Time Card */
.goals {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 12px;
}

.goals div {
  font-size: clamp(13px, 3.5vw, 15px);
  color: var(--text-color2);
  margin-bottom: 8px;
  line-height: 1.4;
}

.goals div:last-child {
  margin-bottom: 0;
}

.goals strong {
  color: var(--text-color);
  font-weight: 600;
}

.comparison-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px;
}

.chart-row-highlight {
  background: transparent;
  padding: 16px 12px;
  border-radius: 0;
  margin: 0 -8px;
}

.theme-dark .chart-row-highlight {
  background: transparent;
}

.chart-label {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--text-color2);
  min-width: 90px;
  flex-shrink: 0;
  font-weight: 400;
}

.bar-container {
  flex: 1;
  height: 32px;
  background: var(--bg4);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.theme-dark .bar-container {
  background: rgba(255, 255, 255, 0.1);
}

.bar-container .bar {
  height: 100%;
}

.chart-value {
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 700;
  color: var(--text-color);
  min-width: 110px;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.multiplier {
  text-align: center;
  font-size: clamp(16px, 4.5vw, 19px);
  font-weight: 700;
  color: #10B981;
  line-height: 1.3;
  padding: 0 12px;
}

.theme-dark .multiplier {
  color: #5BF18F;
}

/* Money Card */
.current-spending {
  margin-bottom: 20px;
}

.problem-list, .benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-item {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color);
}

.vs {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color2);
  margin: 20px 0;
}

.sobrief-value {
  background: transparent;
  border-radius: 0;
  padding: 16px;
  margin-bottom: 16px;
}

.theme-dark .sobrief-value {
  background: transparent;
}

.benefit-item {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-color);
}

/* Modern Retention Card Redesign - Green/red theme */
.retention-card-redesign {
  background: transparent;
  border: none;
  padding: 0px 0px;
  overflow: hidden;
  position: relative;
}

.theme-dark .retention-card-redesign {
  background: transparent;
  border: none;
}

/* Remove decorative background elements for minimal design */
.retention-card-redesign::before {
  display: none;
}

.retention-card-redesign::after {
  display: none;
}

/* Header */
.retention-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.retention-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-title-retention {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 6px;
}

.card-subtitle-retention {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color2);
  text-align: center;
  font-style: italic;
}

/* Chart Section */
.retention-comparison {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.retention-chart-container {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px 12px;
}

.theme-dark .retention-chart-container {
  background: transparent;
  border: none;
}

.chart-y-axis-new {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 8px;
  min-width: 38px;
  flex-shrink: 0;
}

.chart-y-axis-new span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color2);
  line-height: 1;
  text-align: right;
}

.chart-area-new {
  flex: 1;
  position: relative;
  height: 150px;
  min-width: 0;
}

.chart-grid-new {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-line-new {
  height: 1px;
  background: var(--border-color2);
  opacity: 0.3;
}

.chart-svg-new {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.chart-label-highlight-new {
  position: absolute;
  right: 0;
  top: 5%;
  background: white;
  border: 1.5px solid #10B981;
  border-radius: 10px;
  padding: 5px 11px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  z-index: 10;
}

.theme-dark .chart-label-highlight-new {
  background: #1a1a1a;
  border-color: #34D399;
  color: #6EE7B7;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Timeline as X-Axis */
.retention-timeline {
  display: flex;
  justify-content: space-between;
  padding: 0 50px 12px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.marker-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color2);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

/* Legend */
.retention-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 12px;
  margin-bottom: 12px;
}

.legend-item-new {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot-new {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot-green {
  background: #10B981;
}

.theme-dark .legend-dot-green {
  background: #34D399;
}

.legend-dot-red {
  background: #EF4444;
}

.theme-dark .legend-dot-red {
  background: #F87171;
}

.legend-text-new {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RETENTION CARD - New magazine-style elements (chart styles preserved above)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero Stat - Big "80%" number display */
.retention-hero-stat {
  text-align: center;
  padding: 20px 16px;
  margin-bottom: 16px;
  margin-top: 29px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.theme-dark .retention-hero-stat {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-color: rgba(52, 211, 153, 0.2);
}

.retention-stat-number {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.theme-dark .retention-stat-number {
  background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.retention-stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 4px;
}

.retention-stat-context {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color2);
}

/* Simple Benefit - Clean single-line benefit */
.retention-benefit-simple {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-left: 3px solid rgba(139, 92, 246, 0.4);
}

.theme-dark .retention-benefit-simple {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-left-color: rgba(167, 139, 250, 0.5);
}

.benefit-simple-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.benefit-simple-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.benefit-simple-main {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
}

.benefit-simple-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color2);
  line-height: 1.4;
}

/* Footer Badge - Golden testimonial style */
.retention-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.2);
  border-radius: 18px;
  padding: 12px 20px;
}

.theme-dark .retention-footer-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(251, 191, 36, 0.25);
}

.retention-badge-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.retention-badge-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.4;
  font-style: italic;
}

/* Legacy styles kept for backwards compatibility */
.retention-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  padding-top: 12px;
}

.benefit-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.theme-dark .benefit-highlight-box {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.benefit-highlight-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.benefit-highlight-text {
  flex: 1;
}

.benefit-highlight-main {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.5;
}

.retention-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 0px 11px 17px;
}

.retention-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.5;
  padding: 4px 0;
}

.benefit-check {
  font-size: 16px;
  color: #10B981;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 2px;
}

.theme-dark .benefit-check {
  color: #34D399;
}

/* Legacy footer styles */
.retention-stat-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.2);
  border-radius: 18px;
  padding: 11px 21px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.theme-dark .retention-stat-footer {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.retention-footer-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.retention-footer-text {
  font-size: 16px;
  font-weight: 500;
  color: #92400E;
  line-height: 1.4;
  text-align: left;
  padding: 0px 10px 0px 4px;
}

.theme-dark .retention-footer-text {
  color: #FCD34D;
}

/* Mobile responsive for new retention elements */
@media (max-width: 400px) {
  .retention-hero-stat {
    padding: 16px 12px;
  }
  
  .retention-stat-number {
    font-size: 48px;
  }
  
  .retention-stat-label {
    font-size: 15px;
  }
  
  .retention-benefit-simple {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .benefit-simple-icon {
    font-size: 22px;
  }
  
  .benefit-simple-main {
    font-size: 15px;
  }
  
  .benefit-simple-sub {
    font-size: 13px;
  }
  
  .retention-footer-badge {
    padding: 10px 16px;
    gap: 8px;
  }
  
  .retention-badge-icon {
    font-size: 20px;
  }
  
  .retention-badge-text {
    font-size: 13px;
  }
}

/* Retention Card */
/* Retention Chart Styles */
.card-subtitle {
  font-size: 14px;
  color: var(--text-color2);
  text-align: center;
  margin-top: -19px;
  margin-bottom: 20px;
  font-weight: 400;
}

.retention-chart-wrapper {
  margin-bottom: 12px;
  border-radius: 12px;
  padding: 20px 16px 12px;
  position: relative;
}

/* New Bottom Legend */
.retention-legend-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.legend-item-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot-with {
  background-color: #20c997;
}

.legend-text-with {
  color: #20c997;
}

.legend-dot-without {
  background-color: #ff8a80;
}

.legend-text-without {
  color: #ff8a80;
}

/* Chart Area */
.retention-chart {
  position: relative;
  width: 100%;
}

.chart-y-axis {
  position: absolute;
  left: -8px;
  top: 0;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  color: var(--text-color2);
  padding-right: 4px;
}

.chart-area {
  position: relative;
  height: 150px;
  margin-left: 28px;
  margin-right: 8px;
}

.chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.grid-line {
  height: 1px;
  background: var(--border-color);
  opacity: 0.3;
}

.chart-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-x-axis {
  display: flex;
  justify-content: space-between;
  margin-left: 28px;
  margin-right: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-color2);
  width: 87.5%;
}

.chart-x-axis span {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

.chart-x-axis span:first-child {
  text-align: left;
}

.chart-x-axis span:last-child {
  text-align: center;
}

/* Label Highlight for Last Point */
.chart-label-highlight {
  position: absolute;
  right: 0px;
  top: -16px;
  background: white;
  color: black;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  animation: float 3s ease-in-out infinite;
  transform: translateX(50%);
}

.chart-label-highlight:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

.retention-insights {
  margin-bottom: 20px;
}

.insight-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(76, 175, 80, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
}

.insight-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.insight-text {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-color);
}

.insight-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-color);
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-item {
  font-size: 14px;
  color: var(--text-color2);
  padding-left: 4px;
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .retention-chart-wrapper {
    padding: 16px 12px;
  }
  
  .chart-area {
    height: 135px;
    margin-left: 24px;
  }
  
  .chart-y-axis {
    height: 135px;
    font-size: 10px;
  }
  
  .chart-x-axis {
    margin-left: 24px;
    font-size: 10px;
    width: 87.5%;
  }
  
  .chart-label-highlight {
    font-size: 10px;
    padding: 4px 8px;
  }
}

.benefits, .value-props {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONFIDENCE CARD - Magazine-style hero transformation design
   ═══════════════════════════════════════════════════════════════════════════ */

.confidence-card-hero {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Hero Header - Dreamy, aspirational */
.confidence-hero-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.confidence-hero-emoji {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.confidence-hero-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  padding-top: 0px;
}

.confidence-hero-subtitle {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-color2);
  margin: 0;
}

/* Transformation Visual - The "15 minutes → Ready" hero moment */
.confidence-transformation {
  margin-bottom: 24px;
}

.transformation-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, rgba(236, 72, 153, 0.04) 100%);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.theme-dark .transformation-visual {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(236, 72, 153, 0.06) 100%);
  border-color: rgba(167, 139, 250, 0.2);
}

/* Subtle shimmer animation */
.transformation-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 60%
  );
  animation: confidenceShimmer 4s ease-in-out infinite;
}

@keyframes confidenceShimmer {
  0%, 100% { transform: translateX(-30%) translateY(-30%) rotate(45deg); }
  50% { transform: translateX(30%) translateY(30%) rotate(45deg); }
}

.transformation-time {
  text-align: center;
  flex-shrink: 0;
}

.time-number {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .time-number {
  background: linear-gradient(135deg, #A78BFA 0%, #C4B5FD 50%, #DDD6FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color2);
  margin-top: 2px;
}

.transformation-arrow {
  color: var(--text-color2);
  opacity: 0.5;
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(4px); opacity: 0.8; }
}

.transformation-result {
  text-align: center;
  flex-shrink: 0;
}

.result-emoji {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 4px;
}

.result-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
}

/* Before/After State Cards - Clean side-by-side */
.confidence-states {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.state-card {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color3);
}

.state-before {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.12);
}

.theme-dark .state-before {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

.state-after {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.15);
}

.theme-dark .state-after {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-color: rgba(52, 211, 153, 0.2);
}

.state-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.state-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text-color2);
}

.state-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.4;
  font-style: italic;
}

/* Highlight Box - Purple gradient accent */
.confidence-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-left: 3px solid rgba(139, 92, 246, 0.4);
}

.theme-dark .confidence-highlight-box {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-left-color: rgba(167, 139, 250, 0.5);
}

.highlight-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.highlight-content {
  flex: 1;
}

.highlight-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.3;
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color2);
  line-height: 1.5;
}

/* Footer Badge - Golden testimonial style */
.confidence-footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.06) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.2);
  border-radius: 18px;
  padding: 12px 20px;
}

.theme-dark .confidence-footer-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(251, 191, 36, 0.25);
}

.footer-badge-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-badge-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.4;
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 400px) {
  .confidence-hero-title {
    font-size: 24px;
  }
  
  .confidence-hero-subtitle {
    font-size: 15px;
  }
  
  .transformation-visual {
    padding: 16px 12px;
    gap: 12px;
  }
  
  .time-number {
    font-size: 48px;
  }
  
  .result-emoji {
    font-size: 36px;
  }
  
  .state-card {
    padding: 14px 10px;
  }
  
  .state-emoji {
    font-size: 28px;
  }
  
  .state-text {
    font-size: 13px;
  }
  
  .confidence-highlight-box {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .highlight-icon {
    font-size: 24px;
  }
  
  .highlight-title {
    font-size: 15px;
  }
  
  .highlight-desc {
    font-size: 13px;
  }
  
  .confidence-footer-badge {
    padding: 10px 16px;
    gap: 8px;
  }
  
  .footer-badge-icon {
    font-size: 20px;
  }
  
  .footer-badge-text {
    font-size: 13px;
  }
}

/* Modern Discovery Card Redesign - Blue/cyan theme */
.discovery-card-redesign {
  background: transparent;
  border: none;
  padding: 24px 20px;
  overflow: hidden;
  position: relative;
}

.theme-dark .discovery-card-redesign {
  background: transparent;
  border: none;
}

/* Remove decorative background elements for minimal design */
.discovery-card-redesign::before {
  display: none;
}

.discovery-card-redesign::after {
  display: none;
}

/* Header */
.discovery-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.discovery-emoji-large {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-title-discovery {
  font-size: 27px;
  line-height: 33px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 32px;
}

/* Flow Section */
.discovery-flow-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.flow-step-modern {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid #DBEAFE;
  border-radius: 14px;
  padding: 12px 8px;
  position: relative;
}

.theme-dark .flow-step-modern {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.2);
}

.flow-step-number {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: #DBEAFE;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  color: #1E40AF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-dark .flow-step-number {
  background: rgba(59, 130, 246, 0.2);
  color: #93C5FD;
}

.flow-step-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}

.flow-step-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2px;
  line-height: 1.2;
}

.flow-step-desc {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-color2);
  line-height: 1.3;
  text-align: center;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  position: relative;
}

.connector-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, #BFDBFE 0%, #93C5FD 100%);
  margin-bottom: 2px;
}

.theme-dark .connector-line {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
}

.connector-arrow {
  font-size: 14px;
  font-weight: bold;
  color: #3B82F6;
  line-height: 1;
}

.theme-dark .connector-arrow {
  color: #60A5FA;
}

/* Benefits Section */
.discovery-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.discovery-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
  padding: 4px 0;
}

.discovery-check {
  font-size: 14px;
  color: #3B82F6;
  flex-shrink: 0;
  line-height: 1.2;
}

.theme-dark .discovery-check {
  color: #60A5FA;
}

/* Footer - Minimal */
.discovery-stat-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 14px;
  position: relative;
  z-index: 1;
}

.theme-dark .discovery-stat-footer {
  background: transparent;
  border: none;
}

.discovery-footer-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.discovery-footer-text {
  font-size: 11px;
  font-weight: 600;
  color: #1E40AF;
  line-height: 1.3;
  text-align: center;
}

.theme-dark .discovery-footer-text {
  color: #BFDBFE;
}

/* Discovery Card */
.discovery-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.flow-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.flow-text {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-color2);
}

.flow-arrow {
  font-size: 24px;
  color: var(--text-color2);
  flex-shrink: 0;
}

/* Stats at bottom of cards */
.stat {
  text-align: center;
  font-size: clamp(12px, 3vw, 14px);
  color: var(--text-color2);
  font-style: italic;
  margin-top: 16px;
  padding: 0 8px;
}

/* Language confirmation step */
.onboard-language-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 100px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.onboard-language-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border: 1px solid var(--border-color3);
  background: var(--bg2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 52px;
}

.onboard-language-item:active {
  transform: scale(0.97);
}

.onboard-language-item.onboard-language-selected {
  border-color: var(--filled-button-bg);
  background: var(--filled-button-bg);
  color: var(--filled-button-color);
}

.onboard-language-native {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.onboard-language-english {
  font-size: 12px;
  line-height: 16px;
  opacity: 0.6;
  margin-top: 2px;
}

.onboard-language-selected .onboard-language-english {
  opacity: 0.8;
}

