/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Hero split layout */
.heroContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.heroText {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.heroVisual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animated elements */
.heroText h1,
.heroText p,
.heroText .buttons {
  opacity: 0;
  animation: fadeSlideUp 0.8s forwards;
}

.heroText h1 {
  animation-delay: 0.2s;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
  background: linear-gradient(90deg, white, #e0e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.heroText p {
  animation-delay: 0.4s;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.heroText .buttons {
  animation-delay: 0.6s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Button styles */
.buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.secondaryButton {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.secondaryButton:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Showcase section */
.showcase {
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

[data-theme='dark'] .showcase {
  background: #13192c;
}

.showcaseHeader {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.showcaseHeader h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--ifm-color-primary), var(--ifm-color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcaseHeader p {
  font-size: 1.25rem;
  color: var(--ifm-color-emphasis-700);
}

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

.showcaseImage {
  max-width: 90%;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

[data-theme='dark'] .showcaseImage {
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(115, 143, 255, 0.15);
}

.showcaseImage:hover {
  transform: scale(1.02);
}

/* Showcase tags */
.showcaseTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.showcaseTag {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.875rem;
  color: white;
  background: linear-gradient(to right, var(--ifm-color-primary-dark), var(--ifm-color-primary));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme='dark'] .showcaseTag {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.showcaseTag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.ctaSection {
  background: linear-gradient(135deg, var(--ifm-color-primary) 0%, var(--ifm-color-accent) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.ctaSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.ctaContent {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ctaContent h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ctaContent p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.ctaContent .button {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: white;
  color: var(--ifm-color-primary-darkest);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ctaContent .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Features section */
.features {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  width: 100%;
}

.featureImg {
  height: 180px;
  width: 180px;
  margin-bottom: 1rem;
}

.demoImage {
  max-width: 90%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 2rem 0;
}

/* Responsive adjustments */
@media screen and (max-width: 996px) {
  .heroBanner {
    padding: 4rem 2rem;
    min-height: auto;
  }

  .heroContent {
    flex-direction: column;
    gap: 2rem;
  }

  .heroText {
    text-align: center;
  }

  .heroText h1 {
    font-size: 2.5rem;
  }

  .buttons {
    justify-content: center;
  }

  .showcaseHeader h2 {
    font-size: 2rem;
  }

  .ctaContent h2 {
    font-size: 2.25rem;
  }
}