:root {
  --gradient-background-start: rgb(255, 111, 0);
  --gradient-background-end: rgb(0, 45, 226);
  --first-color: 18, 113, 255;
  --second-color: 221, 74, 255;
  --third-color: 100, 220, 255;
  --size: 80%;
  --blending-value: hard-light;
}

@keyframes flowBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes flowBackgroundReverse {
  0% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

body, html {
  margin: 0;
  padding: 0;
  height: auto;
  width: 100%;
  font-family: 'Sora', sans-serif !important; /* Base font */
  overflow-x: hidden; /* Prevent horizontal scroll, allow vertical */
  overflow-y: auto;   /* Enable vertical scrolling */
  color: white; /* Default text color for content on dark background */
  background-color: #041725; /* Match dark theme to hide white space */
  /* Remove CSS smooth scrolling to avoid conflicts with JS scrolling */
  -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
}

/* Comprehensive global font application */
*, *::before, *::after {
  font-family: 'Sora', sans-serif !important;
}

body, h1, h2, h3, h4, h5, h6, p, a, li, button, input, textarea, select, span, div, nav, section, article, aside, header, footer, main {
  font-family: 'Sora', sans-serif !important;
}

.hero-section-container { /* Renamed class */
  min-height: 130vh; /* Increased height for more impact */
  width: 100%;
  position: relative; /* Keep relative for z-indexing of overlay */
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #03045E 0%, #03045E 25%, #FD5D67 50%, #0E5181 75%, #03045E 100%);
}

/* Aurora Background Effect */
.hero-section-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: 
    repeating-linear-gradient(100deg, #041725 0%, #041725 7%, transparent 10%, transparent 12%, #041725 16%),
    repeating-linear-gradient(100deg, #936FF4 10%, #88BCFA 15%, #FD5D67 20%, #FEBC4E 25%, #FD9F4B 30%);
  background-size: 300% 200%, 200% 100%;
  background-position: 50% 50%, 50% 50%;
  opacity: 0.3;
  filter: blur(10px);
  animation: aurora 60s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  z-index: 0;
}

@keyframes aurora {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

/* Overlay for fading to white */
.hero-section-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 22%; /* Adjust height of the fade area */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #041725 100%);
  pointer-events: none; /* Ensure overlay doesn't intercept mouse events */
  z-index: 1;
}

/* Hero content styles */
.hero-content-area {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 800px;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
  opacity: 0;
}



.hero-title {
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  background: linear-gradient(
    45deg,
    #ffffff,
    #FD5D67,
    #48347f,
    #88BCFA,
    #FD5D67,
    #FD9F4B,
    #c35908,
    #936FF4
  );
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s ease-in-out infinite;
  letter-spacing: -0.02em;
  animation: heroTitleFloat 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards, gradientMove 12s ease-in-out infinite 1.8s;
  opacity: 0;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  color: white;
  line-height: 1.3;
  animation: heroSubtitleSlide 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
}

@keyframes gradientMove {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Optimized gradient animation - slower and less frequent */
@keyframes gradientMoveOptimized {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Border Magic Button */
.border-magic-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  margin-top: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: #041725;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  font-family: 'Sora', sans-serif;
  z-index: 1;
  animation: buttonEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  opacity: 0;
}

.border-magic-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 300% 300%;
  border-radius: 50px;
  z-index: -1;
  animation: borderMagic 4s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
}

.border-magic-button::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #041725;
  border-radius: 50px;
  z-index: -1;
}

.border-magic-button:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 25px rgba(147, 111, 244, 0.3);
}

.border-magic-button:active {
  transform: translate3d(0, 0, 0);
}

/* Fix styling for anchor tags inside border-magic-button */
.border-magic-button a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.border-magic-button a:hover {
  color: inherit;
}

.border-magic-button a:visited {
  color: inherit;
}

@keyframes borderMagic {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Pause heavy animations when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Disable card text animations for accessibility */
  .card-text-content h1.animate-in {
    animation: none !important;
    color: #111827 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }
  
  /* Disable benefits animations for accessibility */
  .benefit-icon-animate,
  .benefit-title-animate, 
  .benefit-desc-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hero Question Section */
/* Hero Question Section */
.hero-question-section {
  position: absolute;
  bottom: 32%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  animation: questionSectionRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
  will-change: opacity, transform;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.question-intro {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem 0;
  color: white;
  opacity: 0.9;
}

.question-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 600px;
  max-width: calc(100vw - 40px);
  text-align: center;
  transform: translateZ(0);
  will-change: backdrop-filter;
}

/* Container Text Flip Styles */
.question-text-flip {
  position: relative;
  min-width: 300px;
  max-width: 700px; /* Set a reasonable maximum width */
  height: 60px;
  border-radius: 30px;
  background: linear-gradient(45deg, #936FF4, #034ca4, #FD5D67, #FD9F4B, #936FF4);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  will-change: width;
  transform: translateZ(0);
  margin: 0 auto;
  padding: 3px;
}

/* White inner container for text */
.question-text-flip::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 60px; /* Leave space for the icon in gradient area */
  right: 3px;
  bottom: 3px;
  background: white;
  border-radius: 28px 28px 27px 28px; /* Curved on both sides for smooth transition */
  z-index: 1;
}

@keyframes borderGradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* AI Icon Container - now positioned in gradient area */
.ai-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.ai-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.question-text-content {
  font-size: 1.1rem;
  font-weight: 600;
  color: black;
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  flex: 1;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 2;
  position: relative;
  padding-left: 30px; /* Increased from 20px */
  padding-right: 20px; /* Add right padding to prevent text cutoff */
  margin-left: -6px; /* Overlap slightly with the white area */
  line-height: 1.2;
  overflow: visible; /* Ensure text is not clipped */
  min-width: 0; /* Allow flexbox to shrink if needed */
}

.question-text-content .letter {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  animation: letterReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, filter;
  transform: translateZ(0);
  vertical-align: baseline;
  line-height: 1;
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

@keyframes letterBlur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}

/* Section Title Styles (for above cards) */
.section-title-container {
  text-align: center; /* Center the h1 within this div */
  padding: 110px 20px 30px 20px; /* Increased top padding, reduced bottom padding */
  background-color: #041725; /* Ensure it's on the white background */
}

.section-title {
  color: #ffffff; /* Black/very dark gray text */
  font-size: 2.5em; /* Adjust size as needed */
  font-weight: 600;
  margin: 0; /* Remove default h1 margin if container handles padding */
  animation: sectionTitleFloat 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.section-title-container.animate-in .section-title {
  opacity: 1;
  transform: translateY(0);
}

/* Cards Section Styles */
.cards-section {
  background-color: #041725; /* White background for this section */
  padding: 80px 20px;
  display: flex;
  flex-direction: column; /* Stack cards vertically */
  align-items: center;    /* Center cards horizontally in the column */
  /* flex-wrap: wrap; // No longer needed for a single column */
  /* justify-content: center; // align-items handles horizontal centering for column flex */
  gap: 160px; /* Increased space between cards */
}

.info-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 750px; /* Increased max-width of a card */
  overflow: hidden; /* Ensure content respects border radius */
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.0);
}

.info-card:hover .card-image {
  transform: scale3d(1.02, 1.02, 1);
}

.card-image {
  width: 100%;
  height: 470px; /* Increased height for better video visibility */
  object-fit: cover; /* Cover the area, might crop */
  background-color: #e0e0e0; /* Placeholder color if image doesn't load */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  transform: translateZ(0);
}

.card-text-content {
  padding: 25px;
  text-align: left;
}

.card-text-content h1 {
  color: #111827; /* Dark gray for H1 */
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 0.5em;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Enhanced animation for card titles */
.card-text-content h1.animate-in {
  background: linear-gradient(135deg, #111827 0%, #936FF4 50%, #111827 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShimmer 2s ease-in-out;
}

@keyframes gradientShimmer {
  0% {
    background-position: 200% 0;
    -webkit-text-fill-color: #111827;
  }
  50% {
    background-position: 0% 0;
    -webkit-text-fill-color: transparent;
  }
  100% {
    background-position: -200% 0;
    -webkit-text-fill-color: #111827;
  }
}

.card-text-content h2 {
  color: #374151; /* Lighter gray for H2 */
  font-size: 1.1em;
  font-weight: normal;
  line-height: 1.6;
}

/* Card Text Animations */
.card-text-delay-1.animate-in {
  transition-delay: 0.2s;
}

.card-text-delay-2.animate-in {
  transition-delay: 0.4s;
}

/* Remove card-level animation styles since we animate elements individually now */

/* Showcase Section Styles */
.showcase-section {
  position: relative; /* For positioning the ::before pseudo-element */
  padding: 300px 20px 350px 20px; /* Significantly increased padding for more height */
  background: linear-gradient(135deg, #936FF4 0%, #88BCFA 25%, #FD5D67 50%, #FEBC4E 75%, #FD9F4B 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Smooth transition from cards section */
.showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* Height of the transition zone */
  background: linear-gradient(to bottom, #041725 0%, rgba(4, 23, 37, 0.8) 30%, rgba(4, 23, 37, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Aurora Background Effect for Showcase */
.showcase-section .aurora-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: 
    repeating-linear-gradient(100deg, #041725 0%, #041725 7%, transparent 10%, transparent 12%, #041725 16%),
    repeating-linear-gradient(100deg, #936FF4 10%, #88BCFA 15%, #FD5D67 20%, #FEBC4E 25%, #FD9F4B 30%);
  background-size: 300% 200%, 200% 100%;
  background-position: 50% 50%, 50% 50%;
  opacity: 0.2;
  filter: blur(8px);
  animation: aurora 60s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  z-index: 0;
}

/* Fade overlay for showcase section */
.showcase-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 22%; /* Adjust height of the fade area */
  background: linear-gradient(to bottom, rgba(4, 23, 37, 0) 0%, rgba(4, 23, 37, 1) 100%);
  pointer-events: none; /* Ensure overlay doesn't intercept mouse events */
  z-index: 1;
}

.showcase-image-container {
  margin-bottom: 40px;
  max-width: 900px; /* Adjust as needed */
  width: 92%;
}

.showcase-main-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  background-color: #e0e0e0; /* Placeholder color if image doesn't load */
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-image-container:hover .showcase-main-image {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.showcase-text-box {
  /* Reusing styles similar to .hero-text-box */
  background-color: rgba(30, 30, 50, 0.25);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 700px; /* Consistent with hero text box */
  width: 90%;
  z-index: 1; /* Ensure it's above background effects like the fade */
}

.showcase-text-box h1 {
  /* Reusing styles similar to .hero-text-box h1 */
  font-size: 2.8em; /* Slightly adjusted for context */
  margin-top: 0;
  margin-bottom: 0.3em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f0f5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-text-box h2 {
  /* Reusing styles similar to .hero-text-box h2 */
  font-size: 1.4em; /* Slightly adjusted for context */
  font-weight: 400;
  margin-bottom: 0;
  color: #d0d0e0;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-text-box.animate-in h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.showcase-text-box.animate-in h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Sticky Navigation Pill Styles */
.sticky-nav-pill {
  position: fixed; /* Or sticky, but fixed is simpler for always-on-top */
  top: 20px; /* Space from the top */
  left: 50%;
  transform: translate3d(-50%, 0, 0); /* Center the pill */
  z-index: 1000; /* Ensure it's above other content */
  padding: 10px 15px;
  border-radius: 16px; /* Pill shape */
  /* Glassy blur effect - same as .hero-text-box */
  background-color: rgba(30, 30, 50, 0.25); 
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; /* Arrange links in a row */
  gap: 15px; /* Space between links */
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
  opacity: 0;
  transform: translate3d(-50%, -100px, 0);
}

@keyframes navSlideDown {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.sticky-nav-pill a {
  color: #e0e0e5; /* Light text color for links */
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 16px; /* Slightly rounded individual link backgrounds on hover */
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.sticky-nav-pill a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.sticky-nav-pill a:hover::before {
  left: 100%;
}

/* Pricing Section Styles */
.pricing-section {
  background-color: #041725; /* Dark grayish-blue */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.pricing-header {
  margin-bottom: 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  animation: pricingHeaderFloat 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.pricing-header.animate-in .pricing-supertitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.pricing-header.animate-in h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.pricing-supertitle {
  color: #8A94A6; /* Lighter gray for supertitle */
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-header h2 {
  font-size: 2.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-subtitle {
  color: #A0ABC0; /* Softer white/gray */
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.pricing-toggle {
  display: inline-flex;
  background-color: rgba(40, 52, 80, 0.7); /* Slightly lighter dark blue */
  border-radius: 50px; /* Pill shape for the toggle container */
  padding: 5px;
}

.toggle-btn {
  background-color: transparent;
  color: #A0ABC0;
  border: none;
  padding: 10px 20px;
  border-radius: 40px; /* Rounded buttons inside */
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-btn.active {
  background-color: #4A5568; /* Medium gray for active toggle */
  color: #ffffff;
}

.pricing-card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align cards to the top if they had different heights */
}

.pricing-card {
  background-color: #041725; /* Slightly lighter than section bg */
  padding: 25px;
  border-radius: 16px;
  width: 100%;
  max-width: 380px; /* Max width of the pricing card */
  text-align: left;
  border: 1px solid transparent; /* Base for potential border highlight */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 15px 30px rgba(147, 111, 244, 0.15);
}

.pricing-card.startup-plan {
  /* Applying gradient border using the multi-background technique */
  background-image:
    linear-gradient(#041725, #041725), /* Inner background, matches card's own bg */
    linear-gradient(to right, #7F5CE4, #F85F2B);      /* Border gradient from learn-more-btn */
  background-origin: border-box;
  background-clip: padding-box, border-box; /* padding-box for inner, border-box for outer/border */
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.plan-header h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.most-popular-badge {
  background-color: #F87171; /* Indigo */
  color: #ffffff;
  font-size: 0.75em;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-description {
  color: #A0ABC0;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 0px;
  min-height: 50px; /* Give some space even if description is short */
}

.plan-price {
  font-size: 3em;
  font-weight: 600;
  color: #ffffff;
  justify-content: center;
  margin-bottom: 10px;
}

.plan-price span {
  font-size: 0.4em; /* Smaller /month text */
  font-weight: 400;
  color: #A0ABC0;
  margin-left: 5px;
}

.buy-plan-btn {
  position: relative;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  background: #041725;
  color: #ffffff;
  overflow: hidden;
  font-family: 'Sora', sans-serif;
  z-index: 1;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

.buy-plan-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 300% 300%;
  border-radius: 50px;
  z-index: -1;
  animation: borderMagic 4s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
}

.buy-plan-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #041725;
  border-radius: 50px;
  z-index: -1;
}

.buy-plan-btn:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 25px rgba(147, 111, 244, 0.3);
}

.buy-plan-btn:active {
  transform: translate3d(0, 0, 0);
}

/* Fix styling for buy-plan-btn when used as anchor tag */
.buy-plan-btn:visited {
  color: #ffffff;
}

.buy-plan-btn:link {
  color: #ffffff;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  color: #A0ABC0;
  font-size: 0.95em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.pricing-card.animate-in .features-list li {
  opacity: 1;
  transform: translateX(0);
  will-change: auto;
}

.pricing-card.animate-in .features-list li:nth-child(1) { transition-delay: 0.1s; }
.pricing-card.animate-in .features-list li:nth-child(2) { transition-delay: 0.2s; }
.pricing-card.animate-in .features-list li:nth-child(3) { transition-delay: 0.3s; }
.pricing-card.animate-in .features-list li:nth-child(4) { transition-delay: 0.4s; }
.pricing-card.animate-in .features-list li:nth-child(5) { transition-delay: 0.5s; }
.pricing-card.animate-in .features-list li:nth-child(6) { transition-delay: 0.6s; }
.pricing-card.animate-in .features-list li:nth-child(7) { transition-delay: 0.7s; }
.pricing-card.animate-in .features-list li:nth-child(8) { transition-delay: 0.8s; }
.pricing-card.animate-in .features-list li:nth-child(9) { transition-delay: 0.9s; }

.features-list li:hover {
  transform: translate3d(5px, 0, 0);
  color: #ffffff;
}

.features-list .tick {
  color: #ffffff; /* Indigo tick */
  margin-right: 10px;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.features-list li:hover .tick {
  color: #3DDC97;
  transform: scale3d(1.2, 1.2, 1);
}

/* Contact Us Section Styles */
.contact-us-section {
  position: relative; /* For pseudo-elements and positioning form box */
  min-height: auto; /* Let content determine height */
  padding: 100px 20px 80px 20px; /* Reduced bottom padding */
  margin: 0; /* Ensure no margin */
  display: flex;
  align-items: center; /* Vertically center the form box */
  justify-content: center; /* Horizontally center the form box (if it has a max-width) */

  /* Same background as hero section */
  background: linear-gradient(135deg, #03045E 0%, #0077B6 25%, #3DDC97 50%, #386641 75%, #0E5181 100%);
  overflow: hidden; /* Important if form box is large to prevent scrollbars from it */
}

/* Aurora Background Effect for Contact Us Section */
.contact-us-section::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image: 
    repeating-linear-gradient(100deg, #041725 0%, #041725 7%, transparent 10%, transparent 12%, #041725 16%),
    repeating-linear-gradient(100deg, #0077B6 10%, #313B72 15%, #0E5181 20%, #03045E 25%, #386641 30%);
  background-size: 300% 200%, 200% 100%;
  background-position: 50% 50%, 50% 50%;
  opacity: 0.5;
  filter: blur(8px);
  animation: aurora 60s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  z-index: 0;
}

.contact-us-form-box {
  /* Similar to hero-text-box but larger and left-aligned */
  background-color: rgba(30, 30, 50, 0.25);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  padding: 40px 50px;
  border-radius: 20px; /* Slightly larger radius */
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 600px; /* Smaller than about text box for form */
  width: 85%;
  z-index: 2; /* Above the fade overlay */
  text-align: left;
  color: #f0f0f5;
  margin: 0; /* Ensure no margin */
  margin-bottom: 0 !important; /* Force no bottom margin */
  animation: formEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  will-change: opacity, transform, backdrop-filter;
  transform: translate3d(0, 20px, 0);
  opacity: 0;
}

.contact-us-form-box.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.contact-us-form-box h1 {
  font-size: 2em; /* Adjust as needed */
  margin-top: 0;
  margin-bottom: 0.4em;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-us-form-box h2 {
  font-size: 1em; /* Adjust as needed */
  font-weight: 100;
  margin-bottom: 2em;
  line-height: 1.65;
  color: #d0d0e0;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-us-form-box.animate-in .form-group:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.contact-us-form-box.animate-in .form-group:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.form-group label {
  font-size: 0.9em;
  font-weight: 500;
  color: #f0f0f5;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f5;
  font-family: 'Sora', sans-serif;
  font-size: 0.9em;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3DDC97;
  box-shadow: 0 0 0 2px rgba(61, 220, 151, 0.2);
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale3d(1.02, 1.02, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a0b0;
}

.submit-btn {
  position: relative;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  background: #041725;
  color: #ffffff;
  overflow: hidden;
  font-family: 'Sora', sans-serif;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-us-form-box.animate-in .submit-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 300% 300%;
  border-radius: 50px;
  z-index: -1;
  animation: borderMagic 4s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
}

.submit-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #041725;
  border-radius: 50px;
  z-index: -1;
}

.submit-btn:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 25px rgba(147, 111, 244, 0.3);
}

.submit-btn:active {
  transform: translate3d(0, 0, 0);
}

/* Force no bottom spacing on form elements */
.contact-form,
.form-group:last-child,
.submit-btn {
  margin-bottom: 0 !important;
}

/* Ensure no spacing after the last section */
.contact-us-section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 60px !important;
}

/* Remove any default margins from all elements in contact section */
.contact-us-section * {
  margin-bottom: 0;
}

.contact-us-section .form-group {
  margin-bottom: 20px;
}

/* Override any browser defaults that might add space */
body::after,
html::after {
  content: none !important;
}

/* OpenAI Section Styles */
.openai-section {
  position: relative;
  background-color: #041725;
  padding: 180px 20px; /* Increased top and bottom padding */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.openai-gradient-box {
  position: relative;
  max-width: 600px;
  width: 90%;
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 400% 400%;
  animation: gradientRotate 5s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
}

/* Inner content container */
.openai-gradient-box::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: #041725;
  border-radius: 20px;
  z-index: 1;
}

/* Multiple layered glow effects */
.openai-gradient-box::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 44px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 400% 400%;
  opacity: 0.8;
  filter: blur(30px);
  animation: gradientRotate 5s ease-in-out infinite;
  will-change: background-position;
  transform: translateZ(0);
  z-index: -1;
}

/* Additional outer glow layer */
.openai-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: calc(90% + 80px);
  max-width: 680px;
  aspect-ratio: 1.5;
  border-radius: 50px;
  background: linear-gradient(45deg, #936FF4, #88BCFA, #FD5D67, #FEBC4E, #FD9F4B, #936FF4);
  background-size: 400% 400%;
  opacity: 0.3;
  filter: blur(60px);
  animation: gradientRotate 5s ease-in-out infinite;
  will-change: background-position;
  z-index: 0;
}

.openai-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.openai-logo-container {
  width: 100px;
  height: 100px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.openai-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.openai-logo-container:hover {
  transform: scale3d(1.1, 1.1, 1) rotateZ(5deg);
}

.openai-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
}

.openai-gradient-box.animate-in .openai-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.openai-description {
  color: #A0ABC0;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
}

.openai-gradient-box.animate-in .openai-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

@keyframes gradientRotate {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  z-index: 1001;
}

.hamburger-menu span {
  width: 24px;
  height: 3px;
  background: #e0e0e5;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
  display: flex;
  gap: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .sticky-nav-pill {
    padding: 12px;
    position: fixed;
    width: auto;
    min-width: unset;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border-radius: 16px;
    margin-top: 8px;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: 12px 15px;
    text-align: center;
    border-radius: 12px;
    transition: background-color 0.2s ease;
  }
  
  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Mobile Video Responsiveness */
  .card-image {
    height: 300px; /* Reduced height for tablet/mobile */
  }
  
  /* Mobile Text Animation Adjustments */
  .card-text-delay-1.animate-in {
    transition-delay: 0.1s; /* Shorter delays on mobile */
  }
  
  .card-text-delay-2.animate-in {
    transition-delay: 0.2s; /* Shorter delays on mobile */
  }

  /* Mobile Question Text Responsiveness */
  .question-intro {
    font-size: 1.2rem;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  
  .question-text-flip {
    min-width: 290px;
    max-width: calc(100vw - 40px); /* Allow more width on tablets */
    height: 50px;
  }
  
  .question-text-flip::after {
    left: 50px; /* Reduced from 60px for smaller icon */
  }
  
  .question-text-content {
    font-size: 1rem;
    font-weight: 600;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: 35px; /* Increased to ensure proper spacing */
    padding-right: 15px; /* Add right padding for mobile */
    margin-left: 0; /* Remove negative margin on mobile */
  }
  
  .ai-icon-container {
    width: 44px;
    height: 44px;
  }
  
  .ai-icon {
    width: 20px;
    height: 20px;
  }
  
  .hero-question-section {
    width: 95%;
    padding: 0 10px;
    overflow: hidden;
  }

  /* Mobile Hero Title */
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  

  
  /* Ensure hero section starts at very top on mobile */
  .hero-section-container {
    min-height: 100vh;
    padding-top: 0;
  }
  
  /* Disable complex animations on mobile for performance */
  @keyframes letterBlur {
    0% {
      opacity: 0;
      filter: blur(2px);
    }
    100% {
      opacity: 1;
      filter: blur(0px);
    }
  }
  
  body, html {
    margin: 0;
    padding: 0;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Reduce complex animations on mobile for performance */
  .hero-title::after {
    display: none;
  }
  
  .showcase-text-box h1 {
    animation: none !important;
    transition: none !important;
    width: auto;
    border: none;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .showcase-text-box h2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Tablet showcase section adjustments */
  .showcase-image-container {
    max-width: 96%; /* Slightly bigger video on tablets */
    width: 96%;
  }
  
  .showcase-text-box {
    max-width: 88%; /* Slightly smaller text area on tablets */
    width: 88%;
    padding: 25px 35px; /* Adjusted padding for tablets */
  }
}

@media (max-width: 480px) {
  .question-intro {
    font-size: 1rem;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  
  .question-text-flip {
    min-width: 280px;
    max-width: calc(100vw - 20px); /* Allow more width on small mobile */
    height: 45px;
  }
  
  .question-text-flip::after {
    left: 46px; /* Reduced for smaller icon */
  }
  
  .question-text-content {
    font-size: 0.85rem; /* Reduced for better fit */
    font-weight: 600;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-left: 30px; /* Increased to ensure proper spacing */
    padding-right: 16px; /* More right padding for mobile */
    margin-left: 0; /* Remove negative margin on small mobile */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Fallback if text still overflows */
  }
  
  .ai-icon-container {
    width: 40px;
    height: 40px;
  }
  
  .ai-icon {
    width: 18px;
    height: 18px;
  }
  
  .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
  }
  


  /* Extra small mobile video height */
  .card-image {
    height: 250px; /* Even smaller height for very small screens */
  }
  
  /* Mobile showcase section adjustments */
  .showcase-image-container {
    max-width: 100%; /* Bigger video on mobile */
    width: 100%;
    margin-bottom: 30px;
  }
  
  .showcase-text-box {
    max-width: 85%; /* Smaller text area on mobile */
    width: 85%;
    padding: 20px 25px; /* Reduced padding for mobile */
  }
  
  .showcase-text-box h1 {
    font-size: 2.2em; /* Slightly smaller title on mobile */
  }
  
  .showcase-text-box h2 {
    font-size: 1.1em; /* Smaller subtitle on mobile */
  }
  
  /* Further reduce animation complexity on small screens */
  @keyframes letterBlur {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}

/* Footer Styles */
.footer-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 40px 20px 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: footerEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.footer-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.privacy-link {
  color: #a0aec0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.privacy-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.privacy-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.privacy-link:hover::before {
  left: 100%;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 30px 20px 15px;
    margin-top: 60px;
  }
  
  .footer-links {
    gap: 20px;
  }
  
  .privacy-link {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

/* Additional smooth animations and scroll-triggered effects */

/* Scroll-triggered animation base classes */
.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.animate-on-scroll-left {
  opacity: 0;
  transform: translate3d(-50px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll-left.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.animate-on-scroll-right {
  opacity: 0;
  transform: translate3d(50px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll-right.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.animate-on-scroll-scale {
  opacity: 0;
  transform: scale3d(0.9, 0.9, 1);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll-scale.animate-in {
  opacity: 1;
  transform: scale3d(1, 1, 1);
}

/* Enhanced hero animations */
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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



@keyframes buttonEntrance {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes questionSectionRise {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

.hero-title::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(147, 111, 244, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatingGlow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes floatingGlow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.6;
  }
}

/* Enhanced card animations - Removed duplicate */

/* Enhanced pricing animations - Removed duplicate */

/* Enhanced form animations - Removed duplicate */

.openai-title,
.openai-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.openai-gradient-box.animate-in .openai-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.openai-gradient-box.animate-in .openai-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Enhanced showcase section animations */
.showcase-main-image {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-image-container:hover .showcase-main-image {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.0);
}

/* Removed duplicate sections for cleaner code */

/* Removed parallax effects for smooth scrolling */

/* Enhanced video hover effects */
.card-image:hover {
  filter: brightness(1.1) saturate(1.1);
}

.showcase-main-image:hover {
  filter: brightness(1.05) saturate(1.1);
}

/* Section title animations */
.section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-container.animate-in .section-title {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing header animations */
.pricing-header * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-header.animate-in .pricing-supertitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.pricing-header.animate-in h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Performance optimizations */
.animate-in {
  will-change: auto !important; /* Remove will-change after animation completes */
}

/* Universal fallback for any elements that need animate-in but don't have specific rules */
.animate-in:not(.animate-on-scroll):not(.animate-on-scroll-left):not(.animate-on-scroll-right):not(.animate-on-scroll-scale) {
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile animation optimizations */
@media (max-width: 768px) {
  .animate-on-scroll,
  .animate-on-scroll-left,
  .animate-on-scroll-right,
  .animate-on-scroll-scale {
    transform: translate3d(0, 20px, 0);
  }
  
  .animate-on-scroll-left {
    transform: translate3d(-20px, 0, 0);
  }
  
  .animate-on-scroll-right {
    transform: translate3d(20px, 0, 0);
  }
  
  /* Reduce complex animations on mobile for performance */
  .hero-title::after {
    display: none;
  }
  
  .showcase-text-box h1 {
    animation: none !important;
    transition: none !important;
    width: auto;
    border: none;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .showcase-text-box h2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Reduce blur effects on mobile */
  .hero-section-container::before,
  .showcase-section .aurora-bg,
  .contact-us-section::before {
    filter: blur(4px);
  }
  
  .question-container,
  .contact-us-form-box {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  
  /* Reduce but don't disable glow effects on mobile */
  .openai-gradient-box::after {
    filter: blur(15px);
    opacity: 0.4;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }
  
  .openai-section::before {
    filter: blur(30px);
    opacity: 0.2;
  }
}

/* Animated Gradient Separator */
.gradient-separator {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #936FF4, #034ca4, #FD5D67, #FD9F4B, #936FF4);
  background-size: 300% 100%;
  animation: gradientFlow 6s ease-in-out infinite;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Benefits Section Styles */
.benefits-section {
  padding: 80px 0;
  background: #041725;
  position: relative;
}

.benefits-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.benefit-card {
  background: rgba(20, 25, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(147, 111, 244, 0.3);
  box-shadow: 0 20px 40px rgba(147, 111, 244, 0.1);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(147, 111, 244, 0.3));
}

/* Benefits Section Scroll Animations */
.benefit-icon-animate {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.benefit-title-animate {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.benefit-desc-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Staggered entrance animation when cards come into view */
.benefit-card.animate-in .benefit-icon-animate {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.1s;
}

.benefit-card.animate-in .benefit-title-animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.benefit-card.animate-in .benefit-desc-animate {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.benefit-card h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Unique gradients for each benefit card */
.benefit-card:nth-child(1) h1 {
  background: linear-gradient(135deg, #936FF4, #3DDC97);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card:nth-child(2) h1 {
  background: linear-gradient(135deg, #88BCFA, #FD5D67);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card:nth-child(3) h1 {
  background: linear-gradient(135deg, #FD9F4B, #936FF4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card h2 {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}



/* Responsive Design */
@media (max-width: 768px) {
  .benefits-section {
    padding: 60px 0;
  }
  
  .benefits-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .benefit-card {
    padding: 30px 20px;
    min-height: 180px;
  }
  
  .benefit-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }
  
  .benefit-card h1 {
    font-size: 1.5rem;
  }
  
  .benefit-card h2 {
    font-size: 1rem;
  }
  
  /* Mobile Benefits Animation Adjustments */
  .benefit-icon-animate {
    transform: scale(0.9) translateY(20px); /* Reduced movement for mobile */
    transition-duration: 0.6s; /* Faster animations on mobile */
  }
  
  .benefit-title-animate,
  .benefit-desc-animate {
    transform: translateY(15px); /* Reduced movement for mobile */
    transition-duration: 0.5s; /* Faster animations on mobile */
  }
  
  /* Shorter delays on mobile for snappier feel */
  .benefit-card.animate-in .benefit-icon-animate {
    transition-delay: 0.05s;
  }
  
  .benefit-card.animate-in .benefit-title-animate {
    transition-delay: 0.15s;
  }
  
  .benefit-card.animate-in .benefit-desc-animate {
    transition-delay: 0.25s;
  }
}