/* Bookscribe Landing Page Styles */

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

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}

.content {
  position: relative;
  z-index: 1;
}

.slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.slide-1 {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,245,255,0.95) 100%);
}

.slide-2 {
  background: rgba(255,255,255,0.97);
}

.slide-3 {
  background: linear-gradient(135deg, rgba(240,245,255,0.95) 0%, rgba(255,255,255,0.95) 100%);
}

.slide-4 {
  background: rgba(255,255,255,0.97);
}

.slide-5 {
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(147,51,234,0.1) 100%);
  background-color: rgba(255,255,255,0.95);
}

.slide-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.slide-content.centered {
  text-align: center;
}

/* Slide 1 - Hero */

.slide-1 .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 90vh;
}

.hero-animation {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.4;
}

.hero-animation dotlottie-player {
  width: 600px;
  height: 600px;
}

.text-content {
  max-width: 700px;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 10vh;
}

.main-title {
  font-size: 5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1;
}

.headline {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  position: relative;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-left: 1rem;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
  }
}

.subheadline {
  font-size: 1.5rem;
  color: #4b5563;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.body-text {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 2rem 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-buttons-large {
  margin: 2rem 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Split Content Layout */

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content.reverse {
  direction: rtl;
}

.split-content.reverse > * {
  direction: ltr;
}

.text-side {
  padding: 2rem;
}

.visual-side {
  padding: 2rem;
}

/* Slide 2 - Voice to Page Demo */

.demo-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.audio-waveform {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  height: 80px;
  padding: 1rem;
}

.waveform-bar {
  width: 8px;
  background: linear-gradient(to top, #3b82f6, #60a5fa);
  border-radius: 4px;
  transition: height 0.3s ease;
  height: 40px;
}

.transform-arrow {
  font-size: 3rem;
  color: #3b82f6;
  font-weight: bold;
}

.formatted-text {
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  line-height: 1.8;
  width: 100%;
}

.formatted-text p {
  margin: 0.5rem 0;
  color: #1e293b;
}

/* Slide 3 - Entity Map */

.entity-map {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.entity-node {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.entity-node:nth-child(2) {
  animation-delay: 1s;
}

.entity-node:nth-child(3) {
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.entity-node.character {
  border-color: #3b82f6;
}

.entity-node.place {
  border-color: #10b981;
}

.entity-node.object {
  border-color: #f59e0b;
}

.node-icon {
  font-size: 2.5rem;
}

.node-label {
  font-weight: 600;
  font-size: 1.2rem;
  color: #1e293b;
}

.node-details {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}

/* Slide 4 - Analysis Panel */

.analysis-panel {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.analysis-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  align-items: flex-start;
  animation: slideInRight 0.5s ease-out;
}

.analysis-item.error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.analysis-item.warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}

.analysis-item.success {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flag-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.flag-text {
  flex: 1;
  color: #1e293b;
  line-height: 1.6;
}

/* Slide 5 - Final CTA */

.final-cta {
  max-width: 800px;
  margin: 0 auto;
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.badge-icon {
  font-size: 2.5rem;
}

.badge-text {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Animations */

.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Testimonial Carousel Section */

.testimonial-section {
  min-height: 60vh;
  background: white;
  padding: 5rem 2rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-container {
  width: 80%;
  margin: 0 auto;
}

.testimonial-title {
  font-size: 2.5rem;
  color: #2563eb;
  text-align: center;
  margin-bottom: 4rem;
}

.carousel-wrapper {
  position: relative;
  padding: 2rem 0 0 0;
}

.carousel-track {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-headshot {
  margin-bottom: 2rem;
}

.author-headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  border: 4px solid white;
}

.placeholder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  border: 4px solid white;
}

.avatar-initial {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.8;
  margin: 0 0 2rem 0;
  width: 100%;
  position: relative;
  padding: 0 3rem;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: #3b82f6;
  opacity: 0.3;
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
}

.author-title {
  font-size: 1rem;
  color: #64748b;
}

/* Carousel Navigation Dots */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.dot.active {
  background: #3b82f6;
  width: 32px;
  border-radius: 6px;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-content.reverse {
    direction: ltr;
  }

  .feature-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 3.5rem;
  }

  .headline {
    font-size: 2rem;
  }

  .coming-soon-badge {
    display: block;
    font-size: 0.8rem;
    margin-left: 0;
    margin-top: 0.75rem;
    width: -moz-fit-content;
    width: fit-content;
  }

  .subheadline {
    font-size: 1.2rem;
  }

  .body-text {
    font-size: 1rem;
  }

  .hero-animation dotlottie-player {
    width: 400px;
    height: 400px;
  }

  .slide {
    padding: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .feature-highlights {
    grid-template-columns: 1fr;
  }

  .testimonial-section {
    padding: 3rem 1rem 0 1rem;
  }

  .testimonial-container {
    width: 95%;
  }

  .testimonial-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .carousel-track {
    min-height: 700px;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .author-headshot {
    width: 100px;
    height: 100px;
  }

  .placeholder-avatar {
    width: 100px;
    height: 100px;
  }

  .avatar-initial {
    font-size: 2rem;
  }

  .testimonial-quote {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .testimonial-quote::before {
    font-size: 3rem;
    top: -0.5rem;
    left: -0.5rem;
  }

  .author-name {
    font-size: 1.1rem;
  }

  .author-title {
    font-size: 0.9rem;
  }
}
