/*=============== WHOBE PAGE ENHANCEMENTS ===============*/

/*=============== HERO SECTION ENHANCEMENTS ===============*/
.home__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.button__link {
  background: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.button__link:hover {
  background: var(--first-color);
  color: #fff;
}

/*=============== QR CODE STYLES ===============*/
.home__qr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.qr__container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.qr__container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--first-color);
}

.qr__image {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  background: white;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr__text {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-align: center;
}

/* CTA Section QR Code */
.download__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.download__qr {
  display: flex;
  justify-content: center;
}

.qr__card {
  background: var(--body-color);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px hsla(228, 66%, 45%, .15);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.qr__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px hsla(228, 66%, 45%, .25);
  border-color: var(--first-color);
}

.qr__image-large {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  background: white;
  /* Ensure white background for QR readability if padded */
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.qr__label {
  color: var(--title-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  margin: 0;
}


/*=============== SECTION HEADER ===============*/
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header .section__subtitle {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section__header .section__title {
  font-size: var(--h1-font-size);
  line-height: 1.3;
}

/*=============== DETAILED FEATURES GRID ===============*/
#detailed-features {
  background-color: var(--container-color);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.feature__card {
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px hsla(228, 66%, 45%, .15);
  border-color: var(--first-color);
}

.feature__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature__card:hover .feature__icon {
  transform: rotate(5deg) scale(1.1);
}

.feature__icon i {
  font-size: 2rem;
  color: #fff;
}

.feature__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}

.feature__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== USE CASES SECTION ===============*/
#use-cases {
  background: linear-gradient(180deg, var(--body-color) 0%, var(--container-color) 100%);
}

.usecases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.usecase__card {
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usecase__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--first-color), var(--second-color));
  transition: height 0.3s ease;
}

.usecase__card:hover::before {
  height: 100%;
}

.usecase__card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px hsla(228, 66%, 45%, .12);
}

.usecase__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--first-color-lighten), var(--border-color));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.usecase__icon i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.usecase__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.75rem;
  font-weight: var(--font-semi-bold);
}

.usecase__problem {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.usecase__solution {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  line-height: 1.6;
}

/*=============== PRODUCT SHOWCASE ===============*/
#product-showcase {
  background-color: var(--container-color);
  overflow: hidden;
}

.showcase__container {
  max-width: 900px;
  margin: 0 auto;
}

.showcase-swiper {
  padding-bottom: 3rem;
}

.showcase__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
}

.showcase__image {
  width: 100%;
  max-width: 350px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 48px hsla(228, 66%, 45%, .2);
  transition: all 0.3s ease;
}

.showcase__image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px hsla(228, 66%, 45%, .25);
}

.showcase__image img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__content {
  text-align: center;
  max-width: 500px;
}

.showcase__content h3 {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}

.showcase__content p {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.showcase-swiper .swiper-pagination-bullet {
  background-color: var(--first-color);
  opacity: 0.3;
}

.showcase-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.showcase-swiper .swiper-button-next,
.showcase-swiper .swiper-button-prev {
  color: var(--first-color);
}

/*=============== COMPARISON TABLE ===============*/
#comparison {
  background: linear-gradient(180deg, var(--container-color) 0%, var(--body-color) 100%);
}

.comparison__table {
  max-width: 800px;
  margin: 3rem auto 0;
  background-color: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px hsla(228, 66%, 45%, .1);
}

.comparison__header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  padding: 1.5rem 1rem;
  gap: 1rem;
}

.comparison__header .comparison__cell {
  color: #fff;
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  text-align: center;
}

.comparison__header .comparison__cell--feature {
  text-align: left;
}

.comparison__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 1.25rem 1rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.comparison__row:hover {
  background-color: var(--first-color-lighten);
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
}

.comparison__cell--feature {
  justify-content: flex-start;
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.comparison__cell--whobe {
  color: var(--title-color);
}

.comparison__cell--whobe i {
  color: #00C851;
  font-size: 1.25rem;
}

.comparison__cell--others {
  color: var(--text-color);
}

.comparison__cell--others i {
  color: #ff4444;
  font-size: 1.25rem;
}

.comparison__cell span {
  text-align: center;
}

/*=============== FAQ SECTION ===============*/
#faq {
  background-color: var(--container-color);
}

.faq__accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq__item {
  background-color: var(--body-color);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__item:hover {
  box-shadow: 0 4px 16px hsla(228, 66%, 45%, .1);
}

.faq__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq__header:hover {
  background-color: var(--first-color-lighten);
}

.faq__icon {
  font-size: 1.5rem;
  color: var(--first-color);
  flex-shrink: 0;
}

.faq__question {
  flex: 1;
  font-size: var(--h3-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.faq__arrow {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: transform 0.3s ease;
}

.faq__arrow i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer {
  padding: 0 1.5rem 1.5rem 4.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.accordion-open .faq__arrow {
  transform: rotate(180deg);
}

.accordion-open .faq__content {
  max-height: 500px;
}

/*=============== ENHANCED CTA ===============*/
.download__features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.download__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.download__feature i {
  font-size: 1.25rem;
  color: #00C851;
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (min-width: 576px) {

  .features__grid,
  .usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase__slide {
    flex-direction: row;
    text-align: left;
  }

  .showcase__content {
    text-align: left;
  }
}

@media screen and (min-width: 768px) {

  .comparison__header,
  .comparison__row {
    padding: 1.5rem 2rem;
  }

  .comparison__cell {
    font-size: var(--normal-font-size);
  }

  .home__buttons {
    justify-content: flex-start;
  }

  .download__content-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .qr__image {
    width: 140px;
    height: 140px;
  }
}

@media screen and (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .usecases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__header .section__title {
    font-size: var(--h1-font-size);
  }

  .feature__card {
    padding: 2.5rem;
  }

  .usecase__card {
    padding: 2.5rem;
  }
}

/*=============== ANIMATIONS ===============*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature__card,
.usecase__card,
.faq__item {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation delays */
.feature__card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature__card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature__card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature__card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature__card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature__card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature__card:nth-child(7) {
  animation-delay: 0.7s;
}

.feature__card:nth-child(8) {
  animation-delay: 0.8s;
}

.usecase__card:nth-child(1) {
  animation-delay: 0.1s;
}

.usecase__card:nth-child(2) {
  animation-delay: 0.2s;
}

.usecase__card:nth-child(3) {
  animation-delay: 0.3s;
}

.usecase__card:nth-child(4) {
  animation-delay: 0.4s;
}

.usecase__card:nth-child(5) {
  animation-delay: 0.5s;
}

.usecase__card:nth-child(6) {
  animation-delay: 0.6s;
}

/*=============== NEW VISUAL ENHANCEMENTS ===============*/

/* Floating Animation for Orbs */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.home__orbe,
.value__orbe {
  animation: float 6s ease-in-out infinite;
}

.value__orbe {
  animation-delay: 3s;
  /* Offset for variety */
}


/* Gradient Text Animation for Hero Title */
@keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.home__title {
  background: linear-gradient(90deg,
      #ffffff 0%,
      hsl(36, 61%, 85%) 25%,
      #ffffff 50%,
      hsl(25, 83%, 73%) 75%,
      #ffffff 100%);
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-text 5s linear infinite;
}

/* Button Pulse/Glow Effect */
@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 hsla(25, 83%, 53%, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px hsla(25, 83%, 53%, 0);
  }

  100% {
    box-shadow: 0 0 0 0 hsla(25, 83%, 53%, 0);
  }
}

.button:not(.button__link) {
  animation: button-pulse 2s infinite;
}

/* Enhanced Card Hover (3D Lift) */
.feature__card,
.usecase__card,
.faq__item {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Fix for dark mode text gradient */
body.dark-theme .home__title {
  background: linear-gradient(90deg,
      #ffffff 0%,
      hsl(36, 61%, 65%) 25%,
      #ffffff 50%,
      hsl(25, 83%, 53%) 75%,
      #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% auto;
}

/*=============== VIDEO SECTIONS ===============*/
.video__section {
  background-color: var(--body-color);
  text-align: center;
}

.video__container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 1rem;
}

.video__wrapper {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px hsla(228, 66%, 45%, .2);
  border: 4px solid var(--container-color);
}

.video__player {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
}

/* App Icon Dance Animation */
.icon-dance__container {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px hsla(228, 66%, 45%, .15);
}

.icon-dance__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adjust download wrapper to accommodate the new animation */
.download__content-wrapper {
  align-items: center;
}

/*=============== HERO VIDEO ===============*/
.video-hero-container {
  padding: 0;
  overflow: hidden;
  background: #000;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*=============== IMPROVED DOWNLOAD SECTION ===============*/
.download__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.icon-dance__wrapper {
  width: 100px;
  height: 100px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px hsla(228, 66%, 45%, .15);
  background: white;
}

.icon-dance__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .download__left {
    align-items: flex-start;
  }

  .icon-dance__wrapper {
    margin-left: 1rem;
  }
}

/*=============== VALUE VIDEO ===============*/
.value__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 125px 125px 12px 12px;
}

/*=============== EXPANDED VIDEOS ===============*/
/* Hero Video Expansion */
.video-hero-container {
  width: 100% !important;
  /* Override base styles */
  max-width: 500px !important;
  /* Let it grow */
  height: auto !important;
  aspect-ratio: 4/3;
  /* Crop side black bars */
  border-radius: 1.5rem !important;
  position: relative !important;
  inset: auto !important;
  /* Reset absolute positioning offsets */
  box-shadow: 0 20px 60px hsla(228, 66%, 45%, .25) !important;
}

.hero__video {
  border-radius: 1.5rem !important;
  /* Match container */
}

/* Feature Video Expansion */
.video-feature-container {
  width: 100% !important;
  max-width: 400px !important;
  height: auto !important;
  aspect-ratio: 1/1;
  /* Square for icon dance */
  border-radius: 1.5rem !important;
  position: relative !important;
  inset: auto !important;
  box-shadow: 0 20px 60px hsla(228, 66%, 45%, .25) !important;
}

.value__video {
  border-radius: 1.5rem !important;
}

/* Hide Orbs for Expanded Videos */
.home__images .home__orbe,
.value__images .value__orbe {
  display: none;
}

/* Center images containers since absolute positioning is removed/overridden */
.home__images,
.value__images {
  justify-content: center;
  align-items: center;
  min-height: auto;
  /* Remove fixed heights */
}

/*=============== FOUNDER SECTION ===============*/
.founder__section {
  background-color: var(--container-color);
}

.founder__container {
  display: grid;
  gap: 3rem;
}

.founder__content {
  text-align: left;
}

.founder__description {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: var(--font-medium);
}

.founder__name {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.founder__role {
  display: block;
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

.founder__pasts {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: .5rem;
}

.founder__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder__placeholder {
  width: 250px;
  height: 250px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--first-color);
  box-shadow: 0 8px 24px hsla(228, 66%, 45%, .1);
}

@media screen and (min-width: 768px) {
  .founder__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/*=============== CENTERED VALUE VIDEO ===============*/
.value__container:not(.grid) {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

.video-feature-container.centered {
  margin: 0 auto;
}
/*=============== CAREERS PAGE STYLES ===============*/
.careers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.career__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.career__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px hsla(228, 66%, 45%, .1);
  border-color: var(--first-color);
}

.career__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.career__icon {
  font-size: 2rem;
  color: var(--first-color);
  background: var(--body-color);
  padding: 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px hsla(228, 66%, 45%, .05);
}

.career__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.career__type {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  background: var(--body-color);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  display: inline-block;
}

.career__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.career__section h4 {
  font-size: var(--normal-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
  font-weight: var(--font-semi-bold);
}

.career__section p, 
.career__section li {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.career__section ul {
  list-style: none;
}

.career__section li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.career__section li i {
  color: var(--first-color);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.career__footer {
  margin-top: auto;
}

.button--small {
  padding: 0.75rem 1.5rem;
  font-size: var(--small-font-size);
}

@media screen and (min-width: 768px) {
  .careers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1040px) {
  .careers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
