/* Hero Section - Top left overlay */
.hero {
  position: absolute;
  top: 140px;
  left: 50px;
  z-index: 15;
  text-align: left;
  max-width: 700px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
}

/* Image Comparison Section */
.image-comparison-section {
  position: relative;
  width: 100%;
  background: #000;
}

.comparison-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.comparison-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image 1: Left side (base layer) */
.image-1 {
  z-index: 1;
  clip-path: inset(0 75% 0 0);
}

.image-1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Image 2: Top right */
.image-2 {
  z-index: 2;
  clip-path: inset(0 0 50% 25%);
}

/* Image 3: Bottom right */
.image-3 {
  z-index: 3;
  clip-path: inset(50% 0 0 25%);
}

/* Slider Handles */
.slider-handle {
  position: absolute;
  z-index: 10;
  cursor: pointer;
}

.horizontal-slider {
  top: 0;
  left: 25%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.vertical-slider {
  top: 50%;
  left: 25%;
  right: 0;
  width: 75%;
  height: 2px;
  transform: translateY(-50%);
}

.slider-line {
  background: rgba(255, 255, 255, 0.6);
}

.horizontal-line {
  width: 100%;
  height: 100%;
}

.vertical-line {
  width: 100%;
  height: 100%;
}

/* Slider Grip */
.slider-grip {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-grip:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
}

.horizontal-slider .slider-grip {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vertical-slider .slider-grip {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
}

.grip-arrow {
  color: white;
  font-size: 10px;
  line-height: 1;
  opacity: 0.8;
}

.horizontal-slider .grip-arrow.left { margin-right: 4px; }
.horizontal-slider .grip-arrow.right { margin-left: 4px; }
.vertical-slider .grip-arrow.up { margin-bottom: 2px; }
.vertical-slider .grip-arrow.down { margin-top: 2px; }

/* Slider Hint */
.slider-hint {
  position: absolute;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.horizontal-slider .slider-hint {
  top: calc(50% + 30px);
  left: 50%;
  transform: translateX(-50%);
}

/* CTA Container */
.cta-container {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
}

.btn-large {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-large:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin: 16px 0 8px;
  color: white;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 16px;
}

.step h3 {
  margin-bottom: 8px;
  color: white;
}

.step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.faq-question {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: white;
}

.faq-answer {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .comparison-container {
    height: 100vh;
  }

  .hero {
    top: 80px;
    left: 20px;
    max-width: 280px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .slider-grip {
    width: 32px;
    height: 32px;
  }

  .grip-arrow {
    font-size: 8px;
  }

  .cta-container {
    bottom: 30px;
  }

  .btn-large {
    font-size: 0.875rem;
    padding: 12px 24px;
  }
}
