/* =========================================
   LEANIMISE USE CASE SECTION
   ========================================= */

.lnm-usecase {
  position: relative;
  background: #f8f8f8;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.lnm-usecase .lnm-title {
  font-size: 34px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 48px;
}

/* Container */
.usecase-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 1122px;
  margin: 0 auto;
  position: relative;
}

/* Blur shapes */
.blur-shape {
  flex: 0 0 130px;
  height: 400px;
  border-radius: 100px;
  background: rgba(99, 172, 255, 0.3);
  filter: blur(40px);
  opacity: 0.8;
}

.blur-left { background: rgba(173, 220, 255, 0.4); }
.blur-right { background: rgba(173, 220, 255, 0.4); }

/* Main card */
.usecase-card {
  position: relative;
  flex: 0 0 620px;
  height: 620px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.usecase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay (bottom panel) */
.usecase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  border-radius: 24px;
  margin: 0 16px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  text-align: left;
  color: #1e1e1e;
}

/* Label */
.usecase-label {
  display: inline-block;
  background: #1e1e1e;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

/* Headline */
.usecase-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 6px;
}

/* Text */
.usecase-overlay p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #1e1e1e;
  margin-bottom: 16px;
}

/* Button */
.usecase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1e1e1e;
  border: 1.5px solid #d6d6d6;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.usecase-btn:hover {
  background: #0059ff;
  color: #fff;
  border-color: #0059ff;
}

.usecase-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 6px;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .usecase-container {
    flex-direction: column;
    gap: 32px;
  }

  .blur-shape {
    display: none;
  }

  .usecase-card {
    width: 85%;
    height: auto;
  }

  .usecase-overlay {
    margin: 0 12px 12px;
  }
}

@media (max-width: 575px) {
  .usecase-overlay {
    padding: 16px;
  }

  .usecase-overlay h3 {
    font-size: 18px;
  }
}


/* ===========================================
   USE CASE - EXACT MATCH TO FIGMA REFERENCE
   =========================================== */

.usecase-container {
  position: relative;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* === Background Capsules (Glows) === */
.usecase-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 620px;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 0;
}

.usecase-glow {
  height: 620px;
  object-fit: cover;
  border-radius: 200px;
  opacity: 0.95;
  filter: blur(1px) saturate(105%);
  transition: all 0.3s ease;
}

/* === LEFT GLOW === */
.glow-left {
  width: 109px;
  transform: translateX(-80%) translateY(0);
  z-index: 1;
}

/* === MIDDLE GLOW === */
.glow-middle {
  width: 109px;
  transform: translateY(0) scale(1.05);
  opacity: 0.92;
  z-index: 0;
}

/* === RIGHT GLOW === */
.glow-right {
  width: 218px;
  transform: translateX(80%) translateY(0);
  z-index: 1;
}

/* === USE CASE CARD === */
.usecase-card {
  position: relative;
  z-index: 5;
  text-align: left;
  max-width: 700px;
  border-radius: 32px;
  overflow: hidden;
}

.usecase-image img {
  width: 100%;
  display: block;
  border-radius: 32px;
}

/* === Overlay box === */
.usecase-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 24px 28px;
}

.usecase-label {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.usecase-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
}

.usecase-overlay p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.usecase-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  background: #fff;
  border-radius: 12px;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.usecase-btn svg {
  width: 18px;
  height: 18px;
  fill: #111;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.usecase-btn:hover svg {
  transform: translateX(3px);
}

.usecase-btn:hover {
  background: #f3f3f3;
}

/* === MOBILE FIX === */
@media (max-width: 991px) {
  .usecase-bg {
    display: none; /* Hide all pillars on mobile */
  }
  .usecase-card {
    max-width: 100%;
  }
}
