/* Features Showcase Landing Page — Full-width + Animations */

.features-showcase {
  font-family: inherit;
  color: #212121;
}

/* ===== SCROLL ANIMATIONS ===== */
.fs-animate {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--fs-delay, 0ms);
}

.fs-animate.fs-fade-up {
  transform: translateY(32px);
}

.fs-animate.fs-fade-down {
  transform: translateY(-32px);
}

.fs-animate.fs-fade-left {
  transform: translateX(-40px);
}

.fs-animate.fs-fade-right {
  transform: translateX(40px);
}

.fs-animate.fs-zoom-in {
  transform: scale(0.92);
}

.fs-animate.fs-visible {
  opacity: 1;
  transform: none;
}

/* ===== BROWSER FRAME ===== */
.fs-browser-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.fs-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f3f5;
  border-bottom: 1px solid #e2e5e9;
}

.fs-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fs-dot-red { background: #ff5f57; }
.fs-dot-yellow { background: #febc2e; }
.fs-dot-green { background: #28c840; }

.fs-browser-url {
  margin-left: 10px;
  font-size: 11px;
  color: #6b7280;
  background: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  border: 1px solid #e2e5e9;
  flex: 1;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-browser-body {
  line-height: 0;
}

.fs-browser-body img,
.fs-browser-body video {
  width: 100%;
  display: block;
}

/* Hero video */
.fs-hero-video {
  width: 100%;
  display: block;
}

.fs-hero-illustration .fs-browser-frame {
  max-width: 520px;
}

/* Step number pulse on appear */
@keyframes fs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(1, 62, 94, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(1, 62, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 62, 94, 0); }
}

.fs-step.fs-visible .fs-step-number {
  animation: fs-pulse 1.2s ease-out;
}

/* ===== HERO ===== */
.fs-hero {
  padding: 70px 0 50px;
  background: linear-gradient(170deg, #f8fbff 0%, #ffffff 50%, #f0f6fc 100%);
}

.fs-badge {
  display: inline-block;
  background-color: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fs-hero-kicker {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00659b;
  margin-bottom: 10px;
}

.fs-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #013e5e;
  line-height: 1.25;
  margin-bottom: 18px;
  margin-top: 0;
}

.fs-hero-subtitle {
  font-size: 17px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 520px;
}

.fs-btn-primary {
  background-color: #00659b;
  border-color: #00659b;
  color: #fff;
  padding: 13px 34px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(0, 101, 155, 0.25);
}

.fs-btn-primary:hover,
.fs-btn-primary:focus {
  background-color: #013e5e;
  border-color: #013e5e;
  color: #fff;
  box-shadow: 0 6px 20px rgba(1, 62, 94, 0.3);
  transform: translateY(-1px);
}

.fs-btn-primary:disabled,
.fs-btn-primary[disabled] {
  background-color: #b0bec5;
  border-color: #b0bec5;
  cursor: not-allowed;
  opacity: 0.8;
  box-shadow: none;
}

.fs-btn-secondary {
  background-color: transparent;
  border: 2px solid #00659b;
  color: #00659b;
  padding: 11px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  margin-top: 12px;
}

.fs-btn-secondary:hover,
.fs-btn-secondary:focus {
  background-color: #00659b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 101, 155, 0.25);
}

.fs-alert-postulante {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  font-size: 13px;
  color: #856404;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 520px;
}

.fs-alert-postulante svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.fs-alert-postulante a {
  color: #856404;
  font-weight: 600;
  text-decoration: underline;
}

.fs-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ===== SCROLL INDICATOR ===== */
.fs-scroll-indicator {
  text-align: center;
  padding-bottom: 10px;
}

.fs-scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #00659b;
  text-decoration: none;
  transition: color 0.3s;
}

.fs-scroll-link:hover,
.fs-scroll-link:focus {
  color: #013e5e;
  text-decoration: none;
}

.fs-scroll-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

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

.fs-scroll-chevron {
  animation: fs-bounce 1.8s ease-in-out infinite;
}

/* ===== PAIN POINTS ===== */
.fs-pain-points {
  padding: 70px 0;
  background-color: #f5f7fa;
}

.fs-section-title {
  color: #013e5e;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.fs-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #00659b, #013e5e);
  margin: 14px auto 0;
  border-radius: 2px;
}

.fs-section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Gap between header group and cards */
.fs-section-header {
  margin-bottom: 44px;
}

.fs-pain-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 20px;
  border-top: 3px solid transparent;
  transition: border-top-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.fs-pain-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.fs-pain-card[data-color="#e53935"]:hover { border-top-color: #e53935; }
.fs-pain-card[data-color="#f57c00"]:hover { border-top-color: #f57c00; }
.fs-pain-card[data-color="#5e35b1"]:hover { border-top-color: #5e35b1; }

.fs-pain-icon {
  margin-bottom: 20px;
}

.fs-pain-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 10px;
}

.fs-pain-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 12px;
}

.fs-pain-solution {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #00659b;
  text-decoration: none;
  transition: color 0.3s;
}

.fs-pain-solution:hover,
.fs-pain-solution:focus {
  color: #013e5e;
  text-decoration: none;
}

/* ===== FEATURES ===== */
.fs-features {
  padding: 70px 0;
  background-color: #ffffff;
}

.fs-feature-block {
  margin-bottom: 20px;
  padding: 40px 0;
}

.fs-feature-block:last-child {
  margin-bottom: 0;
}

.fs-feature-block .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fs-feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.fs-tag-blue {
  background-color: #e3f2fd;
  color: #1565c0;
}

.fs-tag-purple {
  background-color: #ede7f6;
  color: #5e35b1;
}

.fs-tag-green {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.fs-feature-block h3 {
  font-size: 26px;
  font-weight: 700;
  color: #013e5e;
  margin-bottom: 14px;
  margin-top: 0;
}

.fs-feature-block > .row > [class*="col-"]:first-child > p,
.fs-feature-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.fs-feature-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  color: #444;
  line-height: 1.55;
}

.fs-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00659b;
}

.fs-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.fs-screenshot {
  width: 100%;
  display: block;
}

/* ===== PERSPECTIVE TILT ===== */
.fs-perspective {
  perspective: 1200px;
}

.fs-perspective .fs-browser-frame {
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.fs-perspective:hover .fs-browser-frame {
  transform: rotateY(0) rotateX(0);
}

.fs-perspective-reverse {
  perspective: 1200px;
}

.fs-perspective-reverse .fs-browser-frame {
  transform: rotateY(4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.fs-perspective-reverse:hover .fs-browser-frame {
  transform: rotateY(0) rotateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .fs-perspective .fs-browser-frame,
  .fs-perspective-reverse .fs-browser-frame {
    transform: none;
  }
}

/* Divider between feature blocks */
.fs-feature-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 0;
}

/* ===== HOW IT WORKS (dark section) ===== */
.fs-how-it-works {
  padding: 70px 0;
  background: linear-gradient(135deg, #013e5e 0%, #00506e 50%, #013e5e 100%);
  color: #fff;
}

.fs-how-it-works .fs-section-title {
  color: #fff;
}

.fs-how-it-works .fs-section-title::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
}

.fs-steps-row {
  position: relative;
}

/* Connecting line between steps */
.fs-steps-row::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.fs-step {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.fs-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  color: #013e5e;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: box-shadow 0.3s;
}

.fs-step:hover .fs-step-number {
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.15);
}

.fs-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.fs-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 0;
}

.fs-step-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-weight: 600;
}

.fs-step-link:hover,
.fs-step-link:focus {
  color: #fff;
  text-decoration: underline;
}

/* ===== BENEFITS ===== */
.fs-benefits {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.fs-benefit {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eaeef3;
  transition: box-shadow 0.3s, transform 0.3s;
}

.fs-benefit:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.fs-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #edf5fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.fs-benefit h4 {
  font-size: 16px;
  font-weight: 600;
  color: #013e5e;
  margin-bottom: 8px;
}

.fs-benefit p {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ===== FINAL CTA ===== */
.fs-cta {
  padding: 70px 0;
  background: linear-gradient(135deg, #00659b 0%, #013e5e 100%);
  color: #fff;
}

.fs-cta h2 {
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 14px;
}

.fs-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.fs-btn-cta-white {
  background-color: #fff;
  border: 2px solid #fff;
  color: #013e5e;
  padding: 13px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.fs-btn-cta-white:hover,
.fs-btn-cta-white:focus {
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.fs-btn-cta-white:disabled,
.fs-btn-cta-white[disabled] {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  color: #013e5e;
  cursor: not-allowed;
  box-shadow: none;
}

.fs-cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.fs-cta-note a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.fs-cta-note a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .fs-hero h1 {
    font-size: 30px;
  }

  .fs-section-title {
    font-size: 26px;
  }

  .fs-feature-block h3 {
    font-size: 22px;
  }

  .fs-feature-block .row {
    display: block;
  }

  /* On tablet/mobile: show poster image instead of video, disable perspective */
  .fs-mockup {
    margin-top: 24px;
  }

  .fs-perspective .fs-browser-frame,
  .fs-perspective-reverse .fs-browser-frame {
    transform: none;
  }

  /* Reset push/pull on mobile for kanban reversed layout */
  .fs-feature-block .col-md-push-6,
  .fs-feature-block .col-md-pull-6 {
    left: auto;
    right: auto;
  }

  .fs-cta h2 {
    font-size: 26px;
  }

  .fs-steps-row::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .fs-hero {
    padding: 44px 0 24px;
    text-align: center;
  }

  .fs-hero h1 {
    font-size: 24px;
  }

  .fs-hero-subtitle {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .fs-alert-postulante {
    margin-left: auto;
    margin-right: auto;
  }

  .fs-pain-points,
  .fs-features,
  .fs-how-it-works,
  .fs-benefits,
  .fs-cta {
    padding: 44px 0;
  }

  .fs-section-title {
    font-size: 22px;
  }

  .fs-section-header {
    margin-bottom: 32px;
  }

  .fs-feature-block {
    margin-bottom: 20px;
    padding: 24px 0;
    text-align: center;
  }

  .fs-feature-list li {
    text-align: left;
  }

  .fs-cta h2 {
    font-size: 22px;
  }

  .fs-alert-postulante {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fs-steps-row::before {
    display: none;
  }

  /* Reduce animation travel on mobile */
  .fs-animate.fs-fade-up { transform: translateY(20px); }
  .fs-animate.fs-fade-left { transform: translateX(-20px); }
  .fs-animate.fs-fade-right { transform: translateX(20px); }

  .fs-scroll-indicator {
    padding-bottom: 0;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fs-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fs-step.fs-visible .fs-step-number {
    animation: none;
  }

  .fs-scroll-chevron {
    animation: none;
  }

  .fs-lazy-video {
    /* Don't autoplay for reduced motion — poster image is sufficient */
  }
}
