/* Demo Page Section */
.demo-page-section {
  padding: 4rem 2rem;
  background-color: #627f61;
}

.demo-page-wrapper {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.demo-left-content {
  flex: 1;
}

.demo-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.demo-video-working-container {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 1rem;
}

.demo-video-working {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-right-side-content {
  max-width: 30rem;
}

.demo-right-side-content strong {
  color: #fff;
  font-weight: 800;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff 0%, #e8f5e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-main-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #f0f8ff 30%,
    #e8f5e8 70%,
    #ffeb3b 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
  position: relative;
  font-family: "Georgia", serif;
  transform: perspective(800px) rotateX(3deg);
}

.demo-main-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: titleGlow 4s ease-in-out infinite alternate;
  border-radius: 8px;
  z-index: -1;
}

@keyframes titleGlow {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(100%);
  }
}

.demo-description strong {
  color: #fff;
  font-weight: 700;
}

.demo-features-grid {
  margin-top: 2rem;
}

.demo-feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-feature-content h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.demo-feature-content p {
  color: #f0f0f0;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.demo-tagline {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #f0f8ff 50%, #ffeb3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-family: "Georgia", serif;
  font-style: italic;
  transform: perspective(500px) rotateX(5deg);
  animation: shimmer 3s ease-in-out infinite alternate;
}

.demo-tagline::before {
  content: "✨";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite;
}

.demo-tagline::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #ffeb3b,
    rgba(255, 235, 59, 0.3),
    transparent
  );
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 235, 59, 0.4);
}

@keyframes shimmer {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
}

.demo-right-content {
  flex: 1;
}

.demo-main-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.demo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .demo-page-section {
    padding: 3rem 2rem;
  }

  .demo-page-wrapper {
    gap: 2rem;
  }

  .demo-main-title {
    font-size: 2rem;
  }

  .demo-video-working-container {
    max-width: 25rem;
  }
}

/* Small Tablet - 768px */
@media (max-width: 768px) {
  .demo-page-section {
    padding: 2rem 1rem;
  }

  .demo-page-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .demo-container {
    align-items: center;
    text-align: center;
  }

  .demo-main-title {
    font-size: 2rem;
    text-align: center;
  }

  .demo-description {
    text-align: center;
  }

  .demo-video-working-container {
    max-width: 20rem;
  }
}

/* Mobile Large - 425px */
@media (max-width: 425px) {
  .demo-page-section {
    padding: 2rem 1rem;
  }

  .demo-main-title {
    font-size: 2rem;
  }

  .demo-video-working-container {
    max-width: 18rem;
  }

  .demo-right-side-content {
    max-width: 18rem;
  }
}

/* Mobile Medium - 375px */
@media (max-width: 375px) {
  .demo-page-section {
    padding: 1rem 1rem;
  }

  .demo-main-title {
    font-size: 1rem;
  }

  .demo-tagline {
    font-size: 1rem;
  }

  .demo-video-working-container {
    max-width: 16rem;
  }

  .demo-right-side-content {
    max-width: 16rem;
  }
}

/* Mobile Small - 325px */
@media (max-width: 325px) {
  .demo-page-section {
    padding: 1rem;
  }

  .demo-page-wrapper {
    gap: 1rem;
  }

  .demo-container {
    gap: 1rem;
  }

  .demo-main-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .demo-tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .demo-video-working-container {
    max-width: 14rem;
  }

  .demo-right-side-content {
    max-width: 14rem;
  }
}
