:root {
  --color-primary: #fd6f13;
  --color-secondary: #2563eb;
  --color-text: #2b2b2b;
  --color-background: #faf8f5;
}

.home-page {
  background-color: #fff;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Hero Section */
.home-hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 600px;
  overflow: hidden;
}

.home-hero .bloghash-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.home-hero-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  height: auto;
  object-fit: cover;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.home-hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  color: #000;
  line-height: 48px;
  margin-bottom: 10px;
  word-wrap: break-word; /* Prevent text overflow on small screens */
}

.home-hero-content h1 span {
  color: var(--color-primary);
}

.home-hero-content p {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 20px;
  margin: 0;
}

.home-hero-buttons {
  display: flex;
  gap: 10px;
  padding: 30px 0 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.button-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  background-color: #fff;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.home-hero-button:hover {
  transform: scale(1.05);
}

.home-hero-button img {
  max-width: 140px;
  height: auto;
}

.home-hero-buttons-container {
  position: relative;
	margin-bottom: 20px;
}

.coming-soon-text {
  font-size: 12px !important;
  text-transform: uppercase;
  color: #8a8a8a;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2px 8px;
  border-radius: 20px;
  text-align: center;
  margin-top: 8px;
  opacity: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  max-width: 120px;
  width: 100%;
  margin: 12px auto 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.coming-soon-text::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #e9ecef;
}

.button-container:hover .coming-soon-text {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.home-features {
  padding: 75px 0;
}

.home-features h2 {
  font-size: 40px;
  font-weight: 800;
  color: #000;
  line-height: 48px;
  margin-bottom: 40px;
  text-align: center;
  word-wrap: break-word;
}

.home-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.home-feature {
  background-color: #faf8f5;
  padding: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.home-feature h3 {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  line-height: 32px;
  word-wrap: break-word;
}

.home-feature-content {
  max-width: 250px;
}

.home-feature-content p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin: 0;
}

.home-feature img {
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* About Section */
.home-about {
  background-color: #faf8f5;
  padding: 75px 0;
}

.home-about-content {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.home-about-image {
  max-width: 500px;
  height: auto;
  width: 100%;
}

.home-about-content-text h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 48px;
  margin-bottom: 30px;
  text-align: center;
  word-wrap: break-word;
}

.home-about-content-text p {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #000;
  line-height: 24px;
  margin: 0 0 40px 0;
}

.home-about-content-text-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-about-content-text-list-item {
  background-color: var(--color-background);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.home-about-content-text-list-item:hover {
  transform: translateY(-2px);
}

.home-about-content-text-list-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.home-about-content-text-list h4 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  line-height: 24px;
  margin-bottom: 10px;
}

.home-about-content-text-list p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin: 0;
  text-align: left;
}

/* App Highlights Section */
.home-app-highlights {
  background-color: #fff;
  padding: 75px 0;
}

.app-highlights-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.home-app-highlights h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 48px;

  text-align: center;
  word-wrap: break-word;
}

.home-app-highlights p {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin-bottom: 60px;
  text-align: center;
}

.app-highlights-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
}

/*  */

/* Right side app screens */
.app-highlights-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-image: url("../images/app-screen-bg.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px; /* Ensure minimum height on mobile */
}

.app-screen-container {
  position: relative;
  width: 300px;
  height: 600px;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

/* iPhone Mockup with Real Image */
.iphone-mockup {
  position: relative;
  width: 100%;
  height: 100%;
}

.iphone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

/* App Screen Content */
.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.app-screen.active {
  opacity: 1;
  transform: translateX(0);
}

/* Consistent slide effect for all screens */
.app-screen[data-step="1"],
.app-screen[data-step="2"],
.app-screen[data-step="3"],
.app-screen[data-step="4"] {
  transform: translateX(100%);
}

.app-screen[data-step="1"].active,
.app-screen[data-step="2"].active,
.app-screen[data-step="3"].active,
.app-screen[data-step="4"].active {
  transform: translateX(0);
}

/* App Screenshot Images */
.app-screenshot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  max-width: 100%;
  height: auto;
}

/* FAQ Section */
.home-faqs {
  background-color: #fff;
  padding: 75px 0;
  color: var(--color-text);
}

.faqs-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left Side - Illustration */
.faqs-left {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: sticky;
  top: 100px;
}

.faqs-illustration {
  position: relative;
  width: 400px;
  height: 500px;
}

.faqs-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Right Side - FAQ Content */
.faqs-right {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faqs-right h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 48px;
  margin-bottom: 40px;
  word-wrap: break-word;
}

.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.faq-item {
  background-color: transparent;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  min-height: 44px; /* Ensure minimum touch target */
}

.faq-header:hover {
  color: var(--color-primary);
}

.faq-header:active {
  transform: scale(0.98);
}

.faq-header h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text);
  transition: all 0.3s ease;
  margin-left: auto;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(0%) contrast(100%);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(0%) contrast(100%);
}

.faq-item:not(.active) .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-content > div {
  overflow: hidden;
  min-height: 0;
}

.faq-content p {
  padding: 0 0 20px 0;
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 24px;
  word-wrap: break-word;
}

.app-highlights-left .accordion {
  display: flex;
  flex-direction: column;
}

.app-highlights-left .accordion-item {
  border-left: 5px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.app-highlights-left .accordion-item-content {
  border-bottom: 1px solid #e5e7eb;
}

.app-highlights-left .accordion-item.active {
  border-left: 5px solid var(--color-secondary);
}

.app-highlights-left .accordion-header {
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-highlights-left .accordion-item.active .accordion-header {
  color: var(--color-secondary);
}

.app-highlights-left .accordion-number {
  font-size: 40px;
  line-height: 34px;
  font-weight: 700;
  color: #2b2b2b;
  margin-right: 10px;
  min-width: 40px;
  transition: color 0.3s ease;
}

.app-highlights-left .accordion-item.active .accordion-number {
  color: var(--color-secondary);
}

.app-highlights-left .accordion-title {
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
  transition: color 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.app-highlights-left .accordion-icon {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.app-highlights-left .accordion-item.active .accordion-icon {
  transform: rotate(0deg);
}

.app-highlights-left .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background: white;
}

.app-highlights-left .accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 0 20px;
}

.app-highlights-left .accordion-text {
  color: #2b2b2b;
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
}

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

@media only screen and (max-width: 992px) {
  .home-hero {
    height: auto;
    min-height: auto;
    padding: 50px 0;
  }

  .home-hero-bg {
    display: none;
  }

  .home-features {
    padding: 20px 0 60px;
  }

  .home-features-list {
    grid-template-columns: 1fr;
  }

  .home-feature {
    padding: 20px;
  }

  .home-features h2 {
    text-align: left;
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .home-about {
    padding: 0;
  }
  .home-about-image {
    max-width: 100px;
  }
  .home-about-content {
    display: block;
    gap: 0;
  }

  .home-about-content-text h2 {
    text-align: left;
  }

  .home-about-content-text p {
    text-align: left;
  }

  .home-app-highlights {
    padding: 50px 0;
  }

  .app-highlights-content {
    display: block;
  }

  .home-app-highlights h2 {
    text-align: left;
    font-size: 34px;
    line-height: 40px;
  }

  .app-highlights-right {
    margin-top: 40px;
  }

  .home-faqs {
    padding: 40px 0;
  }

  .faqs-content {
    display: block;
    gap: 0;
  }

  .faqs-left {
    display: block;
  }

  .faqs-illustration {
    width: auto;
    height: auto;
  }

  .faqs-illustration img {
    max-width: 180px;
    height: auto;
  }
}

@media only screen and (max-width: 580px) {
  .home-feature h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .home-feature-content p {
    font-size: 15px;
    line-height: 21px;
  }

  .home-feature img {
    max-width: 140px;
    padding-left: 10px;
  }
}
