.landing-calendar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar-block {
  width: 7.69%; /* Approx. 100% / 13 to accommodate 12 blocks plus 1 for the sidebar */
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, margin 0.3s ease;
  border-radius: 4px;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  font-size: 24px;         /* Adjust the size of the emoji as needed */
  display: flex;        /* Enables flexbox */
}

.calendar-block:hover {
  transform: translate(-10px, -3px);
  z-index: 10;
  /* Ensure the hovered block is above others */
}

@media (max-width: 480px) {
  .calendar-block {
      width: 24px; /* 100% / 5 for very small screens */
      height: 24px;
  }

  #lifeStages {
      display: none; /* Optionally hide on very small screens */
  }

  /* Adjust the grid layout for the calendar to accommodate the fixed size blocks */
  .landing-calendar-container {
      grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));
      justify-items: center; /* This will center the blocks in the grid cells */
  }
}        

@media (max-width: 375px) {
  .calendar-block {
      width: 22px; /* 100% / 5 for very small screens */
      height: 22px;
  }

  #lifeStages {
      display: none; /* Optionally hide on very small screens */
  }

  /* Adjust the grid layout for the calendar to accommodate the fixed size blocks */
  .landing-calendar-container {
      grid-template-columns: repeat(auto-fill, minmax(22px, 1fr));
      justify-items: center; /* This will center the blocks in the grid cells */
  }
}     

/* Color classes */
.ultra-ultra-light-purple {background-color: #f3eefe}
.ultra-light-purple {background-color: #dccefc}
.light-purple {background-color: #b99df9}
.purple { background-color: #8b5cf6; }
.dark-purple { background-color: rgba(124,58,237,var(--tw-bg-opacity)); }
.gold { background-color:#FBBF24; }
.gray { background-color: #808080; }
.dark-gray { background-color: #A9A9A9; }

@keyframes heartbeat {
0% {
  transform: scale(0.8);
  opacity: 1;
}
50% {
  transform: scale(1.25);
  opacity: 1;
}
100% {
  transform: scale(0.8);
  opacity: 1;
}
}

.heartbeat {
animation: heartbeat 6s infinite;
}


#lifeProgressBarContainer {
  display: grid;
  cursor: pointer;
  /* Indicates the element is clickable */
  width: 100%;
  background-color: #ddd;
  border: 3px solid #000;
  padding: 3px;
  border-radius: 10px;
  margin: auto;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 10px #000000;
}

#lifeProgressBar {
  width: 50%;
  background: linear-gradient(90deg, rgba(0, 212, 255, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(2, 0, 36, 1) 100%);
  text-align: center;
  line-height: 30px;
  /* Same as height to vertically center the text */
  height: 25px;
  border-radius: 5px;
  color: white;
  font-family: 'Press Start 2P', cursive;
  /* 8-bit style font */
  overflow: hidden;
  /* Ensures content fits within the rounded corners */
}

#lifeProgressPercentage {
  display: block;
  width: 100%;
}

#lifeProgressTitle {
  text-align: center;
  font-family: 'system-ui' , '-apple-system', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', 'sans-serif','Apple Color Emoji','Segoe UI Emoji';
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}


#lifeStages rect {
  transition: fill 0.2s ease-in-out;
}

.life-stage:hover + .calendar .week {
/* This assumes .week boxes are immediately after your SVG in the HTML structure */
  opacity: 0.3;
/* Or any level of transparency you prefer */
}

.overlay {
  display: none;
  position: absolute;
  opacity: 0.5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

life-stage:hover .overlay {
  display: block;
}

#lifeStageText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 1em;
  z-index: 101;
  pointer-events: none;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  /* White text shadow for readability */
}


.popup {
  display: none;
  /* Hide by default */
  position: absolute;
  /* Position absolutely for placement control */
  width: 225px; /* Width as per the screenshot's style */
  /* Adjust width as needed */
  background-color: rgba(216, 212, 242);
  /* Brown background */
  color: rgba(51, 46, 60);
  /* Text color */
  padding: 15px; /* Spacing inside the popup */
  border-radius: 10px; /* Rounded corners as in the screenshot */
  /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth, more pronounced than the example */
  /* Shadow for depth */
  z-index: 100; /* High z-index to ensure visibility over other elements */
  font-family: 'Avenir Next', sans-serif; /* Defaulting to Arial for a modern look, similar to the screenshot */
  font-size: 14px; /* Adjusted font size for readability */
  line-height: 1.6; /* Line spacing for better readability */
  text-align: left; /* Align text to the left */
  border: 1px solid #555; /* Slight border for definition */
  /* Ensure it's above other items */
}

.inspiration-glow {
  box-shadow: inset 0 0 10px rgba(165, 255, 214, 0.8), 0 0 15px rgba(115, 238, 220, 0.7);
/* A deep purple color */
}

.landingPageWriteButton {
  margin-top: 10px;
  margin-left: 356px;
  background-color:#8b5cf6;;
  /* Google's blue color, change as desired */
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Avenir Next';
  /* 8-bit style font */
  font-size: 1em;
}           

.diary-container {
  padding: 40px;
  font-family: 'Avenir Next', sans-serif; /* Use a font that mimics handwriting or traditional print */
  color: #333;
}

.diary-container {
  padding: 10px;
}

.diary-entry {
  opacity: 0.8;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  border: 1px solid #ddd; /* Light border for definition */
  overflow-wrap: break-word; /* Ensure long words break to the next line */
}

.user-entry h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc; /* Underline for the date */
  padding-bottom: 5px;
}

.user-entry p {
  color: white;
  padding: 6px;
  font-size: 22px;

}

.mentor-comment {
  display: flex;
  margin-top: 20px;
  align-items: flex-start; /* Changed 'start' to 'flex-start' for better compatibility */
  background: url('../assets/textured-diary.webp')  no-repeat center center;
  background-size: cover;
  padding: 15px;
  border-radius: 8px;
  overflow-wrap: break-word; /* Ensures long words break to the next line */
  max-width: 100%; /* Ensures the comment does not exceed the width of the container */
  box-sizing: border-box; /* Includes padding and border in the element's total width and height */
  position: relative; /* Allows for the overlay */
  color: #333; /* Sets text color for readability */
  font-size: 16px; /* Adjust font size as needed */
  line-height: 1.5; /* Improves text readability */
}

/* Overlay for .mentor-comment */
.mentor-comment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.55); /* White overlay with 60% opacity */
  border-radius: 8px; /* Matches the container's border radius */
  z-index: 1; /* Places the overlay above the background but below the text */
  pointer-events: none; /* Ensures the overlay doesn't interfere with user interactions */
}

/* Ensuring the content is above the overlay */
.mentor-comment > * {
  position: relative;
  z-index: 2;
}

.mentor-comment .text {
  margin-left: 10px;
  font-size: 14px;
  overflow-wrap: break-word; /* Ensure long words break to the next line */
  flex: 1; /* Allow the text to take up remaining space */
}

.mentor-comment img {
  max-width: 50px; /* Limit the size of the avatar image */
  max-height: 50px;
  border-radius: 50%; /* Make the avatar image circular */
}


@media (max-width: 768px) {
  .mentor-comment {
    flex-direction: column; /* Ensure proper stacking on mobile */
    align-items: center; /* Center align items on mobile */
    text-align: center; /* Center align text on mobile */
  }

  .mentor-comment .text {
    margin-left: 0; /* Remove margin on mobile */
    margin-top: 10px; /* Add top margin on mobile */
  }
}


.avatar {
  width: 50px; /* Slightly larger avatars */
  object-fit: cover; /* Ensure the image fits within the circle */
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ddd; /* Add border to avatars */
  margin-right: 10px;
} 

/* Modal Styles */

.landing-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 50%; /* Adjust width as needed */
  height: auto; /* Adjust height as needed */
  overflow: auto;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}

.landing-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  margin: 5% auto;
  /* Adjusted margin for better centering */
  padding: 20px;
  border: 1px solid #888;
  width: 100%;

  animation-name: modalOpen;
  animation-duration: 0.4s;
  overflow: hidden;
  /* To ensure the modal does not scroll */
}

.landing-modal-header {
  width: 100%;
  /* Full width */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  /* Space between header and editor */
}

.landing-modal-body {
  width: 100%;
  /* Full width */
  overflow-y: auto;
}

#modalText {
  margin: 5px;
}

@keyframes modalOpen {
from {
  top: -300px;
  opacity: 0
}

to {
  top: 10%;
  opacity: 1
}
}

#editor {
/* Other styles remain the same */
min-height: 300px; /* Adjust as needed */
max-width: 1500px; /* Adjust as needed for your content */
/* The editor should take the full width of the modal */
border: 1px solid #ccc !important;
/* Force border visibility */
}


@media (min-width: 1024px) {
  #editor {
      justify-content: flex-start; /* Align left on large screens */
  }
}

@media (max-width: 1023px) {
  #editor {
      justify-content: flex-start; /* Center on medium and small screens */
  }
}

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 2px dashed #8b5cf6;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
}

.loading-icon {
  margin-right: 10px;
  animation: bounce 0.5s infinite alternate;
}

.loading-text {
  font-size: 1.2em;
  font-weight: bold;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes bounce {
  from {
      transform: translateY(-5px);
  }
  to {
      transform: translateY(5px);
  }
}

#homeeditor {
  height: 300px;
  /* Set a fixed height */
  width: 100%;
  /* The editor should take the full width of the modal */
  border: 1px solid #ccc !important;

}

@media (min-width: 1024px) {
  #homeeditor-container {
      justify-content: flex-start; /* Align to the end on large screens */
  }
}

@media (max-width: 1023px) {
  #homeeditor-container {
      justify-content: flex-start; /* Center on medium and small screens */
  }
}

.ql-editor{
  width: 100%;
  color: white;
}

.ql-editor.ql-blank::before{
  color: white;
  opacity: 0.8;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.landingTweetButton {
  background-color: #8b5cf6;;
  margin-top: 10px;
  /* Google's blue color, change as desired */
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Press Start 2P';
  /* 8-bit style font */
  font-size: 1em;

}       

#landingYearlyTheme {
  display: inline-flex;
  font-size: 1.5em;
  text-align: center;
  padding-left: 1rem; 
  margin-bottom: 1rem; 
  margin-left: 75px;
  margin-bottom: 25px;
  margin-right: 10px;
  cursor: pointer;
  text-align: center;
  font-family: 'Avenir Next';
}


/* Align the dropdown container to the right */
.theme-dropdown-container {
  display: inline-flex;
  justify-content: flex-end; /* This aligns the child element to the right */
  position: relative; /* For absolute positioning of the dropdown */
}

/* Dropdown arrow style */
.theme-dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
}

/* Rotate the dropdown arrow when the dropdown is active/open */
.theme-dropdown-button.active .theme-dropdown-arrow {
  transition: transform 0.2s ease-in-out; /* animate the arrow rotation */
}

/* Style the dropdown button to look clickable */
.theme-dropdown-button {
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* subtle shadow for 'lifted' effect */
  border: 1px solid #ccc; /* Subtle border */
  border-radius: 0.375rem; /* Tailwind's rounded-md equivalent */
  background-color: black; /* Light grey to imply it's interactive */
  position: relative; /* For absolute positioning of the dropdown arrow */
  user-select: none; /* Prevents the text from being selectable */
  transition: background-color 0.2s; /* Smooth background color transition */
}

.theme-dropdown-button:hover, .theme-dropdown-button:focus {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* more pronounced shadow on hover/focus */
  background-color: #8b5cf6; /* slightly darker on hover/focus */
}

.theme-dropdown-button.active .theme-dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.theme-dropdown {
  display: none; /* Hidden by default */
  text-align: left; /* align text to the left */
  position: absolute;
  right: 0; /* Align to the right of the button */
  width: auto; /* Width of content */
  background-color:Black;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Style the dropdown list items */
.theme-dropdown li {
  padding: 0.5rem 1rem;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Hover state for dropdown list items */
.theme-dropdown li:hover {
  background-color: #e2e8f0;
}

.theme-dropdown ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.theme-dropdown ul li {
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
}

.theme-dropdown ul li:hover {
  background-color:#8b5cf6;;
}


input[type="text"] {
  display: flex;
  align-items: center;
  font-size: 1em;
  border-bottom: 1px solid #ccc;
  background: transparent;
  outline: none;
}

.inspiration-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  display: flex;
  align-items: center;
  justify-content: center;
}

.inspiration-modal-content {
  background: url('../assets/textured-diary.webp');
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 20px;
  color:black;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.modal-header, .modal-body {
  padding: 10px;
}

.slidingVertical {
  position: relative;
  overflow: hidden;
  height: 1.2em; /* Adjust this value to the size of your text */
}

.slidingVertical span {
  color: #8b5cf6;
  display: block;
  position: absolute;
  z-index: 100;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  animation: slideUp 30s linear infinite;
}

.slidingVertical span:nth-child(1) { animation-delay: 0s; }
.slidingVertical span:nth-child(2) { animation-delay: 5s; }
.slidingVertical span:nth-child(3) { animation-delay: 10s; }
.slidingVertical span:nth-child(4) { animation-delay: 15s; }
.slidingVertical span:nth-child(5) { animation-delay: 20s; }
.slidingVertical span:nth-child(6) { animation-delay: 25s; }

@keyframes slideUp {
  0%, 100% { 
      opacity: 0;
      transform: translateY(100%); 
  }
  8% {
      opacity: 1;
      transform: translateY(0);
  }
  17% {
      opacity: 1;
      transform: translateY(0);
  }
  25% {
      opacity: 0;
      transform: translateY(-100%);
  }
}

.slider {
  overflow: hidden;
  white-space: nowrap;
  margin: 100px 0;
}

.slide-track {
  display: inline-flex;
  animation: slide 42s linear infinite;
}

.slide {
  width: 150px; /* Set the width of each slide */
  margin-right: 50px;
  text-align: center;
  display: inline-block;
}

#life-event-card {
  max-width: 90%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.flex.items-center {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping of text */
}

#life-event {
  flex: 1; /* Allow text to take remaining space */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .flex.items-center {
      flex-direction: row; /* Keep row direction */
  }

  #life-event-card {
      width: calc(100% - 2rem); /* Ensure the card fits within the viewport */
  }

  #life-event {
      font-size: 12px;
  }
}

.avatar-inspiration {
  width: 100px; /* Fixed width for all images */
  height: 100px; /* Fixed height for all images */
  object-fit: cover;
  object-position: center;
  border-radius: 50%; /* Circular images */
  display: block;
  margin: 0 auto 10px; /* Adjust spacing below image */
}

.slide span {
  display: block;
  color: white; /* Adjust color as necessary */
  margin-bottom: 5px;
}

.slide small {
  display: block;
  color: #aaa; /* Adjust color as necessary */
}

@keyframes slide {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-2500px);
  }
}

.role {
  padding: 8px 16px;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  font-family: 'Avenir Next', sans-serif;
  margin: 5px;
  margin-top: 5px;;
  display: inline-block;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

/* Purple (creativity) and blue (inspiration) for the Product Coach. */
.role.product-coach {
  color: #AFAFAF;
}

/* Green (growth) and gold (wealth) for the Investing Guide. */
.role.investing-guide {
  color: #AFAFAF;
}

/* Light blue (tranquility) and saffron orange (spirituality) for the Spiritual Teacher. */
.role.spiritual-teacher {
  color: #AFAFAF;
}

/* Mint green (health) and lavender (wellness) for the Health Expert. */
.role.health-expert {
  color: #AFAFAF;
}

/* Red (passion) and yellow (energy) for the Startup Coach. */
.role.startup-coach {
  color: #AFAFAF;
}

/* Magenta (imagination) and teal (clarity) for the Creative Coach. */
.role.creative-coach {
  color: #AFAFAF;
}


.role:hover {
transform: translateY(-2px);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}


#scene-container {
  position: absolute;
  opacity: 0.6; /* Adjust the opacity as needed */
  top: 16%;
  left: 7%;
  transform: translate(-50%, -50%) scale(1); /* Center the image and scale it */
  width: 200px; /* Width of your image or desired size */
  height: 200px; /* Height of your image or desired size */
  z-index: 0; /* Behind the text content */
  animation: floatAndRotate 10s infinite alternate ease-in-out;
}

/* Extra large screens (often 4K and ultra-wide monitors) */
@media (min-width: 1920px) {
  #scene-container {
      top: 25%; /* Adjust positioning for smaller screens */
      left: 16%;
      transform: translate(-50%, -40%) scale(0.7); /* Scale down the image */
  }
}

/* Adjust styles for large Desktop */
@media (max-width: 1020px) {
  #scene-container {
      top: 18%; /* Adjust positioning for smaller screens */
      left: 5%;
      transform: translate(-50%, -40%) scale(0.7); /* Scale down the image */
  }
}

/* Adjust styles for small desktop */
@media (max-width: 912px) {
  #scene-container {
      top: 10%;
      left: 5%;
      transform: translate(-50%, -35%) scale(0.6);
  }
}

/* Adjust styles for tablets */
@media (max-width: 768px) {
  #scene-container {
      top: 3%; /* Adjust positioning for smaller screens */
      left: 0%;
      transform: translate(-50%, -40%) scale(0.7); /* Scale down the image */
  }
}

/* Adjust styles for small tablets and large smartphones */
@media (max-width: 480px) {
  #scene-container {
      top: 8%;
      left: 8%;
      transform: translate(-50%, -35%) scale(0.6);
  }
}

#scene-container2 {
  position: absolute;
  opacity: 0.6; /* Adjust the opacity as needed */
  top: 16%;
  left: 37%;
  width: 160px; /* Width of your image or desired size */
  height: 160px; /* Height of your image or desired size */
  z-index: 0; /* Behind the text content */
  animation: floatAndRotateOtherDirecrtion 10s infinite alternate ease-in-out;
}

/* Extra large screens (often 4K and ultra-wide monitors) */
@media (min-width: 1920px) {
  #scene-container2 {
      top: 32%; /* Adjust positioning for smaller screens */
      left: 50%;
      transform: translate(90%, 25%) scale(0.7); /* Scale down the image */

  }
}

/* Adjust styles for large Desktop */
@media (max-width: 1024px) {
  #scene-container2 {
      top: 35%; /* Adjust positioning for smaller screens */
      left: 45%;
      transform: translate(-50%, -40%) scale(0.7); /* Scale down the image */
  }
}

/* Adjust styles for small desktop */
@media (max-width: 912px) {
  #scene-container2 {
      top: 30%;
      left: 45%;
      transform: translate(-50%, -35%) scale(0.6);
  }
}

/* Adjust styles for tablets */
@media (max-width: 768px) {
  #scene-container2 {
      top: 35%; /* Adjust positioning for smaller screens */
      left: 40%;
      transform: translate(-50%, -40%) scale(0.7); /* Scale down the image */
  }
}

/* Adjust styles for small tablets and large smartphones */
@media (max-width: 480px) {
  #scene-container2 {
      display: none;
  }
}

.floating-image {
  max-width: 100%;
  height: auto;
  display: block; /* Remove any space below the image */
  transition: transform 0.3s ease;
}

@keyframes floatAndRotate {
  0% {
      transform: translate(-50%, -50%) translateY(-20px) rotate(-25deg);
  }
  100% {
      transform: translate(-50%, -50%) translateY(20px) rotate(5deg);
  }
}

@keyframes floatAndRotateOtherDirecrtion {
  0% {
      transform: translate(-50%, -50%) translateY(-20px) rotate(-50deg);
  }
  100% {
      transform: translate(-30%, -40%) translateY(50px) rotate(20deg);
  }
}


/* Styles for your text content to ensure it's on top of the floating image */
.content-container {
  position: relative;
  z-index: 1; /* Ensures the text is above the floating background */
/* Other styling for your content */
}

.section-container {
  position: relative; /* Needed for absolute positioning within */
  overflow: hidden; /* Ensures the content does not flow outside */
  background: black; /* Fallback background */
}

/* This is just an example of the CSS needed. Make sure to integrate it with your existing styles. */
.hidden {
  display: none;
}

/* Class to unhide the element */
.hidden.show {
  display: block;
}

#successModal {
  z-index: 1000;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff !important; /* Your desired font color */
  box-shadow: 0 0 0px 1000px #1a202c inset; /* Your desired background color */
}

/* For Firefox */
input:-moz-ui-invalid {
  box-shadow: none;
  background-color: #1a202c; /* Your desired background color */
}

.dark-gray {
  opacity: 0.7;
  /* Sets the initial opacity of future weeks to 70% */
  position: relative;
  /* Establishes a positioning context for the ::after pseudo-element */
}

.dark-gray::after {
  content: '\1F512';
  /* Unicode for the lock emoji */
  position: absolute;
  /* Positions the pseudo-element absolutely within the .future-week container */
  top: 50%;
  /* Centers the emoji vertically within the container */
  left: 50%;
  /* Centers the emoji horizontally within the container */
  transform: translate(-50%, -50%);
  /* Adjusts the position to center the emoji precisely */
  font-size: 16px;
  /* Sets the size of the lock emoji */
  display: none;
  /* Initially hides the lock emoji */
  animation: showLock 3s ease;
  /* Applies an animation to the emoji when it's displayed */
}

.dark-gray.animate-lock::after {
  display: block;
  /* Displays the lock emoji when .future-week has .animate-lock class */
}

body, html {
  margin: 0;
  padding: 0;
}

.beta {
  color: #8b5cf6;
  font-size: 16px;
  font-family: 'Avenir Next', sans-serif; /* Defaulting to Arial for a modern look, similar to the screenshot */
}

.product-hunt-banner {
  text-align: center;
}

.product-hunt-banner p {
  display: inline-block;
  background-color: #8b5cf6;
  color: white;
  padding: 8px 16px;
  border-radius: 9999px; /* Fully rounded corners */
  font-size: 0.75rem; /* Small font size */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

    /* NavBar Styles */
    nav {
      background-image: linear-gradient(to bottom, #2b0048, #1e0032, #0d0010, #0d0010, #000000); /* Replacing black with dark purple */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  /* Text Title Style */
  #appTitle {
      font-family: 'Poppins', sans-serif;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow to pop the text */
      transition: all 0.3s ease; /* Smooth transition for brightening */

  }

  #appTitle:hover {
    animation: shimmy 0.3s ease-in-out; /* Trigger the shimmy animation */
    color: #fff; /* Brighten the text color */
    filter: brightness(1.3); /* Brighten up the logo */
  }

  /* Shimmy Animation */
  @keyframes shimmy {
      0%, 100% {
          transform: translateX(0);
      }
      25% {
          transform: translateX(-2px);
      }
      50% {
          transform: translateX(2px);
      }
      75% {
          transform: translateX(-2px);
      }
  }

  /* Desktop Nav Links */
  .nav-link {
      color: white;
      font-weight: 500;
      text-transform: uppercase;
      transition: all 0.3s ease;
      font-size: 0.9rem;
      position: relative;
  }

  .nav-link:hover {
      color: #8b5cf6;
      text-shadow: 0 0 8px rgba(167, 139, 250, 0.3);
  }

  /* Journaling App Hover Effect */
  .nav-link::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 2px;
      bottom: -2px;
      left: 0;
      background-color: #a78bfa;
      visibility: hidden;
      transform: scaleX(0);
      transition: all 0.3s ease-in-out;
  }

  .nav-link:hover::after {
      visibility: visible;
      transform: scaleX(1);
  }

  /* Mobile Menu Styles */
  .mobile-nav-link {
      display: block;
      color: white;
      padding: 10px;
      font-weight: 500;
      text-transform: uppercase;
      transition: all 0.3s ease;
      font-size: 1rem;
      background-image: linear-gradient(to bottom, #3c005e, #2b0048, #1e0032, #14001f, #000000);
      opacity: 1;
  }

  .mobile-nav-link:hover {
      background-color: rgba(167, 139, 250, 0.2);
      opacity: 1;
  }

    /* Media Query for Mobile Icon */
    @media (min-width: 640px) {
      #menu-btn {
          display: none;
      }
  }

  /* Light beam overlay to make the top stand out subtly */
  .light-beam-overlay-vintage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.nav-button:hover {
  color: #8b5cf6; 
  font-family: 'Avenir Next', sans-serif; /* Defaulting to Arial for a modern look, similar to the screenshot */
}

.hero-text {
  background: linear-gradient(to right, #FFFFFF 0%, #B8ABEA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-text {
  background: linear-gradient(to right, #FFFFFF 0%, #9999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-container {
  position: relative;
  z-index: 1;
}

.light-beam-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(253, 231, 255, 0.2), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.light-beam-overlay-bottom-right {
  position: absolute;
  top: 0;
  right : 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(253, 231, 255, 0.1), transparent 20%);
  z-index: 0;
  pointer-events: none;
}

.light-beam-overlay-bottom-left {
  position: absolute;
  top: 0;
  right : 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(253, 231, 255, 0.1), transparent 10%);
  z-index: 0;
  pointer-events: none;
}


.light-beam-overlay-top-right {
  position: absolute;
  top: 0;
  right : 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(253, 231, 255, 0.1), transparent 10%);
  z-index: 0;
  pointer-events: none;
}

.light-beam-overlay-top-left {
  position: absolute;
  top: 0;
  right : 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(253, 231, 255, 0.1), transparent 20%);
  z-index: 0;
  pointer-events: none;
}

.sub-hero-text {
  font-family: 'Inter', sans-serif;
}

.bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px; /* Adjust the size to match your design */
  width: 100%;
  height: 100%;
}

.partial-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100px 100px; /* Adjust the size to match your design */
  position: absolute;
  z-index: 0;
}

.whole-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 150px 150px; /* Adjust the size to match your design */
  position: absolute;
  z-index: 0;
  width: 100%; /* Ensures the grid spans the full width */
  height: 100%; /* Ensures the grid spans the full height */
  background-position: calc(50% - 75px) 0; /* Center horizontally by offsetting 50% minus half the grid size */
  margin-left: 120px;
}

.sm-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 50px 50px; /* Adjust the size to match your design */
  position: absolute;
  z-index: 0;
}

.sm-grid-1 {
  bottom: 0;
  right: 0;
  width: 30%;
  height: 30%;
}

.grid-0 {
  top: 0;
  left: 0;
  width: 80%;
  height: 90%;
}

.grid-1 {
  top: 0;
  left: 0;
  width: 30%;
  height: 45%;
}

.grid-2 {
  top: 50%;
  left: 30%;
  width: 40%;
  height: 40%;
}

.grid-3 {
  bottom: 0;
  right: 0;
  width: 40%;
  height: 40%;
}

.grid-4 {
  bottom: 0;
  right: 0;
  width: 20%;
  height: 35%;
}

.grid-5 {
  top: 1px;
  right: 0;
  width: 20%;
  height: 15%;
}

.grid-6 {
  bottom: 0;
  left: 0;
  width: 20%;
  height: 10%;
}

.grid-7 {
  top: 0;
  left: 0;
  width: 20%;
  height: 30%;
}

.grid-8 {
  bottom: 0px;
  left: 0;
  width: 15%;
  height: 30%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.translucent-bg {
  background: linear-gradient(to right, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.6));
  backdrop-filter: blur(20px); /* Large blur effect */
  padding: 3rem; /* Padding of 4 (1rem) */
  border-radius: 0.75rem; /* Rounded corners */
  position: relative;
  overflow: hidden;
}

.translucent-letter-bg {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.8)); /* Darker gradient */
    backdrop-filter: blur(12px); /* Reduce blur for a more subtle effect */
    padding: 2rem; /* Increase padding for a more spacious feel */
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); /* Soft shadow for more depth */
}


.translucent-sm {
  background: linear-gradient(to right, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.6));
  backdrop-filter: blur(20px);
  padding: 2rem; /* Increased padding for better text visibility */
  border-radius: 0.75rem;
  height: 200px;
  position: relative;
  overflow: hidden;
  height: auto; /* Removed fixed height */
  width: 80%;
  margin: 0 auto;
}

.translucent-sm:hover {
  filter: brightness(1.5);
}

.feature-hover {
  filter: brightness(1.5);
}

.lightbulb {
  position: absolute;
  top: -80px;
  left: -70px;
  width: 150px;
  height: auto;
}

.megaphone {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 150px;
  height: auto;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1deg); /* Adjust rotation as needed */
  background: rgba(102, 102, 102, 0.4); /* Light grey with 40% opacity */
  opacity: 70%;
  width: 105%;
  height: 1.2em;
  z-index: -1;
  border-radius: 10px;
  margin-left: 2px;
}

.lottie-container {
  position: absolute;
  top: 1rem; /* Adjust as needed */
  right: 1rem; /* Adjust as needed */
  width: 170px; /* Adjust size as needed */
  height: 170px;
  z-index: 1;
}

.lottie-container iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .lottie-container {
      top: 10rem;
      right: 1rem;
      width: 80px;
      height: 80px;
  }

  megaphone

  .translucent-sm {
      width: 100%;
      padding: 1rem; /* Adjust padding for mobile view */
  }

  .translucent-sm p {
      font-size: 1rem; /* Adjust text size for better visibility */
  }
}

.group:hover .group-hover\:block {
  display: block;
}


.use-case-btn {
  color:  #8b5cf6;
  border: none;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.use-case-btn:hover {
  background: #6666;
}


.use-case-btn.selected {
  background: #8b5cf6;
  color: white;
}

.steve-portrait-container {
  animation: flash 10s infinite;
}

@keyframes flash {
  0%, 10% {
    opacity: 0;
  }
  10%, 20% {
    opacity: .5;
  }
  20%, 50% {
    opacity: .7;
  }
  50%, 80% {
    opacity: .5;
  }
  80%, 100% {
    opacity: 0;
  }
}
  
.steve-portrait {
  width: 10rem;
  transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
  border-radius: 15%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
  .steve-portrait {
      width: 15rem;
  }
}

.letter-highlight {
  background: #bca3f6;
  padding: 2px 4px; /* Add some padding for better visibility */
  border-radius: 3px; /* Rounded corners for a smoother look */
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 42rem; /* max-w-2xl is typically 42rem in Tailwind */
  margin: 0 auto;
}
.custom-video {
  width: 100%;
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /* shadow-xl */
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
}

.customer-testimonial {
  color: #8b5cf6;
}


.old-price {
  position: relative;
  display: inline-block;
}

.old-price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px; /* Thickness of the line */
  background-color: gray; /* Line color */
  transform: translateY(-50%); /* Center the line vertically */
  z-index: 1;
}

#monthly-tab{
  outline: none;
  border: none;
}

#yearly-tab{
  outline: none;
  border: none;
}

#monthly-tab:focus{
  outline: none;
  border: none;
  box-shadow: none;
}

#yearly-tab:focus{
  outline: none;
  border: none;
  box-shadow: none;
}

#sub-hero-text {
  margin-top: 35px;
}

.floating-avatar {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
  opacity: 0.75;
}

.floating-avatar:hover {
  transform: scale(1.1);
}

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

/* Default styles for desktop - Hide mobile avatars by default */
.floating-avatar-mobile {
  display: none;
}

/* Avatar positioning for mobile view */
@media (max-width: 640px) {
  /* Reduce avatar size */

  .floating-avatar {
    display: none; /* Hide non-mobile avatars */
  }

  .floating-avatar-mobile {
    display: block; /* Show mobile avatars */
    position: absolute;
    width: 40px; /* Smaller size for mobile */
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    opacity: 0.75;
  }

  /* Oprah - position top-left near button */
  .avatar-oprah {
    top: 15%;
    left: 10%;
  }

  /* Kobe - position top-right near button */
  .avatar-kobe {
    top: 1%;
    right: 10%;
    z-index: 1000;
  }

  /* Gandhi - position bottom-left near button */
  .avatar-gandhi {
    top: 50%;
    left: 18%;
  }

  /* Steve Jobs - position bottom-right near button */
  .avatar-steve {
    top: 48%;
    right:14%;
  }

  /* Hide extra avatars for mobile */
  .floating-avatar-mobile:not(.avatar-oprah):not(.avatar-kobe):not(.avatar-gandhi):not(.avatar-steve) {
    display: none;
  }
}


/* Media query for mobile devices */
@media (max-width: 640px) {
  .whole-grid-pattern {
    margin-left: 50px; /* Remove the margin for mobile view */
    background-position: center; /* Center the grid on mobile */
    background-size: 120px 120px; /* Optional: Adjust the grid size for mobile view */
  }
}


/* Media query for mobile devices */
@media (max-width: 640px) {
  .whole-grid-pattern {
    margin-left: 50px; /* Remove the margin for mobile view */
    background-position: center; /* Center the grid on mobile */
    background-size: 120px 120px; /* Optional: Adjust the grid size for mobile view */
  }
}

/* Avatar positioning for larger screens */
@media (min-width: 1440px) {
  /* For larger screens, bring avatars closer to the center */
  .floating-avatar.left-8 {
    left: 10%; /* Reduce left margin */
  }

  .floating-avatar.right-16 {
    right: 10%; /* Reduce right margin */
  }

  .floating-avatar.left-24 {
    left: 15%; /* Reduce left margin */
  }

  .floating-avatar.right-24 {
    right: 15%; /* Reduce right margin */
  }

  .floating-avatar.left-12 {
    left: 20%; /* Reduce left margin */
  }

  .floating-avatar.right-12 {
    right: 20%; /* Reduce right margin */
  }
}

.beige-gradient-container {
  background-image: linear-gradient(to bottom, #e5d1a9, #c4b08e, #a38f73, #826e58, #614d3d);
}

.purple-gradient-container {
  background-image: linear-gradient(to bottom, #3c005e, #1e0032, #0d0010, #0d0010, #09000b); /* Replacing black with dark purple */
}

.dark-purple-background{
  background-color: #09000b; /* Even blacker */
}

.purple-gradient-container-reverse {
  background-image: linear-gradient(to bottom,  #0d0010, #1e0032, #3c005e); /* Replacing black with dark purple */
}

.purple-gradient-container-middle {
  background-image: linear-gradient(to bottom, #09000b, #0d0010); /* Replacing black with dark purple */
}

.alert-success {
  padding: 10px;
  font-weight: bold;
  background-color:  #3D1B89; /* Dark purple text on the button */
  opacity: 0.9;
  color:  #FABC3C; 
  animation: alert-disappear 5s forwards;
}

.floating-tags-section {
  position: relative;
  padding: 3rem 1rem;
  border-radius: 20px;
  overflow: hidden;
}

.floating-tags-container {
  position: relative;
  display: grid;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.tags-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.floating-tag {
  background: rgba(139, 92, 246, 0.15); /* Soft translucent purple */
  color: #E9D8FD; /* Lavender text */
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.floating-tag:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: rgba(139, 92, 246, 0.25); /* Slightly darker purple */
}

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