/* Hero Section Background Overlay */
.hero-new {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px !important;
}

.hero {
  padding: 22px 0 0px !important;
}

.partners-contact {
  margin-top: 0 !important;
}

.demo-video-thumbnail {
  width: 100% !important;
  height: 100% !important;
}

.demo-video-thumbnail:hover {
  transform: none !important;
  border-radius: 12px !important;
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./Assets/hero-explorer-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-title-accent {
  font-size: 52px !important;
}

.explorer-title {
  font-size: 32px !important;
}

.hero-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(231, 144, 38, 0.75) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

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

/* Hero Actions Wrapper for Button Alignment */
.hero-actions-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

.hero-title-accent {
  font-size: 32px;
}

.hero-actions-wrapper .hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions-wrapper .signup-btn {
  margin: 0;
}

.explorer-title {
  font-size: 2.6rem;
  color: #0b0b0b;
  font-weight: 700;
  margin: 0 auto 20px;
  text-align: center;
}


.hero-pricing-text {
  margin-top: 0px;
  font-size: 1.5rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #16a34a 0%, #f46c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
}


/* Landing Page Countdown Styles */
.countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.testimonial-section {
  margin-top: 40px !important;
}

.countdown-label {
  font-size: 1rem;
  color: #dd8c11;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.countdown-timer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: auto;
}

.countdown-value {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3c261 0%, #ed9e28 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  padding: 16px 4px;
  border-radius: 6px;
  min-width: 44px;
}

.countdown-label-small {
  font-size: 0.75rem;
  color: #4d4d4d;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.countdown-separator {
  font-size: 1.4rem;
  color: #4e524f;
  font-weight: 700;
  margin: 0 2px;
  line-height: 1;
  padding-top: 10px;
}

/* Hero Join Banner */
.hero-join-banner {
  background: linear-gradient(90deg, #2d8b7a 0%, #3a9d8a 100%);
  padding: 8px 30px;
  margin-top: 40px;
  bottom: 0;
  position: absolute;
  border-radius: 0;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.story-grid.two-col {
  grid-template-columns: 70% 30%;
  gap: 36px;
  align-items: center;
}

.hero-join-text {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}


/* Base styles shared by both buttons */
.cta-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 3px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* Sign In button (purple/blue outline) */
.cta-outline {
  background-image: linear-gradient(#ffffff, #ffffff),
    linear-gradient(90deg, #08e108 0%, #8fff6a 50%, #ed9e28 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 30px rgba(105, 98, 255, 0.14);
}

/* Sign Up button (Premium Gradient Border with White Background) */
.signup-btn {
  background: transparent;
  background-image: linear-gradient(#ffffff, #ffffff),
    linear-gradient(90deg, #08e108 0%, #8fff6a 50%, #ed9e28 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2.5px solid transparent;
  border-radius: 999px;
  padding: 6px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(105, 116, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.signup-btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.signup-btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  display: block;
}

/* Sign In text/arrow (gradient) */
.cta-outline .cta-text,
.cta-outline .cta-arrow {
  color: transparent;
  background: linear-gradient(90deg, #08e108 0%, #8fff6a 50%, #ed9e28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
}

.cta-outline .cta-arrow {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Sign In hover */
.cta-outline:hover {
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    linear-gradient(90deg, #08e108 0%, #8fff6a 50%, #ed9e28 100%);
  box-shadow: 0 14px 34px rgba(105, 98, 255, 0.2);
}

/* Sign Up hover */
.signup-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(135, 98, 255, 0.2);
  background-image: linear-gradient(#ffffff, #ffffff),
    linear-gradient(90deg, #08e108 0%, #8fff6a 50%, #ed9e28 100%);
}

/* Sign In active */
.cta-outline:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(105, 98, 255, 0.16);
}

/* Sign Up active */
.signup-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 20px rgba(105, 116, 255, 0.16);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-actions-wrapper .hero-actions {
    gap: 12px;
  }

  .countdown-container {
    padding: 20px;
    gap: 15px;
  }

  .countdown-timer {
    gap: 8px;
  }

  .countdown-block {
    padding: 10px 12px;
  }

  .countdown-value {
    font-size: 1.6rem;
    min-width: 50px;
  }

  .countdown-label-small {
    font-size: 0.7rem;
  }

  .countdown-separator {
    font-size: 1.2rem;
    margin: 0 2px;
  }

  .signup-btn {
    padding: 10px 30px;
  }

  .signup-btn-content {
    font-size: 1.1rem;
    gap: 12px;
  }

  .signup-btn-icon {
    width: 20px;
    height: 20px;
  }
}

.hero-new:before {
  mix-blend-mode: luminosity !important;
}

@media (max-width: 480px) {
  .hero-actions-wrapper .hero-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-actions-wrapper .sparkles {
    min-width: 0;
  }

  .countdown-container {
    padding: 15px;
  }

  .countdown-timer {
    gap: 6px;
  }

  .countdown-block {
    padding: 8px 10px;
  }

  .countdown-value {
    font-size: 1.3rem;
    min-width: 45px;
  }

  .countdown-label-small {
    font-size: 0.65rem;
  }

  .countdown-separator {
    font-size: 1rem;
  }

  .signup-btn {
    padding: 12px 24px;
    width: 100%;
  }

  .signup-btn-content {
    font-size: 1rem;
    gap: 10px;
  }
}




.why-section {
  padding: 80px 0;
  background: #ffffff;
}

.why-header {
  margin-bottom: 48px;
}

.why-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 24px;
  text-align: left;
  color: #0b0b0b;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.why-intro-text {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 32px;
}

.why-highlight {
  color: #07a219;
  font-weight: 600;
}

/* simpler Game Changer Section */
.game-changer-box {
  border-left: 4px solid #07a219;
  padding: 20px 0 20px 30px;
  margin: 40px 0;
  background: #f9fff9;
}

.game-changer-title {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.game-changer-desc {
  font-size: 18px;
  color: #555;
  line-height: 1.5;
}

/* Bullet Points */
.why-points {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  gap: 20px;
}

.why-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  color: #333;
}

.why-point-icon {
  color: #07a219;
  font-weight: bold;
  margin-top: 2px;
}

/* Features Grid - 3 Column Layout */
.why-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 0;
  /* Vertical gap kept, horizontal gap handled by padding and borders */
  margin-top: 40px;
}

.framework-item {
  display: flex;
  flex-direction: column;
  gap: 20px !important;
  background-color: transparent;
  border: none !important;
  padding: 30px 40px;
  align-items: flex-start;
  border-radius: 10px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
}





/* Desktop: 3 Columns - Borders between 1-2 and 2-3 */
@media (min-width: 1025px) {

  .framework-item:nth-child(1),
  .framework-item:nth-child(2) {
    border-right: 1px solid #e5e7eb !important;
  }
}

.framework-icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
}

.framework-item:hover .framework-icon-box {
  transform: scale(1.1);
}

/* Individual Colors for Icons & Hover Backgrounds */

/* Card 1: Brand Green */
.framework-item:nth-child(1) .framework-icon-box {
  background: #0abb1f;
  box-shadow: 0 4px 12px rgba(7, 162, 25, 0.2);
}

.framework-item:nth-child(1):hover {
  background-color: #f0fff4;
}

/* Card 2: Indigo / Blue */
.framework-item:nth-child(2) .framework-icon-box {
  background: #ef860d;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.framework-item:nth-child(2):hover {
  background-color: #fff7ed;
}

/* Card 3: Amber / Orange */
.framework-item:nth-child(3) .framework-icon-box {
  background: #51c1d3;
  box-shadow: 0 4px 12px rgba(58, 175, 193, 0.2);
}

.framework-item:nth-child(3):hover {
  background-color: #f3feff;
}

.framework-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.framework-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.framework-desc {
  font-size: 15px !important;
  color: #51555a !important;
  margin: 0 !important;
}

.impact-heading {
  font-size: 2.2rem;
}

@media (max-width: 1024px) {
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  /* Reset desktop alignments */
  .framework-item {
    padding: 0 30px;
    border-right: none !important;
  }

  .framework-item:nth-child(3n+1) {
    padding-left: 30px;
  }

  .framework-item:nth-child(3n) {
    padding-right: 30px;
  }

  /* Tablet: 2 Columns - Border only between the two columns */
  .framework-item:nth-child(odd) {
    border-right: none !important;
    padding-left: 0;
  }

  .framework-item:nth-child(1) {
    border-right: 1px solid #e5e7eb !important;
    padding-left: 0;
  }

  .framework-item:nth-child(even) {

    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .why-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .framework-item:nth-child(1) {
    border-right: none !important;
    padding-left: 0;
  }

  .framework-item {
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0 !important;
    padding-bottom: 20px !important;
  }

  .framework-item:nth-child(3) {
    border-bottom: none !important;
    padding-left: 0;
  }

}

/* Pricing Section Styling - Responsive & Modern */
.pricing-section {
  padding: 100px 0;
  background: linear-gradient(-10deg, #fff5e6, #fff4eb 25%, #ecfaeb 50%, #f0fff3 75%, #fffdfa);
}

.platform-head {
  text-align: center;
  align-items: center;
  padding-bottom: 50px;
}


.pricing-card {
  border-radius: 24px;
  display: flex;
  max-width: 1000px;
  margin: 0 auto;

}

.pricing-left {
  flex: 1.2;
  border-radius: 14px 0 0 14px;
  position: relative;
  padding: 40px 50px;
  box-shadow: rgba(4, 193, 45, 0.1) 0px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-align: center;
}

.pricing-right {
  flex: 1;
  padding: 60px;
  background: #ffffff;
  border-left: 1px solid #f0f0f0;
  margin: 30px 0;
}

.pricing-offer-title {
  border: 1px solid #b8e6bc;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  top: -16px;
  color: #07a219;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  background: #e6f6e8;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
}

.price-hero {
  font-size: 72px;
  font-weight: 800;
  color: #1a1a1b;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-hero-period {
  font-size: 24px;
  color: #6b7280;
  font-weight: 600;
}

.price-annual {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.price-comparison {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
  margin-bottom: 20px;
  position: relative;
  padding: 12px;
  background: #fdfdfd;
  border-radius: 12px;
  border: 1px dashed #e2e8f0;
  width: 100%;
}

.price-old {
  font-size: 18px;
  color: #64748b;
  margin-top: 16px;
  text-decoration: line-through;
  font-weight: 500;
}

.price-discount {
  font-size: 15px;
  color: #000000;
  position: absolute;
  top: -16px;
  background: #ffc96b;
  padding: 4px 20px;
  border-radius: 56px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-cta-btn {
  background: #0bb71f;
  /* From image example - violet/purple */
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.pricing-cta-btn:hover {
  background: #06b41a;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(1, 134, 36, 0.3);
}

.pricing-assurance {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
}

.included-title {
  font-size: 18px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 24px;
}

.included-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.4;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: #07a219;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .pricing-card {
    flex-direction: column;
  }

  .pricing-right {
    border-left: none;
    border-top: 1px solid #f0f0f0;
    padding: 40px;
    margin: 30px 0;
  }

  .pricing-left {
    padding: 40px;
  }
}

@media (max-width: 480px) {
  .price-value {
    font-size: 48px;
  }

  .pricing-cta-btn {
    font-size: 18px;
  }
}

.mobile-demo-video-btn {
  display: flex !important;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  background: #1ed333;
  border: none;
  padding: 6px 16px;
  cursor: pointer;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(124, 230, 163, 0.4);
}

.mobile-demo-video-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(124, 230, 163, 0.6);
}

.mobile-demo-video-btn:active {
  transform: scale(0.95);
}


.mobile-demo-video-btn svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.mobile-demo-video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 230, 163, 0.6);
}

.mobile-demo-video-btn:active {
  transform: translateY(0);
}



/* Video Modal Styling - Ensure proper display on all devices */
#testimonialVideoModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999 !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#testimonialVideoModal[style*="display: flex"] {
  display: flex !important;
}

#testimonialVideoModal>div {
  position: relative;
  width: min(960px, 100%);
  max-height: 100%;
  z-index: 100000 !important;
}

#testimonialModalClose {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 100001 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#testimonialModalIframe {
  width: 100%;
  height: clamp(240px, 56.25vw, 540px);
  background: #000;
  border-radius: 12px;
  display: block;
  border: none;
}

/* Mobile/Tablet specific modal adjustments */
@media (max-width: 928px) {
  #testimonialVideoModal {
    padding: 16px;
    z-index: 99999 !important;
  }

  #testimonialVideoModal>div {
    width: 100%;
    max-width: 100%;
    z-index: 100000 !important;
  }

  #testimonialModalClose {
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100001 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  #testimonialModalIframe {
    height: clamp(200px, 56.25vw, 420px);
    border-radius: 8px;
  }
}

/* Ensure modal appears above everything else */
body.modal-open {
  overflow: hidden;
}


/*zero setup section*/

/* Zero Effort Setup Section */
.zero-effort-section {
  padding: 30px 20px;
  background: #ffffff;
}

.zero-effort-header {
  text-align: center;
  margin-bottom: 60px;
}

.zero-effort-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0b0b0b;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.zero-effort-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #0b0b0b;
  margin: 0;
}

.zero-effort-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.zero-effort-card {
  background: #f5fbf6;
  border: 1px solid #d2eccc;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.zero-effort-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #1ac057;
}

.zero-effort-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zero-effort-icon svg {
  width: 100%;
  height: 100%;
  stroke: #0b0b0b;
}

.zero-effort-text {
  font-size: 1rem;
  font-weight: 400;
  color: #0b0b0b;
  margin: 0;
  line-height: 1.5;
}

.zero-effort-cta {
  text-align: center;
}

.zero-effort-btn {
  background: linear-gradient(90deg, #1ac057 0%, #2ab862 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 192, 87, 0.3);
}

.zero-effort-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 192, 87, 0.4);
  background: linear-gradient(90deg, #1ed065 0%, #35c96e 100%);
}

.zero-effort-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 192, 87, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .zero-effort-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .zero-effort-section {
    padding: 60px 20px;
  }

  .zero-effort-title {
    font-size: 2rem;
  }

  .zero-effort-subtitle {
    font-size: 1.2rem;
  }

  .zero-effort-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .zero-effort-card {
    padding: 30px 20px;
  }

  .zero-effort-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }

  .zero-effort-btn {
    font-size: 1.1rem;
    padding: 14px 36px;
    width: 100%;
  }
}

/* Features Showcase Section */
/* --- Features Stacked Cards Scroll Effect --- */
.stack-section {
  padding: 80px 0 0px;
  /* Increased bottom padding to allow last card to stick */
  background: #ffffff;
  overflow: visible !important;
  /* Critical for sticky */
}

.stack-wrapper {
  position: relative;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible !important;
}

.stack-card {
  position: -webkit-sticky;
  position: sticky;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  padding: 40px 50px;
  min-height: 480px;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
  /* Adjusted gap between cards */
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center top;
}

.stack-card:last-child {
  margin-bottom: 100px;
  /* Help the last card stay stuck longer */
}

/* Staggered offsets for the visible "stack" edges */
.stack-card:nth-child(1) {
  top: 80px;
  z-index: 10;
  border-left: 5px solid #4ed565;
}

.stack-card:nth-child(1) .showcase-icon-box {
  background: rgba(78, 213, 101, 0.1);
}

.stack-card:nth-child(1) .showcase-icon-box svg {
  fill: #4ed565 !important;
}

.stack-card:nth-child(2) {
  top: 100px;
  z-index: 11;
  border-left: 5px solid #f0ae5e;
}

.stack-card:nth-child(2) .showcase-icon-box {
  background: rgba(240, 174, 94, 0.1);
}

.stack-card:nth-child(2) .showcase-icon-box svg {
  fill: #f0ae5e !important;
}

.stack-card:nth-child(3) {
  top: 120px;
  z-index: 12;
  border-left: 5px solid #7fd7e4;
}

.stack-card:nth-child(3) .showcase-icon-box {
  background: rgba(127, 215, 228, 0.1);
}

.stack-card:nth-child(3) .showcase-icon-box svg {
  fill: #7fd7e4 !important;
}

.stack-card:nth-child(4) {
  top: 140px;
  z-index: 13;
  border-left: 5px solid #f9e853;
}

.stack-card:nth-child(4) .showcase-icon-box {
  background: rgba(249, 232, 83, 0.1);
}

.stack-card:nth-child(4) .showcase-icon-box svg {
  fill: #f9e853 !important;
}

/* Common visual styling refinement */

/* Common visual styling refinement */
.stack-card .showcase-icon-box {
  background: #f9fafb;
}

.stack-card-visual {
  background: white !important;
  /* Cleaner white look */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Content within cards */
.stack-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
}

.stack-card-visual {
  flex: 1.2;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #fee0b5 0%, #91fe91 100%);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-card-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Very subtle shadow for the image itself */
}

.stack-card .showcase-icon-box {
  width: 56px;
  height: 56px;
  background: #fff8eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-card .showcase-title {
  font-size: 1.4rem !important;
  font-weight: 800;
  margin: 0;
  color: #111;
  line-height: 1.2;
  text-align: left;
}

.stack-card .showcase-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Mobile Rotator Styles (matches index page interaction) */
@media (max-width: 720px) {
  .stack-section {
    padding: 40px 0 80px;
    background-color: #fff;
  }

  .stack-wrapper {
    position: relative;
    height: 520px;
    /* Fixed height for rotation context */
    margin-bottom: 60px;
    display: block;
    touch-action: pan-y;
  }

  .stack-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 420px;
    margin-bottom: 0;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    text-align: center;
    min-height: auto;
    height: 100%;
    opacity: 0.85;
    transition: transform 420ms cubic-bezier(.2, .9, .3, 1), opacity 420ms ease;
  }

  .stack-card .showcase-title {
    font-size: 1.5rem !important;
    text-align: center;
  }

  .stack-card .showcase-desc {
    font-size: 1rem;
  }

  .stack-card-visual {
    width: 100%;
    max-height: 200px;
    flex: none;
  }

  .stack-card.inactive {
    pointer-events: none;
    filter: blur(1px);
    opacity: 0.7;
  }

  .stack-card.active {
    pointer-events: auto;
    opacity: 1 !important;
    transform: translate(-50%, -52%) scale(1) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    filter: none;
    z-index: 999 !important;
  }

  .stack-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 100px;
  }

  .stack-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .stack-dot.active {
    background: #16a34a;
    transform: scale(1.2);
  }
}