/* ========================================
   HERO CTA SECTION - Two Part Design
   ======================================== */

.hero-cta-section {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Top Section - Dark Background with Product Showcase */
.hero-cta-top {
  background: #000;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  position: relative; 
  padding: 5rem 2rem 2rem;
  margin-bottom: -7rem;
  overflow: visible;
}

/* Abstract Background Pattern - Glowing Black Lines */
.hero-cta-top::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%),
              radial-gradient(circle at 60% 30%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-cta-top::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.hero-cta-top-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 3rem;
  padding: 0rem;
}

.hero-cta-text-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  line-height: 1;
}

.hero-cta-headline {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  /* line-height: 1.2; */
  /* margin: 0; */
  /* margin: -1rem auto 0; */
  letter-spacing: -0.02em;
}
.hero-cta-subheadline{
  font-size: 2rem;
  color: #e5e7eb;
  /* line-height: 1.6; */
}

.hero-cta-subtext {
  font-size: 1.125rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin: 0;
}

.hero-cta-rating-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0;
}

/* Rating now uses g2-badge classes from cta.css */

.hero-cta-btn-top {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  padding: 4px 26px;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* Subtext, Rating and CTA Section - Above White Card */
.hero-cta-sub {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: -0.5rem auto 0;
  padding: 0 2.5rem;
}

.hero-cta-sub-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;

  margin-bottom: -2rem;
}

.hero-cta-subtext {
  flex: 1;
  max-width: 600px;
}

.hero-cta-rating-cta-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

/* White Card Container */
.hero-cta-card-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
}

.hero-cta-rating-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0;
}

.hero-cta-screenshot-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
  margin-bottom: -4rem;
}

.hero-cta-screenshot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  /* transform: rotate(1.5deg); */
  /* box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25); */
}

.hero-cta-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom Section - Light Background with Features */
.hero-cta-bottom {
  background: #f5f5f5;
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-cta-bottom-container {
  position: relative;
  /* z-index: 2; */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
  margin-top: 4rem;
}

.hero-cta-features-text {
  background: #fff;
  background-image: url('../img/homePageimg/lines-left-corner.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 50% auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  border-radius: 24px !important;
  width: 105%;
}
/* 
.hero-cta-BorderRadius{

  border-bottom-right-radius: 24px !important;
} */

/* Subtle light blue wavy lines on white background */
/* .hero-cta-features-text::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
} */

.hero-cta-features-text > * {
  position: relative;
  z-index: 1;
}

.hero-cta-features-headline {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}

.hero-cta-features-headline .highlight {
  color: #4f46e5;
}

.hero-cta-features-subtext {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

.hero-cta-btn-bottom {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  width: fit-content;
  margin-top: 0.5rem;
}

.hero-cta-social-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero-cta-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-cta-avatar {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
}

.hero-cta-social-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-cta-social-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  line-height: 1;
}

.hero-cta-social-text {
  font-size: 0.875rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}

.hero-cta-social-text .heart {
  color: #6a5acd;
}

/* Features List - Dark Box */
.hero-cta-features-box {
  background: #1a202c;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-cta-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
}

.hero-cta-features-list li .check-icon {
  color: #10b91b;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1300px) and (min-width: 1200px) {
  .hero-cta-top-content {
    padding: 0 2rem;
    max-width: 1100px;
  }

  .hero-cta-sub {
    padding: 0 2rem;
    max-width: 1100px;
  }

  .hero-cta-card-container {
    padding: 0 2rem;
    max-width: 1100px;
  }
}

@media (max-width: 1199px) {
  .hero-cta-top-content,
  .hero-cta-bottom-content {
    gap: 2.5rem;
  }

  .hero-cta-headline {
    font-size: 2rem;
  }

  .hero-cta-features-headline {
    font-size: 2.25rem;
  }
}

@media (max-width: 991px) {
  .hero-cta-top {
    padding: 4rem 1.5rem 3rem;
  }

  .hero-cta-top-content {
    margin-bottom: 2rem;
  }

  .hero-cta-text-content {
    max-width: 100%;
  }

  .hero-cta-sub {
    margin-top: -1.5rem;
    padding: 0 2rem;
  }

  .hero-cta-sub-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-cta-subtext {
    max-width: 100%;
  }

  .hero-cta-rating-cta-wrapper {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-cta-card-container {
    padding: 2rem;
  }

  .hero-cta-rating-cta {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .hero-cta-card-container {
    margin-top: -2rem;
    padding: 2rem;
    border-radius: 20px;
  }

  .hero-cta-screenshot {
    /* transform: rotate(0.5deg); */
    max-width: 100%;
  }

  .hero-cta-bottom {
    padding: 3rem 1.5rem;
  }

  .hero-cta-bottom-container {
    grid-template-columns: 1fr;
  }

  .hero-cta-features-text {
    padding: 2.5rem 2rem;
  }

  .hero-cta-features-box {
    order: -1;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767px) {
  .hero-cta-top {
    padding: 2.5rem 1rem;
  }

  .hero-cta-headline {
    font-size: 1.75rem;
  }

  .hero-cta-features-headline {
    font-size: 1.75rem;
  }

  .hero-cta-features-text {
    padding: 2rem 1.5rem;
  }

  .hero-cta-features-box {
    padding: 2rem 1.5rem;
  }

  .hero-cta-subtext,
  .hero-cta-features-subtext {
    font-size: 1rem;
  }

  .hero-cta-top-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-cta-rating-cta-wrapper {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-cta-rating-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .hero-cta-sub {
    margin-top: -1rem;
    padding: 0 1.25rem;
  }

  .hero-cta-sub-content {
    gap: 1.25rem;
  }

  .hero-cta-card-container {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .hero-cta-screenshot {
    /* transform: rotate(0deg); */
    max-width: 100%;
  }

  .hero-cta-bottom {
    padding: 2.5rem 1rem;
  }

  .hero-cta-bottom-content {
    gap: 2rem;
  }

  .hero-cta-features-box {
    padding: 2rem 1.5rem;
  }

  .hero-cta-features-list li {
    font-size: 1rem;
  }

  .hero-cta-social-proof {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .hero-cta-btn-bottom {
    order: 1;
    width: 100%;
    max-width: 280px;
  }

  .hero-cta-avatars {
    order: 2;
  }

  .hero-cta-social-text-wrapper {
    order: 3;
    align-items: center;
  }

  .hero-cta-avatar {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-cta-top {
    padding: 2rem 1rem;
  }

  .hero-cta-headline {
    font-size: 1.5rem;
  }

  .hero-cta-features-headline {
    font-size: 1.5rem;
  }

  .hero-cta-features-text {
    padding: 1.5rem 1.25rem;
  }

  .hero-cta-features-box {
    padding: 1.5rem 1.25rem;
  }
  .hero-cta-screenshot-wrapper {
    margin-top: 0;
    margin-bottom: 0;
  }


  .hero-cta-btn-top {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-cta-btn-bottom {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    width: 100%;
    text-align: center;
  }

  .hero-cta-bottom {
    padding: 2rem 1rem;
  }

  .hero-cta-features-box {
    padding: 1.5rem 1.25rem;
  }

  .hero-cta-features-list {
    gap: 1rem;
  }

  .hero-cta-features-list li {
    font-size: 0.9375rem;
  }

  .hero-cta-social-proof {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .hero-cta-btn-bottom {
    order: 1;
    width: 100%;
    max-width: 280px;
  }

  .hero-cta-avatars {
    order: 2;
  }

  .hero-cta-social-text-wrapper {
    order: 3;
    align-items: center;
  }

  .hero-cta-avatar {
    max-width: 100px;
    width: 100%;
    height: auto;
  }

  .hero-cta-social-text {
    font-size: 0.8125rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta-social-stars {
    font-size: 0.75rem;
  }
}

